Commit 7292bfa7 by tangjiale

重置本地参数

parent 73d33000
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-02 15:02:39 * @Date: 2022-06-02 15:02:39
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-27 10:34:03 * @LastEditTime: 2022-06-27 11:29:50
--> -->
<template> <template>
<div> <div>
...@@ -81,11 +81,19 @@ export default { ...@@ -81,11 +81,19 @@ export default {
}, },
methods:{ methods:{
change(){ change(){
this.param = {
name:'',
gender:'',
fatherPhone:'',
motherPhone:'',
otherPhone:'',
schIds:[],
readSchName:''
},
this.$refs['c-dialog'].change() this.$refs['c-dialog'].change()
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields() this.$nextTick(() => {
}, this.$refs['studentForm'].resetFields
resetForm(){ })
this.$refs['studentForm'] && this.$refs['studentForm'].resetFields()
}, },
queryDetail(id){ queryDetail(id){
this.$refs['studentForm'].resetFields() 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