1ce5b014 by 杨威

户编辑修改

1 parent 8aa76ec9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <div class="content_box"> 2 <div class="content_box">
3 <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick"> 3 <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick">
4 <el-tab-pane label="户基本信息表" name="hjbxx"> 4 <el-tab-pane label="户基本信息表" name="hjbxx">
5 <hbj v-if="hbjVisible"></hbj> 5 <hbj ></hbj>
6 </el-tab-pane> 6 </el-tab-pane>
7 <el-tab-pane label="登记簿" name="djb"> 7 <el-tab-pane label="登记簿" name="djb">
8 <djb v-if="djbVisible"></djb> 8 <djb v-if="djbVisible"></djb>
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
29 activeName: "hjbxx", 29 activeName: "hjbxx",
30 djbVisible: false, 30 djbVisible: false,
31 fjclVisible: false, 31 fjclVisible: false,
32 hbjVisible: false
33 } 32 }
34 }, 33 },
35 mounted() { 34 mounted() {
...@@ -39,9 +38,6 @@ ...@@ -39,9 +38,6 @@
39 handleClick(tab, event) { 38 handleClick(tab, event) {
40 // console.log(tab, event); 39 // console.log(tab, event);
41 switch (tab.name) { 40 switch (tab.name) {
42 case 'hjbxx':
43 this.hbjVisible = true;
44 break
45 case 'djb': 41 case 'djb':
46 this.djbVisible = true; 42 this.djbVisible = true;
47 break; 43 break;
......