普测测试判断修改

This commit is contained in:
zhujiyan
2024-06-07 11:26:24 +08:00
parent 669bbf0d65
commit bb6958bec0
2 changed files with 2 additions and 3 deletions

View File

@@ -189,7 +189,7 @@ const submitFn = () => {
if (valid) {
const subForm = JSON.parse(JSON.stringify(form.value))
subForm.testReport = testReport.value
if (addFlagRef) {
if (addFlagRef.value) {
//新增,则组装业务数据提交后台
await addSurveyTest(subForm)
//查询进线数据避免一直处于loading状态

View File

@@ -165,8 +165,7 @@ const tableStore = new TableStore({
return row.createBy != adminInfo.$state.id || row.status == 6 || row.status == 1 || row.status == 2
},
click: row => {
// deviceQuitPopup.value.open('重新发起退运', row)
planTestRef.value.open('重新发起计划', row.id, false)
planTestRef.value.open('重新发起计划测试', row.id, false)
}
},
{