技术监督计划调整,增加监督类型
This commit is contained in:
@@ -289,9 +289,6 @@ const open = (text: string, id: any) => {
|
||||
planEndTime: '',
|
||||
planName: '',
|
||||
substation: '', //关联电站
|
||||
// fileList: [],
|
||||
// checkComment: '',
|
||||
// filePath: '',
|
||||
customSubstationFlag: 0 //电站类型
|
||||
})
|
||||
title.value = text
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<TableHeader area datePicker ref='TableHeaderRef'>
|
||||
<template v-slot:select>
|
||||
<el-form-item label="审核状态">
|
||||
<el-select v-model="tableStore.table.params.status" clearable placeholder="请选择审核状态">
|
||||
<el-form-item label='审核状态'>
|
||||
<el-select v-model='tableStore.table.params.status' clearable placeholder='请选择审核状态'>
|
||||
<el-option
|
||||
v-for="item in statusSelect"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
v-for='item in statusSelect'
|
||||
:key='item.id'
|
||||
:label='item.name'
|
||||
:value='item.id'
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -39,6 +39,7 @@ import { getUserByRoleType } from '@/api/user-boot/user'
|
||||
const { push } = useRouter()
|
||||
const tableRef = ref()
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
|
||||
const dictData = useDictData()
|
||||
const supvTypeOptionList = dictData.getBasicData('supv_type')
|
||||
const statusSelect = dictData.statusSelect()
|
||||
@@ -76,17 +77,18 @@ const tableStore = new TableStore({
|
||||
{ field: 'substationName', title: '变电站', minWidth: 140 },
|
||||
{ field: 'planStartTime', title: '计划开始时间', minWidth: 140 },
|
||||
{ field: 'planEndTime', title: '计划结束时间', minWidth: 140 },
|
||||
{ field: 'problemFlag', title: '是否存在问题', minWidth: 120,
|
||||
{
|
||||
field: 'problemFlag', title: '是否存在问题', minWidth: 120,
|
||||
render: 'tag',
|
||||
custom: {
|
||||
0: 'success',
|
||||
1: 'danger',
|
||||
null:'primary'
|
||||
null: 'primary'
|
||||
},
|
||||
replaceValue: {
|
||||
0: '合格',
|
||||
1: '存在问题',
|
||||
null:'待测试'
|
||||
null: '待测试'
|
||||
}
|
||||
},
|
||||
{ field: 'deptName', title: '负责单位', minWidth: 140 },
|
||||
@@ -150,7 +152,7 @@ const tableStore = new TableStore({
|
||||
},
|
||||
click: row => {
|
||||
// planTestRef.value.open('查看计划', row)
|
||||
handleAudit(row.processInstanceId,row.historyInstanceId)
|
||||
handleAudit(row.processInstanceId, row.historyInstanceId)
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -164,7 +166,7 @@ const tableStore = new TableStore({
|
||||
},
|
||||
click: row => {
|
||||
// deviceQuitPopup.value.open('重新发起退运', row)
|
||||
planTestRef.value.open('重新发起计划', row.id)
|
||||
planTestRef.value.open('重新发起计划', row.id, false)
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -194,7 +196,7 @@ tableStore.table.params.status = ''
|
||||
provide('tableStore', tableStore)
|
||||
// 新增计划
|
||||
const add = (id: string) => {
|
||||
planTestRef.value.open('计划测试填报',id,true)
|
||||
planTestRef.value.open('计划测试填报', id, true)
|
||||
}
|
||||
|
||||
|
||||
@@ -239,7 +241,7 @@ const cancelLeave = async (row: any) => {
|
||||
|
||||
|
||||
/** 处理审批按钮 */
|
||||
const handleAudit = (instanceId: any,historyInstanceId:any) => {
|
||||
const handleAudit = (instanceId: any, historyInstanceId: any) => {
|
||||
push({
|
||||
name: 'BpmProcessInstanceDetail',
|
||||
state: {
|
||||
|
||||
Reference in New Issue
Block a user