冀北监测点试运行调整
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user