|
@@ -446,11 +446,8 @@ export default {
|
|
|
this.dialogVisible = false;
|
|
|
this.schoolName = "";
|
|
|
this.place = [];
|
|
|
- if (this.sType == 1) {
|
|
|
- this.selectSchool();
|
|
|
- } else if (this.sType == 2) {
|
|
|
- this.selectSchool1();
|
|
|
- }
|
|
|
+ this.selectSchool();
|
|
|
+ this.selectSchool1();
|
|
|
this.sType = 0;
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -487,11 +484,8 @@ export default {
|
|
|
this.updateId = "";
|
|
|
this.schoolName = "";
|
|
|
this.place = [];
|
|
|
- if (this.sType == 1) {
|
|
|
- this.selectSchool();
|
|
|
- } else if (this.sType == 2) {
|
|
|
- this.selectSchool1();
|
|
|
- }
|
|
|
+ this.selectSchool();
|
|
|
+ this.selectSchool1();
|
|
|
this.sType = 0;
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -523,11 +517,8 @@ export default {
|
|
|
});
|
|
|
_this.updateId = "";
|
|
|
_this.schoolName = "";
|
|
|
- if (_this.sType == 1) {
|
|
|
- _this.selectSchool();
|
|
|
- } else if (_this.sType == 2) {
|
|
|
- _this.selectSchool1();
|
|
|
- }
|
|
|
+ _this.selectSchool();
|
|
|
+ _this.selectSchool1();
|
|
|
_this.sType = 0;
|
|
|
})
|
|
|
.catch((err) => {
|
|
@@ -580,6 +571,7 @@ export default {
|
|
|
this.updateId = "";
|
|
|
this.isCSchool = "";
|
|
|
this.selectSchool();
|
|
|
+ this.selectSchool1();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
this.$message.error("联结失败");
|