冀北监测点试运行调整

This commit is contained in:
cdf
2024-05-22 19:53:25 +08:00
parent 11b63cbab9
commit e666784f2d
4 changed files with 14 additions and 44 deletions

View File

@@ -142,8 +142,6 @@ onMounted(() => {
tableStore.index()
})
const dateValue = ref([])
/** 处理审批按钮 */
const handleAudit = (instanceId: any) => {
@@ -156,8 +154,9 @@ const handleAudit = (instanceId: any) => {
}
//试运行
let monitorIds: any = []
let flag = true
const startRunTest = () => {
let flag = true
if (tableStore.table.selection.length === 0) {
return ElMessage({
message: '请至少选择一个监测点进行试运行',
@@ -211,10 +210,11 @@ const runTestSubmit = () => {
}
addRunTest(data).then((res: any) => {
if (res.code === 'A0000') {
return ElMessage({
ElMessage({
message: '发起试运行成功',
type: 'success'
})
tableStore.index()
}
})
}