|
@@ -191,13 +191,11 @@ export default {
|
|
|
}
|
|
|
this.releaseType = false
|
|
|
if (newV.id) { // 编辑
|
|
|
- alert(1)
|
|
|
this.tpltId = newV.moduleId
|
|
|
this.reportdelivertestGetReportById(newV.id)
|
|
|
return false
|
|
|
}
|
|
|
if (newV) { // 新建
|
|
|
- alert(2)
|
|
|
this.tpltId = newV
|
|
|
this.tpltId ? this.settingGetReportModuleById(newV) : ''
|
|
|
}
|
|
@@ -210,7 +208,6 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
async reportdelivertestGetReportById(val) { // 获取提测报告数据
|
|
|
- alert(5)
|
|
|
const res = await reportdelivertestGetReportById(val)
|
|
|
if (res.code === 200) {
|
|
|
const from = res.data
|
|
@@ -268,7 +265,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async remoteMethod_data(query) { // 远程搜索任务
|
|
|
- alert(7)
|
|
|
const res = await taskList({ name: query })
|
|
|
this.tasksDetailList.push(res.data[0])
|
|
|
this.taskId.push(res.data[0].id)
|