干扰源常态化管理页面

This commit is contained in:
cdf
2024-05-21 15:42:18 +08:00
parent 520b39719f
commit 94e611a1cc
2 changed files with 132 additions and 2 deletions

View File

@@ -164,7 +164,7 @@
<el-divider content-position="left">{{ titleButton }}</el-divider> <el-divider content-position="left">{{bussType == 0?'入网设计方案审查报告':'治理工程验收报告'}}</el-divider>
<el-row style='margin-top: 25px'> <el-row style='margin-top: 25px'>
<el-col :span='12'> <el-col :span='12'>
<el-form-item label='填报人:' prop='reporter'> <el-form-item label='填报人:' prop='reporter'>
@@ -407,8 +407,9 @@ const open = () => {
} }
const close = () => { const close = () => {
//重置表单内容 //重置表单内容
dialogFormVisible.value = false
resetForm() resetForm()
dialogFormVisible.value = false
} }
onMounted(() => { onMounted(() => {
getInfo() getInfo()

View File

@@ -0,0 +1,129 @@
<!---试运行列表-->
<template>
<div>555</div>
<!-- <TableHeader area datePicker ref="TableHeaderRef">
<template #operation>
&lt;!&ndash; <el-button icon="el-icon-Plus" type="primary" @click="addFormModel">新增</el-button> &ndash;&gt;
&lt;!&ndash; <el-button icon="el-icon-Download" @click="exportEvent" type="primary">导出</el-button> &ndash;&gt;
</template>
</TableHeader>-->
<!-- <Table ref="tableRef" />-->
</template>
<!--<script setup lang="ts">
import { ref, onMounted, provide, nextTick } from 'vue'
import TableStore from '@/utils/tableStore'
import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue'
import { useRouter } from 'vue-router'
import { useDictData } from '@/stores/dictData'
const dictData = useDictData()
const { push } = useRouter()
const TableHeaderRef = ref()
const tableRef = ref()
const tableStore = new TableStore({
url: '/supervision-boot/tempLinedebug/pageHasDebug',
method: 'POST',
column: [
{ title: '序号', type: 'seq', width: 80 },
{ field: 'lineName', title: '监测点名称', minWidth: 170 },
{
field: 'status',
title: '审核状态',
minWidth: 100,
render: 'tag',
custom: {
1: 'primary',
2: 'success',
3: 'danger',
4: 'warning'
},
replaceValue: {
1: '审批中',
2: '审批通过',
3: '审批不通过',
4: '已取消',
null:'/'
}
},
{ field: 'reason', title: '调试原因', minWidth: 170 },
{
title: '操作',
minWidth: 150,
fixed: 'right',
render: 'buttons',
buttons: [
{
name: 'productSetting',
title: '流程详情',
type: 'primary',
icon: 'el-icon-EditPen',
render: 'basicButton',
click: row => {
handleAudit(row.processInstanceId)
},
disabled: row => {
return !row.processInstanceId;
}
},
{
name: 'productSetting',
title: '申请联调',
type: 'success',
icon: 'el-icon-add',
render: 'basicButton',
click: row => {
handleDebug(row)
},
disabled: row => {
return row.reason;
}
}
]
}
],
beforeSearchFun: () => {
tableStore.table.params.orgNo = tableStore.table.params.deptIndex
tableStore.table.params.statveList = [2]
// tableStore.table.params.relationUserName = tableStore.table.params.userName
}
})
provide('tableStore', tableStore)
onMounted(() => {
tableStore.index()
})
/** 处理审批按钮 */
const handleAudit = (instanceId: any) => {
push({
name: 'BpmProcessInstanceDetail',
query: {
id: instanceId
}
})
}
//申请联调
const debugForms = ref()
const debugId = ref('')
const handleDebug = (row: any) => {
debugId.value = row.id
console.log(debugId.value)
debugForms.value.open()
}
</script>
<style scoped lang="scss">
</style>-->