|
@@ -124,7 +124,9 @@
|
|
|
</el-form>
|
|
|
<div class="dig_button">
|
|
|
<el-button type="info" round @click="resetData()">重置</el-button>
|
|
|
- <el-button :disabled="disableFlag" type="success" round @click="submitCom()">提交</el-button>
|
|
|
+ <el-button :disabled="disableFlag" type="success" round @click="submitCom()"
|
|
|
+ >提交</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div slot="footer">
|
|
@@ -349,6 +351,7 @@ export default {
|
|
|
//获取数行已选项,将已选ID组合
|
|
|
//---------------已选 开始----------
|
|
|
this.ruleForm.checkedList = [];
|
|
|
+ // this.$refs.tree.setCheckedKeys([]);
|
|
|
let list = this.$refs.tree.getCheckedNodes();
|
|
|
|
|
|
let listIds = [];
|
|
@@ -622,6 +625,7 @@ export default {
|
|
|
this.ruleForm.endTime = val.planEndTime;
|
|
|
//将配置计划置空
|
|
|
this.ruleForm.checkedList = [];
|
|
|
+ this.$refs.tree.setCheckedKeys([]);
|
|
|
//将快捷选项 届数 置空
|
|
|
this.grade = [];
|
|
|
//将快捷选项辅导员置空
|
|
@@ -674,17 +678,24 @@ export default {
|
|
|
resetData() {
|
|
|
this.$refs["ruleForm"].clearValidate();
|
|
|
//清空表单
|
|
|
+ this.grade=[];
|
|
|
+ this.instructor=[];
|
|
|
this.ruleForm.planName = "";
|
|
|
this.ruleForm.endTime = "";
|
|
|
this.ruleForm.checkboxGroup2 = [];
|
|
|
+ this.$refs.tree.setCheckedKeys([]);
|
|
|
this.ruleForm.checkedList = [];
|
|
|
},
|
|
|
cancle() {
|
|
|
this.$refs["ruleForm"].clearValidate();
|
|
|
//清空表单
|
|
|
+ this.instructor = [];
|
|
|
+ this.grade = [];
|
|
|
this.ruleForm.planName = "";
|
|
|
this.ruleForm.endTime = "";
|
|
|
+
|
|
|
this.ruleForm.checkedList = [];
|
|
|
+ this.$refs.tree.setCheckedKeys([]);
|
|
|
this.ruleForm.checkboxGroup2 = [];
|
|
|
this.dialogVisible = false;
|
|
|
},
|
|
@@ -719,7 +730,7 @@ export default {
|
|
|
this.disableFlag = true;
|
|
|
this.register();
|
|
|
} else {
|
|
|
- console.log("3re")
|
|
|
+ console.log("3re");
|
|
|
this.disableFlagStatus();
|
|
|
}
|
|
|
} else {
|
|
@@ -727,7 +738,7 @@ export default {
|
|
|
this.disableFlag = true;
|
|
|
this.editUserFun();
|
|
|
} else {
|
|
|
- console.log("3fun")
|
|
|
+ console.log("3fun");
|
|
|
this.disableFlagStatus();
|
|
|
}
|
|
|
}
|
|
@@ -735,7 +746,7 @@ export default {
|
|
|
//都校验通过后可以触发注册接口了
|
|
|
//调用方法进行入参
|
|
|
} else {
|
|
|
- console.log('usagduahd')
|
|
|
+ console.log("usagduahd");
|
|
|
this.disableFlagStatus();
|
|
|
}
|
|
|
});
|
|
@@ -888,7 +899,7 @@ export default {
|
|
|
...this.userDetailData,
|
|
|
},
|
|
|
(res) => {
|
|
|
- console.log('----sasas')
|
|
|
+ console.log("----sasas");
|
|
|
this.disableFlagStatus();
|
|
|
if (res && res.code == 200) {
|
|
|
this.dialogVisible = false;
|