Browse Source

feat:注释console.Log

dev
zhaobing’ 1 year ago
parent
commit
8939da442e
  1. 2
      web/client/src/layout/components/header/index.jsx
  2. 8
      web/client/src/sections/workOrder/containers/initiated.jsx

2
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 (
<Nav.Sub

8
web/client/src/sections/workOrder/containers/initiated.jsx

@ -74,14 +74,16 @@ const Rest = (props) => {
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?
<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