Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
12 changed files
with
217 additions
and
81 deletions
... | @@ -110,7 +110,13 @@ const constantRoutes = [ | ... | @@ -110,7 +110,13 @@ const constantRoutes = [ |
110 | name: "已办箱", | 110 | name: "已办箱", |
111 | code: "2-1", | 111 | code: "2-1", |
112 | component: () => import("@/views/ybx/index"), | 112 | component: () => import("@/views/ybx/index"), |
113 | } | 113 | }, |
114 | { | ||
115 | path: "/lh", | ||
116 | name: "林海", | ||
117 | code: "1-3", | ||
118 | component: () => import("@/views/lh/index"), | ||
119 | }, | ||
114 | ], | 120 | ], |
115 | }, | 121 | }, |
116 | ]; | 122 | ]; | ... | ... |
src/views/lh/index.vue
0 → 100644
1 | <template> | ||
2 | <el-tabs v-model="activeName" class="tabs"> | ||
3 | <el-tab-pane label="林海调查表" name="lhdcb"><Lhdcb></Lhdcb></el-tab-pane> | ||
4 | </el-tabs> | ||
5 | </template> | ||
6 | |||
7 | <script> | ||
8 | import { getQjZdjbxxDetailById } from "@api/zd"; | ||
9 | import Lhdcb from "./lhdcb" | ||
10 | export default { | ||
11 | name: "", | ||
12 | components: { | ||
13 | Lhdcb | ||
14 | }, | ||
15 | props: {}, | ||
16 | data() { | ||
17 | return { | ||
18 | activeName:'lhdcb' | ||
19 | }; | ||
20 | }, | ||
21 | methods: { | ||
22 | getZdData(bsm) { | ||
23 | getQjZdjbxxDetailById(bsm).then((res) => { | ||
24 | if (res.success) { | ||
25 | console.log(res, "宗地信息"); | ||
26 | this.isFldc = res.result.zdtzmbsm === "PSHGSBDCQJDC000000000000DC440010"; | ||
27 | this.isTdcb = res.result.zdtzmbsm === ("PSHGSBDCQJDC000000000000DC440060" || "PSHGSBDCQJDC000000000000DC440070" ||"PSHGSBDCQJDC000000000000DC440080"); | ||
28 | |||
29 | } | ||
30 | }); | ||
31 | }, | ||
32 | }, | ||
33 | created() {}, | ||
34 | mounted() { | ||
35 | this.getZdData(this.$route.query.bsm); | ||
36 | }, | ||
37 | computed: { | ||
38 | lhbsm() { | ||
39 | return this.$route.query.bsm; | ||
40 | }, | ||
41 | }, | ||
42 | watch: { | ||
43 | lhbsm: function(val) { | ||
44 | |||
45 | }, | ||
46 | }, | ||
47 | }; | ||
48 | </script> | ||
49 | <style scoped lang="less"> | ||
50 | .el-tab-pane { | ||
51 | overflow-y: scroll; | ||
52 | } | ||
53 | </style> |
src/views/lh/lhdcb/index.vue
0 → 100644
1 | <template> | ||
2 | <div class="main"> | ||
3 | 林海调查表 | ||
4 | </div> | ||
5 | </template> | ||
6 | |||
7 | <script> | ||
8 | export default { | ||
9 | name:"", | ||
10 | components:{}, | ||
11 | props:{}, | ||
12 | data(){ | ||
13 | return { | ||
14 | } | ||
15 | }, | ||
16 | created(){}, | ||
17 | mounted(){}, | ||
18 | methods:{}, | ||
19 | computed: {}, | ||
20 | watch: {}, | ||
21 | } | ||
22 | </script> | ||
23 | <style scoped lang="less"> | ||
24 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -127,6 +127,14 @@ | ... | @@ -127,6 +127,14 @@ |
127 | </div> | 127 | </div> |
128 | </el-tab-pane> | 128 | </el-tab-pane> |
129 | <el-tab-pane class="eltabspane" v-if="!createZrz" label="林权" name="lq"> | 129 | <el-tab-pane class="eltabspane" v-if="!createZrz" label="林权" name="lq"> |
130 | <el-form :inline="true" :rules="rules3" :model="ruleForm3" ref="ruleForm3" class="demo-form-inline"> | ||
131 | <el-form-item label="项目名称" class="w100" prop="xmmc"> | ||
132 | <el-input | ||
133 | v-model="ruleForm3.xmmc" | ||
134 | placeholder="项目名称" | ||
135 | ></el-input> | ||
136 | </el-form-item> | ||
137 | </el-form> | ||
130 | <div class="handleBtn"> | 138 | <div class="handleBtn"> |
131 | <!-- <el-button type="primary" class="w98 import">导入图形</el-button> --> | 139 | <!-- <el-button type="primary" class="w98 import">导入图形</el-button> --> |
132 | <el-button type="primary" class="w98 creat" @click="todo">创建</el-button> | 140 | <el-button type="primary" class="w98 creat" @click="todo">创建</el-button> |
... | @@ -218,6 +226,13 @@ export default { | ... | @@ -218,6 +226,13 @@ export default { |
218 | type: "dz", | 226 | type: "dz", |
219 | ywlx:"create" | 227 | ywlx:"create" |
220 | }, | 228 | }, |
229 | ruleForm3:{ | ||
230 | zdbsm:'', | ||
231 | xmmc:'', | ||
232 | userbsm:'', | ||
233 | type: "lq", | ||
234 | ywlx:"create" | ||
235 | }, | ||
221 | ruleForm4:{ | 236 | ruleForm4:{ |
222 | zdzhbsm:'', | 237 | zdzhbsm:'', |
223 | xmmc:'', | 238 | xmmc:'', |
... | @@ -255,6 +270,11 @@ export default { | ... | @@ -255,6 +270,11 @@ export default { |
255 | { required: true, message: '请输入项目名称', trigger: 'blur' }, | 270 | { required: true, message: '请输入项目名称', trigger: 'blur' }, |
256 | ], | 271 | ], |
257 | }, | 272 | }, |
273 | rules3: { | ||
274 | xmmc: [ | ||
275 | { required: true, message: '请输入项目名称', trigger: 'blur' }, | ||
276 | ], | ||
277 | }, | ||
258 | rules4: { | 278 | rules4: { |
259 | xmmc: [ | 279 | xmmc: [ |
260 | { required: true, message: '请输入项目名称', trigger: 'blur' }, | 280 | { required: true, message: '请输入项目名称', trigger: 'blur' }, |
... | @@ -674,7 +694,8 @@ export default { | ... | @@ -674,7 +694,8 @@ export default { |
674 | .handleBtn{ | 694 | .handleBtn{ |
675 | position: absolute; | 695 | position: absolute; |
676 | bottom: 0; | 696 | bottom: 0; |
677 | right: 35px; | 697 | left: 50%; |
698 | margin-left: -100px; | ||
678 | .w98{ | 699 | .w98{ |
679 | width: 98px; | 700 | width: 98px; |
680 | } | 701 | } | ... | ... |
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 | <el-tab-pane label="界址点" name="jzd"> | 8 | :qlr="qlr" |
9 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> | 9 | :bdcdyh="bdcdyh" |
10 | </el-tab-pane> | 10 | :zddm="zddm" |
11 | <el-tab-pane label="界址线" name="jzx" > | 11 | ></fldcb |
12 | <jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx> | 12 | ></el-tab-pane> |
13 | </el-tab-pane> | 13 | <el-tab-pane |
14 | <el-tab-pane label="登记簿" name="djb"><djb v-if="djbVisible"></djb></el-tab-pane> | 14 | label="土地承包经营权、农用地其他使用权调查表" |
15 | <el-tab-pane label="历史回溯" name="lshs"><lshs v-if="lshsVisible" :type="type" :bsm="$route.query.bsm"></lshs></el-tab-pane> | 15 | name="tdcb" |
16 | <el-tab-pane label="附件材料" name="fjcl"> | 16 | v-if="isTdcb" |
17 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> | 17 | ><tdcb :bdcdyh="bdcdyh" :zddm="zddm" lazy></tdcb |
18 | </el-tab-pane> | 18 | ></el-tab-pane> |
19 | <el-tab-pane label="流程跟踪" name="lcgz" v-if="$store.state.isWorkFlow || $store.state.lcgzShow" lazy> | 19 | <el-tab-pane label="面积分摊表" name="mjftb" |
20 | <lcgz ref="lcgz" ></lcgz> | 20 | ><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb |
21 | </el-tab-pane> | 21 | ></el-tab-pane> |
22 | </el-tabs> | 22 | <el-tab-pane label="界址点" name="jzd"> |
23 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> | ||
24 | </el-tab-pane> | ||
25 | <el-tab-pane label="界址线" name="jzx"> | ||
26 | <jzx v-if="jzxVisible" :is-disabled="isDisabled"></jzx> | ||
27 | </el-tab-pane> | ||
28 | <el-tab-pane label="登记簿" name="djb" | ||
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> | ||
34 | <el-tab-pane label="附件材料" name="fjcl"> | ||
35 | <fjcl v-if="fjclVisible" ref="fjcl" :is-disabled="isDisabled"></fjcl> | ||
36 | </el-tab-pane> | ||
37 | <el-tab-pane | ||
38 | label="流程跟踪" | ||
39 | name="lcgz" | ||
40 | v-if="$store.state.isWorkFlow || $store.state.lcgzShow" | ||
41 | lazy | ||
42 | > | ||
43 | <lcgz ref="lcgz"></lcgz> | ||
44 | </el-tab-pane> | ||
45 | </el-tabs> | ||
23 | <!-- </div> --> | 46 | <!-- </div> --> |
24 | </template> | 47 | </template> |
25 | 48 | ||
... | @@ -30,89 +53,98 @@ import jzd from "./jzd"; | ... | @@ -30,89 +53,98 @@ 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 | 76 | }, | |
45 | }, | ||
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"); |
73 | } | 104 | |
74 | }) | 105 | } |
106 | }); | ||
107 | }, | ||
108 | loadingStatus() { | ||
109 | let bsm = this.$route.query.bsm; | ||
110 | queryStatus(bsm).then((res) => { | ||
111 | if (res.success) { | ||
112 | let qszt = res.result.qszt; | ||
113 | this.qlr = res.result.qlrmc; | ||
114 | this.zddm = res.result.zddm; | ||
115 | this.bdcdyh = res.result.bdcdyh; | ||
116 | console.log(this.qlr, "权利人"); | ||
117 | this.isDisabled = +qszt !== 0; | ||
118 | } | ||
119 | }); | ||
75 | }, | 120 | }, |
76 | loadingStatus() { | 121 | /* loading(){ |
77 | let bsm=this.$route.query.bsm; | ||
78 | queryStatus(bsm).then(res => { | ||
79 | if (res.success) { | ||
80 | let qszt = res.result.qszt; | ||
81 | this.qlr=res.result.qlrmc; | ||
82 | this.zddm=res.result.zddm; | ||
83 | this.bdcdyh=res.result.bdcdyh; | ||
84 | console.log(this.qlr,'权利人'); | ||
85 | this.isDisabled = +qszt !== 0; | ||
86 | } | ||
87 | }) | ||
88 | }, | ||
89 | /* loading(){ | ||
90 | console.log("附件材料是否禁用") | 122 | console.log("附件材料是否禁用") |
91 | this.$refs.fjcl.isUpload(this.$store.state.zdbsm) | 123 | this.$refs.fjcl.isUpload(this.$store.state.zdbsm) |
92 | },*/ | 124 | },*/ |
93 | handleClick(tab, event) { | 125 | handleClick(tab, event) { |
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 | ||
... | @@ -123,8 +155,8 @@ export default { | ... | @@ -123,8 +155,8 @@ export default { |
123 | }, | 155 | }, |
124 | created() {}, | 156 | created() {}, |
125 | mounted() { | 157 | mounted() { |
126 | this.getZdData(this.$store.state.zdbsm); | 158 | this.getZdData(this.$store.state.zdbsm); |
127 | this.loadingStatus(); | 159 | this.loadingStatus(); |
128 | }, | 160 | }, |
129 | computed: { | 161 | computed: { |
130 | zdbsm() { | 162 | zdbsm() { |
... | @@ -132,15 +164,15 @@ export default { | ... | @@ -132,15 +164,15 @@ 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 | }, |
139 | }, | 171 | }, |
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