From 1fc0ae6ac037ca6ddc8e8aaf923055d29a088886 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 19 May 2024 16:40:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=AB=8B=E9=A1=B9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project-management/initiation/index.vue | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/views/project-management/initiation/index.vue b/src/views/project-management/initiation/index.vue index 094c11e..939052b 100644 --- a/src/views/project-management/initiation/index.vue +++ b/src/views/project-management/initiation/index.vue @@ -93,12 +93,16 @@ const tableIns = ref() const tableConfig = reactive({ columns: [ { - prop: 'name', + prop: 'requirementName', label: '名称', align: 'center' }, { - prop: 'company', + prop: 'undertaker', + label: '承办单位', + align: 'center' + }, { + prop: 'affiliatedCompanyId', label: '所属公司', align: 'center' }, @@ -108,12 +112,12 @@ const tableConfig = reactive({ align: 'center' }, { - prop: 'productMainBody', + prop: 'rdSubject', label: '研发主体', align: 'center' }, { - prop: 'projectEffect', + prop: 'projectImpact', label: '项目影响', align: 'center' }, @@ -123,16 +127,16 @@ const tableConfig = reactive({ align: 'center' }, { - prop: 'time', - label: '起止时间', + prop: 'startTime', + label: '起始时间', align: 'center' }, { - prop: 'status', + prop: 'state', label: '状态', align: 'center', showOverflowTooltip: false, - currentRender: ({row, index}) => () + currentRender: ({row, index}) => () }, { prop: 'oper', @@ -141,10 +145,11 @@ const tableConfig = reactive({ showOverflowTooltip: false, currentRender: ({row, index}) => { let btn = [{label: '详情', func: () => handleDetail(row), type: 'primary'}] - if (row.state === '3') { + if (row.state === '4') { btn.push({label: '编辑', func: () => handleEdit(row), type: 'primary'}) - } else if (row.state === '4') { btn.push({label: '申请', func: () => handleApply(row), type: 'primary'}) + } else if (row.state === '4') { + } return (
@@ -165,7 +170,7 @@ const tableConfig = reactive({ } } ], - api: '/workflow/mosr/requirement', + api: '/workflow/mosr/project/approval', params: {}, })