|
@@ -265,18 +265,23 @@ export default {
|
|
|
this.gradeOption = list.reverse();
|
|
|
},
|
|
|
resetData() {
|
|
|
+ this.ruleForm.position = "";
|
|
|
if (this.isView) {
|
|
|
this.ruleForm.group = "";
|
|
|
}
|
|
|
- this.$refs["ruleForm"].clearValidate();
|
|
|
+
|
|
|
//清空表单
|
|
|
this.ruleForm.grade = "";
|
|
|
-
|
|
|
+
|
|
|
this.ruleForm.name = "";
|
|
|
this.ruleForm.studentNumber = "";
|
|
|
// this.ruleForm.password = "";
|
|
|
// this.ruleForm.comPassword = "";
|
|
|
this.ruleForm.sex = "";
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.$refs["ruleForm"].clearValidate();
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
//获取组织架构方法--------------------开始-----------------------
|
|
|
getChannel() {
|