Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
fb6796dc5b
  1. 27
      web/client/src/sections/workOrder/containers/preserve.jsx
  2. 4
      web/client/src/sections/workOrder/containers/receipt.jsx
  3. 4
      web/client/src/sections/workOrder/containers/stayDoWorkOrder.jsx

27
web/client/src/sections/workOrder/containers/preserve.jsx

@ -62,11 +62,18 @@ const Rest = (props) => {
title: '序号',
dataIndex: 'index',
render: (text, record, index) => index + 1
}, {
},
{
title: '事项名称',
dataIndex: 'fsFormItemName',
render: (text, record, index) => {
return record?.name || ''
}
},{
title: '项目名称',
dataIndex: 'pomsProject',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?
return record.name==='运维中台售后问题处理工单'?
pomsProjectBasicAll?.find(item=>item.value==record?.pomsNeedData?.pomsProjectId?.value).label||'':record?.pomsNeedData?.projectName?.value || ''
}
@ -74,15 +81,9 @@ const Rest = (props) => {
title: '申请内容描述',
dataIndex: 'applyContent',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
return record.name==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
<Tooltip content={record?.pomsNeedData?.detail?.value}>{record?.pomsNeedData?.detail?.value.substring(0, 5) + '...'}</Tooltip>:record?.pomsNeedData?.detail?.value || '':record?.pomsNeedData?.applyContent?.value || ''
}
}, {
title: '申请内容描述',
dataIndex: 'applyContent',
render: (text, record, index) => {
return record?.pomsNeedData?.applyContent?.value || ''
}
},
// {
// title: '',
@ -129,13 +130,7 @@ const Rest = (props) => {
// return record?.pomsNeedData?.handlingResult?.value || ''
// }
// },
{
title: '事项名称',
dataIndex: 'fsFormItemName',
render: (text, record, index) => {
return record?.name || ''
}
},
{
title: '问题类型',
dataIndex: 'issueType',

4
web/client/src/sections/workOrder/containers/receipt.jsx

@ -85,7 +85,7 @@ const Rest = (props) => {
title: '项目名称',
dataIndex: 'pomsProject',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?
return record.name==='运维中台售后问题处理工单'?
pomsProjectBasicAll?.find(item=>item.value==record?.pomsNeedData?.pomsProjectId?.value).label||'':record?.pomsNeedData?.projectName?.value || ''
}
@ -93,7 +93,7 @@ const Rest = (props) => {
title: '申请内容描述',
dataIndex: 'applyContent',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
return record.name==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
<Tooltip content={record?.pomsNeedData?.detail?.value}>{record?.pomsNeedData?.detail?.value.substring(0, 5) + '...'}</Tooltip>:record?.pomsNeedData?.detail?.value || '':record?.pomsNeedData?.applyContent?.value || ''
}
},

4
web/client/src/sections/workOrder/containers/stayDoWorkOrder.jsx

@ -72,7 +72,7 @@ const Rest = (props) => {
title: '项目名称',
dataIndex: 'pomsProject',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?
return record.name==='运维中台售后问题处理工单'?
pomsProjectBasicAll?.find(item=>item.value==record?.pomsNeedData?.pomsProjectId?.value).label||'':record?.pomsNeedData?.projectName?.value || ''
}
@ -80,7 +80,7 @@ const Rest = (props) => {
title: '申请内容描述',
dataIndex: 'applyContent',
render: (text, record, index) => {
return record.fsFormItemName==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
return record.name==='运维中台售后问题处理工单'?record?.pomsNeedData?.detail?.value.length>5?
<Tooltip content={record?.pomsNeedData?.detail?.value}>{record?.pomsNeedData?.detail?.value.substring(0, 5) + '...'}</Tooltip>:record?.pomsNeedData?.detail?.value || '':record?.pomsNeedData?.applyContent?.value || ''
}
},

Loading…
Cancel
Save