From 8939da442e527627487bc6ee4731712b25514f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Tue, 19 Sep 2023 13:22:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B3=A8=E9=87=8Aconsole.Log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/layout/components/header/index.jsx | 2 +- .../src/sections/workOrder/containers/initiated.jsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/client/src/layout/components/header/index.jsx b/web/client/src/layout/components/header/index.jsx index 3d7bfc4..8849134 100644 --- a/web/client/src/layout/components/header/index.jsx +++ b/web/client/src/layout/components/header/index.jsx @@ -291,7 +291,7 @@ const Header = (props) => { footer={ <> {modalRole.length > 0 ? modalRole.map((item, index) => { - console.log('item1',item) + // console.log('item1',item) if (item.hasOwnProperty('items')) { return ( { title: '项目名称', dataIndex: 'pomsProject', render: (text, record, index) => { - return record?.pomsNeedData?.projectName?.value || '' + return record.name==='运维中台售后问题处理工单'? + pomsProjectBasicAll?.find(item=>item.value==record?.pomsNeedData?.pomsProjectId?.value)?.label||'':record?.pomsNeedData?.projectName?.value || '' + } }, { title: '申请内容描述', dataIndex: 'applyContent', render: (text, record, index) => { - console.log('record1',record) - return record?.pomsNeedData?.applyContent?.value || '' + return record.name==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5? + {record?.pomsNeedData?.detail?.value.substring(0, 5) + '...'}:record?.pomsNeedData?.detail?.value || '':record?.pomsNeedData?.applyContent?.value || '' } }, // {