谐波普测-普测计划新增&终端退运-历史记录

This commit is contained in:
zhujiyan
2024-06-03 09:17:00 +08:00
parent c7025c615f
commit d9f02ef5ff
15 changed files with 1009 additions and 607 deletions

View File

@@ -1,6 +1,5 @@
<template>
<TableHeader area datePicker ref="TableHeaderRef">
<template #operation>
<el-button icon="el-icon-Plus" type="primary" @click="add">新增计划</el-button>
<!-- <el-button icon="el-icon-Download" type="primary" @click="exportFn">导出</el-button> -->
@@ -8,7 +7,7 @@
</TableHeader ref="tableRef">
<Table ref="tableRef" />
<!-- 新增 -->
<planAdd ref="planAddRef" @onsubmit="tableStore.index()" />
<planTest ref="planTestRef" @onsubmit="tableStore.index()" />
<!-- 选择审核人 -->
<el-dialog draggable v-model="dialogVisible" title="审核" width="300" :before-close="handleClose">
@@ -34,7 +33,7 @@ import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { submitAuditUser,cancel } from '@/api/process-boot/generalTest'
import planAdd from './planAdd.vue'
import planTest from './planTest.vue'
import { useRouter } from 'vue-router'
import { useDictData } from '@/stores/dictData'
@@ -46,7 +45,7 @@ const dialogVisible=ref(false)
const tableRef = ref()
const planAddRef = ref()
const planTestRef = ref()
const TableHeaderRef = ref()
const auditList:any = ref([])
const auditUser = ref('')
@@ -98,7 +97,7 @@ const tableStore = new TableStore({
icon: 'el-icon-EditPen',
render: 'basicButton',
click: row => {
// planAddRef.value.open('查看计划', row)
// planTestRef.value.open('查看计划', row)
handleAudit(row.processInstanceId)
}
},
@@ -113,7 +112,7 @@ const tableStore = new TableStore({
},
click: row => {
// deviceQuitPopup.value.open('重新发起退运', row)
planAddRef.value.open('重新发起计划', row)
planTestRef.value.open('重新发起计划', row)
}
},
{
@@ -139,7 +138,7 @@ const tableStore = new TableStore({
// icon: 'el-icon-Plus',
// render: 'basicButton',
// click: async row => {
// planAddRef.value.open('编辑计划', row)
// planTestRef.value.open('编辑计划', row)
// }
// },
// {
@@ -179,7 +178,7 @@ provide('tableStore', tableStore)
// 新增计划
const add = () => {
// title.value = '普测计划新增'
planAddRef.value.open('普测计划新增')
planTestRef.value.open('普测计划新增')
}
// 提交审核