添加填报人
This commit is contained in:
@@ -68,7 +68,14 @@ const tableStore = new TableStore({
|
||||
{ field: 'monitoringTerminalName', title: '所属装置', minWidth: 170 },
|
||||
{ field: 'lineName', title: '监测点名称', minWidth: 150 },
|
||||
{ field: 'reportDate', title: '填报日期', minWidth: 150 },
|
||||
{ field: 'reporter', title: '填报人', minWidth: 80 },
|
||||
{
|
||||
field: 'createBy',
|
||||
title: '填报人',
|
||||
minWidth: 80,
|
||||
formatter: (row: any) => {
|
||||
return dictData.state.userList.filter(item => item.id == row.cellValue)[0]?.name
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'status',
|
||||
title: '审核状态',
|
||||
@@ -111,9 +118,7 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-Open',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return (
|
||||
row.createBy != adminInfo.$state.id || row.status !=3
|
||||
)
|
||||
return row.createBy != adminInfo.$state.id || row.status != 3
|
||||
},
|
||||
click: row => {
|
||||
addForms.value.open({
|
||||
@@ -129,7 +134,7 @@ const tableStore = new TableStore({
|
||||
icon: 'el-icon-Open',
|
||||
render: 'basicButton',
|
||||
disabled: row => {
|
||||
return row.createBy != adminInfo.$state.id || row.status !=1
|
||||
return row.createBy != adminInfo.$state.id || row.status != 1
|
||||
},
|
||||
click: row => {
|
||||
cancelLeave(row)
|
||||
|
||||
Reference in New Issue
Block a user