|
@@ -180,11 +180,11 @@ export default {
|
|
|
},
|
|
|
templateId: {
|
|
|
handler(newV) {
|
|
|
- console.log(newV, '准出报告')
|
|
|
+ console.log(newV, '准出报告33')
|
|
|
if (newV.name === '新建模版' || newV.name === '编辑模版') { // 新建、编辑模版
|
|
|
this.releaseType = true
|
|
|
this.from = { ...this.from, ...newV.from }
|
|
|
- newV.name === '编辑模版' ? this.settingGetReportModuleById(newV.set_up) : ''
|
|
|
+ newV.name === '编辑模版' ? this.settingGetReportModuleById(newV.set_up || this.from.id) : ''
|
|
|
return
|
|
|
}
|
|
|
this.releaseType = false
|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
this.reportId = newV.id
|
|
|
this.reportreleaseGetReportById(newV.id)
|
|
|
} else { // 新建
|
|
|
- console.log(newV, '准出报告1')
|
|
|
+ console.log(newV, '准出报告122')
|
|
|
this.tpsltId = newV
|
|
|
this.settingGetReportModuleById(newV)
|
|
|
}
|