Browse Source

1020

master
mch 2 years ago
parent
commit
891e23a33d
  1. 28
      src/views/diagnosis.vue

28
src/views/diagnosis.vue

@ -16,11 +16,29 @@
</el-table-column>
<el-table-column prop="creatorName" label="创建者" width="">
</el-table-column>
<el-table-column prop="creationTime" label="创建时间" width="200">
<template slot-scope="scope">
{{ scope.row.creationTime | dateFormat }}
</template>
</el-table-column>
<el-table-column prop="lastModifierName" label="修改者" width="">
</el-table-column>
<el-table-column
prop="lastModificationTime"
label="修改时间"
width="200"
>
<template slot-scope="scope">
{{ scope.row.lastModificationTime | dateFormat }}
</template>
</el-table-column>
</el-table>
</el-card>
</div>
<!-- 按钮区域 -->
<div>1</div>
<div style="margin-left: 10px; margin-top: 5%">
<el-button type="primary" @click="add">新增</el-button>
</div>
</div>
</template>
<script>
@ -36,12 +54,20 @@ export default {
},
tableData: [],
initTableData: [],
dialogVisible: false,
title: 1,
};
},
created() {
this.getlist();
},
methods: {
//
add() {
this.dialogVisible = true;
this.title = 1;
this.form = {};
},
rowick() {},
getlist() {
postapi("/api/app/diagnosis/getlistinfilter", this.pages).then((res) => {

Loading…
Cancel
Save