|
|
@@ -42,7 +42,9 @@
|
|
42
|
42
|
<el-tag v-if="scope.row.F_UrgeCount > 0" type="success">催{{ scope.row.F_UrgeCount }}</el-tag>
|
|
43
|
43
|
</template>
|
|
44
|
44
|
</el-table-column>
|
|
|
45
|
+ <el-table-column v-if="fieldListFlag.F_ProposerDeptName" prop="F_ProposerDept" :formatter="formtDept" label="申请科室" align="center" min-width />
|
|
45
|
46
|
<el-table-column v-if="fieldListFlag.F_ProposerName" prop="F_ProposerName" label="申请人" align="center" min-width />
|
|
|
47
|
+ <el-table-column v-if="fieldListFlag.F_DeptLocation" prop="F_ProposerDept" :formatter="formtLocation" label="科室位置" align="center" min-width />
|
|
46
|
48
|
<el-table-column v-if="fieldListFlag.F_Type" prop="F_Type" label="业务类别" align="center" min-width>
|
|
47
|
49
|
<template slot-scope="scope">
|
|
48
|
50
|
<span v-if="scope.row.F_Type==1000">业务咨询</span>
|
|
|
@@ -223,6 +225,20 @@
|
|
223
|
225
|
};
|
|
224
|
226
|
},
|
|
225
|
227
|
methods: {
|
|
|
228
|
+ formtDept(row, column) {
|
|
|
229
|
+ if (row.F_ProposerDept) {
|
|
|
230
|
+ console.log(this.$store.getters.deptmap, 'this.$store.getters.deptmap')
|
|
|
231
|
+ return this.$store.getters.deptmap[parseInt(row.F_ProposerDept)]
|
|
|
232
|
+ .text;
|
|
|
233
|
+ }
|
|
|
234
|
+ },
|
|
|
235
|
+ formtLocation(row, column) {
|
|
|
236
|
+ if (row.F_ProposerDept) {
|
|
|
237
|
+ console.log(this.$store.getters.deptmap, 'this.$store.getters.deptmap')
|
|
|
238
|
+ return this.$store.getters.deptmap[parseInt(row.F_ProposerDept)]
|
|
|
239
|
+ .location;
|
|
|
240
|
+ }
|
|
|
241
|
+ },
|
|
226
|
242
|
refList() {
|
|
227
|
243
|
this.getList();
|
|
228
|
244
|
},
|