|
@@ -133,6 +133,7 @@
|
|
|
width="700px"
|
|
|
label-width='100px'
|
|
|
label-position="right"
|
|
|
+ before-close="closeStudentVisible"
|
|
|
:visible.sync="studentVisible">
|
|
|
<el-divider>基本信息</el-divider>
|
|
|
<el-form :model="studentForm"
|
|
@@ -286,6 +287,7 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+
|
|
|
onSearch () {
|
|
|
this.pageInfo.page = 1;
|
|
|
this.getList()
|
|
@@ -452,7 +454,10 @@ export default {
|
|
|
date: row.birthdate,
|
|
|
nation: row.nation
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ closeStudentVisible () {
|
|
|
+
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
studentVisible (val) {
|
|
@@ -466,7 +471,7 @@ export default {
|
|
|
date: '',
|
|
|
nation: ''
|
|
|
}
|
|
|
- // this.studentForm.
|
|
|
+ this.$refs['studentForm'].resetFields()
|
|
|
}
|
|
|
}
|
|
|
}
|