审核状态显示出错bug修改
This commit is contained in:
parent
a17ee9951b
commit
251f9d1758
|
|
@ -64,16 +64,24 @@ function initTable() {
|
|||
, {field: 'evaluateMonth', align: 'center', title: '评价年月'}
|
||||
, {field: 'projectNum', align: 'center', title: '项目数量'}
|
||||
, {field: 'outsourcerNum', align: 'center', title: '外包商数量'}
|
||||
, {field: 'isApprove', align: 'center', title: '评价状态', templet: d =>{
|
||||
, {
|
||||
field: 'isApprove', align: 'center', title: '评价状态', templet: d => {
|
||||
if (d.rejectReason) {
|
||||
return '评价驳回'
|
||||
} else {
|
||||
return Number(d.isApprove) === 0 ? '待评价' : (Number(d.isApprove) === 1 ? '已评价' : '')
|
||||
}
|
||||
// Number(d.isApprove) === 0 ? '待评价' : (Number(d.isApprove) === 1 ? '已评价' : '')
|
||||
}}
|
||||
, {field: 'status', align: 'center', title: '审核状态', templet: d =>
|
||||
Number(d.status) === 0 ? '待审核' : (Number(d.status) === 1 ? '已审核' : '审核中')
|
||||
}
|
||||
}
|
||||
, {
|
||||
field: 'status', align: 'center', title: '审核状态', templet: d => {
|
||||
if (d.rejectReason) {
|
||||
return '审核驳回'
|
||||
} else {
|
||||
return Number(d.status) === 0 ? '待审核' : (Number(d.status) === 1 ? '已审核' : '审核中')
|
||||
}
|
||||
}
|
||||
}
|
||||
, {field: 'rejectReason', align: 'center', title: '驳回原因'}
|
||||
, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue