Browse Source

盘点添加关闭接口提示

faster_develop 1.23.1026.1
安虹睿 2 years ago
parent
commit
f97db6a583
  1. 2
      fe/PC/public/version.json
  2. 36
      fe/PC/src/components/StepsCountPlanForm/index.vue

2
fe/PC/public/version.json

@ -1,3 +1,3 @@
{ {
"version": "1.0.73" "version": "1.0.76"
} }

36
fe/PC/src/components/StepsCountPlanForm/index.vue

@ -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 => {

Loading…
Cancel
Save