|
@@ -179,6 +179,7 @@ export default {
|
|
},
|
|
},
|
|
templateId: {
|
|
templateId: {
|
|
handler(newV) {
|
|
handler(newV) {
|
|
|
|
+ console.log(newV, '成都市哪家口碑传播打开手机')
|
|
if (newV === '新建模版') {
|
|
if (newV === '新建模版') {
|
|
this.releaseType = true
|
|
this.releaseType = true
|
|
return false
|
|
return false
|
|
@@ -190,11 +191,13 @@ export default {
|
|
}
|
|
}
|
|
this.releaseType = false
|
|
this.releaseType = false
|
|
if (newV.id) { // 编辑
|
|
if (newV.id) { // 编辑
|
|
|
|
+ alert(1)
|
|
this.tpltId = newV.moduleId
|
|
this.tpltId = newV.moduleId
|
|
this.reportdelivertestGetReportById(newV.id)
|
|
this.reportdelivertestGetReportById(newV.id)
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
if (newV) { // 新建
|
|
if (newV) { // 新建
|
|
|
|
+ alert(2)
|
|
this.tpltId = newV
|
|
this.tpltId = newV
|
|
this.tpltId ? this.settingGetReportModuleById(newV) : ''
|
|
this.tpltId ? this.settingGetReportModuleById(newV) : ''
|
|
}
|
|
}
|
|
@@ -207,6 +210,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
async reportdelivertestGetReportById(val) { // 获取提测报告数据
|
|
async reportdelivertestGetReportById(val) { // 获取提测报告数据
|
|
|
|
+ alert(5)
|
|
const res = await reportdelivertestGetReportById(val)
|
|
const res = await reportdelivertestGetReportById(val)
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
const from = res.data
|
|
const from = res.data
|
|
@@ -264,6 +268,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async remoteMethod_data(query) { // 远程搜索任务
|
|
async remoteMethod_data(query) { // 远程搜索任务
|
|
|
|
+ alert(7)
|
|
const res = await taskList({ name: query })
|
|
const res = await taskList({ name: query })
|
|
this.tasksDetailList.push(res.data[0])
|
|
this.tasksDetailList.push(res.data[0])
|
|
this.taskId.push(res.data[0].id)
|
|
this.taskId.push(res.data[0].id)
|