Commit 7292bfa7 by tangjiale

重置本地参数

parent 73d33000
......@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @Date: 2022-06-02 15:02:39
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 10:34:03
* @LastEditTime: 2022-06-27 11:29:50
-->
<template>
<div>
......@@ -81,11 +81,19 @@ export default {
},
methods:{
change(){
this.$refs['c-dialog'].change()
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields()
this.param = {
name:'',
gender:'',
fatherPhone:'',
motherPhone:'',
otherPhone:'',
schIds:[],
readSchName:''
},
resetForm(){
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields()
this.$refs['c-dialog'].change()
this.$nextTick(() => {
this.$refs['studentForm'].resetFields
})
},
queryDetail(id){
this.$refs['studentForm'].resetFields()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment