Browse Source

审批任务增加模型ID字段

pull/17/head
wangxy 3 years ago
parent
commit
82cabba12d
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      src/views/approval/pend.vue

+ 11
- 1
src/views/approval/pend.vue View File

@ -145,6 +145,11 @@
</template>
</el-table>
</template>
</el-table-column>
<el-table-column :label="getColumnName('approvalmodelid')" align="center" show-overflow-tooltip width="135">
<template slot-scope="scope">
<span>{{ filterContent(scope.row['approvalmodelid'], 'approvalmodelid') }}</span>
</template>
</el-table-column>
<el-table-column v-if="roles.includes('finance') || roles.includes('CFO') || roles.includes('accounting') || roles.includes('FM') || roles.includes('admin') && queryParams.reqtype == 0 || roles.includes('pm') && queryParams.reqtype == 0 || roles.includes('topm') && queryParams.reqtype == 0 "
label="票据"
@ -231,6 +236,7 @@
</div>
</template>
<script>
import { getAllModel } from '@/api/approval/applyReimburse'
import { getApprovalList, commitApproval } from '@/api/approval/record'
export default {
name: 'ApprovalRecord',
@ -277,7 +283,8 @@ export default {
value: 1
}
],
type: 0
type: 0,
options: [],
}
},
created() {
@ -296,6 +303,9 @@ export default {
this.queryParams.reqtype = 1
}
this.getList()
getAllModel().then(res => {
this.options = res.data
})
},
methods: {
changeType(e) {


Loading…
Cancel
Save