feat():分类调查表
Showing
3 changed files
with
128 additions
and
17 deletions
... | @@ -162,8 +162,8 @@ export function jzxsbatchModify(data) { | ... | @@ -162,8 +162,8 @@ export function jzxsbatchModify(data) { |
162 | }) | 162 | }) |
163 | } | 163 | } |
164 | 164 | ||
165 | /* | 165 | /* |
166 | 删除界址点 | 166 | 删除界址点 |
167 | */ | 167 | */ |
168 | export function delJzdByBsm(data){ | 168 | export function delJzdByBsm(data){ |
169 | return request({ | 169 | return request({ |
... | @@ -172,7 +172,7 @@ export function delJzdByBsm(data){ | ... | @@ -172,7 +172,7 @@ export function delJzdByBsm(data){ |
172 | params: data | 172 | params: data |
173 | }) | 173 | }) |
174 | } | 174 | } |
175 | /* | 175 | /* |
176 | 删除界址线 | 176 | 删除界址线 |
177 | */ | 177 | */ |
178 | export function delJzxByBsm(data){ | 178 | export function delJzxByBsm(data){ |
... | @@ -280,3 +280,29 @@ export function DzHb(data) { | ... | @@ -280,3 +280,29 @@ export function DzHb(data) { |
280 | data:data | 280 | data:data |
281 | }) | 281 | }) |
282 | } | 282 | } |
283 | |||
284 | /** | ||
285 | *根据宗地标识码获取权籍_集体土地所有权宗地分类面积调查记录 | ||
286 | * @param zdbsm | ||
287 | */ | ||
288 | export function getFlDc(zdbsm) { | ||
289 | return request({ | ||
290 | url:'/zd/qjJttdsyqzdflmjdcb/getQjJttdsyqzdflmjdcbByZdbsm', | ||
291 | method:'get', | ||
292 | params:{ | ||
293 | zdbsm | ||
294 | } | ||
295 | }) | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * 修改权籍_集体土地所有权宗地分类面积调查 | ||
300 | * @param data | ||
301 | */ | ||
302 | export function updateFldc(data) { | ||
303 | return request({ | ||
304 | url:"/zd/qjJttdsyqzdflmjdcb/updateQjJttdsyqzdflmjdcb", | ||
305 | method:'put', | ||
306 | data:data | ||
307 | }) | ||
308 | } | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <h2> 集体土地所有权宗地分类面积调查表</h2><br/> | 7 | <h2> 集体土地所有权宗地分类面积调查表</h2><br/> |
8 | <div class="dw"> | 8 | <div class="dw"> |
9 | 单位: | 9 | 单位: |
10 | <el-radio-group v-model="flmjData.dw"> | 10 | <el-radio-group v-model="flmjData.mjdw "> |
11 | <el-radio :label="3">平方米</el-radio> | 11 | <el-radio :label="3">平方米</el-radio> |
12 | <el-radio :label="6">公顷</el-radio> | 12 | <el-radio :label="6">公顷</el-radio> |
13 | <el-radio :label="9">亩</el-radio> | 13 | <el-radio :label="9">亩</el-radio> |
... | @@ -20,19 +20,19 @@ | ... | @@ -20,19 +20,19 @@ |
20 | <tr> | 20 | <tr> |
21 | <th>权利人</th> | 21 | <th>权利人</th> |
22 | <td colspan="3"> | 22 | <td colspan="3"> |
23 | <el-input v-model="flmjData.qlr" disabled></el-input> | 23 | <el-input v-model="qlr" disabled></el-input> |
24 | </td> | 24 | </td> |
25 | </tr> | 25 | </tr> |
26 | <tr> | 26 | <tr> |
27 | <th>宗地代码</th> | 27 | <th>宗地代码</th> |
28 | <td colspan="3"> | 28 | <td colspan="3"> |
29 | <el-input v-model="flmjData.zddm" disabled></el-input> | 29 | <el-input v-model="zddm" disabled></el-input> |
30 | </td> | 30 | </td> |
31 | </tr> | 31 | </tr> |
32 | <tr> | 32 | <tr> |
33 | <th>不动产单元号</th> | 33 | <th>不动产单元号</th> |
34 | <td colspan="3"> | 34 | <td colspan="3"> |
35 | <el-input v-model="flmjData.bdcdyh" disabled></el-input> | 35 | <el-input v-model="bdcdyh" disabled></el-input> |
36 | </td> | 36 | </td> |
37 | </tr> | 37 | </tr> |
38 | <tr > | 38 | <tr > |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </th> | 41 | </th> |
42 | <th colspan="2">农用地</th> | 42 | <th colspan="2">农用地</th> |
43 | <td> | 43 | <td> |
44 | <el-input v-model="flmjData.lyd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 44 | <el-input v-model="flmjData.nyd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
45 | </td> | 45 | </td> |
46 | </tr> | 46 | </tr> |
47 | <tr> | 47 | <tr> |
... | @@ -52,13 +52,13 @@ | ... | @@ -52,13 +52,13 @@ |
52 | 耕地 | 52 | 耕地 |
53 | </th> | 53 | </th> |
54 | <th colspan="2"> | 54 | <th colspan="2"> |
55 | <el-input v-model="flmjData.gd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 55 | <el-input v-model="flmjData.nydgd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
56 | </th> | 56 | </th> |
57 | </tr> | 57 | </tr> |
58 | <tr> | 58 | <tr> |
59 | <th>林地</th> | 59 | <th>林地</th> |
60 | <td colspan="2"> | 60 | <td colspan="2"> |
61 | <el-input v-model="flmjData.ld" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 61 | <el-input v-model="flmjData.nydld" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
62 | </td> | 62 | </td> |
63 | </tr> | 63 | </tr> |
64 | <tr> | 64 | <tr> |
... | @@ -66,19 +66,19 @@ | ... | @@ -66,19 +66,19 @@ |
66 | 草地 | 66 | 草地 |
67 | </th> | 67 | </th> |
68 | <td colspan="2"> | 68 | <td colspan="2"> |
69 | <el-input v-model="flmjData.cd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 69 | <el-input v-model="flmjData.nydcd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
70 | </td> | 70 | </td> |
71 | </tr> | 71 | </tr> |
72 | <tr> | 72 | <tr> |
73 | <th>其他</th> | 73 | <th>其他</th> |
74 | <td colspan="2"> | 74 | <td colspan="2"> |
75 | <el-input v-model="flmjData.qt" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 75 | <el-input v-model="flmjData.nydqt " oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
76 | </td> | 76 | </td> |
77 | </tr> | 77 | </tr> |
78 | <tr> | 78 | <tr> |
79 | <th>建设用地</th> | 79 | <th>建设用地</th> |
80 | <td colspan="3"> | 80 | <td colspan="3"> |
81 | <el-input v-model="flmjData.jsyd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> | 81 | <el-input v-model="flmjData.jzyd" oninput="value = (value.match(/^\d{0,8}(\.?\d{0,3})/g)[0]) || null"></el-input> |
82 | </td> | 82 | </td> |
83 | </tr> | 83 | </tr> |
84 | <tr> | 84 | <tr> |
... | @@ -140,7 +140,7 @@ | ... | @@ -140,7 +140,7 @@ |
140 | </tr> | 140 | </tr> |
141 | <tr> | 141 | <tr> |
142 | <td colspan="4" style="text-align: center"> | 142 | <td colspan="4" style="text-align: center"> |
143 | <el-button>保存</el-button> | 143 | <el-button type="primary" @click="save">保存</el-button> |
144 | </td> | 144 | </td> |
145 | </tr> | 145 | </tr> |
146 | </tbody> | 146 | </tbody> |
... | @@ -149,11 +149,66 @@ | ... | @@ -149,11 +149,66 @@ |
149 | </template> | 149 | </template> |
150 | 150 | ||
151 | <script> | 151 | <script> |
152 | import {getFlDc,updateFldc} from '@api/zd' | ||
152 | export default { | 153 | export default { |
153 | name: "Fldcb", | 154 | name: "Fldcb", |
155 | props:{ | ||
156 | qlr:{ | ||
157 | type:String | ||
158 | }, | ||
159 | bdcdyh:{ | ||
160 | type:String | ||
161 | }, | ||
162 | zddm:{ | ||
163 | type:String | ||
164 | } | ||
165 | }, | ||
154 | data(){ | 166 | data(){ |
155 | return{ | 167 | return{ |
168 | // zdbsm:'', | ||
156 | flmjData:{ | 169 | flmjData:{ |
170 | zdbsm:'', | ||
171 | mjdw :'', // 单位 | ||
172 | zddm:'', // 宗地代码 | ||
173 | nyd :'', // 农用地 | ||
174 | nydgd :'', // 耕地 | ||
175 | nydld :'', // 林地 | ||
176 | nydcd :'', // 草地 | ||
177 | nydqt :'', //其他 | ||
178 | jsyd:'', // 建设用地 | ||
179 | wlyd:'', // 未利用地 | ||
180 | dcjs :"", // 调查记事 | ||
181 | dcy:'', // 调查员 | ||
182 | dcrq:'', // 调查日期 | ||
183 | shyj:'', // 审核意见 | ||
184 | shr :'', // 审核员 | ||
185 | shrq:'' // 审核日期 | ||
186 | } | ||
187 | } | ||
188 | }, | ||
189 | mounted(){ | ||
190 | console.log(this.$route.query.bsm,'分类bsm') | ||
191 | this.info(this.$route.query.bsm) | ||
192 | }, | ||
193 | methods:{ | ||
194 | info(zdbsm){ | ||
195 | getFlDc(zdbsm).then(res=>{ | ||
196 | if (res.success) { | ||
197 | console.log(res,'获取信息') | ||
198 | this.flmjData=res.result[0] | ||
199 | } | ||
200 | }) | ||
201 | }, | ||
202 | save(){ | ||
203 | updateFldc(this.flmjData).then(res=>{ | ||
204 | if (res.success) { | ||
205 | console.log(res,"保存成功") | ||
206 | this.$message.success("保存成功") | ||
207 | } | ||
208 | }) | ||
209 | }, | ||
210 | result(){ | ||
211 | this.flmjData={ | ||
157 | dw:'', // 单位 | 212 | dw:'', // 单位 |
158 | qlr:'', // 权利人 | 213 | qlr:'', // 权利人 |
159 | zddm:'', // 宗地代码 | 214 | zddm:'', // 宗地代码 |
... | @@ -163,7 +218,7 @@ | ... | @@ -163,7 +218,7 @@ |
163 | ld:'', // 林地 | 218 | ld:'', // 林地 |
164 | cd:'', // 草地 | 219 | cd:'', // 草地 |
165 | qt:'', //其他 | 220 | qt:'', //其他 |
166 | jsyd:'', // 建设用地 | 221 | jzyd:'', // 建设用地 |
167 | wlyd:'', // 未利用地 | 222 | wlyd:'', // 未利用地 |
168 | dcjs:"", // 调查记事 | 223 | dcjs:"", // 调查记事 |
169 | dcy:'', // 调查员 | 224 | dcy:'', // 调查员 |
... | @@ -173,6 +228,15 @@ | ... | @@ -173,6 +228,15 @@ |
173 | shrq:'' // 审核日期 | 228 | shrq:'' // 审核日期 |
174 | } | 229 | } |
175 | } | 230 | } |
231 | }, | ||
232 | watch:{ | ||
233 | "$store.state.zddm": function (zddm) { | ||
234 | this.zddm = zddm | ||
235 | }, | ||
236 | "$store.state.zdbsm": function (bsm) { | ||
237 | this.mjftData.zdbsm = bsm | ||
238 | this.info(bsm); | ||
239 | }, | ||
176 | } | 240 | } |
177 | } | 241 | } |
178 | </script> | 242 | </script> | ... | ... |
... | @@ -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" type="border-card" > | 3 | <el-tabs v-model="activeName" class="tabs" @tab-click="handleClick" type="border-card" > |
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"><fldcb v-if="fldbcVisible"></fldcb></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> |
6 | <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb></el-tab-pane> | 6 | <el-tab-pane label="面积分摊表" name="mjftb"><mjftb v-if="mjftbVisible" :is-disabled="isDisabled"></mjftb></el-tab-pane> |
7 | <el-tab-pane label="界址点" name="jzd"> | 7 | <el-tab-pane label="界址点" name="jzd"> |
8 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> | 8 | <jzd v-if="jzdVisible" :is-disabled="isDisabled"></jzd> |
... | @@ -28,6 +28,7 @@ import lshs from "./lshs"; | ... | @@ -28,6 +28,7 @@ import lshs from "./lshs"; |
28 | import fjcl from "./fjcl/fjcl" | 28 | import fjcl from "./fjcl/fjcl" |
29 | import {queryStatus} from "@api/search" | 29 | import {queryStatus} from "@api/search" |
30 | import Fldcb from "@components/Fldcb/Fldcb" | 30 | import Fldcb from "@components/Fldcb/Fldcb" |
31 | import {getQjZdjbxxDetailById} from '@api/zd' | ||
31 | export default { | 32 | export default { |
32 | name: "", | 33 | name: "", |
33 | components: { | 34 | components: { |
... | @@ -36,6 +37,10 @@ export default { | ... | @@ -36,6 +37,10 @@ export default { |
36 | props: {}, | 37 | props: {}, |
37 | data() { | 38 | data() { |
38 | return { | 39 | return { |
40 | qlr:"", | ||
41 | bdcdyh:'', | ||
42 | zddm:"", | ||
43 | isFldc:false, | ||
39 | isDisabled:false, | 44 | isDisabled:false, |
40 | activeName: "djdcb", | 45 | activeName: "djdcb", |
41 | mjftbVisible:false, | 46 | mjftbVisible:false, |
... | @@ -49,12 +54,24 @@ export default { | ... | @@ -49,12 +54,24 @@ export default { |
49 | }; | 54 | }; |
50 | }, | 55 | }, |
51 | methods: { | 56 | methods: { |
57 | getZdData(bsm){ | ||
58 | getQjZdjbxxDetailById(bsm).then(res=>{ | ||
59 | if (res.success) { | ||
60 | console.log(res,'宗地信息') | ||
61 | this.isFldc=res.result.zdtzmbsm==='PSHGSBDCQJDC000000000000DC440010'; | ||
62 | } | ||
63 | }) | ||
64 | }, | ||
52 | loadingStatus() { | 65 | loadingStatus() { |
53 | console.log("是否禁用") | 66 | console.log("是否禁用") |
54 | let bsm=this.$route.query.bsm; | 67 | let bsm=this.$route.query.bsm; |
55 | queryStatus(bsm).then(res => { | 68 | queryStatus(bsm).then(res => { |
56 | if (res.success) { | 69 | if (res.success) { |
57 | let qszt = res.result.qszt; | 70 | let qszt = res.result.qszt; |
71 | this.qlr=res.result.qlrmc; | ||
72 | this.zddm=res.result.zddm; | ||
73 | this.bdcdyh=res.result.bdcdyh; | ||
74 | console.log(this.qlr,'权利人'); | ||
58 | this.isDisabled = +qszt !== 0; | 75 | this.isDisabled = +qszt !== 0; |
59 | } | 76 | } |
60 | }) | 77 | }) |
... | @@ -95,7 +112,10 @@ export default { | ... | @@ -95,7 +112,10 @@ export default { |
95 | }, | 112 | }, |
96 | }, | 113 | }, |
97 | created() {}, | 114 | created() {}, |
98 | mounted() {}, | 115 | mounted() { |
116 | this.getZdData(this.$store.state.zdbsm); | ||
117 | this.loadingStatus(); | ||
118 | }, | ||
99 | computed: { | 119 | computed: { |
100 | zdbsm() { | 120 | zdbsm() { |
101 | return this.$route.query.bsm; | 121 | return this.$route.query.bsm; |
... | @@ -103,6 +123,7 @@ export default { | ... | @@ -103,6 +123,7 @@ export default { |
103 | }, | 123 | }, |
104 | watch: { | 124 | watch: { |
105 | zdbsm: function (val) { | 125 | zdbsm: function (val) { |
126 | this.getZdData(val); | ||
106 | this.loadingStatus(); | 127 | this.loadingStatus(); |
107 | }, | 128 | }, |
108 | }, | 129 | }, | ... | ... |
-
Please register or sign in to post a comment