|
|
@@ -738,9 +738,15 @@ export default {
|
|
|
this.tsContentsFun();
|
|
|
} else {
|
|
|
// 新的
|
|
|
- this.filterReportCustomData((reportCustomAnswers) => {
|
|
|
- this.tsContentsFun(reportCustomAnswers);
|
|
|
- });
|
|
|
+ if (this.reportTarget.customTaskList.length) {
|
|
|
+ // 配置任务
|
|
|
+ this.filterReportCustomData((reportCustomAnswers) => {
|
|
|
+ this.tsContentsFun(reportCustomAnswers);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ // 没有配置任务
|
|
|
+ this.tsContentsFun(null);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -813,9 +819,15 @@ export default {
|
|
|
this.submintFun();
|
|
|
} else {
|
|
|
// 新的
|
|
|
- this.reportCustomTabstoreVal((reportCustomAnswers) => {
|
|
|
- this.submintFun(reportCustomAnswers);
|
|
|
- });
|
|
|
+ if (this.reportTarget.customTaskList.length) {
|
|
|
+ // 配置任务
|
|
|
+ this.reportCustomTabstoreVal((reportCustomAnswers) => {
|
|
|
+ this.submintFun(reportCustomAnswers);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ // 没有配置任务
|
|
|
+ this.submintFun(null);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
},
|