审批管理

This commit is contained in:
yanran200730
2022-12-08 09:45:16 +08:00
parent c561494d7b
commit 240b1537da
3 changed files with 54 additions and 45 deletions

View File

@@ -49,7 +49,7 @@
:tableData="tableData"
:col-configs="colConfigs"
@getList="getList">
<el-table-column slot="options" width="140px" fixed="right" label="操作" align="center">
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
@@ -89,43 +89,22 @@
isLoading: false,
tableData: [],
colConfigs: [
{prop: 'templateName', label: '表单名称', align: 'center', width: 220 },
{prop: 'createUserName', label: '添加人', align: 'center', width: 150 },
{prop: 'templateName', label: '参评人员', align: 'center' },
{prop: 'createUserName', label: '提交时间', align: 'center', width: 150 },
{prop: 'createUserName', label: '总分', align: 'center' },
{
prop: 'status',
align: 'center',
width: 320,
label: '开始结束时间',
render: (h, {row}) => {
return h('span', {
}, `${row.beginTime} - ${row.endTime}`)
}
},
{
prop: 'status',
align: 'center',
label: '已填写/剩余份数',
label: '审核状态',
render: (h, {row}) => {
return h('span', {
style: {
width: '300px'
color: this.dict.getColor('ampvFilled', row.status)
}
}, `${row.overPhr}/${row.totalPhr - row.overPhr}`)
}, this.dict.getLabel('ampvFilled', row.status))
}
},
{
prop: 'status',
align: 'center',
label: '任务状态',
width: 100,
render: (h, {row}) => {
return h('span', {
style: {
color: this.dict.getColor('formStatus', row.status)
}
}, this.dict.getLabel('formStatus', row.status))
}
}
{prop: 'createUserName', label: '审核人', align: 'center' },
],
list: []
}