From dee42866a0e70eae25a8aabc9a0c66a105dc3d32 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Wed, 20 Apr 2022 14:55:39 +0800 Subject: [PATCH] =?UTF-8?q?[bug]=20-=E4=BF=AE=E6=94=B9=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E7=B3=BB=E7=BB=9F=E5=A4=84=20=E5=90=88?= =?UTF-8?q?=E5=90=8C=E7=8A=B6=E6=80=81=EF=BC=9B=E5=8E=BB=E6=8E=89=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E4=BA=BA=E5=B7=A5=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/OtherSystemContract.vue | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/views/contractManagement/revenueContract/modules/OtherSystemContract.vue b/src/views/contractManagement/revenueContract/modules/OtherSystemContract.vue index 3f6c927..89db542 100644 --- a/src/views/contractManagement/revenueContract/modules/OtherSystemContract.vue +++ b/src/views/contractManagement/revenueContract/modules/OtherSystemContract.vue @@ -175,13 +175,28 @@ export default { align: 'center', dataIndex: 'contStatus', width: 100, + customRender: function(text) { + if (text === 'ST_SCCS') { + return '合同执行中' + } else if (text === 'ST_CHANGE') { + return '变更中' + } else if (text === 'ST_TERMINAT') { + return '作废中' + } else if (text === 'ST_TERMINATED') { + return '已作废' + }else if (text === 'ST_FINISHED') { + return '合同结束' + } + }, scopedSlots: { customRender: 'text' } - }, { - title: '申请员工号', - align: 'center', - dataIndex: 'applydeptno', - width: 200 - }, { + }, + // { + // title: '申请员工号', + // align: 'center', + // dataIndex: 'applydeptno', + // width: 200 + // }, + { title: '操作', dataIndex: 'action', align: 'center',