Merge branch 'dev'
Showing
46 changed files
with
983 additions
and
304 deletions
1 | import { log } from "bpmn-js-token-simulation"; | 1 | /* |
2 | 2 | * @Description: | |
3 | 3 | * @Autor: renchao | |
4 | * @LastEditTime: 2023-08-15 11:02:38 | ||
5 | */ | ||
4 | var qlxxPage = [ | 6 | var qlxxPage = [ |
5 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, | 7 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, |
6 | { qllx: "A02", id: "tdsyq", form: "tdsyq.vue", label: "国家土地所有权" }, | 8 | { qllx: "A02", id: "tdsyq", form: "tdsyq.vue", label: "国家土地所有权" }, |
... | @@ -41,7 +43,7 @@ var qlxxPage = [ | ... | @@ -41,7 +43,7 @@ var qlxxPage = [ |
41 | ]; | 43 | ]; |
42 | 44 | ||
43 | //组装登记簿树形结构 | 45 | //组装登记簿树形结构 |
44 | export function loadTreeData(qlxxData) { | 46 | export function loadTreeData (qlxxData, index) { |
45 | let treedata = []; | 47 | let treedata = []; |
46 | //加载封面 | 48 | //加载封面 |
47 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); | 49 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); |
... | @@ -74,19 +76,19 @@ export function loadTreeData(qlxxData) { | ... | @@ -74,19 +76,19 @@ export function loadTreeData(qlxxData) { |
74 | * @param {*} bdcdylx | 76 | * @param {*} bdcdylx |
75 | * @author: renchao | 77 | * @author: renchao |
76 | */ | 78 | */ |
77 | export function getNode(qllx, qlxx, bdcdylx) { | 79 | export function getNode (qllx, qlxx, bdcdylx) { |
78 | let node; | 80 | let node; |
79 | for (var i = 0; i < qlxxPage.length; i++) { | 81 | for (var i = 0; i < qlxxPage.length; i++) { |
80 | if (qlxxPage[i].qllx == qllx) { | 82 | if (qlxxPage[i].qllx == qllx) { |
81 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { | 83 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { |
82 | if (bdcdylx == "4") { | 84 | if (bdcdylx == "4") { |
83 | node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label}; | 85 | node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label }; |
84 | } else { | 86 | } else { |
85 | 87 | ||
86 | node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label}; | 88 | node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label }; |
87 | } | 89 | } |
88 | } else { | 90 | } else { |
89 | node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label}; | 91 | node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label }; |
90 | } | 92 | } |
91 | break; | 93 | break; |
92 | } | 94 | } | ... | ... |
... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
171 | label="业务号:" | 171 | label="业务号:" |
172 | prop="qlxx.ywh" | 172 | prop="qlxx.ywh" |
173 | :rules="rules.ywhrules"> | 173 | :rules="rules.ywhrules"> |
174 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 174 | <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input> |
175 | </el-form-item> | 175 | </el-form-item> |
176 | </el-col> | 176 | </el-col> |
177 | <el-col :span="8"> | 177 | <el-col :span="8"> |
... | @@ -317,7 +317,7 @@ | ... | @@ -317,7 +317,7 @@ |
317 | </el-col> | 317 | </el-col> |
318 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 318 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
319 | <el-form-item label="解封业务号:"> | 319 | <el-form-item label="解封业务号:"> |
320 | <el-input v-model="ruleForm.qlxx.zxywh"></el-input> | 320 | <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input> |
321 | </el-form-item> | 321 | </el-form-item> |
322 | </el-col> | 322 | </el-col> |
323 | </el-row> | 323 | </el-row> | ... | ... |
... | @@ -196,7 +196,7 @@ | ... | @@ -196,7 +196,7 @@ |
196 | label="业务号:" | 196 | label="业务号:" |
197 | prop="qlxx.ywh" | 197 | prop="qlxx.ywh" |
198 | :rules="rules.ywhrules"> | 198 | :rules="rules.ywhrules"> |
199 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 199 | <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input> |
200 | </el-form-item> | 200 | </el-form-item> |
201 | </el-col> | 201 | </el-col> |
202 | <el-col :span="8"> | 202 | <el-col :span="8"> |
... | @@ -243,6 +243,7 @@ | ... | @@ -243,6 +243,7 @@ |
243 | <el-form-item label="被担保主债权数额:"> | 243 | <el-form-item label="被担保主债权数额:"> |
244 | <div style="display: flex"> | 244 | <div style="display: flex"> |
245 | <el-input | 245 | <el-input |
246 | maxlength="11" | ||
246 | v-model="ruleForm.diyaq.bdbzzqse" | 247 | v-model="ruleForm.diyaq.bdbzzqse" |
247 | style="width: 500%" | 248 | style="width: 500%" |
248 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | 249 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> |
... | @@ -262,6 +263,7 @@ | ... | @@ -262,6 +263,7 @@ |
262 | <el-form-item label="抵押面积:"> | 263 | <el-form-item label="抵押面积:"> |
263 | <div class="flex"> | 264 | <div class="flex"> |
264 | <el-input | 265 | <el-input |
266 | maxlength="13" | ||
265 | v-model="ruleForm.diyaq.dymj" | 267 | v-model="ruleForm.diyaq.dymj" |
266 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 268 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
267 | <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%"> | 269 | <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%"> |
... | @@ -338,7 +340,7 @@ | ... | @@ -338,7 +340,7 @@ |
338 | </el-col> | 340 | </el-col> |
339 | <el-col :span="8"> | 341 | <el-col :span="8"> |
340 | <el-form-item label="债务履行期限(确定期间):"> | 342 | <el-form-item label="债务履行期限(确定期间):"> |
341 | <el-input v-model="ruleForm.diyaq.dyqx"></el-input> | 343 | <el-input maxlength="10" v-model="ruleForm.diyaq.dyqx"></el-input> |
342 | </el-form-item> | 344 | </el-form-item> |
343 | </el-col> | 345 | </el-col> |
344 | 346 | ||
... | @@ -419,7 +421,7 @@ | ... | @@ -419,7 +421,7 @@ |
419 | 421 | ||
420 | <el-col :span="24"> | 422 | <el-col :span="24"> |
421 | <el-form-item label="登记原因:"> | 423 | <el-form-item label="登记原因:"> |
422 | <el-input v-model="ruleForm.qlxx.djyy"></el-input> | 424 | <el-input v-model="ruleForm.diyaq.djyy"></el-input> |
423 | </el-form-item> | 425 | </el-form-item> |
424 | </el-col> | 426 | </el-col> |
425 | <el-col :span="24"> | 427 | <el-col :span="24"> |
... | @@ -429,7 +431,7 @@ | ... | @@ -429,7 +431,7 @@ |
429 | </el-col> | 431 | </el-col> |
430 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 432 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
431 | <el-form-item label="注销抵押业务号:"> | 433 | <el-form-item label="注销抵押业务号:"> |
432 | <el-input v-model="ruleForm.diyaq.zxdyywh"></el-input> | 434 | <el-input maxlength="10" v-model="ruleForm.qlxx.zxywh"></el-input> |
433 | </el-form-item> | 435 | </el-form-item> |
434 | </el-col> | 436 | </el-col> |
435 | 437 | ... | ... |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | prop="qlxx.ywh" | 164 | prop="qlxx.ywh" |
165 | :rules="rules.ywhrules" | 165 | :rules="rules.ywhrules" |
166 | > | 166 | > |
167 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 167 | <el-input maxlength="20" v-model="ruleForm.qlxx.ywh" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"></el-input> |
168 | </el-form-item> | 168 | </el-form-item> |
169 | </el-col> | 169 | </el-col> |
170 | <el-col :span="8"> | 170 | <el-col :span="8"> | ... | ... |
... | @@ -80,7 +80,7 @@ | ... | @@ -80,7 +80,7 @@ |
80 | label="业务号:" | 80 | label="业务号:" |
81 | prop="qlxx.ywh" | 81 | prop="qlxx.ywh" |
82 | :rules="rules.ywhrules"> | 82 | :rules="rules.ywhrules"> |
83 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 83 | <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input> |
84 | </el-form-item> | 84 | </el-form-item> |
85 | </el-col> | 85 | </el-col> |
86 | <el-col :span="8"> | 86 | <el-col :span="8"> |
... | @@ -135,6 +135,7 @@ | ... | @@ -135,6 +135,7 @@ |
135 | <el-form-item label="使用权面积:"> | 135 | <el-form-item label="使用权面积:"> |
136 | <div class="flex"> | 136 | <div class="flex"> |
137 | <el-input | 137 | <el-input |
138 | maxlength="12" | ||
138 | v-model="ruleForm.jsydsyq.syqmj" | 139 | v-model="ruleForm.jsydsyq.syqmj" |
139 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 140 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
140 | <el-select disabled v-model="mjdw" style="width: 20%"> | 141 | <el-select disabled v-model="mjdw" style="width: 20%"> |
... | @@ -149,29 +150,20 @@ | ... | @@ -149,29 +150,20 @@ |
149 | </el-form-item> | 150 | </el-form-item> |
150 | </el-col> | 151 | </el-col> |
151 | <el-col :span="8"> | 152 | <el-col :span="8"> |
152 | <el-form-item label="使用权起始时间"> | 153 | <el-form-item label="使用权起止时间:"> |
153 | <el-input v-model="ruleForm.jsydsyq.syqqssj"></el-input> | 154 | <el-input maxlength="20" v-model="ruleForm.jsydsyq.syqqzsj"></el-input> |
154 | </el-form-item> | 155 | </el-form-item> |
155 | </el-col> | 156 | </el-col> |
156 | <el-col :span="8"> | 157 | <el-col :span="8"> |
157 | <el-form-item label="使用权结束时间"> | 158 | <el-form-item label="土地使用期限:"> |
158 | <el-input v-model="ruleForm.jsydsyq.syqjssj"></el-input> | 159 | <el-input maxlength="10" v-model="ruleForm.jsydsyq.tdsyqx"></el-input> |
159 | </el-form-item> | ||
160 | </el-col> | ||
161 | <el-col :span="8"> | ||
162 | <el-form-item label="土地使用期限"> | ||
163 | <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input> | ||
164 | </el-form-item> | ||
165 | </el-col> | ||
166 | <el-col :span="8"> | ||
167 | <el-form-item label="土地用途"> | ||
168 | <el-input v-model="ruleForm.jsydsyq.yt"></el-input> | ||
169 | </el-form-item> | 160 | </el-form-item> |
170 | </el-col> | 161 | </el-col> |
171 | <el-col :span="8"> | 162 | <el-col :span="8"> |
172 | <el-form-item label="取得价格:"> | 163 | <el-form-item label="取得价格:"> |
173 | <div style="display: flex"> | 164 | <div style="display: flex"> |
174 | <el-input | 165 | <el-input |
166 | maxlength="11" | ||
175 | v-model="ruleForm.jsydsyq.qdjg" | 167 | v-model="ruleForm.jsydsyq.qdjg" |
176 | style="width: 500%"></el-input> | 168 | style="width: 500%"></el-input> |
177 | <el-select v-model="ruleForm.jsydsyq.jedw"> | 169 | <el-select v-model="ruleForm.jsydsyq.jedw"> | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -222,8 +222,8 @@ class data extends filter { | ... | @@ -222,8 +222,8 @@ class data extends filter { |
222 | label: "使用权起止时间", | 222 | label: "使用权起止时间", |
223 | }, | 223 | }, |
224 | { | 224 | { |
225 | prop: "fdcjyjg", | 225 | prop: "qdjgmc", |
226 | label: "房地产交易价格(万元)", | 226 | label: "房地产交易价格", |
227 | }, | 227 | }, |
228 | { | 228 | { |
229 | prop: "ytmc", | 229 | prop: "ytmc", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:51:37 | 4 | * @LastEditTime: 2023-08-15 10:39:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="bdcqldjml"> | 7 | <div class="bdcqldjml"> |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </tr> | 18 | </tr> |
19 | <tr v-for="(item, index) in bdcqlml" :key="index"> | 19 | <tr v-for="(item, index) in bdcqlml" :key="index"> |
20 | <td>{{ index + 1 }}</td> | 20 | <td>{{ index + 1 }}</td> |
21 | <td>{{ item.bdcdyh }}</td> | 21 | <td><el-link type="primary" @click="handleSelectBdcdyh(item.bdcdyh)" :underline="false">{{ item.bdcdyh }} </el-link></td> |
22 | <td>{{ item.bdclx }}</td> | 22 | <td>{{ item.bdclx }}</td> |
23 | <td>{{ item.szbs }}</td> | 23 | <td>{{ item.szbs }}</td> |
24 | <td>{{ item.bz }}</td> | 24 | <td>{{ item.bz }}</td> |
... | @@ -30,19 +30,25 @@ | ... | @@ -30,19 +30,25 @@ |
30 | <script> | 30 | <script> |
31 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; | 31 | import { getBdcqldjmlByBdcdyid } from "@/api/djbDetail.js"; |
32 | export default { | 32 | export default { |
33 | props: ["formData"], | ||
33 | data () { | 34 | data () { |
34 | return { | 35 | return { |
35 | bdcqlml: [], | 36 | bdcqlml: [], |
36 | propsParam: this.$attrs, | 37 | propsParam: this.$attrs |
37 | }; | 38 | } |
38 | }, | 39 | }, |
39 | mounted () { | 40 | mounted () { |
40 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 41 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
41 | if (res.code === 200) { | 42 | if (res.code === 200) { |
42 | this.bdcqlml = res.result; | 43 | this.bdcqlml = res.result; |
43 | } | 44 | } |
44 | }); | 45 | }) |
45 | }, | 46 | }, |
47 | methods: { | ||
48 | handleSelectBdcdyh (val) { | ||
49 | this.$emit('getBdcdyh', val); | ||
50 | } | ||
51 | } | ||
46 | }; | 52 | }; |
47 | </script> | 53 | </script> |
48 | 54 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:28 | 4 | * @LastEditTime: 2023-08-16 08:54:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -62,7 +62,14 @@ | ... | @@ -62,7 +62,14 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-else> {{ row[item.prop] }}</span> | 65 | <span v-if="item.prop != 'djyy'"> |
66 | {{ row[item.prop] }} | ||
67 | </span> | ||
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
69 | <span class="ellipsis-line"> | ||
70 | {{ row[item.prop] }} | ||
71 | </span> | ||
72 | </el-tooltip> | ||
66 | </td> | 73 | </td> |
67 | <td v-for="count in emptycolNum" :key="~count"></td> | 74 | <td v-for="count in emptycolNum" :key="~count"></td> |
68 | </tr> | 75 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:37 | 4 | * @LastEditTime: 2023-08-16 08:52:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -56,7 +56,14 @@ | ... | @@ -56,7 +56,14 @@ |
56 | {{ getQsztName(row[item.prop]) }} | 56 | {{ getQsztName(row[item.prop]) }} |
57 | </span> | 57 | </span> |
58 | 58 | ||
59 | <span v-else> {{ row[item.prop] }}</span> | 59 | <span v-if="item.prop != 'djyy'"> |
60 | {{ row[item.prop] }} | ||
61 | </span> | ||
62 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
63 | <span class="ellipsis-line"> | ||
64 | {{ row[item.prop] }} | ||
65 | </span> | ||
66 | </el-tooltip> | ||
60 | </td> | 67 | </td> |
61 | <td v-for="count in emptycolNum" :key="~count"></td> | 68 | <td v-for="count in emptycolNum" :key="~count"></td> |
62 | </tr> | 69 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-10 16:28:55 | 4 | * @LastEditTime: 2023-08-15 10:57:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | </el-tree> | 11 | </el-tree> |
12 | </div> | 12 | </div> |
13 | <div class="right"> | 13 | <div class="right"> |
14 | <component :is="componentTag" v-bind="currentSelectProps" /> | 14 | <component :is="componentTag" @getBdcdyh="getBdcdyh" v-bind="currentSelectProps" /> |
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
17 | </template> | 17 | </template> |
... | @@ -42,17 +42,21 @@ | ... | @@ -42,17 +42,21 @@ |
42 | }, | 42 | }, |
43 | props: ["formData"], | 43 | props: ["formData"], |
44 | mounted () { | 44 | mounted () { |
45 | this.loadData(); | 45 | this.loadData(this.formData.bdcdyh); |
46 | }, | 46 | }, |
47 | methods: { | 47 | methods: { |
48 | getBdcdyh (val) { | ||
49 | console.log(val, ';222222222222'); | ||
50 | // this.loadData(val); | ||
51 | }, | ||
48 | /** | 52 | /** |
49 | * @description: loadData | 53 | * @description: loadData |
50 | * @author: renchao | 54 | * @author: renchao |
51 | */ | 55 | */ |
52 | loadData () { | 56 | loadData (val) { |
53 | getBdcqljqtsx({ | 57 | getBdcqljqtsx({ |
54 | bdcdyid: this.formData.bdcdyid, | 58 | bdcdyid: this.formData.bdcdyid, |
55 | bdcdyh: this.formData.bdcdyh, | 59 | bdcdyh: val, |
56 | }).then((res) => { | 60 | }).then((res) => { |
57 | if (res.code === 200) { | 61 | if (res.code === 200) { |
58 | this.treedata = loadTreeData(res.result, this.formData.bdcdyh); | 62 | this.treedata = loadTreeData(res.result, this.formData.bdcdyh); |
... | @@ -60,15 +64,15 @@ | ... | @@ -60,15 +64,15 @@ |
60 | this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, this.formData.bdcdylx || ""); | 64 | this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, this.formData.bdcdylx || ""); |
61 | this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | 65 | this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 |
62 | this.loadComponent(this.defaultNode.form); | 66 | this.loadComponent(this.defaultNode.form); |
63 | }); | 67 | }) |
64 | } | 68 | } |
65 | }); | 69 | }) |
66 | this.currentSelectProps = { | 70 | this.currentSelectProps = { |
67 | bdcdyid: this.formData.bdcdyid, | 71 | bdcdyid: this.formData.bdcdyid, |
68 | bdcdyh: this.formData.bdcdyh, | 72 | bdcdyh: this.formData.bdcdyh, |
69 | qllx: this.formData.qllx, | 73 | qllx: this.formData.qllx, |
70 | bsmQlxx: this.formData.bsmQlxx, | 74 | bsmQlxx: this.formData.bsmQlxx |
71 | }; | 75 | } |
72 | }, | 76 | }, |
73 | /** | 77 | /** |
74 | * @description: handleNodeClick | 78 | * @description: handleNodeClick |
... | @@ -86,12 +90,12 @@ | ... | @@ -86,12 +90,12 @@ |
86 | * @author: renchao | 90 | * @author: renchao |
87 | */ | 91 | */ |
88 | loadComponent (form) { | 92 | loadComponent (form) { |
89 | console.log(form, 'formformformform'); | 93 | console.log(form, 'form'); |
90 | this.componentTag = (r) => | 94 | this.componentTag = (r) => |
91 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 95 | require.ensure([], () => r(require("@/views/registerBook/" + form))) |
92 | }, | 96 | } |
93 | } | 97 | } |
94 | }; | 98 | } |
95 | </script> | 99 | </script> |
96 | <style scoped lang="scss"> | 100 | <style scoped lang="scss"> |
97 | /deep/.rollTable { | 101 | /deep/.rollTable { |
... | @@ -114,7 +118,7 @@ | ... | @@ -114,7 +118,7 @@ |
114 | .right { | 118 | .right { |
115 | width: calc(100% - 256px); | 119 | width: calc(100% - 256px); |
116 | height: 704px; | 120 | height: 704px; |
117 | // overflow-y: scroll; | 121 | // overflow-y: scroll; |
118 | // overflow: auto; | 122 | // overflow: auto; |
119 | background-color: #f5f5f5; | 123 | background-color: #f5f5f5; |
120 | border: 1px solid rgb(228, 228, 228); | 124 | border: 1px solid rgb(228, 228, 228); | ... | ... |
... | @@ -11,7 +11,7 @@ var qlxxPage = [ | ... | @@ -11,7 +11,7 @@ var qlxxPage = [ |
11 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, | 11 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, |
12 | { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, | 12 | { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, |
13 | { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" }, | 13 | { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" }, |
14 | { qllx: "A12", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权/森林、林木使用权" }, | 14 | { qllx: "A12", id: "sllmsyq", form: "sllmsyq.vue", label: "林地使用权/森林、林木使用权" }, |
15 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, | 15 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, |
16 | { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" }, | 16 | { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" }, |
17 | { qllx: "A15", id: "jsydsyq", form: "jsydsyq.vue", label: "海域使用权" }, | 17 | { qllx: "A15", id: "jsydsyq", form: "jsydsyq.vue", label: "海域使用权" }, | ... | ... |
... | @@ -199,7 +199,6 @@ | ... | @@ -199,7 +199,6 @@ |
199 | border-right: 2px solid #e3e2e2; | 199 | border-right: 2px solid #e3e2e2; |
200 | line-height: 40px; | 200 | line-height: 40px; |
201 | overflow: unset; | 201 | overflow: unset; |
202 | width: 450px; | ||
203 | } | 202 | } |
204 | div:last-child{ | 203 | div:last-child{ |
205 | border: 0; | 204 | border: 0; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:08 | 4 | * @LastEditTime: 2023-08-16 08:54:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -62,7 +62,14 @@ | ... | @@ -62,7 +62,14 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-else> {{ row[item.prop] }}</span> | 65 | <span v-if="item.prop != 'djyy'"> |
66 | {{ row[item.prop] }} | ||
67 | </span> | ||
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
69 | <span class="ellipsis-line"> | ||
70 | {{ row[item.prop] }} | ||
71 | </span> | ||
72 | </el-tooltip> | ||
66 | </td> | 73 | </td> |
67 | <td v-for="count in emptycolNum" :key="~count"></td> | 74 | <td v-for="count in emptycolNum" :key="~count"></td> |
68 | </tr> | 75 | </tr> | ... | ... |
... | @@ -51,7 +51,14 @@ | ... | @@ -51,7 +51,14 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-else> {{ row[item.prop] }}</span> | 54 | <span v-if="item.prop != 'djyy'"> |
55 | {{ row[item.prop] }} | ||
56 | </span> | ||
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
58 | <span class="ellipsis-line"> | ||
59 | {{ row[item.prop] }} | ||
60 | </span> | ||
61 | </el-tooltip> | ||
55 | </td> | 62 | </td> |
56 | <td v-for="count in emptycolNum" :key="~count"></td> | 63 | <td v-for="count in emptycolNum" :key="~count"></td> |
57 | </tr> | 64 | </tr> | ... | ... |
... | @@ -4,24 +4,29 @@ | ... | @@ -4,24 +4,29 @@ |
4 | * @LastEditTime: 2023-08-11 15:33:53 | 4 | * @LastEditTime: 2023-08-11 15:33:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
8 | <div class="tableBox"> | 8 | <div class="tableBox"> |
9 | <div class="title"> | 9 | <div class="title"> |
10 | {{ title }} | 10 | {{ title }} |
11 | <div class="checkbox"> | 11 | <div class="checkbox"> |
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | 12 | <el-checkbox-group v-model="checkList" @change="checkChange"> |
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | 13 | <el-checkbox |
14 | </el-checkbox-group> | 14 | v-for="item in qsztList" |
15 | </div> | 15 | :key="item.value" |
16 | :label="item.value" | ||
17 | >{{ item.label }}</el-checkbox> | ||
18 | </el-checkbox-group> | ||
16 | </div> | 19 | </div> |
17 | <div class="xxTableBox rollTable"> | 20 | </div> |
18 | <!-- 固定前三个 --> | 21 | <div class="xxTableBox rollTable"> |
19 | <table class="xxTable"> | 22 | <!-- 固定前三个 --> |
20 | <tr v-for="(item, colindex) in columns" :key="colindex"> | 23 | <table class="xxTable"> |
21 | <td> | 24 | <tr v-for="(item, colindex) in columns" :key="colindex"> |
22 | {{ item.label }} | 25 | <td>{{ item.label }}</td> |
23 | </td> | 26 | <td |
24 | <td v-for="(row, index) in tableData" :key="index" :class="[ | 27 | v-for="(row, index) in tableData" |
28 | :key="index" | ||
29 | :class="[ | ||
25 | row.qszt == '2' ? 'lishi' : '', | 30 | row.qszt == '2' ? 'lishi' : '', |
26 | row.qszt == '0' ? 'linshi' : '', | 31 | row.qszt == '0' ? 'linshi' : '', |
27 | row.qlzt == '4' ? 'linshi' : '', | 32 | row.qlzt == '4' ? 'linshi' : '', |
... | @@ -30,151 +35,142 @@ | ... | @@ -30,151 +35,142 @@ |
30 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | 35 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', |
31 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | 36 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', |
32 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | 37 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' |
33 | ]"> | 38 | ]" |
34 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | 39 | > |
35 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | 40 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> |
36 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | 41 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> |
37 | </div> | 42 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> |
38 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'"> | 43 | </div> |
39 | 有效 | 44 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">有效</div> |
40 | </div> | 45 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">正在补录</div> |
41 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'"> | 46 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">正在申请</div> |
42 | 正在补录 | 47 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">正在注销</div> |
43 | </div> | 48 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
44 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'"> | 49 | |
45 | 正在申请 | 50 | <span v-else>{{ row[item.prop] }}</span> |
46 | </div> | 51 | </td> |
47 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'"> | 52 | <td v-for="count in emptycolNum" :key="~count"></td> |
48 | 正在注销 | 53 | </tr> |
49 | </div> | 54 | </table> |
50 | <span v-if="item.prop == 'qszt'"> | ||
51 | {{ getQsztName(row[item.prop]) }} | ||
52 | </span> | ||
53 | |||
54 | <span v-else> {{ row[item.prop] }}</span> | ||
55 | </td> | ||
56 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
57 | </tr> | ||
58 | </table> | ||
59 | </div> | ||
60 | </div> | 55 | </div> |
61 | </div> | 56 | </div> |
62 | </template> | 57 | </div> |
58 | </template> | ||
63 | 59 | ||
64 | <script> | 60 | <script> |
65 | import { datas } from "./qlxxFormData.js"; | 61 | import { datas } from "./qlxxFormData.js"; |
66 | import { getSjlx } from "@/utils/dictionary.js"; | 62 | import { getSjlx } from "@/utils/dictionary.js"; |
67 | import { getLqList } from "@/api/djbDetail.js"; | 63 | import { getLqList } from "@/api/djbDetail.js"; |
68 | export default { | 64 | export default { |
69 | data () { | 65 | data() { |
70 | return { | 66 | return { |
71 | title: "林地使用权登记信息", | 67 | title: "林权登记信息", |
72 | qsztList: datas.columns().qsztList, | 68 | qsztList: datas.columns().qsztList, |
73 | checkList: datas.columns().checkList, | 69 | checkList: datas.columns().checkList, |
74 | //传递参数 | 70 | //传递参数 |
75 | propsParam: this.$attrs, | 71 | propsParam: this.$attrs, |
76 | //列表数据 | 72 | //列表数据 |
77 | tableData: [], | 73 | tableData: [], |
78 | //空列值个数 | 74 | //空列值个数 |
79 | emptycolNum: datas.columns().emptycolNum, | 75 | emptycolNum: datas.columns().emptycolNum, |
80 | //列名称对象 | 76 | //列名称对象 |
81 | columns: datas.columns().LDSYQ, | 77 | columns: datas.columns().LDSYQ, |
82 | }; | 78 | }; |
83 | }, | 79 | }, |
84 | created () { | 80 | created() { |
85 | this.loadData(); | 81 | this.loadData(); |
86 | }, | 82 | }, |
87 | methods: { | 83 | methods: { |
88 | /** | 84 | /** |
89 | * @description: loadData | 85 | * @description: loadData |
90 | * @author: renchao | 86 | * @author: renchao |
91 | */ | 87 | */ |
92 | loadData () { | 88 | loadData() { |
93 | 89 | if (this.$parent.addRepairRecord) { | |
94 | if (this.$parent.addRepairRecord) { | 90 | this.columns.unshift({ |
95 | this.columns.unshift({ | 91 | prop: "cz", |
96 | prop: "cz", | 92 | label: "操作", |
97 | label: "操作" | 93 | }); |
98 | }) | 94 | } |
99 | } | 95 | getLqList({ |
100 | getLqList({ | 96 | bdcdyid: this.propsParam.bdcdyid, |
101 | bdcdyid: this.propsParam.bdcdyid, | 97 | qllx: this.propsParam.qllx, |
102 | qllx: this.propsParam.qllx, | 98 | qszt: this.checkList, |
103 | qszt: this.checkList, | 99 | }).then((res) => { |
104 | }).then((res) => { | 100 | if (res.code === 200) { |
105 | if (res.code === 200) { | 101 | this.tableData = res.result; |
106 | this.tableData = res.result; | 102 | this.tableData.forEach((item) => { |
107 | this.tableData.forEach(item => { | 103 | item.sjlx = getSjlx(item.sjlx); |
108 | item.sjlx = getSjlx(item.sjlx) | ||
109 | }) | ||
110 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
111 | this.emptycolNum = | ||
112 | datas.columns().emptycolNum - this.tableData.length; | ||
113 | } else { | ||
114 | this.emptycolNum = 0; | ||
115 | } | ||
116 | } | ||
117 | }); | 104 | }); |
118 | }, | 105 | if (this.tableData.length < datas.columns().emptycolNum) { |
119 | /** | 106 | this.emptycolNum = |
120 | * @description: checkChange | 107 | datas.columns().emptycolNum - this.tableData.length; |
121 | * @author: renchao | ||
122 | */ | ||
123 | checkChange () { | ||
124 | if (this.checkList.length === 0) { | ||
125 | this.tableData = []; | ||
126 | this.emptycolNum = datas.columns().emptycolNum; | ||
127 | } else { | 108 | } else { |
128 | this.loadData(); | 109 | this.emptycolNum = 0; |
129 | } | 110 | } |
130 | }, | 111 | } |
131 | /** | 112 | }); |
132 | * @description: getQsztName | 113 | }, |
133 | * @param {*} code | 114 | /** |
134 | * @author: renchao | 115 | * @description: checkChange |
135 | */ | 116 | * @author: renchao |
136 | getQsztName (code) { | 117 | */ |
137 | let name = ""; | 118 | checkChange() { |
138 | for (let item of this.qsztList) { | 119 | if (this.checkList.length === 0) { |
139 | if (item.value == code) { | 120 | this.tableData = []; |
140 | name = item.label; | 121 | this.emptycolNum = datas.columns().emptycolNum; |
141 | break; | 122 | } else { |
142 | } | 123 | this.loadData(); |
143 | } | 124 | } |
144 | return name; | 125 | }, |
145 | }, | 126 | /** |
146 | // 新增一条补录信息 | 127 | * @description: getQsztName |
147 | /** | 128 | * @param {*} code |
148 | * @description: 新增一条补录信息 | 129 | * @author: renchao |
149 | * @param {*} row | 130 | */ |
150 | * @param {*} del | 131 | getQsztName(code) { |
151 | * @author: renchao | 132 | let name = ""; |
152 | */ | 133 | for (let item of this.qsztList) { |
153 | editDialog (row, del) { | 134 | if (item.value == code) { |
154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 135 | name = item.label; |
155 | confirmButtonText: '确定', | 136 | break; |
156 | cancelButtonText: '取消', | 137 | } |
157 | type: 'warning' | 138 | } |
158 | }).then(() => { | 139 | return name; |
159 | this.$parent.addRepairRecord(row, del) | 140 | }, |
160 | 141 | // 新增一条补录信息 | |
161 | this.$message({ | 142 | /** |
162 | type: 'success', | 143 | * @description: 新增一条补录信息 |
163 | message: '补录成功!' | 144 | * @param {*} row |
164 | }); | 145 | * @param {*} del |
165 | }).catch(() => { | 146 | * @author: renchao |
166 | this.$message({ | 147 | */ |
167 | type: 'info', | 148 | editDialog(row, del) { |
168 | message: '取消编辑' | 149 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
169 | }); | 150 | confirmButtonText: "确定", |
151 | cancelButtonText: "取消", | ||
152 | type: "warning", | ||
153 | }) | ||
154 | .then(() => { | ||
155 | this.$parent.addRepairRecord(row, del); | ||
156 | |||
157 | this.$message({ | ||
158 | type: "success", | ||
159 | message: "补录成功!", | ||
170 | }); | 160 | }); |
171 | 161 | }) | |
172 | }, | 162 | .catch(() => { |
173 | }, | 163 | this.$message({ |
174 | }; | 164 | type: "info", |
175 | </script> | 165 | message: "取消编辑", |
166 | }); | ||
167 | }); | ||
168 | }, | ||
169 | }, | ||
170 | }; | ||
171 | </script> | ||
176 | 172 | ||
177 | <style lang="scss" scoped> | 173 | <style lang="scss" scoped> |
178 | @import "./qlxxCommon.scss"; | 174 | @import "./qlxxCommon.scss"; |
179 | </style> | 175 | </style> |
180 | 176 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -51,7 +51,15 @@ | ... | @@ -51,7 +51,15 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-else> {{ row[item.prop] }}</span> | 54 | <span v-if="item.prop != 'djyy'"> |
55 | {{ row[item.prop] }} | ||
56 | </span> | ||
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
58 | <span class="ellipsis-line"> | ||
59 | {{ row[item.prop] }} | ||
60 | </span> | ||
61 | </el-tooltip> | ||
62 | |||
55 | </td> | 63 | </td> |
56 | <td v-for="count in emptycolNum" :key="~count"></td> | 64 | <td v-for="count in emptycolNum" :key="~count"></td> |
57 | </tr> | 65 | </tr> |
... | @@ -88,7 +96,15 @@ | ... | @@ -88,7 +96,15 @@ |
88 | {{ getQsztName(row[item.prop]) }} | 96 | {{ getQsztName(row[item.prop]) }} |
89 | </span> | 97 | </span> |
90 | 98 | ||
91 | <span v-else> {{ row[item.prop] }}</span> | 99 | <span v-if="item.prop != 'djyy'"> |
100 | {{ row[item.prop] }} | ||
101 | </span> | ||
102 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
103 | <span class="ellipsis-line"> | ||
104 | {{ row[item.prop] }} | ||
105 | </span> | ||
106 | </el-tooltip> | ||
107 | |||
92 | </td> | 108 | </td> |
93 | <td v-for="count in emptycolNum" :key="~count"></td> | 109 | <td v-for="count in emptycolNum" :key="~count"></td> |
94 | </tr> | 110 | </tr> | ... | ... |
... | @@ -473,11 +473,11 @@ class data extends filter { | ... | @@ -473,11 +473,11 @@ class data extends filter { |
473 | label: "使用权起止时间", | 473 | label: "使用权起止时间", |
474 | }, | 474 | }, |
475 | { | 475 | { |
476 | prop: "fdcjyjg", | 476 | prop: "qdjgmc", |
477 | label: "房地产交易价格(万元)", | 477 | label: "房地产交易价格", |
478 | }, | 478 | }, |
479 | { | 479 | { |
480 | prop: "ghyt", | 480 | prop: "ytmc", |
481 | label: "规划用途", | 481 | label: "规划用途", |
482 | }, | 482 | }, |
483 | { | 483 | { |
... | @@ -497,7 +497,7 @@ class data extends filter { | ... | @@ -497,7 +497,7 @@ class data extends filter { |
497 | label: "总层数", | 497 | label: "总层数", |
498 | }, | 498 | }, |
499 | { | 499 | { |
500 | prop: "mj", | 500 | prop: "jzmj", |
501 | label: "建筑面积(m2)", | 501 | label: "建筑面积(m2)", |
502 | }, | 502 | }, |
503 | { | 503 | { |
... | @@ -1282,14 +1282,14 @@ class data extends filter { | ... | @@ -1282,14 +1282,14 @@ class data extends filter { |
1282 | { | 1282 | { |
1283 | prop: "gyqk", | 1283 | prop: "gyqk", |
1284 | label: "共有情况", | 1284 | label: "共有情况", |
1285 | }, | 1285 | }, |
1286 | { | 1286 | { |
1287 | prop: "qlrlx", | 1287 | prop: "sllmsyq1", |
1288 | label: "权利人类型", | 1288 | label: "森林林木所有权人", |
1289 | }, | 1289 | }, |
1290 | { | 1290 | { |
1291 | prop: "qlrmc", | 1291 | prop: "sllmsyq2", |
1292 | label: "权利人", | 1292 | label: "森林林木使用权人", |
1293 | }, | 1293 | }, |
1294 | { | 1294 | { |
1295 | prop: "qlrzjzl", | 1295 | prop: "qlrzjzl", |
... | @@ -1300,24 +1300,68 @@ class data extends filter { | ... | @@ -1300,24 +1300,68 @@ class data extends filter { |
1300 | label: "证件号", | 1300 | label: "证件号", |
1301 | }, | 1301 | }, |
1302 | { | 1302 | { |
1303 | prop: "qlxzmc", | 1303 | prop: "ldsyqxz", |
1304 | label: "权利性质", | 1304 | label: "林地所有权性质", |
1305 | }, | 1305 | }, |
1306 | { | 1306 | { |
1307 | prop: "ytmc", | 1307 | prop: "fbf", |
1308 | label: "土地用途", | 1308 | label: "发包方", |
1309 | }, | 1309 | }, |
1310 | { | 1310 | { |
1311 | prop: "fbfdm", | 1311 | prop: "fbfdm", |
1312 | label: "发包方代码", | 1312 | label: "发包方代码", |
1313 | }, | 1313 | }, |
1314 | { | 1314 | { |
1315 | prop: "fbfmc", | 1315 | prop: "syqmj", |
1316 | label: "发包方名称", | 1316 | label: "使用权面积", |
1317 | }, | 1317 | }, |
1318 | { | 1318 | { |
1319 | prop: "mjmc", | 1319 | prop: "ldsyqssj", |
1320 | label: "使用权面积", | 1320 | label: "林地使用(承包)起始时间", |
1321 | }, | ||
1322 | { | ||
1323 | prop: "ldsyjssj", | ||
1324 | label: "林地使用(承包)结束时间", | ||
1325 | }, | ||
1326 | { | ||
1327 | prop: "ldsyqx", | ||
1328 | label: "林地使用(承包)期限", | ||
1329 | }, | ||
1330 | { | ||
1331 | prop: "sllb", | ||
1332 | label: "森林类别", | ||
1333 | }, | ||
1334 | { | ||
1335 | prop: "zylz", | ||
1336 | label: "主要树种", | ||
1337 | }, | ||
1338 | { | ||
1339 | prop: "zs", | ||
1340 | label: "株数", | ||
1341 | }, | ||
1342 | { | ||
1343 | prop: "lz", | ||
1344 | label: "林种", | ||
1345 | }, | ||
1346 | { | ||
1347 | prop: "qy", | ||
1348 | label: "起源", | ||
1349 | }, | ||
1350 | { | ||
1351 | prop: "zlnd", | ||
1352 | label: "造林年度", | ||
1353 | }, | ||
1354 | { | ||
1355 | prop: "lb", | ||
1356 | label: "林班", | ||
1357 | }, | ||
1358 | { | ||
1359 | prop: "xb", | ||
1360 | label: "小班", | ||
1361 | }, | ||
1362 | { | ||
1363 | prop: "xdm", | ||
1364 | label: "小地名", | ||
1321 | }, | 1365 | }, |
1322 | { | 1366 | { |
1323 | prop: "djjg", | 1367 | prop: "djjg", | ... | ... |
src/views/registerBook/sllmsyq.vue
0 → 100644
1 | <!-- | ||
2 | * @Author: yangwei | ||
3 | * @Date: 2023-08-15 14:15:06 | ||
4 | * @LastEditors: yangwei | ||
5 | * @LastEditTime: 2023-08-15 14:15:19 | ||
6 | * @FilePath: \bdcdj-web\src\views\registerBook\sllmsyq.vue | ||
7 | * @Description: | ||
8 | * | ||
9 | * Copyright (c) 2023 by yangwei, All Rights Reserved. | ||
10 | --> | ||
11 | <!-- | ||
12 | * @Description: | ||
13 | * @Autor: renchao | ||
14 | * @LastEditTime: 2023-08-11 15:33:53 | ||
15 | --> | ||
16 | <template> | ||
17 | <div class="djxxTable"> | ||
18 | <div class="tableBox"> | ||
19 | <div class="title"> | ||
20 | {{ title }} | ||
21 | <div class="checkbox"> | ||
22 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
23 | <el-checkbox | ||
24 | v-for="item in qsztList" | ||
25 | :key="item.value" | ||
26 | :label="item.value" | ||
27 | >{{ item.label }}</el-checkbox> | ||
28 | </el-checkbox-group> | ||
29 | </div> | ||
30 | </div> | ||
31 | <div class="xxTableBox rollTable"> | ||
32 | <!-- 固定前三个 --> | ||
33 | <table class="xxTable"> | ||
34 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
35 | <td>{{ item.label }}</td> | ||
36 | <td | ||
37 | v-for="(row, index) in tableData" | ||
38 | :key="index" | ||
39 | :class="[ | ||
40 | row.qszt == '2' ? 'lishi' : '', | ||
41 | row.qszt == '0' ? 'linshi' : '', | ||
42 | row.qlzt == '4' ? 'linshi' : '', | ||
43 | |||
44 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', | ||
45 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
46 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
47 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | ||
48 | ]" | ||
49 | > | ||
50 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | ||
51 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
52 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | ||
53 | </div> | ||
54 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">有效</div> | ||
55 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">正在补录</div> | ||
56 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">正在申请</div> | ||
57 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">正在注销</div> | ||
58 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | ||
59 | |||
60 | <span v-else>{{ row[item.prop] }}</span> | ||
61 | </td> | ||
62 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
63 | </tr> | ||
64 | </table> | ||
65 | </div> | ||
66 | </div> | ||
67 | </div> | ||
68 | </template> | ||
69 | |||
70 | <script> | ||
71 | import { datas } from "./qlxxFormData.js"; | ||
72 | import { getSjlx } from "@/utils/dictionary.js"; | ||
73 | import { getLqList } from "@/api/djbDetail.js"; | ||
74 | export default { | ||
75 | data() { | ||
76 | return { | ||
77 | title: "林权登记信息", | ||
78 | qsztList: datas.columns().qsztList, | ||
79 | checkList: datas.columns().checkList, | ||
80 | //传递参数 | ||
81 | propsParam: this.$attrs, | ||
82 | //列表数据 | ||
83 | tableData: [], | ||
84 | //空列值个数 | ||
85 | emptycolNum: datas.columns().emptycolNum, | ||
86 | //列名称对象 | ||
87 | columns: datas.columns().LDSYQ, | ||
88 | }; | ||
89 | }, | ||
90 | created() { | ||
91 | this.loadData(); | ||
92 | }, | ||
93 | methods: { | ||
94 | /** | ||
95 | * @description: loadData | ||
96 | * @author: renchao | ||
97 | */ | ||
98 | loadData() { | ||
99 | if (this.$parent.addRepairRecord) { | ||
100 | this.columns.unshift({ | ||
101 | prop: "cz", | ||
102 | label: "操作", | ||
103 | }); | ||
104 | } | ||
105 | getLqList({ | ||
106 | bdcdyid: this.propsParam.bdcdyid, | ||
107 | qllx: this.propsParam.qllx, | ||
108 | qszt: this.checkList, | ||
109 | }).then((res) => { | ||
110 | if (res.code === 200) { | ||
111 | this.tableData = res.result; | ||
112 | this.tableData.forEach((item) => { | ||
113 | item.sjlx = getSjlx(item.sjlx); | ||
114 | }); | ||
115 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
116 | this.emptycolNum = | ||
117 | datas.columns().emptycolNum - this.tableData.length; | ||
118 | } else { | ||
119 | this.emptycolNum = 0; | ||
120 | } | ||
121 | } | ||
122 | }); | ||
123 | }, | ||
124 | /** | ||
125 | * @description: checkChange | ||
126 | * @author: renchao | ||
127 | */ | ||
128 | checkChange() { | ||
129 | if (this.checkList.length === 0) { | ||
130 | this.tableData = []; | ||
131 | this.emptycolNum = datas.columns().emptycolNum; | ||
132 | } else { | ||
133 | this.loadData(); | ||
134 | } | ||
135 | }, | ||
136 | /** | ||
137 | * @description: getQsztName | ||
138 | * @param {*} code | ||
139 | * @author: renchao | ||
140 | */ | ||
141 | getQsztName(code) { | ||
142 | let name = ""; | ||
143 | for (let item of this.qsztList) { | ||
144 | if (item.value == code) { | ||
145 | name = item.label; | ||
146 | break; | ||
147 | } | ||
148 | } | ||
149 | return name; | ||
150 | }, | ||
151 | // 新增一条补录信息 | ||
152 | /** | ||
153 | * @description: 新增一条补录信息 | ||
154 | * @param {*} row | ||
155 | * @param {*} del | ||
156 | * @author: renchao | ||
157 | */ | ||
158 | editDialog(row, del) { | ||
159 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
160 | confirmButtonText: "确定", | ||
161 | cancelButtonText: "取消", | ||
162 | type: "warning", | ||
163 | }) | ||
164 | .then(() => { | ||
165 | this.$parent.addRepairRecord(row, del); | ||
166 | |||
167 | this.$message({ | ||
168 | type: "success", | ||
169 | message: "补录成功!", | ||
170 | }); | ||
171 | }) | ||
172 | .catch(() => { | ||
173 | this.$message({ | ||
174 | type: "info", | ||
175 | message: "取消编辑", | ||
176 | }); | ||
177 | }); | ||
178 | }, | ||
179 | }, | ||
180 | }; | ||
181 | </script> | ||
182 | |||
183 | <style lang="scss" scoped> | ||
184 | @import "./qlxxCommon.scss"; | ||
185 | </style> | ||
186 | |||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:03:56 | 4 | * @LastEditTime: 2023-08-16 08:53:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -51,7 +51,14 @@ | ... | @@ -51,7 +51,14 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-else> {{ row[item.prop] }}</span> | 54 | <span v-if="item.prop != 'djyy'"> |
55 | {{ row[item.prop] }} | ||
56 | </span> | ||
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
58 | <span class="ellipsis-line"> | ||
59 | {{ row[item.prop] }} | ||
60 | </span> | ||
61 | </el-tooltip> | ||
55 | </td> | 62 | </td> |
56 | <td v-for="count in emptycolNum" :key="~count"></td> | 63 | <td v-for="count in emptycolNum" :key="~count"></td> |
57 | </tr> | 64 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:04:07 | 4 | * @LastEditTime: 2023-08-16 08:53:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,14 @@ | ... | @@ -50,7 +50,14 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-else> {{ row[item.prop] }}</span> | 53 | <span v-if="item.prop != 'djyy'"> |
54 | {{ row[item.prop] }} | ||
55 | </span> | ||
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
57 | <span class="ellipsis-line"> | ||
58 | {{ row[item.prop] }} | ||
59 | </span> | ||
60 | </el-tooltip> | ||
54 | </td> | 61 | </td> |
55 | <td v-for="count in emptycolNum" :key="~count"></td> | 62 | <td v-for="count in emptycolNum" :key="~count"></td> |
56 | </tr> | 63 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:04:15 | 4 | * @LastEditTime: 2023-08-16 08:53:41 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,14 @@ | ... | @@ -50,7 +50,14 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-else> {{ row[item.prop] }}</span> | 53 | <span v-if="item.prop != 'djyy'"> |
54 | {{ row[item.prop] }} | ||
55 | </span> | ||
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
57 | <span class="ellipsis-line"> | ||
58 | {{ row[item.prop] }} | ||
59 | </span> | ||
60 | </el-tooltip> | ||
54 | </td> | 61 | </td> |
55 | <td v-for="count in emptycolNum" :key="~count"></td> | 62 | <td v-for="count in emptycolNum" :key="~count"></td> |
56 | </tr> | 63 | </tr> | ... | ... |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | <el-row> | 36 | <el-row> |
37 | <el-col :span="8"> | 37 | <el-col :span="8"> |
38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> | 38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> |
39 | <el-select v-model="form.sqdjyw.sqywdylx" disabled placeholder="请选择" class="width100"> | 39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> |
40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
41 | </el-option> | 41 | </el-option> |
42 | </el-select> | 42 | </el-select> | ... | ... |
... | @@ -34,6 +34,10 @@ export function getForm(tabName, djywbm) { | ... | @@ -34,6 +34,10 @@ export function getForm(tabName, djywbm) { |
34 | case "fwsyqslxx300": | 34 | case "fwsyqslxx300": |
35 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); | 35 | form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue"); |
36 | break; | 36 | break; |
37 | //林地使用权 | ||
38 | case "lqslxx": | ||
39 | form = require("@/views/ywbl/slsqxx/lqslxx"); | ||
40 | break; | ||
37 | case "plfdcq2": | 41 | case "plfdcq2": |
38 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); | 42 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); |
39 | break; | 43 | break; |
... | @@ -95,6 +99,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -95,6 +99,9 @@ export function getForm(tabName, djywbm) { |
95 | case "fdcq2Qlxx": | 99 | case "fdcq2Qlxx": |
96 | form = require("@/views/registerBook/fdcq2.vue"); | 100 | form = require("@/views/registerBook/fdcq2.vue"); |
97 | break; | 101 | break; |
102 | case "lqQlxx": | ||
103 | form = require("@/views/registerBook/ldsyq.vue"); | ||
104 | break; | ||
98 | case "diyaqQlxx": | 105 | case "diyaqQlxx": |
99 | form = require("@/views/registerBook/diyaq.vue"); | 106 | form = require("@/views/registerBook/diyaq.vue"); |
100 | break; | 107 | break; |
... | @@ -109,11 +116,7 @@ export function getForm(tabName, djywbm) { | ... | @@ -109,11 +116,7 @@ export function getForm(tabName, djywbm) { |
109 | break; | 116 | break; |
110 | case "zdjbxxImg": | 117 | case "zdjbxxImg": |
111 | form = require("@/views/workflow/components/zdt.vue"); | 118 | form = require("@/views/workflow/components/zdt.vue"); |
112 | break; | 119 | break; |
113 | //林地使用权 | ||
114 | case "lqslxx": | ||
115 | form = require("@/views/ywbl/slsqxx/lqslxx"); | ||
116 | break; | ||
117 | default: | 120 | default: |
118 | form = require("@/views/error-page/404.vue"); | 121 | form = require("@/views/error-page/404.vue"); |
119 | break; | 122 | break; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-10 14:13:41 | 4 | * @LastEditTime: 2023-08-16 09:17:44 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; | ... | ... |
... | @@ -253,7 +253,7 @@ | ... | @@ -253,7 +253,7 @@ |
253 | </el-input> | 253 | </el-input> |
254 | </el-form-item> | 254 | </el-form-item> |
255 | <el-form-item v-else label="登记原因:" prop="djyy"> | 255 | <el-form-item v-else label="登记原因:" prop="djyy"> |
256 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 256 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
257 | v-model="ruleForm.diyaq.djyy"> | 257 | v-model="ruleForm.diyaq.djyy"> |
258 | </el-input> | 258 | </el-input> |
259 | </el-form-item> | 259 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-14 13:12:06 | 4 | * @LastEditTime: 2023-08-16 09:17:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | <el-row :gutter="10"> | 164 | <el-row :gutter="10"> |
165 | <el-col> | 165 | <el-col> |
166 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 166 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
167 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
168 | v-model="ruleForm.fdcq1.djyy"> | 168 | v-model="ruleForm.fdcq1.djyy"> |
169 | </el-input> | 169 | </el-input> |
170 | </el-form-item> | 170 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:15:04 | 4 | * @LastEditTime: 2023-08-16 09:15:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -52,60 +52,183 @@ | ... | @@ -52,60 +52,183 @@ |
52 | </div> | 52 | </div> |
53 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 53 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
54 | <el-col :span="8"> | 54 | <el-col :span="8"> |
55 | <el-form-item label="原不动产权证号:"> | ||
56 | <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> | ||
57 | </el-form-item> | ||
58 | </el-col> | ||
59 | <el-col :span="8"> | ||
55 | <el-form-item label="不动产单元号:"> | 60 | <el-form-item label="不动产单元号:"> |
56 | <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input> | 61 | <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input> |
57 | </el-form-item> | 62 | </el-form-item> |
58 | </el-col> | 63 | </el-col> |
59 | <el-col :span="16"> | 64 | <el-col :span="8"> |
60 | <el-form-item label="坐落:"> | 65 | <el-form-item label="坐落:"> |
61 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> | 66 | <el-input v-model="ruleForm.sldy.zl"></el-input> |
62 | </el-form-item> | 67 | </el-form-item> |
63 | </el-col> | 68 | </el-col> |
64 | </el-row> | 69 | </el-row> |
65 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> | 70 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> |
66 | <el-col :span="8"> | 71 | <el-col :span="8"> |
67 | <el-form-item label="土地使用期限:"> | 72 | <el-form-item label="宗地面积:"> |
68 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input> | 73 | <div class="flex"> |
74 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> | ||
75 | <el-select | ||
76 | disabled | ||
77 | v-model="ruleForm.zdjbxx.mjdw" | ||
78 | style="width: 20%"> | ||
79 | <el-option | ||
80 | v-for="item in dictData['A7']" | ||
81 | :key="item.dcode" | ||
82 | :label="item.dname" | ||
83 | :value="item.dcode"> | ||
84 | </el-option> | ||
85 | </el-select> | ||
86 | </div> | ||
87 | </el-form-item> | ||
88 | </el-col> | ||
89 | <el-col :span="8"> | ||
90 | <el-form-item label="土地使用权人:"> | ||
91 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqr"></el-input> | ||
92 | </el-form-item> | ||
93 | </el-col> | ||
94 | <el-col :span="8"> | ||
95 | <el-form-item label="土地性质:"> | ||
96 | <el-select v-model="ruleForm.fdcq2.tdxz"> | ||
97 | <el-option | ||
98 | v-for="item in dictData['A9']" | ||
99 | :key="item.dcode" | ||
100 | :label="item.dname" | ||
101 | :value="item.dcode"> | ||
102 | </el-option> | ||
103 | </el-select> | ||
104 | </el-form-item> | ||
105 | </el-col> | ||
106 | </el-row> | ||
107 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
108 | <el-col :span="8"> | ||
109 | <el-form-item label="独用土地面积:"> | ||
110 | <div class="flex"> | ||
111 | <el-input v-model="ruleForm.fdcq2.dytdmj" | ||
112 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
113 | <el-select | ||
114 | disabled | ||
115 | v-model="mjdw" | ||
116 | style="width: 20%"> | ||
117 | <el-option | ||
118 | v-for="item in dictData['A7']" | ||
119 | :key="item.dcode" | ||
120 | :label="item.dname" | ||
121 | :value="item.dcode"> | ||
122 | </el-option> | ||
123 | </el-select> | ||
124 | </div> | ||
69 | </el-form-item> | 125 | </el-form-item> |
70 | </el-col> | 126 | </el-col> |
71 | <el-col :span="8"> | 127 | <el-col :span="8"> |
72 | <el-form-item label="规划用途名称:"> | 128 | <el-form-item label="分摊土地面积:"> |
73 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | 129 | <div class="flex"> |
130 | <el-input v-model="ruleForm.fdcq2.fttdmj" | ||
131 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
132 | <el-select | ||
133 | disabled | ||
134 | v-model="mjdw" | ||
135 | style="width: 20%"> | ||
136 | <el-option | ||
137 | v-for="item in dictData['A7']" | ||
138 | :key="item.dcode" | ||
139 | :label="item.dname" | ||
140 | :value="item.dcode"> | ||
141 | </el-option> | ||
142 | </el-select> | ||
143 | </div> | ||
74 | </el-form-item> | 144 | </el-form-item> |
75 | </el-col> | 145 | </el-col> |
76 | <el-col :span="8"> | 146 | <el-col :span="8"> |
77 | <el-form-item label="房屋性质:"> | 147 | <el-form-item label="房屋性质:"> |
78 | <el-input disabled v-model="ruleForm.fdcq2.fwxzmc"></el-input> | 148 | <el-select v-model="ruleForm.fdcq2.fwxz"> |
149 | <el-option | ||
150 | v-for="item in dictData['A19']" | ||
151 | :key="item.dcode" | ||
152 | :label="item.dname" | ||
153 | :value="item.dcode"> | ||
154 | </el-option> | ||
155 | </el-select> | ||
79 | </el-form-item> | 156 | </el-form-item> |
80 | </el-col> | 157 | </el-col> |
81 | </el-row> | 158 | </el-row> |
82 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 159 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
83 | <el-col :span="8"> | 160 | <el-col :span="8"> |
161 | <el-form-item label="房屋用途:"> | ||
162 | <el-select v-model="ruleForm.fdcq2.ghyt"> | ||
163 | <el-option | ||
164 | v-for="item in dictData['A17']" | ||
165 | :key="item.dcode" | ||
166 | :label="item.dname" | ||
167 | :value="item.dcode"> | ||
168 | </el-option> | ||
169 | </el-select> | ||
170 | </el-form-item> | ||
171 | </el-col> | ||
172 | <el-col :span="8"> | ||
84 | <el-form-item label="房屋结构:"> | 173 | <el-form-item label="房屋结构:"> |
85 | <el-input disabled v-model="ruleForm.fdcq2.fwjgmc"></el-input> | 174 | <el-select v-model="ruleForm.fdcq2.fwjg"> |
175 | <el-option | ||
176 | v-for="item in dictData['A46']" | ||
177 | :key="item.dcode" | ||
178 | :label="item.dname" | ||
179 | :value="item.dcode"> | ||
180 | </el-option> | ||
181 | </el-select> | ||
182 | </el-form-item> | ||
183 | </el-col> | ||
184 | <el-col :span="8"> | ||
185 | <el-form-item label="竣工时间:"> | ||
186 | <!-- <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> --> | ||
187 | <el-date-picker | ||
188 | v-model="ruleForm.fdcq2.jgsj" | ||
189 | class="width100" | ||
190 | type="date" | ||
191 | placeholder="选择日期" | ||
192 | value-format="yyyy-MM-dd" | ||
193 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker> | ||
86 | </el-form-item> | 194 | </el-form-item> |
87 | </el-col> | 195 | </el-col> |
196 | </el-row> | ||
197 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | ||
88 | <el-col :span="8"> | 198 | <el-col :span="8"> |
89 | <el-form-item label="所在层:"> | 199 | <el-form-item label="所在层:"> |
90 | <el-input disabled v-model="ruleForm.fdcq2.szc"></el-input> | 200 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> |
91 | </el-form-item> | 201 | </el-form-item> |
92 | </el-col> | 202 | </el-col> |
93 | <el-col :span="8"> | 203 | <el-col :span="8"> |
94 | <el-form-item label="总层数:"> | 204 | <el-form-item label="总层数:"> |
95 | <el-input disabled v-model="ruleForm.fdcq2.zcs"></el-input> | 205 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> |
96 | </el-form-item> | 206 | </el-form-item> |
97 | </el-col> | 207 | </el-col> |
98 | </el-row> | ||
99 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> | ||
100 | <el-col :span="8"> | 208 | <el-col :span="8"> |
101 | <el-form-item label="竣工时间:"> | 209 | <el-form-item label="房地产交易价格:"> |
102 | <el-input disabled v-model="ruleForm.fdcq2.jgsj"></el-input> | 210 | <div class="flex"> |
211 | <el-input | ||
212 | v-model="ruleForm.fdcq2.fdcjyjg" | ||
213 | style="width: 500%" | ||
214 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
215 | <el-select v-model="ruleForm.fdcq2.jedw"> | ||
216 | <el-option | ||
217 | v-for="item in dictData['A57']" | ||
218 | :key="item.dcode" | ||
219 | :label="item.dname" | ||
220 | :value="item.dcode"> | ||
221 | </el-option> | ||
222 | </el-select> | ||
223 | </div> | ||
103 | </el-form-item> | 224 | </el-form-item> |
104 | </el-col> | 225 | </el-col> |
226 | </el-row> | ||
227 | <el-row :gutter="10" v-if="ruleForm.fdcq2"> | ||
105 | <el-col :span="8"> | 228 | <el-col :span="8"> |
106 | <el-form-item label="建筑面积:"> | 229 | <el-form-item label="建筑面积:"> |
107 | <div class="flex"> | 230 | <div class="flex"> |
108 | <el-input disabled v-model="ruleForm.qlxx.mj" | 231 | <el-input v-model="ruleForm.fdcq2.jzmj" |
109 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 232 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
110 | <el-select | 233 | <el-select |
111 | disabled | 234 | disabled |
... | @@ -124,7 +247,7 @@ | ... | @@ -124,7 +247,7 @@ |
124 | <el-col :span="8"> | 247 | <el-col :span="8"> |
125 | <el-form-item label="专有建筑面积:"> | 248 | <el-form-item label="专有建筑面积:"> |
126 | <div class="flex"> | 249 | <div class="flex"> |
127 | <el-input disabled v-model="ruleForm.fdcq2.zyjzmj" | 250 | <el-input v-model="ruleForm.fdcq2.zyjzmj" |
128 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 251 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
129 | <el-select | 252 | <el-select |
130 | disabled | 253 | disabled |
... | @@ -140,13 +263,10 @@ | ... | @@ -140,13 +263,10 @@ |
140 | </div> | 263 | </div> |
141 | </el-form-item> | 264 | </el-form-item> |
142 | </el-col> | 265 | </el-col> |
143 | </el-row> | ||
144 | <el-row :gutter="10"> | ||
145 | |||
146 | <el-col :span="8"> | 266 | <el-col :span="8"> |
147 | <el-form-item label="分摊建筑面积:"> | 267 | <el-form-item label="分摊建筑面积:"> |
148 | <div class="flex"> | 268 | <div class="flex"> |
149 | <el-input disabled v-model="ruleForm.fdcq2.ftjzmj" | 269 | <el-input v-model="ruleForm.fdcq2.ftjzmj" |
150 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 270 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
151 | <el-select | 271 | <el-select |
152 | disabled | 272 | disabled |
... | @@ -163,6 +283,9 @@ | ... | @@ -163,6 +283,9 @@ |
163 | </el-form-item> | 283 | </el-form-item> |
164 | </el-col> | 284 | </el-col> |
165 | </el-row> | 285 | </el-row> |
286 | <el-row :gutter="10"> | ||
287 | |||
288 | </el-row> | ||
166 | <div class="slxx_title title-block"> | 289 | <div class="slxx_title title-block"> |
167 | 土地用途 | 290 | 土地用途 |
168 | <div class="triangle"></div> | 291 | <div class="triangle"></div> |
... | @@ -233,7 +356,7 @@ | ... | @@ -233,7 +356,7 @@ |
233 | <el-row :gutter="10"> | 356 | <el-row :gutter="10"> |
234 | <el-col> | 357 | <el-col> |
235 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 358 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
236 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 359 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
237 | v-model="ruleForm.fdcq2.djyy"> | 360 | v-model="ruleForm.fdcq2.djyy"> |
238 | </el-input> | 361 | </el-input> |
239 | </el-form-item> | 362 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:12:36 | 4 | * @LastEditTime: 2023-08-16 09:06:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -239,7 +239,7 @@ | ... | @@ -239,7 +239,7 @@ |
239 | <el-row :gutter="10"> | 239 | <el-row :gutter="10"> |
240 | <el-col> | 240 | <el-col> |
241 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> | 241 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> |
242 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 242 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
243 | v-model="ruleForm.fdcq2.djyy"> | 243 | v-model="ruleForm.fdcq2.djyy"> |
244 | </el-input> | 244 | </el-input> |
245 | </el-form-item> | 245 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-30 17:09:35 | 4 | * @LastEditTime: 2023-08-16 08:53:48 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" | 7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" |
... | @@ -50,7 +50,14 @@ | ... | @@ -50,7 +50,14 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-else> {{ row[item.prop] }}</span> | 53 | <span v-if="item.prop != 'djyy'"> |
54 | {{ row[item.prop] }} | ||
55 | </span> | ||
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
57 | <span class="ellipsis-line"> | ||
58 | {{ row[item.prop] }} | ||
59 | </span> | ||
60 | </el-tooltip> | ||
54 | </td> | 61 | </td> |
55 | </tr> | 62 | </tr> |
56 | </table> | 63 | </table> | ... | ... |
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | </div> | 19 | </div> |
20 | <el-row :gutter="10" v-if="ruleForm.slsq"> | 20 | <el-row :gutter="10" v-if="ruleForm.slsq"> |
21 | <el-col :span="8"> | 21 | <el-col :span="8"> |
22 | <el-form-item label="业务号111:"> | 22 | <el-form-item label="业务号:"> |
23 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> | 23 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
... | @@ -153,8 +153,7 @@ | ... | @@ -153,8 +153,7 @@ |
153 | <qlrCommonTable | 153 | <qlrCommonTable |
154 | @upDateQlrxxList="upDateQlrxxList" | 154 | @upDateQlrxxList="upDateQlrxxList" |
155 | :tableData="ruleForm.qlrList" | 155 | :tableData="ruleForm.qlrList" |
156 | :gyfs="ruleForm.sldyList[0].gyfs" | 156 | :gyfs="ruleForm.sldyList[0].gyfs" /> |
157 | /> | ||
158 | <div class="slxx_title title-block"> | 157 | <div class="slxx_title title-block"> |
159 | 登记原因 | 158 | 登记原因 |
160 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
... | @@ -165,6 +164,7 @@ | ... | @@ -165,6 +164,7 @@ |
165 | <el-input | 164 | <el-input |
166 | class="textArea" | 165 | class="textArea" |
167 | type="textarea" | 166 | type="textarea" |
167 | maxlength="500" show-word-limit | ||
168 | :disabled="!ableOperation" | 168 | :disabled="!ableOperation" |
169 | v-model="ruleForm.fdcq2List[0].djyy"> | 169 | v-model="ruleForm.fdcq2List[0].djyy"> |
170 | </el-input> | 170 | </el-input> |
... | @@ -315,6 +315,25 @@ | ... | @@ -315,6 +315,25 @@ |
315 | * @author: renchao | 315 | * @author: renchao |
316 | */ | 316 | */ |
317 | onSubmit () { | 317 | onSubmit () { |
318 | if (this.ruleForm.sldyList[0].gyfs == "0") { | ||
319 | if (this.ruleForm.qlrList.length > 1) { | ||
320 | this.$message({ | ||
321 | showClose: true, | ||
322 | message: "共有方式:单独所有,权利人只能是一个人", | ||
323 | type: "error", | ||
324 | }); | ||
325 | return false; | ||
326 | } | ||
327 | } else { | ||
328 | if (this.ruleForm.qlrList.length <= 1) { | ||
329 | this.$message({ | ||
330 | showClose: true, | ||
331 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
332 | type: "error", | ||
333 | }); | ||
334 | return false; | ||
335 | } | ||
336 | } | ||
318 | saveBatchData(this.ruleForm).then((res) => { | 337 | saveBatchData(this.ruleForm).then((res) => { |
319 | if (res.code === 200) { | 338 | if (res.code === 200) { |
320 | this.$message({ | 339 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:18:03 | 4 | * @LastEditTime: 2023-08-16 09:06:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
171 | <el-row :gutter="10"> | 171 | <el-row :gutter="10"> |
172 | <el-col> | 172 | <el-col> |
173 | <el-form-item label="登记原因:" prop="djyy"> | 173 | <el-form-item label="登记原因:" prop="djyy"> |
174 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" v-model="ruleForm.djyy"> | 174 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" v-model="ruleForm.djyy"> |
175 | </el-input> | 175 | </el-input> |
176 | </el-form-item> | 176 | </el-form-item> |
177 | </el-col> | 177 | </el-col> | ... | ... |
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | <el-row :gutter="10"> | 189 | <el-row :gutter="10"> |
190 | <el-col> | 190 | <el-col> |
191 | <el-form-item label="登记原因:" prop="djyy"> | 191 | <el-form-item label="登记原因:" prop="djyy"> |
192 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
193 | v-model="ruleForm.jsydsyq.djyy"> | 193 | v-model="ruleForm.jsydsyq.djyy"> |
194 | </el-input> | 194 | </el-input> |
195 | </el-form-item> | 195 | </el-form-item> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-14 12:54:53 | 5 | * @LastEditTime: 2023-08-16 09:06:23 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -198,6 +198,7 @@ | ... | @@ -198,6 +198,7 @@ |
198 | <el-input | 198 | <el-input |
199 | class="textArea" | 199 | class="textArea" |
200 | type="textarea" | 200 | type="textarea" |
201 | maxlength="500" show-word-limit | ||
201 | :disabled="!ableOperation" | 202 | :disabled="!ableOperation" |
202 | v-model="ruleForm.jsydsyq.djyy"> | 203 | v-model="ruleForm.jsydsyq.djyy"> |
203 | </el-input> | 204 | </el-input> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-14 12:49:48 | 4 | * @LastEditTime: 2023-08-16 09:06:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -227,6 +227,7 @@ | ... | @@ -227,6 +227,7 @@ |
227 | <el-input | 227 | <el-input |
228 | class="textArea" | 228 | class="textArea" |
229 | type="textarea" | 229 | type="textarea" |
230 | maxlength="500" show-word-limit | ||
230 | :disabled="!ableOperation" | 231 | :disabled="!ableOperation" |
231 | v-model="ruleForm.lq.djyy"> | 232 | v-model="ruleForm.lq.djyy"> |
232 | </el-input> | 233 | </el-input> |
... | @@ -339,15 +340,15 @@ | ... | @@ -339,15 +340,15 @@ |
339 | * @author: renchao | 340 | * @author: renchao |
340 | */ | 341 | */ |
341 | onSubmit () { | 342 | onSubmit () { |
342 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | 343 | // let arr = this.ruleForm.tdytqxList || [] .filter(item => !item.yt) |
343 | if (arr.length > 0) { | 344 | // if (arr.length > 0) { |
344 | this.$message({ | 345 | // this.$message({ |
345 | showClose: true, | 346 | // showClose: true, |
346 | message: "土地用途不能为空", | 347 | // message: "土地用途不能为空", |
347 | type: "error", | 348 | // type: "error", |
348 | }); | 349 | // }); |
349 | return false; | 350 | // return false; |
350 | } | 351 | // } |
351 | saveData(this.ruleForm).then((res) => { | 352 | saveData(this.ruleForm).then((res) => { |
352 | if (res.code === 200) { | 353 | if (res.code === 200) { |
353 | this.$message({ | 354 | this.$message({ | ... | ... |
... | @@ -225,7 +225,7 @@ | ... | @@ -225,7 +225,7 @@ |
225 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
226 | <el-col> | 226 | <el-col> |
227 | <el-form-item label="登记原因:" prop="djyy"> | 227 | <el-form-item label="登记原因:" prop="djyy"> |
228 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
229 | v-model="ruleForm.nydsyq.djyy"> | 229 | v-model="ruleForm.nydsyq.djyy"> |
230 | </el-input> | 230 | </el-input> |
231 | </el-form-item> | 231 | </el-form-item> | ... | ... |
... | @@ -230,7 +230,7 @@ | ... | @@ -230,7 +230,7 @@ |
230 | <el-row :gutter="10"> | 230 | <el-row :gutter="10"> |
231 | <el-col> | 231 | <el-col> |
232 | <el-form-item label="登记原因:" prop="djyy"> | 232 | <el-form-item label="登记原因:" prop="djyy"> |
233 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 233 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
234 | v-model="ruleForm.nydsyq.djyy"> | 234 | v-model="ruleForm.nydsyq.djyy"> |
235 | </el-input> | 235 | </el-input> |
236 | </el-form-item> | 236 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:10:18 | 4 | * @LastEditTime: 2023-08-16 09:06:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -321,6 +321,7 @@ | ... | @@ -321,6 +321,7 @@ |
321 | <el-form-item label="登记原因:" prop="djyy"> | 321 | <el-form-item label="登记原因:" prop="djyy"> |
322 | <el-input | 322 | <el-input |
323 | class="textArea" | 323 | class="textArea" |
324 | maxlength="500" show-word-limit | ||
324 | type="textarea" | 325 | type="textarea" |
325 | :disabled="!ableOperation" | 326 | :disabled="!ableOperation" |
326 | v-model="ruleForm.tdsyq.djyy"> | 327 | v-model="ruleForm.tdsyq.djyy"> | ... | ... |
... | @@ -196,7 +196,7 @@ | ... | @@ -196,7 +196,7 @@ |
196 | <el-row :gutter="10"> | 196 | <el-row :gutter="10"> |
197 | <el-col> | 197 | <el-col> |
198 | <el-form-item label="登记原因:" prop="djyy"> | 198 | <el-form-item label="登记原因:" prop="djyy"> |
199 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 199 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
200 | v-model="ruleForm.ygdj.djyy"> | 200 | v-model="ruleForm.ygdj.djyy"> |
201 | </el-input> | 201 | </el-input> |
202 | </el-form-item> | 202 | </el-form-item> | ... | ... |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | <el-row :gutter="10"> | 164 | <el-row :gutter="10"> |
165 | <el-col> | 165 | <el-col> |
166 | <el-form-item label="登记原因:" prop="djyy"> | 166 | <el-form-item label="登记原因:" prop="djyy"> |
167 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
168 | v-model="ruleForm.ygdj.djyy"> | 168 | v-model="ruleForm.ygdj.djyy"> |
169 | </el-input> | 169 | </el-input> |
170 | </el-form-item> | 170 | </el-form-item> | ... | ... |
... | @@ -225,7 +225,7 @@ | ... | @@ -225,7 +225,7 @@ |
225 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
226 | <el-col> | 226 | <el-col> |
227 | <el-form-item label="登记原因:" prop="djyy"> | 227 | <el-form-item label="登记原因:" prop="djyy"> |
228 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
229 | v-model="ruleForm.ygdj.djyy"> | 229 | v-model="ruleForm.ygdj.djyy"> |
230 | </el-input> | 230 | </el-input> |
231 | </el-form-item> | 231 | </el-form-item> | ... | ... |
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | </el-input> | 189 | </el-input> |
190 | </el-form-item> | 190 | </el-form-item> |
191 | <el-form-item v-else label="登记原因:" prop="djyy"> | 191 | <el-form-item v-else label="登记原因:" prop="djyy"> |
192 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
193 | v-model="ruleForm.diyaqList[0].djyy"> | 193 | v-model="ruleForm.diyaqList[0].djyy"> |
194 | </el-input> | 194 | </el-input> |
195 | </el-form-item> | 195 | </el-form-item> | ... | ... |
... | @@ -243,7 +243,7 @@ | ... | @@ -243,7 +243,7 @@ |
243 | </el-input> | 243 | </el-input> |
244 | </el-form-item> | 244 | </el-form-item> |
245 | <el-form-item v-else label="登记原因:" prop="djyy"> | 245 | <el-form-item v-else label="登记原因:" prop="djyy"> |
246 | <el-input class="textArea" type="textarea" :disabled="!ableOperation " | 246 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation " |
247 | v-model="ruleForm.diyaq.djyy"> | 247 | v-model="ruleForm.diyaq.djyy"> |
248 | </el-input> | 248 | </el-input> |
249 | </el-form-item> | 249 | </el-form-item> | ... | ... |
... | @@ -110,10 +110,8 @@ | ... | @@ -110,10 +110,8 @@ |
110 | } | 110 | } |
111 | this.loading = true | 111 | this.loading = true |
112 | startBusinessFlow({ | 112 | startBusinessFlow({ |
113 | bsmSqyw: this.bsmSqyw, | 113 | bsmSqyw: this.sqywInfo.bsmSqyw, |
114 | bdcdysz: this.bdcdysz, | 114 | bdcdysz: this.bdcdysz, |
115 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
116 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
117 | }).then((res) => { | 115 | }).then((res) => { |
118 | this.loading = false | 116 | this.loading = false |
119 | if (res.code == 200) { | 117 | if (res.code == 200) { | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-15 14:01:37 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 森林林木 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <el-form :model="queryForm" ref="queryForm"> | ||
11 | <el-row :gutter="20"> | ||
12 | <el-col :span="6"> | ||
13 | <el-form-item label="宗地代码"> | ||
14 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> | ||
15 | </el-input> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="不动产单元号"> | ||
20 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="坐落"> | ||
26 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6" class="btnColRight"> | ||
31 | <el-form-item> | ||
32 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
33 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | </el-row> | ||
37 | </el-form> | ||
38 | </div> | ||
39 | <!-- 表格 --> | ||
40 | <div class="from-clues-content loadingtext"> | ||
41 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | ||
42 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select" | ||
43 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
44 | :data="tableData.data"> | ||
45 | </lb-table> | ||
46 | </div> | ||
47 | <div class="submit_button"> | ||
48 | <el-button @click="$popupCacel">取消</el-button> | ||
49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
50 | </div> | ||
51 | </div> | ||
52 | </template> | ||
53 | <script> | ||
54 | //首次登记 | ||
55 | import jump from "./mixin/jump"; | ||
56 | import store from '@/store/index.js' | ||
57 | import table from "@/utils/mixin/table"; | ||
58 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
59 | import { selectZdjbxx } from "@/api/ywsq.js"; | ||
60 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
61 | import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; | ||
62 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
63 | export default { | ||
64 | mixins: [table, jump], | ||
65 | props: { | ||
66 | isJump: { type: Boolean, default: false }, | ||
67 | sqywInfo: { type: Object, default: () => { } }, | ||
68 | }, | ||
69 | data () { | ||
70 | return { | ||
71 | loading: false, | ||
72 | queryForm: defaultParameters.defaultParameters(), | ||
73 | tableData: { | ||
74 | total: 0, | ||
75 | columns: datas.columns(), | ||
76 | data: [], | ||
77 | }, | ||
78 | bdcdysz: [], | ||
79 | }; | ||
80 | }, | ||
81 | mounted () { | ||
82 | sendThis(this); | ||
83 | }, | ||
84 | methods: { | ||
85 | /** | ||
86 | * @description: queryClick | ||
87 | * @author: renchao | ||
88 | */ | ||
89 | queryClick () { | ||
90 | this.$startLoading(); | ||
91 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
92 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
93 | this.$endLoading(); | ||
94 | if (res.code === 200) { | ||
95 | let { total, records } = res.result; | ||
96 | this.tableData.total = total; | ||
97 | this.tableData.data = records; | ||
98 | } | ||
99 | }); | ||
100 | }, | ||
101 | |||
102 | /** | ||
103 | * @description: submitForm | ||
104 | * @author: renchao | ||
105 | */ | ||
106 | submitForm () { | ||
107 | if (this.bdcdysz.length == 0) { | ||
108 | this.$alert("请至少选择一条数据"); | ||
109 | return; | ||
110 | } | ||
111 | this.loading = true | ||
112 | startBusinessFlow({ | ||
113 | bsmSqyw: this.bsmSqyw, | ||
114 | bdcdysz: this.bdcdysz, | ||
115 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
116 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
117 | }).then((res) => { | ||
118 | this.loading = false | ||
119 | if (res.code == 200) { | ||
120 | this.$message({ | ||
121 | showClose: true, | ||
122 | message: "发起申请成功", | ||
123 | type: "success", | ||
124 | }); | ||
125 | if (!this.isJump) { | ||
126 | this.jump(res.result, this.djywbm); | ||
127 | } else { | ||
128 | store.dispatch('user/refreshPage', true); | ||
129 | } | ||
130 | this.$popupCacel() | ||
131 | } else { | ||
132 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message, result: res.result }, '36%', true) | ||
133 | } | ||
134 | }).catch(() => { | ||
135 | this.loading = false | ||
136 | }) | ||
137 | }, | ||
138 | /** | ||
139 | * @description: handleSelectionChange | ||
140 | * @param {*} val | ||
141 | * @author: renchao | ||
142 | */ | ||
143 | handleSelectionChange (val) { | ||
144 | val.forEach((item, index) => { | ||
145 | item.bsm = item.zdbsm; | ||
146 | }); | ||
147 | if (this.sqywInfo.sqywdylx == "1") { | ||
148 | if (val.length > 1) { | ||
149 | this.bdcdysz = [...val[val.length - 1]]; | ||
150 | } else { | ||
151 | this.bdcdysz = val; | ||
152 | } | ||
153 | } else { | ||
154 | this.bdcdysz = val; | ||
155 | } | ||
156 | }, | ||
157 | /** | ||
158 | * @description: select | ||
159 | * @param {*} selection | ||
160 | * @param {*} row | ||
161 | * @author: renchao | ||
162 | */ | ||
163 | select (selection, row) { | ||
164 | if (this.sqywInfo.sqywdylx == "1") { | ||
165 | // 清除 所有勾选项 | ||
166 | this.$refs.table.clearSelection() | ||
167 | // 当表格数据都没有被勾选的时候 就返回 | ||
168 | // 主要用于将当前勾选的表格状态清除 | ||
169 | if (selection.length == 0) return | ||
170 | this.$refs.table.toggleRowSelection(row, true); | ||
171 | } | ||
172 | }, | ||
173 | |||
174 | /** | ||
175 | * @description: handleRowClick | ||
176 | * @param {*} row | ||
177 | * @author: renchao | ||
178 | */ | ||
179 | handleRowClick (row) { | ||
180 | // 如果状态是1,那就是单选 | ||
181 | if (this.sqywInfo.sqywdylx == "1") { | ||
182 | const bdcdysz = this.bdcdysz | ||
183 | this.$refs.table.clearSelection() | ||
184 | if (bdcdysz.length == 1) { | ||
185 | bdcdysz.forEach(item => { | ||
186 | // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中 | ||
187 | if (item == row) { | ||
188 | this.$refs.table.toggleRowSelection(row, false); | ||
189 | } | ||
190 | // 不然就让当前的一行勾选 | ||
191 | else { | ||
192 | this.$refs.table.toggleRowSelection(row, true); | ||
193 | } | ||
194 | }) | ||
195 | } | ||
196 | else { | ||
197 | this.$refs.table.toggleRowSelection(row, true); | ||
198 | } | ||
199 | } else { | ||
200 | this.$refs.table.toggleRowSelection(row); | ||
201 | } | ||
202 | }, | ||
203 | /** | ||
204 | * @description: openBook | ||
205 | * @param {*} row | ||
206 | * @author: renchao | ||
207 | */ | ||
208 | openBook (row) { | ||
209 | var param = { | ||
210 | bdcdyid: row.bdcdyid, | ||
211 | qllx: row.qllx, | ||
212 | bdcdyh: row.bdcdyh, | ||
213 | bsmQlxx: row.bsmQlxx, | ||
214 | }; | ||
215 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
216 | formData: param | ||
217 | }) | ||
218 | }, | ||
219 | |||
220 | }, | ||
221 | }; | ||
222 | </script> | ||
223 | <style scoped lang="scss"> | ||
224 | @import "~@/styles/mixin.scss"; | ||
225 | @import "~@/styles/public.scss"; | ||
226 | </style> | ||
227 |
... | @@ -108,6 +108,9 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -108,6 +108,9 @@ export function queueDjywmc (djywbm, djqxbm) { |
108 | case "A11400"://林地使用权变更 | 108 | case "A11400"://林地使用权变更 |
109 | vm = "selectLqqt"; | 109 | vm = "selectLqqt"; |
110 | break; | 110 | break; |
111 | case "A12100"://森林林木首次 | ||
112 | vm = "selectSllm"; | ||
113 | break; | ||
111 | default: | 114 | default: |
112 | vm = "selecBdcql"; | 115 | vm = "selecBdcql"; |
113 | break; | 116 | break; | ... | ... |
-
Please register or sign in to post a comment