|
@ -681,20 +681,28 @@ export default { |
|
|
this.$warningMsg("请选择状态"); |
|
|
this.$warningMsg("请选择状态"); |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
this.loading = true; |
|
|
this.$confirm('是否确定已关闭接口?', '提示', { |
|
|
// this.otherFormData.requestType = 2 |
|
|
confirmButtonText: '确定', |
|
|
this.splitFormData(this.otherFormData).then( |
|
|
cancelButtonText: '取消', |
|
|
(resolve) => { |
|
|
type: 'warning' |
|
|
this.pageStatus = "success"; |
|
|
}).then(() => { |
|
|
this.active++; |
|
|
this.loading = true; |
|
|
this.loading = false; |
|
|
// this.otherFormData.requestType = 2 |
|
|
}, |
|
|
this.splitFormData(this.otherFormData).then( |
|
|
(reject) => { |
|
|
(resolve) => { |
|
|
this.pageStatus = "error"; |
|
|
this.pageStatus = "success"; |
|
|
this.active++; |
|
|
this.active++; |
|
|
this.loading = false; |
|
|
this.loading = false; |
|
|
} |
|
|
}, |
|
|
); |
|
|
(reject) => { |
|
|
|
|
|
this.pageStatus = "error"; |
|
|
|
|
|
this.active++; |
|
|
|
|
|
this.loading = false; |
|
|
|
|
|
} |
|
|
|
|
|
); |
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
// else if (this.active == 4) { |
|
|
// else if (this.active == 4) { |
|
|
// postCreate(this.previewFormData, 'count-plan').then(res => { |
|
|
// postCreate(this.previewFormData, 'count-plan').then(res => { |
|
|