技术监督 维护

This commit is contained in:
GGJ
2024-08-23 13:47:19 +08:00
parent 51cad8f4b9
commit 75b1da2119
3 changed files with 20 additions and 18 deletions

View File

@@ -93,6 +93,15 @@ const tableStore = new TableStore({
column: [ column: [
{ title: '序号', type: 'seq', width: 80 }, { title: '序号', type: 'seq', width: 80 },
{ field: 'city', title: '所在地市', minWidth: 80 }, { field: 'city', title: '所在地市', minWidth: 80 },
{
field: 'substation',
title: '厂站名称',
minWidth: 100,
formatter: (row: any) => {
row.cellValue = row.cellValue ? row.cellValue : '/'
return row.cellValue
}
},
{ field: 'projectName', title: '项目名称', minWidth: 170 }, { field: 'projectName', title: '项目名称', minWidth: 170 },
{ {
field: 'userType', field: 'userType',
@@ -103,7 +112,7 @@ const tableStore = new TableStore({
return getUserTypeName(userType) return getUserTypeName(userType)
} }
}, },
// { field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 }, { field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 },
{ {
field: 'userStatus', field: 'userStatus',
title: '用户状态', title: '用户状态',
@@ -144,15 +153,7 @@ const tableStore = new TableStore({
null: '/' null: '/'
} }
}, },
{
field: 'substation',
title: '厂站名称',
minWidth: 100,
formatter: (row: any) => {
row.cellValue = row.cellValue ? row.cellValue : '/'
return row.cellValue
}
},
{ {
title: '详细信息', title: '详细信息',
minWidth: 100, minWidth: 100,

View File

@@ -81,7 +81,7 @@ const tableStore = new TableStore({
{ {
field: 'city', field: 'city',
title: '所在地市', title: '所在地市',
minWidth: 80, minWidth: 80
// formatter: (obj: any) => { // formatter: (obj: any) => {
// return areaOptionList.filter(item => item.id == obj.row.city)[0]?.name // return areaOptionList.filter(item => item.id == obj.row.city)[0]?.name
// } // }
@@ -105,6 +105,7 @@ const tableStore = new TableStore({
return getUserTypeName(userType) return getUserTypeName(userType)
} }
}, },
{ field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 },
{ {
field: 'userStatus', field: 'userStatus',
title: '用户状态', title: '用户状态',

View File

@@ -40,16 +40,16 @@ const tableStore = new TableStore({
return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1 return (tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize + row.rowIndex + 1
} }
}, },
{ title: '任务名称', field: 'processInstance.name', width: 200 }, { title: '任务名称', field: 'processInstance.name', minWidth: 200 },
{ title: '任务内容', field: 'instanceSign', minWidth: 300 }, { title: '任务内容', field: 'instanceSign', minWidth: 300 },
{ title: '发起人', field: 'processInstance.startUser.name', width: 120 }, { title: '发起人', field: 'processInstance.startUser.name', minWidth: 120 },
{ title: '发起部门', field: 'processInstance.startUser.deptName', width: 120 }, { title: '发起部门', field: 'processInstance.startUser.deptName', minWidth: 120 },
{ title: '发起时间', field: 'createTime', width: 180 }, { title: '发起时间', field: 'createTime', minWidth: 180 },
{ title: '当前任务', field: 'name', width: 140 }, { title: '当前任务', field: 'name', minWidth: 140 },
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',
width: 100, minWidth: 100,
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {