格式化
Showing
1 changed file
with
85 additions
and
53 deletions
1 | <template> | 1 | <template> |
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="djdcb"><zddcb></zddcb></el-tab-pane> | 4 | <el-tab-pane label="地籍调查表" name="djdcb"><zddcb></zddcb></el-tab-pane> |
5 | <el-tab-pane label="分类调查表" name="fldcb" v-if="isFldc"><fldcb v-if="fldbcVisible" :qlr="qlr" :bdcdyh="bdcdyh" :zddm="zddm"></fldcb></el-tab-pane> | 5 | <el-tab-pane label="分类调查表" name="fldcb" v-if="isFldc" |
6 | <el-tab-pane label="土地承包经营权、农用地其他使用权调查表" name="tdcb" v-if="isTdcb"><tdcb :bdcdyh="bdcdyh" :zddm="zddm" lazy></tdcb></el-tab-pane> | 6 | ><fldcb |
7 | <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb></el-tab-pane> | 7 | v-if="fldbcVisible" |
8 | :qlr="qlr" | ||
9 | :bdcdyh="bdcdyh" | ||
10 | :zddm="zddm" | ||
11 | ></fldcb | ||
12 | ></el-tab-pane> | ||
13 | <el-tab-pane | ||
14 | label="土地承包经营权、农用地其他使用权调查表" | ||
15 | name="tdcb" | ||
16 | v-if="isTdcb" | ||
17 | ><tdcb :bdcdyh="bdcdyh" :zddm="zddm" lazy></tdcb | ||
18 | ></el-tab-pane> | ||
19 | <el-tab-pane label="面积分摊表" name="mjftb" | ||
20 | ><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb | ||
21 | ></el-tab-pane> | ||
8 | <el-tab-pane label="界址点" name="jzd"> | 22 | <el-tab-pane label="界址点" name="jzd"> |
9 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> | 23 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> |
10 | </el-tab-pane> | 24 | </el-tab-pane> |
11 | <el-tab-pane label="界址线" name="jzx" > | 25 | <el-tab-pane label="界址线" name="jzx"> |
12 | <jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx> | 26 | <jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx> |
13 | </el-tab-pane> | 27 | </el-tab-pane> |
14 | <el-tab-pane label="登记簿" name="djb"><djb v-if="djbVisible"></djb></el-tab-pane> | 28 | <el-tab-pane label="登记簿" name="djb" |
15 | <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs></el-tab-pane> | 29 | ><djb v-if="djbVisible"></djb |
30 | ></el-tab-pane> | ||
31 | <el-tab-pane label="历史回溯" name="lshs" | ||
32 | ><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs | ||
33 | ></el-tab-pane> | ||
16 | <el-tab-pane label="附件材料" name="fjcl"> | 34 | <el-tab-pane label="附件材料" name="fjcl"> |
17 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> | 35 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> |
18 | </el-tab-pane> | 36 | </el-tab-pane> |
19 | <el-tab-pane label="流程跟踪" name="lcgz" v-if="$store.state.isWorkFlow || $store.state.lcgzShow" lazy> | 37 | <el-tab-pane |
20 | <lcgz ref="lcgz" ></lcgz> | 38 | label="流程跟踪" |
39 | name="lcgz" | ||
40 | v-if="$store.state.isWorkFlow || $store.state.lcgzShow" | ||
41 | lazy | ||
42 | > | ||
43 | <lcgz ref="lcgz"></lcgz> | ||
21 | </el-tab-pane> | 44 | </el-tab-pane> |
22 | </el-tabs> | 45 | </el-tabs> |
23 | <!-- </div> --> | 46 | <!-- </div> --> |
... | @@ -30,61 +53,70 @@ import jzd from "./jzd"; | ... | @@ -30,61 +53,70 @@ import jzd from "./jzd"; |
30 | import jzx from "./jzx"; | 53 | import jzx from "./jzx"; |
31 | import djb from "./djb"; | 54 | import djb from "./djb"; |
32 | import lshs from "./lshs"; | 55 | import lshs from "./lshs"; |
33 | import fjcl from "./fjcl/fjcl" | 56 | import fjcl from "./fjcl/fjcl"; |
34 | import Lcgz from "./lcgz" | 57 | import Lcgz from "./lcgz"; |
35 | import {queryStatus} from "@api/search" | 58 | import { queryStatus } from "@api/search"; |
36 | import Fldcb from "./fldcb" | 59 | import Fldcb from "./fldcb"; |
37 | import Tdcb from "./tdcb" | 60 | import Tdcb from "./tdcb"; |
38 | import {getQjZdjbxxDetailById} from '@api/zd' | 61 | import { getQjZdjbxxDetailById } from "@api/zd"; |
39 | export default { | 62 | export default { |
40 | name: "", | 63 | name: "", |
41 | components: { | 64 | components: { |
42 | zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Fldcb,Lcgz,Tdcb | 65 | zddcb, |
66 | mjftb, | ||
67 | jzd, | ||
68 | jzx, | ||
69 | djb, | ||
70 | lshs, | ||
71 | fjcl, | ||
72 | Fldcb, | ||
73 | Lcgz, | ||
74 | Tdcb, | ||
43 | //zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Lcgz | 75 | //zddcb,mjftb,jzd,jzx,djb,lshs,fjcl,Lcgz |
44 | |||
45 | }, | 76 | }, |
46 | props: {}, | 77 | props: {}, |
47 | data() { | 78 | data() { |
48 | return { | 79 | return { |
49 | qlr:"", | 80 | qlr: "", |
50 | bdcdyh:'', | 81 | bdcdyh: "", |
51 | zddm:"", | 82 | zddm: "", |
52 | isFldc:false, | 83 | isFldc: false, |
53 | isTdcb:false, | 84 | isTdcb: false, |
54 | isDisabled:false, | 85 | isDisabled: false, |
55 | activeName: "djdcb", | 86 | activeName: "djdcb", |
56 | mjftbVisible:false, | 87 | mjftbVisible: false, |
57 | jzdVisible:false, | 88 | jzdVisible: false, |
58 | fldbcVisible:false, | 89 | fldbcVisible: false, |
59 | jzxVisible:false, | 90 | jzxVisible: false, |
60 | djbVisible:false, | 91 | djbVisible: false, |
61 | lshsVisible:false, | 92 | lshsVisible: false, |
62 | fjclVisible:false, | 93 | fjclVisible: false, |
63 | type:'zd' | 94 | type: "zd", |
64 | }; | 95 | }; |
65 | }, | 96 | }, |
66 | methods: { | 97 | methods: { |
67 | getZdData(bsm){ | 98 | getZdData(bsm) { |
68 | getQjZdjbxxDetailById(bsm).then(res=>{ | 99 | getQjZdjbxxDetailById(bsm).then((res) => { |
69 | if (res.success) { | 100 | if (res.success) { |
70 | console.log(res,'宗地信息') | 101 | console.log(res, "宗地信息"); |
71 | this.isFldc=res.result.zdtzmbsm==='PSHGSBDCQJDC000000000000DC440010'; | 102 | this.isFldc = res.result.zdtzmbsm === "PSHGSBDCQJDC000000000000DC440010"; |
72 | this.isTdcb=res.result.zdtzmbsm==='PSHGSBDCQJDC000000000000DC440060' || 'PSHGSBDCQJDC000000000000DC440070' || 'PSHGSBDCQJDC000000000000DC440080'; | 103 | this.isTdcb = res.result.zdtzmbsm === ("PSHGSBDCQJDC000000000000DC440060" || "PSHGSBDCQJDC000000000000DC440070" ||"PSHGSBDCQJDC000000000000DC440080"); |
104 | |||
73 | } | 105 | } |
74 | }) | 106 | }); |
75 | }, | 107 | }, |
76 | loadingStatus() { | 108 | loadingStatus() { |
77 | let bsm=this.$route.query.bsm; | 109 | let bsm = this.$route.query.bsm; |
78 | queryStatus(bsm).then(res => { | 110 | queryStatus(bsm).then((res) => { |
79 | if (res.success) { | 111 | if (res.success) { |
80 | let qszt = res.result.qszt; | 112 | let qszt = res.result.qszt; |
81 | this.qlr=res.result.qlrmc; | 113 | this.qlr = res.result.qlrmc; |
82 | this.zddm=res.result.zddm; | 114 | this.zddm = res.result.zddm; |
83 | this.bdcdyh=res.result.bdcdyh; | 115 | this.bdcdyh = res.result.bdcdyh; |
84 | console.log(this.qlr,'权利人'); | 116 | console.log(this.qlr, "权利人"); |
85 | this.isDisabled = +qszt !== 0; | 117 | this.isDisabled = +qszt !== 0; |
86 | } | 118 | } |
87 | }) | 119 | }); |
88 | }, | 120 | }, |
89 | /* loading(){ | 121 | /* loading(){ |
90 | console.log("附件材料是否禁用") | 122 | console.log("附件材料是否禁用") |
... | @@ -94,25 +126,25 @@ export default { | ... | @@ -94,25 +126,25 @@ export default { |
94 | // console.log(tab, event); | 126 | // console.log(tab, event); |
95 | this.loadingStatus(); | 127 | this.loadingStatus(); |
96 | switch (tab.name) { | 128 | switch (tab.name) { |
97 | case 'mjftb': | 129 | case "mjftb": |
98 | this.mjftbVisible = true; | 130 | this.mjftbVisible = true; |
99 | break; | 131 | break; |
100 | case 'fldcb': | 132 | case "fldcb": |
101 | this.fldbcVisible = true; | 133 | this.fldbcVisible = true; |
102 | break; | 134 | break; |
103 | case 'jzd': | 135 | case "jzd": |
104 | this.jzdVisible = true; | 136 | this.jzdVisible = true; |
105 | break; | 137 | break; |
106 | case 'jzx': | 138 | case "jzx": |
107 | this.jzxVisible = true; | 139 | this.jzxVisible = true; |
108 | break; | 140 | break; |
109 | case 'djb': | 141 | case "djb": |
110 | this.djbVisible = true; | 142 | this.djbVisible = true; |
111 | break; | 143 | break; |
112 | case 'lshs': | 144 | case "lshs": |
113 | this.lshsVisible = true; | 145 | this.lshsVisible = true; |
114 | break; | 146 | break; |
115 | case 'fjcl': | 147 | case "fjcl": |
116 | this.fjclVisible = true; | 148 | this.fjclVisible = true; |
117 | break; | 149 | break; |
118 | 150 | ||
... | @@ -132,7 +164,7 @@ export default { | ... | @@ -132,7 +164,7 @@ export default { |
132 | }, | 164 | }, |
133 | }, | 165 | }, |
134 | watch: { | 166 | watch: { |
135 | zdbsm: function (val) { | 167 | zdbsm: function(val) { |
136 | this.getZdData(val); | 168 | this.getZdData(val); |
137 | this.loadingStatus(); | 169 | this.loadingStatus(); |
138 | }, | 170 | }, |
... | @@ -140,7 +172,7 @@ export default { | ... | @@ -140,7 +172,7 @@ export default { |
140 | }; | 172 | }; |
141 | </script> | 173 | </script> |
142 | <style scoped lang="less"> | 174 | <style scoped lang="less"> |
143 | .el-tab-pane{ | 175 | .el-tab-pane { |
144 | overflow-y: scroll; | 176 | overflow-y: scroll; |
145 | } | 177 | } |
146 | </style> | 178 | </style> | ... | ... |
-
Please register or sign in to post a comment