Merge branch 'dev'
Showing
6 changed files
with
160 additions
and
56 deletions
... | @@ -54,7 +54,9 @@ service.interceptors.response.use( | ... | @@ -54,7 +54,9 @@ service.interceptors.response.use( |
54 | */ | 54 | */ |
55 | if (response.status == 200) { | 55 | if (response.status == 200) { |
56 | return response.data; | 56 | return response.data; |
57 | } else { | 57 | }else if (response.status == 2002){ |
58 | Message.error(response.message); | ||
59 | }else { | ||
58 | handleErrorData(response.data); | 60 | handleErrorData(response.data); |
59 | } | 61 | } |
60 | return response; | 62 | return response; | ... | ... |
... | @@ -24,6 +24,116 @@ class data extends filter { | ... | @@ -24,6 +24,116 @@ class data extends filter { |
24 | label: "历史", | 24 | label: "历史", |
25 | }, | 25 | }, |
26 | ], | 26 | ], |
27 | TDSYQ: [ | ||
28 | { | ||
29 | prop: "qszt", | ||
30 | label: "权属状态", | ||
31 | }, | ||
32 | { | ||
33 | prop: "sjlx", | ||
34 | label: "数据类型", | ||
35 | }, | ||
36 | { | ||
37 | prop: "qllxmc", | ||
38 | label: "权利类型", | ||
39 | }, | ||
40 | { | ||
41 | prop: "djlxmc", | ||
42 | label: "登记类型", | ||
43 | }, | ||
44 | { | ||
45 | prop: "ssywh", | ||
46 | label: "上手业务号", | ||
47 | }, | ||
48 | { | ||
49 | prop: "dah", | ||
50 | label: "档案号", | ||
51 | }, | ||
52 | { | ||
53 | prop: "ywh", | ||
54 | label: "业务号", | ||
55 | }, | ||
56 | { | ||
57 | prop: "bdcdyh", | ||
58 | label: "不动产单元号", | ||
59 | }, | ||
60 | { | ||
61 | prop: "zl", | ||
62 | label: "坐落", | ||
63 | }, | ||
64 | { | ||
65 | prop: "gyqk", | ||
66 | label: "共有情况", | ||
67 | }, | ||
68 | { | ||
69 | prop: "qlrlx", | ||
70 | label: "权利人类型", | ||
71 | }, | ||
72 | { | ||
73 | prop: "qlrmc", | ||
74 | label: "权利人", | ||
75 | }, | ||
76 | { | ||
77 | prop: "qlrzjzl", | ||
78 | label: "证件种类", | ||
79 | }, | ||
80 | { | ||
81 | prop: "qlrzjhm", | ||
82 | label: "证件号", | ||
83 | }, | ||
84 | { | ||
85 | prop: "ytmc", | ||
86 | label: "土地用途", | ||
87 | }, | ||
88 | { | ||
89 | prop: "mjdw", | ||
90 | label: "面积单位", | ||
91 | }, | ||
92 | { | ||
93 | prop: "gdmj", | ||
94 | label: "耕地面积", | ||
95 | }, | ||
96 | { | ||
97 | prop: "ldmj", | ||
98 | label: "林地面积", | ||
99 | }, | ||
100 | { | ||
101 | prop: "cdmj", | ||
102 | label: "草地面积", | ||
103 | }, | ||
104 | { | ||
105 | prop: "qtnydmj", | ||
106 | label: "其他农用地面积", | ||
107 | }, | ||
108 | { | ||
109 | prop: "jsydmj", | ||
110 | label: "建设用地面积", | ||
111 | }, | ||
112 | { | ||
113 | prop: "wlydmj", | ||
114 | label: "未利用地面积", | ||
115 | }, | ||
116 | { | ||
117 | prop: "djyy", | ||
118 | label: "登记原因", | ||
119 | }, | ||
120 | { | ||
121 | prop: "bdcqzh", | ||
122 | label: "不动产权证号", | ||
123 | }, | ||
124 | { | ||
125 | prop: "djsj", | ||
126 | label: "登记时间", | ||
127 | }, | ||
128 | { | ||
129 | prop: "dbr", | ||
130 | label: "登簿人", | ||
131 | }, | ||
132 | { | ||
133 | prop: "fj", | ||
134 | label: "附记", | ||
135 | }, | ||
136 | ], | ||
27 | JSYDSYQ: [ | 137 | JSYDSYQ: [ |
28 | { | 138 | { |
29 | prop: "qszt", | 139 | prop: "qszt", | ... | ... |
... | @@ -78,7 +78,7 @@ | ... | @@ -78,7 +78,7 @@ |
78 | //空列值个数 | 78 | //空列值个数 |
79 | emptycolNum: datas.columns().emptycolNum, | 79 | emptycolNum: datas.columns().emptycolNum, |
80 | //列名称对象 | 80 | //列名称对象 |
81 | columns: datas.columns().JSYDSYQ, | 81 | columns: datas.columns().TDSYQ, |
82 | }; | 82 | }; |
83 | }, | 83 | }, |
84 | created () { | 84 | created () { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-01 15:19:13 | 4 | * @LastEditTime: 2023-08-15 09:43:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -13,9 +13,7 @@ | ... | @@ -13,9 +13,7 @@ |
13 | type="primary" | 13 | type="primary" |
14 | native-type="submit" | 14 | native-type="submit" |
15 | @click="viewDetail" | 15 | @click="viewDetail" |
16 | style="width: 100%; margin-top: 10px" | 16 | style="width: 100%; margin-top: 10px">申请材料目录</el-button> |
17 | >查看明细</el-button | ||
18 | > | ||
19 | <div class="item"> | 17 | <div class="item"> |
20 | 材料目录({{ tableData.length }}) | 18 | 材料目录({{ tableData.length }}) |
21 | <div style="margin-top: 10px"> | 19 | <div style="margin-top: 10px"> |
... | @@ -26,21 +24,17 @@ | ... | @@ -26,21 +24,17 @@ |
26 | color: black; | 24 | color: black; |
27 | font-size: 14px; | 25 | font-size: 14px; |
28 | " | 26 | " |
29 | v-if="tableData.length == 0" | 27 | v-if="tableData.length == 0"> |
30 | > | ||
31 | 暂无数据 | 28 | 暂无数据 |
32 | </div> | 29 | </div> |
33 | <div | 30 | <div |
34 | v-for="(item, index) in tableData" | 31 | v-for="(item, index) in tableData" |
35 | :key="item.bsmSj" | 32 | :key="item.bsmSj" |
36 | :class="['child', treeCheckId == item.bsmSj ? 'checked' : '']" | 33 | :class="['child', treeCheckId == item.bsmSj ? 'checked' : '']" |
37 | @click="treeClick(item, index)" | 34 | @click="treeClick(item, index)"> |
38 | > | ||
39 | <span v-if="item.isrequired == 1" class="required">必选</span> | 35 | <span v-if="item.isrequired == 1" class="required">必选</span> |
40 | {{ item.sjmc }} | 36 | {{ item.sjmc }} |
41 | <span class="cl_number" | 37 | <span class="cl_number">({{ item.children ? item.children.length : 0 }})</span> |
42 | >({{ item.children ? item.children.length : 0 }})</span | ||
43 | > | ||
44 | </div> | 38 | </div> |
45 | </div> | 39 | </div> |
46 | </div> | 40 | </div> |
... | @@ -49,9 +43,7 @@ | ... | @@ -49,9 +43,7 @@ |
49 | native-type="submit" | 43 | native-type="submit" |
50 | style="width: 100%" | 44 | style="width: 100%" |
51 | @click="handleAdd()" | 45 | @click="handleAdd()" |
52 | v-if="ableOperation" | 46 | v-if="ableOperation">新增</el-button> |
53 | >新增</el-button | ||
54 | > | ||
55 | </div> | 47 | </div> |
56 | <image-preview | 48 | <image-preview |
57 | ref="imageRef" | 49 | ref="imageRef" |
... | @@ -60,22 +52,21 @@ | ... | @@ -60,22 +52,21 @@ |
60 | :ableOperation="ableOperation" | 52 | :ableOperation="ableOperation" |
61 | @updateList="updateList" | 53 | @updateList="updateList" |
62 | @nextPriview="nextPriview" | 54 | @nextPriview="nextPriview" |
63 | @prevPriview="prevPriview" | 55 | @prevPriview="prevPriview" /> |
64 | /> | ||
65 | </div> | 56 | </div> |
66 | </div> | 57 | </div> |
67 | <clxxAddDialog v-model="isDialog" /> | 58 | <clxxAddDialog v-model="isDialog" /> |
68 | </div> | 59 | </div> |
69 | </template> | 60 | </template> |
70 | <script> | 61 | <script> |
71 | import { mapGetters } from "vuex"; | 62 | import { mapGetters } from "vuex"; |
72 | import clxxAddDialog from "../dialog/clxxAddDialog.vue"; | 63 | import clxxAddDialog from "../dialog/clxxAddDialog.vue"; |
73 | import clxxDetailDialog from "../dialog/clxxDetailDialog.vue"; | 64 | import clxxDetailDialog from "../dialog/clxxDetailDialog.vue"; |
74 | import imagePreview from "@/views/components/imagePreview.vue"; | 65 | import imagePreview from "@/views/components/imagePreview.vue"; |
75 | import { InitClml, saveClml } from "@/api/clxx.js"; | 66 | import { InitClml, saveClml } from "@/api/clxx.js"; |
76 | export default { | 67 | export default { |
77 | components: { clxxAddDialog, imagePreview, clxxDetailDialog }, | 68 | components: { clxxAddDialog, imagePreview, clxxDetailDialog }, |
78 | data() { | 69 | data () { |
79 | return { | 70 | return { |
80 | //表单是否可操作 | 71 | //表单是否可操作 |
81 | ableOperation: true, | 72 | ableOperation: true, |
... | @@ -99,7 +90,7 @@ export default { | ... | @@ -99,7 +90,7 @@ export default { |
99 | computed: { | 90 | computed: { |
100 | ...mapGetters(["dictData"]), | 91 | ...mapGetters(["dictData"]), |
101 | }, | 92 | }, |
102 | created() { | 93 | created () { |
103 | this.clmlInitList(1); | 94 | this.clmlInitList(1); |
104 | }, | 95 | }, |
105 | computed: { | 96 | computed: { |
... | @@ -107,12 +98,12 @@ export default { | ... | @@ -107,12 +98,12 @@ export default { |
107 | }, | 98 | }, |
108 | watch: { | 99 | watch: { |
109 | workFresh: { | 100 | workFresh: { |
110 | handler(newVal, oldVal) { | 101 | handler (newVal, oldVal) { |
111 | if (newVal) this.clmlInitList(1); | 102 | if (newVal) this.clmlInitList(1); |
112 | }, | 103 | }, |
113 | }, | 104 | }, |
114 | }, | 105 | }, |
115 | mounted() { | 106 | mounted () { |
116 | this.ableOperation = this.$parent.ableOperation; | 107 | this.ableOperation = this.$parent.ableOperation; |
117 | }, | 108 | }, |
118 | methods: { | 109 | methods: { |
... | @@ -121,7 +112,7 @@ export default { | ... | @@ -121,7 +112,7 @@ export default { |
121 | * @description: 自动预览 | 112 | * @description: 自动预览 |
122 | * @author: renchao | 113 | * @author: renchao |
123 | */ | 114 | */ |
124 | nextPriview() { | 115 | nextPriview () { |
125 | if (this.treeCheckIndex < this.tableData.length) { | 116 | if (this.treeCheckIndex < this.tableData.length) { |
126 | this.treeCheckIndex++; | 117 | this.treeCheckIndex++; |
127 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj; | 118 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj; |
... | @@ -134,7 +125,7 @@ export default { | ... | @@ -134,7 +125,7 @@ export default { |
134 | * @description: prevPriview | 125 | * @description: prevPriview |
135 | * @author: renchao | 126 | * @author: renchao |
136 | */ | 127 | */ |
137 | prevPriview() { | 128 | prevPriview () { |
138 | if (this.treeCheckIndex >= 1) { | 129 | if (this.treeCheckIndex >= 1) { |
139 | this.treeCheckIndex--; | 130 | this.treeCheckIndex--; |
140 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj; | 131 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj; |
... | @@ -149,7 +140,7 @@ export default { | ... | @@ -149,7 +140,7 @@ export default { |
149 | * @param {*} type | 140 | * @param {*} type |
150 | * @author: renchao | 141 | * @author: renchao |
151 | */ | 142 | */ |
152 | clmlInitList(type) { | 143 | clmlInitList (type) { |
153 | //type 1:列表初始化 2:新增材料 | 144 | //type 1:列表初始化 2:新增材料 |
154 | return new Promise((resolve) => { | 145 | return new Promise((resolve) => { |
155 | this.unitData = this.$parent.unitData; | 146 | this.unitData = this.$parent.unitData; |
... | @@ -189,7 +180,7 @@ export default { | ... | @@ -189,7 +180,7 @@ export default { |
189 | * @param {*} item | 180 | * @param {*} item |
190 | * @author: renchao | 181 | * @author: renchao |
191 | */ | 182 | */ |
192 | setChecked(item) { | 183 | setChecked (item) { |
193 | this.treeCheckId = item.bsmSj; | 184 | this.treeCheckId = item.bsmSj; |
194 | this.title = item.sjmc; | 185 | this.title = item.sjmc; |
195 | this.titleYs = 1; | 186 | this.titleYs = 1; |
... | @@ -202,7 +193,7 @@ export default { | ... | @@ -202,7 +193,7 @@ export default { |
202 | * @param {*} val | 193 | * @param {*} val |
203 | * @author: renchao | 194 | * @author: renchao |
204 | */ | 195 | */ |
205 | updateList(val) { | 196 | updateList (val) { |
206 | let that = this; | 197 | let that = this; |
207 | if (val.children.length != 0) { | 198 | if (val.children.length != 0) { |
208 | //删除最后一张图片时 val=null | 199 | //删除最后一张图片时 val=null |
... | @@ -230,7 +221,7 @@ export default { | ... | @@ -230,7 +221,7 @@ export default { |
230 | * @description: 添加材料目录 | 221 | * @description: 添加材料目录 |
231 | * @author: renchao | 222 | * @author: renchao |
232 | */ | 223 | */ |
233 | handleAdd() { | 224 | handleAdd () { |
234 | this.isDialog = true; | 225 | this.isDialog = true; |
235 | }, | 226 | }, |
236 | // 新增弹窗保存 | 227 | // 新增弹窗保存 |
... | @@ -239,7 +230,7 @@ export default { | ... | @@ -239,7 +230,7 @@ export default { |
239 | * @param {*} data | 230 | * @param {*} data |
240 | * @author: renchao | 231 | * @author: renchao |
241 | */ | 232 | */ |
242 | addSave(data) { | 233 | addSave (data) { |
243 | let obj = { | 234 | let obj = { |
244 | bsmSlsq: this.$parent.bsmSlsq, | 235 | bsmSlsq: this.$parent.bsmSlsq, |
245 | isrequired: "1", | 236 | isrequired: "1", |
... | @@ -251,7 +242,7 @@ export default { | ... | @@ -251,7 +242,7 @@ export default { |
251 | sfxjcl: "1", // 是否必选 | 242 | sfxjcl: "1", // 是否必选 |
252 | }; | 243 | }; |
253 | if (this.$route.query.sqywbm == "DJBBL") { | 244 | if (this.$route.query.sqywbm == "DJBBL") { |
254 | obj.bsmSldy=this.$parent.bsmRepair | 245 | obj.bsmSldy = this.$parent.bsmRepair |
255 | } | 246 | } |
256 | saveClml(obj).then(async (res) => { | 247 | saveClml(obj).then(async (res) => { |
257 | if (res.code == 200) { | 248 | if (res.code == 200) { |
... | @@ -271,7 +262,7 @@ export default { | ... | @@ -271,7 +262,7 @@ export default { |
271 | * @param {*} index | 262 | * @param {*} index |
272 | * @author: renchao | 263 | * @author: renchao |
273 | */ | 264 | */ |
274 | treeClick(item, index) { | 265 | treeClick (item, index) { |
275 | this.previewImg.index = 0; | 266 | this.previewImg.index = 0; |
276 | this.treeCheckId = item?.bsmSj; | 267 | this.treeCheckId = item?.bsmSj; |
277 | this.treeCheckIndex = index; | 268 | this.treeCheckIndex = index; |
... | @@ -285,7 +276,7 @@ export default { | ... | @@ -285,7 +276,7 @@ export default { |
285 | * @param {*} index | 276 | * @param {*} index |
286 | * @author: renchao | 277 | * @author: renchao |
287 | */ | 278 | */ |
288 | imgClick(item, index) { | 279 | imgClick (item, index) { |
289 | this.showImg = item; | 280 | this.showImg = item; |
290 | this.titleYs = index + 1; | 281 | this.titleYs = index + 1; |
291 | }, | 282 | }, |
... | @@ -296,7 +287,7 @@ export default { | ... | @@ -296,7 +287,7 @@ export default { |
296 | * @param {*} code | 287 | * @param {*} code |
297 | * @author: renchao | 288 | * @author: renchao |
298 | */ | 289 | */ |
299 | dicStatus(val, code) { | 290 | dicStatus (val, code) { |
300 | let data = this.$store.getters.dictData[code], | 291 | let data = this.$store.getters.dictData[code], |
301 | name = "暂无"; | 292 | name = "暂无"; |
302 | if (data) { | 293 | if (data) { |
... | @@ -309,49 +300,49 @@ export default { | ... | @@ -309,49 +300,49 @@ export default { |
309 | } | 300 | } |
310 | }, | 301 | }, |
311 | //查看明细 | 302 | //查看明细 |
312 | viewDetail() { | 303 | viewDetail () { |
313 | this.$store.dispatch("user/reWorkFresh", false); | 304 | this.$store.dispatch("user/reWorkFresh", false); |
314 | this.$popupDialog( | 305 | this.$popupDialog( |
315 | "查看明细", | 306 | "申请材料目录", |
316 | "workflow/components/dialog/clxxDetailDialog", | 307 | "workflow/components/dialog/clxxDetailDialog", |
317 | { | 308 | { |
318 | data: this.tableData, | 309 | data: this.tableData, |
319 | unitData: this.$parent.unitData, | 310 | unitData: this.$parent.unitData, |
320 | ableOperation: this.$parent.ableOperation, | 311 | ableOperation: this.$parent.ableOperation, |
321 | bsmRepair:this.$parent.bsmRepair | 312 | bsmRepair: this.$parent.bsmRepair |
322 | }, | 313 | }, |
323 | "60%", | 314 | "60%", |
324 | true | 315 | true |
325 | ); | 316 | ); |
326 | }, | 317 | }, |
327 | //设置tableData | 318 | //设置tableData |
328 | setTableData(tableData) { | 319 | setTableData (tableData) { |
329 | this.$nextTick((res) => { | 320 | this.$nextTick((res) => { |
330 | this.tableData = tableData; | 321 | this.tableData = tableData; |
331 | }); | 322 | }); |
332 | }, | 323 | }, |
333 | }, | 324 | }, |
334 | }; | 325 | }; |
335 | </script> | 326 | </script> |
336 | <style scoped lang="scss"> | 327 | <style scoped lang="scss"> |
337 | @import "~@/styles/mixin.scss"; | 328 | @import "~@/styles/mixin.scss"; |
338 | 329 | ||
339 | .active { | 330 | .active { |
340 | background: $light-blue !important; | 331 | background: $light-blue !important; |
341 | color: #fff; | 332 | color: #fff; |
342 | } | 333 | } |
343 | 334 | ||
344 | .required { | 335 | .required { |
345 | font-size: 12px; | 336 | font-size: 12px; |
346 | color: $pink; | 337 | color: $pink; |
347 | float: left; | 338 | float: left; |
348 | } | 339 | } |
349 | 340 | ||
350 | .cl_number { | 341 | .cl_number { |
351 | float: right; | 342 | float: right; |
352 | } | 343 | } |
353 | 344 | ||
354 | .clxx { | 345 | .clxx { |
355 | width: 100%; | 346 | width: 100%; |
356 | display: flex; | 347 | display: flex; |
357 | padding-left: 5px; | 348 | padding-left: 5px; |
... | @@ -457,5 +448,5 @@ export default { | ... | @@ -457,5 +448,5 @@ export default { |
457 | } | 448 | } |
458 | } | 449 | } |
459 | } | 450 | } |
460 | } | 451 | } |
461 | </style> | 452 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 09:53:05 | 4 | * @LastEditTime: 2023-08-15 09:43:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clmlmx-box"> | 7 | <div class="clmlmx-box"> |
8 | <div class="title">申请材料目录</div> | ||
9 | <lb-table :column="column" :key="key" :heightNumSetting="true" :calcHeight="600" :pagination="false" :data="tableData"> | 8 | <lb-table :column="column" :key="key" :heightNumSetting="true" :calcHeight="600" :pagination="false" :data="tableData"> |
10 | </lb-table> | 9 | </lb-table> |
11 | <div class="text-center"> | 10 | <div class="text-center"> |
... | @@ -61,7 +60,7 @@ | ... | @@ -61,7 +60,7 @@ |
61 | label: "材料名称", | 60 | label: "材料名称", |
62 | render: (h, scope) => { | 61 | render: (h, scope) => { |
63 | return ( | 62 | return ( |
64 | this.formData.ableOperation ? | 63 | (this.formData.ableOperation && scope.row.isrequired != '1') ? |
65 | <el-input value={scope.row.sjmc} onInput={(val) => { scope.row.sjmc = val }}></el-input> : <span>{scope.row.sjmc}</span> | 64 | <el-input value={scope.row.sjmc} onInput={(val) => { scope.row.sjmc = val }}></el-input> : <span>{scope.row.sjmc}</span> |
66 | ) | 65 | ) |
67 | } | 66 | } | ... | ... |
... | @@ -211,6 +211,7 @@ | ... | @@ -211,6 +211,7 @@ |
211 | */ | 211 | */ |
212 | getNextNode (bsmSqyw) { | 212 | getNextNode (bsmSqyw) { |
213 | getNextNode(bsmSqyw).then(res => { | 213 | getNextNode(bsmSqyw).then(res => { |
214 | if (res.result) { | ||
214 | if (res.result.djqx) { | 215 | if (res.result.djqx) { |
215 | this.djqxList = res.result.djqx; | 216 | this.djqxList = res.result.djqx; |
216 | this.djqxList.forEach(item => { | 217 | this.djqxList.forEach(item => { |
... | @@ -223,6 +224,7 @@ | ... | @@ -223,6 +224,7 @@ |
223 | this.$set(item, 'selected', false); | 224 | this.$set(item, 'selected', false); |
224 | }); | 225 | }); |
225 | } | 226 | } |
227 | } | ||
226 | }) | 228 | }) |
227 | }, | 229 | }, |
228 | 230 | ... | ... |
-
Please register or sign in to post a comment