9bbb8d8a by weimo934

feat(create):新增宗地之后重置数据

1 parent 46e7e7fb
......@@ -144,13 +144,13 @@ export default {
djq: [],
djzq: [],
ruleForm:{
"djqbsm": "",
"djzqbsm": "",
"syqlxbsm": "",
"userbsm": "",
"xmmc": "",
"xzqbsm": "",
"zdtzmbsm": ""
djqbsm: "",
djzqbsm: "",
syqlxbsm: "",
userbsm: "",
xmmc: "",
xzqbsm: "",
zdtzmbsm: ""
},
ruleForm1:{
zdbsm:'',
......@@ -216,6 +216,28 @@ export default {
this.activeName = this.auth ? 'zrz':'zd'
},
methods: {
// 重置
result(){
this.ruleForm={
djqbsm: "",
djzqbsm: "",
syqlxbsm: "",
userbsm: "",
xmmc: "",
xzqbsm: "",
zdtzmbsm: ""
}
this.ruleForm1={
zdbsm:'',
xmmc:'',
userbsm:''
}
this.ruleForm2={
zdbsm:'',
xmmc:'',
userbsm:''
}
},
handleClick(tab, event) {
console.log(tab, event);
console.log(tab.name);
......@@ -364,6 +386,7 @@ export default {
},
close() {
this.$emit("closeDialog");
this.result();
},
},
computed: {},
......