默认不加载重新落宗tabs
Showing
1 changed file
with
5 additions
and
1 deletions
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | <el-tab-pane label="分割" name="fg"><fg></fg></el-tab-pane> | 4 | <el-tab-pane label="分割" name="fg"><fg></fg></el-tab-pane> |
5 | <el-tab-pane label="合并" name="hb"><hb v-if="hbLoad"></hb></el-tab-pane> | 5 | <el-tab-pane label="合并" name="hb"><hb v-if="hbLoad"></hb></el-tab-pane> |
6 | <el-tab-pane label="范围属性变更" name="fwsxbg"><fwsxbg v-if="fwsxbgLoad"></fwsxbg></el-tab-pane> | 6 | <el-tab-pane label="范围属性变更" name="fwsxbg"><fwsxbg v-if="fwsxbgLoad"></fwsxbg></el-tab-pane> |
7 | <el-tab-pane label="重新落宗" name="cxlz"><cxlz></cxlz></el-tab-pane> | 7 | <el-tab-pane label="重新落宗" name="cxlz"><cxlz v-if="cxlzLoad"></cxlz></el-tab-pane> |
8 | </el-tabs> | 8 | </el-tabs> |
9 | </div> | 9 | </div> |
10 | </template> | 10 | </template> |
... | @@ -25,6 +25,7 @@ export default { | ... | @@ -25,6 +25,7 @@ export default { |
25 | activeName: "fg", | 25 | activeName: "fg", |
26 | hbLoad:false, //默认不加载合并tab | 26 | hbLoad:false, //默认不加载合并tab |
27 | fwsxbgLoad:false, //默认不加载范围属性变更tab | 27 | fwsxbgLoad:false, //默认不加载范围属性变更tab |
28 | cxlzLoad:false, //默认不加载重新落宗tab | ||
28 | }; | 29 | }; |
29 | }, | 30 | }, |
30 | methods: { | 31 | methods: { |
... | @@ -36,6 +37,9 @@ export default { | ... | @@ -36,6 +37,9 @@ export default { |
36 | if(!this.fwsxbgLoad){ | 37 | if(!this.fwsxbgLoad){ |
37 | this.fwsxbgLoad = tab.name == 'fwsxbg' ? true : false | 38 | this.fwsxbgLoad = tab.name == 'fwsxbg' ? true : false |
38 | } | 39 | } |
40 | if(!this.cxlzLoad){ | ||
41 | this.cxlzLoad = tab.name == 'cxlz' ? true : false | ||
42 | } | ||
39 | }, | 43 | }, |
40 | }, | 44 | }, |
41 | created() {}, | 45 | created() {}, | ... | ... |
-
Please register or sign in to post a comment