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 || '' } }, // {