|
@@ -417,7 +417,7 @@ export default {
|
|
objectivePolicyChange(row) {
|
|
objectivePolicyChange(row) {
|
|
row.objectivePolicyScore = undefined;
|
|
row.objectivePolicyScore = undefined;
|
|
},
|
|
},
|
|
- async submit() {
|
|
|
|
|
|
+ async save() {
|
|
if (!this.checkData()) return;
|
|
if (!this.checkData()) return;
|
|
|
|
|
|
if (this.loading) return;
|
|
if (this.loading) return;
|
|
@@ -440,6 +440,11 @@ export default {
|
|
);
|
|
);
|
|
return true;
|
|
return true;
|
|
},
|
|
},
|
|
|
|
+ async submit() {
|
|
|
|
+ const res = await this.save();
|
|
|
|
+ if (!res) return;
|
|
|
|
+ this.$emit("next", 1);
|
|
|
|
+ },
|
|
// toImport
|
|
// toImport
|
|
async downloadHandle() {
|
|
async downloadHandle() {
|
|
if (this.downloading) return;
|
|
if (this.downloading) return;
|
|
@@ -483,7 +488,7 @@ export default {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- const res = await this.submit();
|
|
|
|
|
|
+ const res = await this.save();
|
|
if (!res) return;
|
|
if (!res) return;
|
|
this.$emit("prev", step);
|
|
this.$emit("prev", step);
|
|
},
|
|
},
|