--no commit message
Showing
153 changed files
with
2054 additions
and
724 deletions
.npmrc
0 → 100644
1 | @union:registry=http://core.pashanhoo.com:8932/repository/npm-hosted/ | ||
... | \ 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-05-17 10:11:14 | 4 | * @LastEditTime: 2023-08-11 15:27:45 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -230,3 +230,16 @@ export function getNydsyqList (data) { | ... | @@ -230,3 +230,16 @@ export function getNydsyqList (data) { |
230 | method: 'post', | 230 | method: 'post', |
231 | }) | 231 | }) |
232 | } | 232 | } |
233 | |||
234 | /** | ||
235 | * @description: 获取林权登记簿信息 | ||
236 | * @param {*} data | ||
237 | * @author: renchao | ||
238 | */ | ||
239 | export function getLqList (data) { | ||
240 | return request({ | ||
241 | url: SERVER.SERVERAPI + '/rest/djbDetail/getLqList', | ||
242 | method: 'post', | ||
243 | data | ||
244 | }) | ||
245 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-27 10:05:25 | 4 | * @LastEditTime: 2023-08-09 14:32:38 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
... | @@ -280,3 +280,14 @@ export function startTogetherFlow (data) { | ... | @@ -280,3 +280,14 @@ export function startTogetherFlow (data) { |
280 | data | 280 | data |
281 | }) | 281 | }) |
282 | } | 282 | } |
283 | /** | ||
284 | * @description: 据不动产单元号查询宗地基本信息 | ||
285 | * @param {*} data | ||
286 | * @author: renchao | ||
287 | */ | ||
288 | export function getZdInfo (bdcdyid) { | ||
289 | return request({ | ||
290 | url: SERVER.SERVERAPI + '/rest/business/workFlow/getZdInfo?bdcdyid=' + bdcdyid, | ||
291 | method: 'post' | ||
292 | }) | ||
293 | } | ... | ... |
src/api/workflow/sllmFlow.js
0 → 100644
1 | /* | ||
2 | * @Description: 房地产权多幢接口 | ||
3 | * @Autor: ssq | ||
4 | * @LastEditTime: 2023-08-17 15:48:53 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | /** | ||
10 | * @description: 初始化内容 | ||
11 | * @param {*} data | ||
12 | * @author: 单帅旗 | ||
13 | */ | ||
14 | export function Init (data) { | ||
15 | let apiUrl = ""; | ||
16 | switch (data.get("djlx")) { | ||
17 | case "100": | ||
18 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/fristInit"; | ||
19 | break; | ||
20 | case "200": | ||
21 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/transferInit"; | ||
22 | break; | ||
23 | case "300": | ||
24 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/changeInit"; | ||
25 | break; | ||
26 | case "400": | ||
27 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/logoutInit"; | ||
28 | break; | ||
29 | case "500": | ||
30 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/riviseInit"; | ||
31 | break; | ||
32 | case "901": | ||
33 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/renewalInit"; | ||
34 | break; | ||
35 | case "902": | ||
36 | apiUrl = SERVER.SERVERAPI + "/rest/ywbl/sllm/replaceInit"; | ||
37 | break; | ||
38 | } | ||
39 | return request({ | ||
40 | url: apiUrl, | ||
41 | method: 'post', | ||
42 | data | ||
43 | }) | ||
44 | } | ||
45 | /** | ||
46 | * @description: 首次登记提交 | ||
47 | * @param {*} data | ||
48 | * @author: ssq | ||
49 | */ | ||
50 | export function saveBatchData (data) { | ||
51 | return request({ | ||
52 | url: SERVER.SERVERAPI + "/rest/ywbl/sllm/saveBatchData", | ||
53 | method: 'post', | ||
54 | data | ||
55 | }) | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * @description: 保存 | ||
60 | * @param {*} data | ||
61 | * @author: ssq | ||
62 | */ | ||
63 | export function saveData (data) { | ||
64 | return request({ | ||
65 | url: SERVER.SERVERAPI + "/rest/ywbl/sllm/saveData", | ||
66 | method: 'post', | ||
67 | data | ||
68 | }) | ||
69 | } | ||
70 |
... | @@ -254,3 +254,28 @@ export function selectRepairQlxx (data) { | ... | @@ -254,3 +254,28 @@ export function selectRepairQlxx (data) { |
254 | data | 254 | data |
255 | }) | 255 | }) |
256 | } | 256 | } |
257 | /** | ||
258 | * @description: 选择林权首次 | ||
259 | * @param {*} data | ||
260 | * @author: renchao | ||
261 | */ | ||
262 | export function selectLqQjdc (data) { | ||
263 | return request({ | ||
264 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectLqQjdc', | ||
265 | method: 'post', | ||
266 | data | ||
267 | }) | ||
268 | } | ||
269 | /** | ||
270 | * @description: 选择林权转移/变更/注销 | ||
271 | * @param {*} data | ||
272 | * @author: renchao | ||
273 | */ | ||
274 | export function selectLq (data) { | ||
275 | return request({ | ||
276 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectLq', | ||
277 | method: 'post', | ||
278 | data | ||
279 | }) | ||
280 | } | ||
281 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 16:06:21 | 4 | * @LastEditTime: 2023-08-11 16:48:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <transition name="msgbox-fade" v-if="myShow"> | 7 | <transition name="msgbox-fade" v-if="myShow"> |
... | @@ -149,7 +149,7 @@ | ... | @@ -149,7 +149,7 @@ |
149 | min-height: 200px; | 149 | min-height: 200px; |
150 | transform: translate(-50%, -50%); | 150 | transform: translate(-50%, -50%); |
151 | border-radius: 5px; | 151 | border-radius: 5px; |
152 | overflow: hidden; | 152 | // overflow: hidden; |
153 | } | 153 | } |
154 | 154 | ||
155 | .ls-mask-window b { | 155 | .ls-mask-window b { | ... | ... |
... | @@ -142,7 +142,7 @@ | ... | @@ -142,7 +142,7 @@ |
142 | min-height: 200px; | 142 | min-height: 200px; |
143 | transform: translate(-50%, -50%); | 143 | transform: translate(-50%, -50%); |
144 | border-radius: 5px; | 144 | border-radius: 5px; |
145 | overflow: hidden; | 145 | // overflow: hidden; |
146 | } | 146 | } |
147 | 147 | ||
148 | .ls-mask-window b { | 148 | .ls-mask-window b { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 16:09:44 | 4 | * @LastEditTime: 2023-08-15 10:01:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <transition name="msgbox-fade"> | 7 | <transition name="msgbox-fade"> |
... | @@ -139,7 +139,7 @@ | ... | @@ -139,7 +139,7 @@ |
139 | min-height: 200px; | 139 | min-height: 200px; |
140 | transform: translate(-50%, -50%); | 140 | transform: translate(-50%, -50%); |
141 | border-radius: 5px; | 141 | border-radius: 5px; |
142 | overflow: hidden; | 142 | // overflow: hidden; |
143 | } | 143 | } |
144 | 144 | ||
145 | .ls-mask-window b { | 145 | .ls-mask-window b { |
... | @@ -148,8 +148,8 @@ | ... | @@ -148,8 +148,8 @@ |
148 | 148 | ||
149 | .ls-title { | 149 | .ls-title { |
150 | padding: 16px; | 150 | padding: 16px; |
151 | color: #4a4e56; | 151 | color: #ffffff; |
152 | // background: linear-gradient(3deg, #edf0f7, #f4f5f6); | 152 | background: linear-gradient(3deg, #409eff, #a7cbee); |
153 | font-size: 16px; | 153 | font-size: 16px; |
154 | } | 154 | } |
155 | 155 | ||
... | @@ -185,7 +185,7 @@ | ... | @@ -185,7 +185,7 @@ |
185 | right: 26px; | 185 | right: 26px; |
186 | font-size: 24px; | 186 | font-size: 24px; |
187 | cursor: pointer; | 187 | cursor: pointer; |
188 | color: #4a4e56; | 188 | color: #ffffff; |
189 | } | 189 | } |
190 | 190 | ||
191 | /deep/.el-loading-mask { | 191 | /deep/.el-loading-mask { | ... | ... |
1 | <svg t="1661331325273" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2167" width="200" height="200"><path d="M521.309091 158.254545a27.927273 27.927273 0 0 1 27.927273 27.927273v586.472727a27.927273 27.927273 0 0 1-27.927273 27.927273h-372.363636a83.781818 83.781818 0 0 1-83.781819-83.781818V242.036364a83.781818 83.781818 0 0 1 83.781819-83.781819z m400.290909 0a83.781818 83.781818 0 0 1 83.502545 76.893091l0.279273 6.888728v474.763636a83.781818 83.781818 0 0 1-76.893091 83.502545l-6.888727 0.279273h-260.654545a27.927273 27.927273 0 0 1-4.51491-55.482182L660.945455 744.727273h260.654545a27.927273 27.927273 0 0 0 27.554909-23.412364l0.372364-4.514909V242.036364a27.927273 27.927273 0 0 0-23.412364-27.554909L921.6 214.109091h-260.654545a27.927273 27.927273 0 0 1-4.51491-55.482182L660.945455 158.254545h260.654545z m-428.218182 55.854546H148.945455a27.927273 27.927273 0 0 0-27.55491 23.412364L121.018182 242.036364v474.763636a27.927273 27.927273 0 0 0 27.927273 27.927273h344.436363V214.109091z" p-id="2168"></path></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <svg t="1692772463687" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6301" width="200" height="200"><path d="M544.5 754.47H131.78V661.9c0-9.75 3.41-17.3 10.91-23.92 7.23-6.44 18.92-12.22 35.55-17.41l125.74-29.09 1.76-0.41 1.73-0.53c22.89-7.07 92.52-28.61 92.52-98.76v-85.31c0-19-7.62-36.7-21.78-50.14-17.22-16.07-30.6-36.08-38.66-57.8-8.6-23.27-11.23-47.79-7.83-72.89 4.37-32.22 19.94-62.81 43.9-86.19 23.82-23.31 54.72-38.12 87.03-41.72 5.9-0.66 11.85-0.99 17.67-0.99 15.93 0 31.68 2.49 46.66 7.37 19.79 6.5 37.71 16.84 53.26 30.75 31.81 28.42 50.05 69.16 50.05 111.77 0 20.72-4.16 40.74-12.36 59.52-7.93 18.16-19.27 34.43-33.73 48.38-15.25 14.73-23.65 34.17-23.65 54.73v82.42c0 44.31 27.11 69.04 57.01 84.29 13.74-13.37 29.11-24.99 45.71-34.81-48.29-16.6-52.93-34.25-52.93-49.48v-82.42c0-6.92 2.98-13.64 8.45-18.93 19.12-18.44 34.2-40.06 44.77-64.26 10.95-25.07 16.52-51.87 16.52-79.44 0-56.78-24.3-111.05-66.67-148.9-20.75-18.54-44.57-32.27-70.89-40.92-20.16-6.56-41-9.85-62.2-9.85-7.69 0-15.43 0.43-23.2 1.3-43.23 4.81-84.63 24.6-116.33 55.62-31.8 31.03-52.55 71.86-58.41 115.09-4.51 33.33-0.96 65.89 10.47 96.83 10.76 29.01 28.53 55.62 51.4 76.95 3.84 3.65 5.96 8.45 5.96 13.74v85.31c0 16.53-6.82 35.54-57.45 51.2l-127.48 29.49-0.96 0.29c-23.63 7.21-41.6 16.33-54.75 28.05C91.5 616.75 82 637.89 82 661.9v142.36h468.77c-3.74-16.05-5.9-32.69-6.27-49.79zM82 838.45v15.42c0 19.28 15.63 34.91 34.91 34.91h471.86a240.633 240.633 0 0 1-27.33-50.33H82z" fill="#ffffff" p-id="6302"></path><path d="M786.1 557.35c-105.98 0-191.89 85.91-191.89 191.89 0 105.98 85.91 191.89 191.89 191.89S978 855.22 978 749.25c0-105.99-85.92-191.9-191.9-191.9z m0 334c-78.36 0-142.11-63.75-142.11-142.1 0-78.36 63.75-142.11 142.11-142.11 78.36 0 142.11 63.75 142.11 142.11 0 78.35-63.75 142.1-142.11 142.1z" fill="#ffffff" p-id="6303"></path><path d="M865.63 731.81h-62.1v-62.1c0-9.63-7.8-17.43-17.43-17.43s-17.43 7.8-17.43 17.43v62.1h-62.1c-9.63 0-17.43 7.8-17.43 17.43 0 9.63 7.8 17.43 17.43 17.43h62.1v62.11c0 9.63 7.8 17.43 17.43 17.43s17.43-7.8 17.43-17.43v-62.11h62.1c9.63 0 17.43-7.8 17.43-17.43 0-9.63-7.8-17.43-17.43-17.43z" fill="#ffffff" p-id="6304"></path></svg> | ... | ... |
... | @@ -4,7 +4,6 @@ | ... | @@ -4,7 +4,6 @@ |
4 | * @LastEditTime: 2023-07-28 16:33:19 | 4 | * @LastEditTime: 2023-07-28 16:33:19 |
5 | */ | 5 | */ |
6 | import { getUserInfo } from '@/api/user' | 6 | import { getUserInfo } from '@/api/user' |
7 | import { log } from 'bpmn-js-token-simulation' | ||
8 | const state = { | 7 | const state = { |
9 | name: '', | 8 | name: '', |
10 | userInfo:{}, | 9 | userInfo:{}, | ... | ... |
... | @@ -207,6 +207,13 @@ aside { | ... | @@ -207,6 +207,13 @@ aside { |
207 | } | 207 | } |
208 | } | 208 | } |
209 | 209 | ||
210 | .ellipsis-line { | ||
211 | width: 200px; | ||
212 | overflow: hidden; | ||
213 | text-overflow: ellipsis; //文本溢出显示省略号 | ||
214 | white-space: nowrap; //文本不会换行 | ||
215 | } | ||
216 | |||
210 | //main-container全局样式 | 217 | //main-container全局样式 |
211 | .app-container { | 218 | .app-container { |
212 | padding: 20px; | 219 | padding: 20px; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-03 08:59:06 | 4 | * @LastEditTime: 2023-08-16 11:30:45 |
5 | */ | 5 | */ |
6 | import store from '@/store' | 6 | import store from '@/store' |
7 | 7 | ||
... | @@ -27,12 +27,18 @@ export function getSjlx (level) { | ... | @@ -27,12 +27,18 @@ export function getSjlx (level) { |
27 | */ | 27 | */ |
28 | export function getDictLeabel (level, code) { | 28 | export function getDictLeabel (level, code) { |
29 | const resultMap = store.getters.dictData[code] | 29 | const resultMap = store.getters.dictData[code] |
30 | const desiredObject = resultMap.find(obj => obj.dcode === level); | 30 | function findNode(tree, func) { |
31 | 31 | for (const node of tree) { | |
32 | if (desiredObject) { | 32 | if (func(node)) return node |
33 | const desiredName = desiredObject.dname; | 33 | if (node.children) { |
34 | return desiredName | 34 | const res = findNode(node.children, func) |
35 | } else { | 35 | if (res) return res |
36 | return '' | 36 | } |
37 | } | ||
38 | return {dname:""} | ||
37 | } | 39 | } |
40 | let data = findNode(resultMap, (node) => { | ||
41 | return node.dcode === level | ||
42 | }) | ||
43 | return data.dname | ||
38 | } | 44 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | /* | 2 | /* |
3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-07-21 10:30:53 | 5 | * @LastEditTime: 2023-08-16 15:16:49 |
6 | */ | 6 | */ |
7 | import axios from 'axios' | 7 | import axios from 'axios' |
8 | import Router from '@/router' | 8 | import Router from '@/router' |
... | @@ -54,8 +54,10 @@ service.interceptors.response.use( | ... | @@ -54,8 +54,10 @@ 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 if (response.status == 2002) { | ||
58 | Message.error(response.message); | ||
57 | } else { | 59 | } else { |
58 | handleErrorData(response.data); | 60 | handleErrorData(response.status); |
59 | } | 61 | } |
60 | return response; | 62 | return response; |
61 | }, | 63 | }, |
... | @@ -95,10 +97,7 @@ service.interceptors.response.use( | ... | @@ -95,10 +97,7 @@ service.interceptors.response.use( |
95 | ) | 97 | ) |
96 | //对错误信息的处理函数 | 98 | //对错误信息的处理函数 |
97 | function handleErrorData (errMes) { | 99 | function handleErrorData (errMes) { |
98 | if (errMes.message) { | 100 | switch (errMes) { |
99 | Message.error(errMes.message); | ||
100 | } else { | ||
101 | switch (errMes.code) { | ||
102 | case 401: | 101 | case 401: |
103 | Message.error("未授权,请重新登录!"); | 102 | Message.error("未授权,请重新登录!"); |
104 | break; | 103 | break; |
... | @@ -115,7 +114,6 @@ function handleErrorData (errMes) { | ... | @@ -115,7 +114,6 @@ function handleErrorData (errMes) { |
115 | Message.error("服务正在联调中,请稍后!"); | 114 | Message.error("服务正在联调中,请稍后!"); |
116 | break; | 115 | break; |
117 | } | 116 | } |
118 | } | ||
119 | } | 117 | } |
120 | export default service | 118 | export default service |
121 | 119 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-12 09:55:38 | 4 | * @LastEditTime: 2023-08-17 15:20:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class='ywdialog'> | 7 | <div class='ywdialog'> |
8 | <el-table | 8 | <el-table |
9 | v-if="formData.result" | 9 | v-if="formData.result && formData.result.length>0" |
10 | :data="formData.result" | 10 | :data="formData.result" |
11 | height="200"> | 11 | height="200"> |
12 | <el-table-column | 12 | <el-table-column |
... | @@ -18,6 +18,7 @@ | ... | @@ -18,6 +18,7 @@ |
18 | label="状态"> | 18 | label="状态"> |
19 | </el-table-column> | 19 | </el-table-column> |
20 | </el-table> | 20 | </el-table> |
21 | <el-link type="primary" :underline="false" v-else>{{formData.message}}</el-link> | ||
21 | </div> | 22 | </div> |
22 | </template> | 23 | </template> |
23 | <script> | 24 | <script> | ... | ... |
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 | } | ... | ... |
... | @@ -206,7 +206,7 @@ | ... | @@ -206,7 +206,7 @@ |
206 | } else { | 206 | } else { |
207 | this.column = _.cloneDeep(dataList); | 207 | this.column = _.cloneDeep(dataList); |
208 | this.column.splice(2, 0, { | 208 | this.column.splice(2, 0, { |
209 | prop: "fs", | 209 | prop: "qlbl", |
210 | label: "份数", | 210 | label: "份数", |
211 | }); | 211 | }); |
212 | } | 212 | } | ... | ... |
... | @@ -206,7 +206,7 @@ | ... | @@ -206,7 +206,7 @@ |
206 | } else { | 206 | } else { |
207 | this.column = _.cloneDeep(dataList); | 207 | this.column = _.cloneDeep(dataList); |
208 | this.column.splice(2, 0, { | 208 | this.column.splice(2, 0, { |
209 | prop: "fs", | 209 | prop: "qlbl", |
210 | label: "份数", | 210 | label: "份数", |
211 | }); | 211 | }); |
212 | } | 212 | } | ... | ... |
... | @@ -2,8 +2,7 @@ | ... | @@ -2,8 +2,7 @@ |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | :show-message="false" | 4 | :show-message="false" |
5 | * @LastEditTime: 2023-08-07 17:32:31 | 5 | * @LastEditTime: 2023-08-22 16:27:25 |
6 | 610102123666GS00003W00000000 | ||
7 | --> | 6 | --> |
8 | <template> | 7 | <template> |
9 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -171,7 +170,7 @@ | ... | @@ -171,7 +170,7 @@ |
171 | label="业务号:" | 170 | label="业务号:" |
172 | prop="qlxx.ywh" | 171 | prop="qlxx.ywh" |
173 | :rules="rules.ywhrules"> | 172 | :rules="rules.ywhrules"> |
174 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 173 | <el-input maxlength="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" v-model="ruleForm.qlxx.ywh"></el-input> |
175 | </el-form-item> | 174 | </el-form-item> |
176 | </el-col> | 175 | </el-col> |
177 | <el-col :span="8"> | 176 | <el-col :span="8"> |
... | @@ -212,15 +211,6 @@ | ... | @@ -212,15 +211,6 @@ |
212 | </el-select> | 211 | </el-select> |
213 | </el-form-item> | 212 | </el-form-item> |
214 | </el-col> | 213 | </el-col> |
215 | <!-- <el-col :span="8"> | ||
216 | <el-form-item | ||
217 | label="不动产权证号:" | ||
218 | prop="qlxx.bdcqzh" | ||
219 | :rules="rules.bdcqzhrules" | ||
220 | > | ||
221 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | ||
222 | </el-form-item> | ||
223 | </el-col> --> | ||
224 | <el-col :span="8"> | 214 | <el-col :span="8"> |
225 | <el-form-item label="查封机关:"> | 215 | <el-form-item label="查封机关:"> |
226 | <el-input v-model="ruleForm.cfdj.cfjg"></el-input> | 216 | <el-input v-model="ruleForm.cfdj.cfjg"></el-input> |
... | @@ -274,15 +264,6 @@ | ... | @@ -274,15 +264,6 @@ |
274 | <el-input v-model="ruleForm.cfdj.cffw"></el-input> | 264 | <el-input v-model="ruleForm.cfdj.cffw"></el-input> |
275 | </el-form-item> | 265 | </el-form-item> |
276 | </el-col> | 266 | </el-col> |
277 | <!-- <el-col :span="8"> | ||
278 | <el-form-item | ||
279 | label="区县代码:" | ||
280 | prop="qlxx.qxdm" | ||
281 | :rules="rules.qxdmrules" | ||
282 | > | ||
283 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | ||
284 | </el-form-item> | ||
285 | </el-col> --> | ||
286 | <el-col :span="8"> | 267 | <el-col :span="8"> |
287 | <el-form-item | 268 | <el-form-item |
288 | label="登记机构:" | 269 | label="登记机构:" |
... | @@ -315,18 +296,14 @@ | ... | @@ -315,18 +296,14 @@ |
315 | </el-date-picker> | 296 | </el-date-picker> |
316 | </el-form-item> | 297 | </el-form-item> |
317 | </el-col> | 298 | </el-col> |
318 | <el-col :span="24"> | ||
319 | <el-form-item label="附记:"> | ||
320 | <el-input v-model="ruleForm.cfdj.fj"></el-input> | ||
321 | </el-form-item> | ||
322 | </el-col> | ||
323 | </el-row> | ||
324 | <el-row :gutter="10"> | ||
325 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 299 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
326 | <el-form-item label="解封业务号:"> | 300 | <el-form-item label="解封业务号:"> |
327 | <el-input v-model="ruleForm.cfdj.jfywh"></el-input> | 301 | <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input> |
328 | </el-form-item> | 302 | </el-form-item> |
329 | </el-col> | 303 | </el-col> |
304 | </el-row> | ||
305 | <el-row :gutter="10"> | ||
306 | |||
330 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 307 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
331 | <el-form-item label="解封机关:"> | 308 | <el-form-item label="解封机关:"> |
332 | <el-input v-model="ruleForm.cfdj.jfjg"></el-input> | 309 | <el-input v-model="ruleForm.cfdj.jfjg"></el-input> |
... | @@ -344,13 +321,13 @@ | ... | @@ -344,13 +321,13 @@ |
344 | </el-col> | 321 | </el-col> |
345 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 322 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
346 | <el-form-item label="解封登簿人:"> | 323 | <el-form-item label="解封登簿人:"> |
347 | <el-input v-model="ruleForm.cfdj.jfdbr"></el-input> | 324 | <el-input v-model="ruleForm.qlxx.zxdbr"></el-input> |
348 | </el-form-item> | 325 | </el-form-item> |
349 | </el-col> | 326 | </el-col> |
350 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 327 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
351 | <el-form-item label="解封登记时间:"> | 328 | <el-form-item label="解封登记时间:"> |
352 | <el-date-picker | 329 | <el-date-picker |
353 | v-model="ruleForm.cfdj.jfdjsj" | 330 | v-model="ruleForm.qlxx.zxsj" |
354 | class="width100" | 331 | class="width100" |
355 | type="date" | 332 | type="date" |
356 | placeholder="选择日期" | 333 | placeholder="选择日期" |
... | @@ -359,6 +336,11 @@ | ... | @@ -359,6 +336,11 @@ |
359 | </el-date-picker> | 336 | </el-date-picker> |
360 | </el-form-item> | 337 | </el-form-item> |
361 | </el-col> | 338 | </el-col> |
339 | <el-col :span="24"> | ||
340 | <el-form-item label="附记:"> | ||
341 | <el-input v-model="ruleForm.cfdj.fj" type="textarea" maxlength="500" show-word-limit></el-input> | ||
342 | </el-form-item> | ||
343 | </el-col> | ||
362 | </el-row> | 344 | </el-row> |
363 | </div> | 345 | </div> |
364 | <el-row class="btn" v-if="ableOperation"> | 346 | <el-row class="btn" v-if="ableOperation"> |
... | @@ -444,17 +426,6 @@ | ... | @@ -444,17 +426,6 @@ |
444 | dname: "历史", | 426 | dname: "历史", |
445 | }, | 427 | }, |
446 | ], | 428 | ], |
447 | // 是否被续封 | ||
448 | sfbxflist: [ | ||
449 | { | ||
450 | dcode: "0", | ||
451 | dname: "否", | ||
452 | }, | ||
453 | { | ||
454 | dcode: "1", | ||
455 | dname: "是", | ||
456 | }, | ||
457 | ], | ||
458 | ableOperation: false, | 429 | ableOperation: false, |
459 | //传递参数\ | 430 | //传递参数\ |
460 | 431 | ||
... | @@ -570,6 +541,9 @@ | ... | @@ -570,6 +541,9 @@ |
570 | init(this.propsParam).then((res) => { | 541 | init(this.propsParam).then((res) => { |
571 | if (res.code == 200) { | 542 | if (res.code == 200) { |
572 | this.ruleForm = res.result; | 543 | this.ruleForm = res.result; |
544 | if (this.ruleForm.cfdj) { | ||
545 | this.ruleForm.cfdj.sfbxf = "2" | ||
546 | } | ||
573 | this.isShow = true; | 547 | this.isShow = true; |
574 | let djlx = this.ruleForm.qlxx.djlx; | 548 | let djlx = this.ruleForm.qlxx.djlx; |
575 | this.$endLoading(); | 549 | this.$endLoading(); |
... | @@ -599,22 +573,6 @@ | ... | @@ -599,22 +573,6 @@ |
599 | } | 573 | } |
600 | }); | 574 | }); |
601 | }, | 575 | }, |
602 | // // 更新土地用途信息 | ||
603 | // upDateTdytxxList(val) { | ||
604 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
605 | // this.key++; | ||
606 | // }, | ||
607 | // // 更新权利人信息 | ||
608 | // upDateQlrxxList(val) { | ||
609 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
610 | // this.czrOptions = this.ruleForm.qlrData; | ||
611 | // this.key++; | ||
612 | // }, | ||
613 | // // 更新义务人信息 | ||
614 | // upDateYwrxxList(val) { | ||
615 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
616 | // this.key++; | ||
617 | // }, | ||
618 | /** | 576 | /** |
619 | * @description: onSubmit | 577 | * @description: onSubmit |
620 | * @author: renchao | 578 | * @author: renchao | ... | ... |
1 | export function deleteCollectBiz (bsmSqyw) { | 1 | |
2 | return request({ | 2 | import { |
3 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, | 3 | init, |
4 | method: 'post' | 4 | getSsQlxx, |
5 | getZtQlxx, | ||
6 | getQlxxByQlxxBsm, | ||
7 | save, | ||
8 | } from "@/api/djbRepair.js"; | ||
9 | import { log } from "bpmn-js-token-simulation"; | ||
10 | import { mapGetters } from "vuex"; | ||
11 | export default { | ||
12 | computed: { | ||
13 | ...mapGetters(["dictData", "flag"]), | ||
14 | // 根据流程判断表单是否为只读 | ||
15 | editDisabled () { | ||
16 | if (!this.ableOperation) { | ||
17 | //只读状态 | ||
18 | return true; | ||
19 | } | ||
20 | return false; | ||
21 | }, | ||
22 | }, | ||
23 | data() { | ||
24 | return { | ||
25 | ssqlxxshow: true, | ||
26 | //表单是否可操作 | ||
27 | propsParam: this.$attrs, | ||
28 | key: 0, | ||
29 | isShow: false, | ||
30 | disabled: true, | ||
31 | czrOptions: [], | ||
32 | ssQlxxList: [], | ||
33 | ztQlxxList: [], | ||
34 | ruleForm: {}, | ||
35 | props: { | ||
36 | label: "bdcqzh", | ||
37 | value: "bdcdyid", | ||
38 | }, | ||
39 | djlxlist: [ | ||
40 | { | ||
41 | dcode: "100", | ||
42 | dname: "首次登记", | ||
43 | }, | ||
44 | { | ||
45 | dcode: "200", | ||
46 | dname: "转移登记", | ||
47 | }, | ||
48 | { | ||
49 | dcode: "300", | ||
50 | dname: "变更登记", | ||
51 | }, | ||
52 | { | ||
53 | dcode: "500", | ||
54 | dname: "更正登记", | ||
55 | }, | ||
56 | |||
57 | { | ||
58 | dcode: "901", | ||
59 | dname: "补证", | ||
60 | }, | ||
61 | { | ||
62 | dcode: "902", | ||
63 | dname: "换证", | ||
64 | }, | ||
65 | ], | ||
66 | // 权属状态 | ||
67 | qsztlist: [ | ||
68 | { | ||
69 | dcode: "1", | ||
70 | dname: "现势", | ||
71 | }, | ||
72 | { | ||
73 | dcode: "2", | ||
74 | dname: "历史", | ||
75 | }, | ||
76 | ], | ||
77 | ableOperation: false, | ||
78 | |||
79 | }; | ||
80 | }, | ||
81 | created() { | ||
82 | this.loadData(); | ||
83 | }, | ||
84 | mounted() { | ||
85 | this.ableOperation = this.$parent.ableOperation; | ||
86 | }, | ||
87 | methods: { | ||
88 | /** | ||
89 | * @description: ztQlxxchange | ||
90 | * @param {*} val | ||
91 | * @author: renchao | ||
92 | */ | ||
93 | ztQlxxchange(val) { | ||
94 | this.ruleForm.ztQlxx = val; | ||
95 | }, | ||
96 | /** | ||
97 | * @description: ssQlxxchange | ||
98 | * @param {*} val | ||
99 | * @author: renchao | ||
100 | */ | ||
101 | ssQlxxchange(val) { | ||
102 | this.ruleForm.ssQlxx = val; | ||
103 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
104 | this.ssQlxxchangediolog(val); | ||
105 | }, | ||
106 | // 弹框事件 | ||
107 | ssQlxxchangediolog(val) { | ||
108 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
109 | iconClass: "el-icon-question", //自定义图标样式 | ||
110 | confirmButtonText: "确认", //确认按钮文字更换 | ||
111 | cancelButtonText: "取消", //取消按钮文字更换 | ||
112 | showClose: true, //是否显示右上角关闭按钮 | ||
113 | type: "warning", | ||
5 | }) | 114 | }) |
6 | } | 115 | .then(() => { |
116 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
117 | if (res.code == 200) { | ||
118 | this.nowlist = res.result; | ||
119 | for (var key in this.ruleForm.yydj) { | ||
120 | if ( | ||
121 | this.ruleForm.yydj[key] == "" || | ||
122 | this.ruleForm.yydj[key] == null | ||
123 | ) { | ||
124 | this.ruleForm.yydj[key] = this.nowlist.yydj[key]; | ||
125 | } | ||
126 | } | ||
127 | for (var key in this.ruleForm.qlxx) { | ||
128 | if ( | ||
129 | this.ruleForm.qlxx[key] == "" || | ||
130 | (this.ruleForm.qlxx[key] == null && | ||
131 | key != "ywh" && | ||
132 | key != "dbr" && | ||
133 | key != "djsj" && | ||
134 | key != "ssywh" && | ||
135 | key != "ssywh" && | ||
136 | key != "bdcqzh") | ||
137 | ) { | ||
138 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
139 | } | ||
140 | } | ||
141 | if (!this.ruleForm.tdytqxList.length) { | ||
142 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
143 | } | ||
144 | if (!this.ruleForm.qlrData.length) { | ||
145 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
146 | } | ||
147 | if (!this.ruleForm.ywrData.length) { | ||
148 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
149 | } | ||
150 | this.$message({ | ||
151 | type: "success", | ||
152 | message: "同步成功!", | ||
153 | }); | ||
154 | } | ||
155 | }); | ||
156 | }) | ||
157 | .catch(() => { | ||
158 | this.$message({ | ||
159 | type: "info", | ||
160 | message: "已取消同步", | ||
161 | }); | ||
162 | }); | ||
163 | }, | ||
164 | /** | ||
165 | * @description: djlxchange | ||
166 | * @param {*} val | ||
167 | * @author: renchao | ||
168 | */ | ||
169 | djlxchange(val) { | ||
170 | if (val == null || val == 100) { | ||
171 | this.ssqlxxshow = false; | ||
172 | } else { | ||
173 | this.ssqlxxshow = true; | ||
174 | } | ||
175 | }, | ||
176 | /** | ||
177 | * @description: loadData | ||
178 | * @author: renchao | ||
179 | */ | ||
180 | loadData() { | ||
181 | this.$startLoading(); | ||
182 | this.propsParam.isEdit = this.$parent.isEdit; | ||
183 | init(this.propsParam).then((res) => { | ||
184 | if (res.code == 200) { | ||
185 | this.ruleForm = res.result; | ||
186 | if(this.ruleForm.diyaq){ | ||
187 | this.ruleForm.diyaq.dyfs="1" | ||
188 | } | ||
189 | if(this.ruleForm.ygdj){ | ||
190 | this.ruleForm.ygdj.jedw="1" | ||
191 | this.ruleForm.ygdj.mjdw="1" | ||
192 | if(this.ruleForm.ygdj.sfczjzhxz==null){ | ||
193 | this.ruleForm.ygdj.sfczjzhxz="1" | ||
194 | } | ||
195 | } | ||
196 | if(this.ruleForm.diyaq){ | ||
197 | this.ruleForm.diyaq.mjdw="1" | ||
198 | } | ||
199 | let djlx = this.ruleForm.qlxx.djlx; | ||
200 | if (djlx == null || djlx == 100) { | ||
201 | this.ssqlxxshow = false; | ||
202 | } | ||
203 | this.$endLoading(); | ||
204 | this.isShow = true; | ||
205 | //获取主体信息 | ||
206 | getSsQlxx({ | ||
207 | bdcdyid: this.propsParam.bdcdyid, | ||
208 | qllx: this.propsParam.qllx, | ||
209 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
210 | }).then((res) => { | ||
211 | if (res.code == 200) { | ||
212 | this.ssQlxxList = res.result; | ||
213 | } | ||
214 | }); | ||
215 | //获取上手信息 | ||
216 | getZtQlxx({ | ||
217 | bdcdyid: this.propsParam.bdcdyid, | ||
218 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
219 | }).then((res) => { | ||
220 | if (res.code == 200) { | ||
221 | this.ztQlxxList = res.result; | ||
222 | } | ||
223 | }); | ||
224 | } | ||
225 | }); | ||
226 | }, | ||
227 | // 更新土地用途信息 | ||
228 | /** | ||
229 | * @description: 更新土地用途信息 | ||
230 | * @param {*} val | ||
231 | * @author: renchao | ||
232 | */ | ||
233 | upDateTdytxxList(val) { | ||
234 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
235 | this.key++; | ||
236 | }, | ||
237 | /** | ||
238 | * @description: 更新权利人信息 | ||
239 | * @param {*} val | ||
240 | * @author: renchao | ||
241 | */ | ||
242 | upDateQlrxxList(val) { | ||
243 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
244 | this.czrOptions = this.ruleForm.qlrData; | ||
245 | this.key++; | ||
246 | }, | ||
247 | // 更新义务人信息 | ||
248 | /** | ||
249 | * @description: 更新义务人信息 | ||
250 | * @param {*} val | ||
251 | * @author: renchao | ||
252 | */ | ||
253 | upDateYwrxxList(val) { | ||
254 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
255 | this.key++; | ||
256 | }, | ||
257 | /** | ||
258 | * @description: onSubmit | ||
259 | * @author: renchao | ||
260 | */ | ||
261 | onSubmit() { | ||
262 | this.$refs.ruleForm.validate((valid) => { | ||
263 | if (valid) { | ||
264 | if (this.ruleForm.qlrData.length == 0) { | ||
265 | this.$message({ | ||
266 | showClose: true, | ||
267 | message: "请确认权利人信息", | ||
268 | type: "error", | ||
269 | }); | ||
270 | return false; | ||
271 | } | ||
272 | if (this.ruleForm.ywrData.length == 0) { | ||
273 | this.$message({ | ||
274 | showClose: true, | ||
275 | message: "请确认义务人信息", | ||
276 | type: "error", | ||
277 | }); | ||
278 | return false; | ||
279 | } | ||
280 | if (this.ruleForm.qlxx.gyfs == "0") { | ||
281 | if (this.ruleForm.qlrData.length > 1) { | ||
282 | this.$message({ | ||
283 | showClose: true, | ||
284 | message: "共有方式:单独所有,权利人只能是一个人", | ||
285 | type: "error", | ||
286 | }); | ||
287 | return false; | ||
288 | } | ||
289 | this.ruleForm.qlrData[0].sfczr = "1"; | ||
290 | } else { | ||
291 | if (this.ruleForm.qlrData.length <= 1) { | ||
292 | this.$message({ | ||
293 | showClose: true, | ||
294 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
295 | type: "error", | ||
296 | }); | ||
297 | return false; | ||
298 | } | ||
299 | } | ||
300 | |||
301 | save(this.ruleForm).then((res) => { | ||
302 | if (res.code === 200) { | ||
303 | this.$message({ | ||
304 | showClose: true, | ||
305 | message: "保存成功!", | ||
306 | type: "success", | ||
307 | }); | ||
308 | this.$parent.changeywh(); | ||
309 | this.$store.dispatch("user/refreshPage", true); | ||
310 | } else { | ||
311 | this.$message({ | ||
312 | showClose: true, | ||
313 | message: res.message, | ||
314 | type: "error", | ||
315 | }); | ||
316 | } | ||
317 | }); | ||
318 | } else { | ||
319 | return false; | ||
320 | } | ||
321 | }); | ||
322 | }, | ||
323 | }, | ||
324 | }; | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 16:44:30 | 4 | * @LastEditTime: 2023-08-22 16:27:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -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="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" 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"> |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | <el-input | 126 | <el-input |
127 | v-model="ruleForm.fdcq2.dytdmj" | 127 | v-model="ruleForm.fdcq2.dytdmj" |
128 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 128 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
129 | <el-select disabled v-model="mjdw" style="width: 20%"> | 129 | <el-select disabled v-model="mjdw" style="width: 68px"> |
130 | <el-option | 130 | <el-option |
131 | v-for="item in dictData['A7']" | 131 | v-for="item in dictData['A7']" |
132 | :key="item.dcode" | 132 | :key="item.dcode" |
... | @@ -143,7 +143,7 @@ | ... | @@ -143,7 +143,7 @@ |
143 | <el-input | 143 | <el-input |
144 | v-model="ruleForm.fdcq2.fttdmj" | 144 | v-model="ruleForm.fdcq2.fttdmj" |
145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
146 | <el-select disabled v-model="mjdw" style="width: 20%"> | 146 | <el-select disabled v-model="mjdw" style="width: 68px"> |
147 | <el-option | 147 | <el-option |
148 | v-for="item in dictData['A7']" | 148 | v-for="item in dictData['A7']" |
149 | :key="item.dcode" | 149 | :key="item.dcode" |
... | @@ -160,6 +160,7 @@ | ... | @@ -160,6 +160,7 @@ |
160 | <treeselect | 160 | <treeselect |
161 | v-model="ruleForm.fdcq2.tdxz" | 161 | v-model="ruleForm.fdcq2.tdxz" |
162 | noOptionsText="暂无数据" | 162 | noOptionsText="暂无数据" |
163 | :default-expand-level="1" | ||
163 | placeholder="" | 164 | placeholder="" |
164 | :normalizer="normalizer" | 165 | :normalizer="normalizer" |
165 | :show-count="true" | 166 | :show-count="true" |
... | @@ -252,7 +253,7 @@ | ... | @@ -252,7 +253,7 @@ |
252 | </el-col> | 253 | </el-col> |
253 | <el-col :span="8"> | 254 | <el-col :span="8"> |
254 | <el-form-item label="总层数:"> | 255 | <el-form-item label="总层数:"> |
255 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | 256 | <el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
256 | </el-form-item> | 257 | </el-form-item> |
257 | </el-col> | 258 | </el-col> |
258 | <el-col :span="8"> | 259 | <el-col :span="8"> |
... | @@ -261,7 +262,7 @@ | ... | @@ -261,7 +262,7 @@ |
261 | <el-input | 262 | <el-input |
262 | v-model="ruleForm.fdcq2.jzmj" | 263 | v-model="ruleForm.fdcq2.jzmj" |
263 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 264 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
264 | <el-select disabled v-model="mjdw" style="width: 20%"> | 265 | <el-select disabled v-model="mjdw" style="width: 68px"> |
265 | <el-option | 266 | <el-option |
266 | v-for="item in dictData['A7']" | 267 | v-for="item in dictData['A7']" |
267 | :key="item.dcode" | 268 | :key="item.dcode" |
... | @@ -278,7 +279,7 @@ | ... | @@ -278,7 +279,7 @@ |
278 | <el-input | 279 | <el-input |
279 | v-model="ruleForm.fdcq2.zyjzmj" | 280 | v-model="ruleForm.fdcq2.zyjzmj" |
280 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 281 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
281 | <el-select disabled v-model="mjdw" style="width: 20%"> | 282 | <el-select disabled v-model="mjdw" style="width: 68px"> |
282 | <el-option | 283 | <el-option |
283 | v-for="item in dictData['A7']" | 284 | v-for="item in dictData['A7']" |
284 | :key="item.dcode" | 285 | :key="item.dcode" |
... | @@ -295,7 +296,7 @@ | ... | @@ -295,7 +296,7 @@ |
295 | <el-input | 296 | <el-input |
296 | v-model="ruleForm.fdcq2.ftjzmj" | 297 | v-model="ruleForm.fdcq2.ftjzmj" |
297 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 298 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
298 | <el-select disabled v-model="mjdw" style="width: 20%"> | 299 | <el-select disabled v-model="mjdw" style="width: 68px"> |
299 | <el-option | 300 | <el-option |
300 | v-for="item in dictData['A7']" | 301 | v-for="item in dictData['A7']" |
301 | :key="item.dcode" | 302 | :key="item.dcode" |
... | @@ -378,7 +379,7 @@ | ... | @@ -378,7 +379,7 @@ |
378 | <el-row> | 379 | <el-row> |
379 | <el-col :span="24"> | 380 | <el-col :span="24"> |
380 | <el-form-item label="附记:"> | 381 | <el-form-item label="附记:"> |
381 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 382 | <el-input v-model="ruleForm.fdcq2.fj" type="textarea" maxlength="500" show-word-limit></el-input> |
382 | </el-form-item> | 383 | </el-form-item> |
383 | </el-col> | 384 | </el-col> |
384 | </el-row> | 385 | </el-row> |
... | @@ -424,8 +425,7 @@ | ... | @@ -424,8 +425,7 @@ |
424 | </div> | 425 | </div> |
425 | </template> | 426 | </template> |
426 | <script> | 427 | <script> |
427 | import { mapGetters } from "vuex"; | 428 | import ywmix from "./dataprocessing"; |
428 | import ywmix from "@/views/ywbl/mixin/index"; | ||
429 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 429 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
430 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 430 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
431 | import selectTable from "@/components/selectTable/index.vue"; | 431 | import selectTable from "@/components/selectTable/index.vue"; |
... | @@ -433,25 +433,9 @@ | ... | @@ -433,25 +433,9 @@ |
433 | export default { | 433 | export default { |
434 | mixins: [ywmix], | 434 | mixins: [ywmix], |
435 | components: { qlrCommonTable, tdytTable, selectTable }, | 435 | components: { qlrCommonTable, tdytTable, selectTable }, |
436 | computed: { | ||
437 | ...mapGetters(["dictData", "flag"]), | ||
438 | // 根据流程判断表单是否为只读 | ||
439 | editDisabled () { | ||
440 | if (!this.ableOperation) { | ||
441 | //只读状态 | ||
442 | return true; | ||
443 | } | ||
444 | return false; | ||
445 | }, | ||
446 | }, | ||
447 | data () { | 436 | data () { |
448 | return { | 437 | return { |
449 | mjdw: "1", | 438 | mjdw: "1", |
450 | ssqlxxshow: true, | ||
451 | props: { | ||
452 | label: "bdcqzh", | ||
453 | value: "bdcdyid", | ||
454 | }, | ||
455 | // 键名转换,方法默认是label和children进行树状渲染 | 439 | // 键名转换,方法默认是label和children进行树状渲染 |
456 | normalizer (node) { | 440 | normalizer (node) { |
457 | //方法 | 441 | //方法 |
... | @@ -463,58 +447,12 @@ | ... | @@ -463,58 +447,12 @@ |
463 | label: node.dname, | 447 | label: node.dname, |
464 | }; | 448 | }; |
465 | }, | 449 | }, |
466 | |||
467 | //表单是否可操作 | ||
468 | propsParam: this.$attrs, | ||
469 | // 登记类型 | ||
470 | djlxlist: [ | ||
471 | { | ||
472 | dcode: "100", | ||
473 | dname: "首次登记", | ||
474 | }, | ||
475 | { | ||
476 | dcode: "200", | ||
477 | dname: "转移登记", | ||
478 | }, | ||
479 | { | ||
480 | dcode: "300", | ||
481 | dname: "变更登记", | ||
482 | }, | ||
483 | { | ||
484 | dcode: "500", | ||
485 | dname: "更正登记", | ||
486 | }, | ||
487 | |||
488 | { | ||
489 | dcode: "901", | ||
490 | dname: "补证", | ||
491 | }, | ||
492 | { | ||
493 | dcode: "902", | ||
494 | dname: "换证", | ||
495 | }, | ||
496 | ], | ||
497 | // 权属状态 | ||
498 | qsztlist: [ | ||
499 | { | ||
500 | dcode: "1", | ||
501 | dname: "现势", | ||
502 | }, | ||
503 | { | ||
504 | dcode: "2", | ||
505 | dname: "历史", | ||
506 | }, | ||
507 | ], | ||
508 | key: 0, | 450 | key: 0, |
509 | isShow: false, | 451 | isShow: false, |
510 | disabled: true, | 452 | disabled: true, |
511 | czrOptions: [], | 453 | czrOptions: [], |
512 | ssQlxxList: [], | 454 | ssQlxxList: [], |
513 | ruleForm: { | 455 | ruleForm: {}, |
514 | fdcq2: { | ||
515 | ftjzmj: "", | ||
516 | }, | ||
517 | }, | ||
518 | ableOperation: false, | 456 | ableOperation: false, |
519 | //传递参数\ | 457 | //传递参数\ |
520 | rules: { | 458 | rules: { |
... | @@ -709,6 +647,17 @@ | ... | @@ -709,6 +647,17 @@ |
709 | message: "请补充土地性质", | 647 | message: "请补充土地性质", |
710 | type: "error", | 648 | type: "error", |
711 | }); | 649 | }); |
650 | return false; | ||
651 | } | ||
652 | if (this.ruleForm.qlxx.gyfs == "0") { | ||
653 | if (this.ruleForm.qlrData.length > 1) { | ||
654 | this.$message({ | ||
655 | showClose: true, | ||
656 | message: "请确认权利人信息", | ||
657 | type: "error", | ||
658 | }); | ||
659 | return false; | ||
660 | } | ||
712 | } | 661 | } |
713 | if (this.ruleForm.qlxx.gyfs == "0") { | 662 | if (this.ruleForm.qlxx.gyfs == "0") { |
714 | if (this.ruleForm.qlrData.length > 1) { | 663 | if (this.ruleForm.qlrData.length > 1) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 16:45:02 | 4 | * @LastEditTime: 2023-08-22 16:27:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -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="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" 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,9 +135,10 @@ | ... | @@ -135,9 +135,10 @@ |
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: 68px"> |
141 | <el-option | 142 | <el-option |
142 | v-for="item in dictData['A7']" | 143 | v-for="item in dictData['A7']" |
143 | :key="item.dcode" | 144 | :key="item.dcode" |
... | @@ -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"> |
... | @@ -238,7 +230,7 @@ | ... | @@ -238,7 +230,7 @@ |
238 | <el-row> | 230 | <el-row> |
239 | <el-col :span="24"> | 231 | <el-col :span="24"> |
240 | <el-form-item label="附记:"> | 232 | <el-form-item label="附记:"> |
241 | <el-input v-model="ruleForm.jsydsyq.fj"></el-input> | 233 | <el-input v-model="ruleForm.jsydsyq.fj" type="textarea" maxlength="500" show-word-limit></el-input> |
242 | </el-form-item> | 234 | </el-form-item> |
243 | </el-col> | 235 | </el-col> |
244 | </el-row> | 236 | </el-row> |
... | @@ -368,6 +360,7 @@ | ... | @@ -368,6 +360,7 @@ |
368 | dname: "历史", | 360 | dname: "历史", |
369 | }, | 361 | }, |
370 | ], | 362 | ], |
363 | tdxz: null, | ||
371 | isShow: false, | 364 | isShow: false, |
372 | disabled: true, | 365 | disabled: true, |
373 | czrOptions: [], | 366 | czrOptions: [], |
... | @@ -513,7 +506,6 @@ | ... | @@ -513,7 +506,6 @@ |
513 | } | 506 | } |
514 | }); | 507 | }); |
515 | }, | 508 | }, |
516 | // 更新土地用途信息 | ||
517 | /** | 509 | /** |
518 | * @description: 更新土地用途信息 | 510 | * @description: 更新土地用途信息 |
519 | * @param {*} val | 511 | * @param {*} val |
... | @@ -559,14 +551,6 @@ | ... | @@ -559,14 +551,6 @@ |
559 | }); | 551 | }); |
560 | return false; | 552 | return false; |
561 | } | 553 | } |
562 | if (this.ruleForm.qlrData.length != 0 && this.ruleForm.qlxx.sqfbcz == 0 && this.ruleForm.czr == '') { | ||
563 | this.$message({ | ||
564 | showClose: true, | ||
565 | message: "请选择持证人信息", | ||
566 | type: "error", | ||
567 | }); | ||
568 | return false; | ||
569 | } | ||
570 | if (this.ruleForm.qlxx.gyfs == "0") { | 554 | if (this.ruleForm.qlxx.gyfs == "0") { |
571 | if (this.ruleForm.qlrData.length > 1) { | 555 | if (this.ruleForm.qlrData.length > 1) { |
572 | this.$message({ | 556 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 16:45:13 | 4 | * @LastEditTime: 2023-08-22 16:27:48 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -101,7 +101,7 @@ | ... | @@ -101,7 +101,7 @@ |
101 | label="业务号:" | 101 | label="业务号:" |
102 | prop="qlxx.ywh" | 102 | prop="qlxx.ywh" |
103 | :rules="rules.ywhrules"> | 103 | :rules="rules.ywhrules"> |
104 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 104 | <el-input maxlength="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" v-model="ruleForm.qlxx.ywh"></el-input> |
105 | </el-form-item> | 105 | </el-form-item> |
106 | </el-col> | 106 | </el-col> |
107 | <el-col :span="8"> | 107 | <el-col :span="8"> |
... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
173 | <el-select | 173 | <el-select |
174 | v-model="ruleForm.tdsyq.mjdw" | 174 | v-model="ruleForm.tdsyq.mjdw" |
175 | :disabled="!ableOperation" | 175 | :disabled="!ableOperation" |
176 | style="width: 20%"> | 176 | style="width: 68px"> |
177 | <el-option | 177 | <el-option |
178 | v-for="item in dictData['A7']" | 178 | v-for="item in dictData['A7']" |
179 | :key="item.dcode" | 179 | :key="item.dcode" |
... | @@ -194,7 +194,7 @@ | ... | @@ -194,7 +194,7 @@ |
194 | <el-select | 194 | <el-select |
195 | v-model="ruleForm.tdsyq.mjdw" | 195 | v-model="ruleForm.tdsyq.mjdw" |
196 | :disabled="!ableOperation" | 196 | :disabled="!ableOperation" |
197 | style="width: 20%"> | 197 | style="width: 68px"> |
198 | <el-option | 198 | <el-option |
199 | v-for="item in dictData['A7']" | 199 | v-for="item in dictData['A7']" |
200 | :key="item.dcode" | 200 | :key="item.dcode" |
... | @@ -215,7 +215,7 @@ | ... | @@ -215,7 +215,7 @@ |
215 | <el-select | 215 | <el-select |
216 | v-model="ruleForm.tdsyq.mjdw" | 216 | v-model="ruleForm.tdsyq.mjdw" |
217 | :disabled="!ableOperation" | 217 | :disabled="!ableOperation" |
218 | style="width: 20%"> | 218 | style="width: 68px"> |
219 | <el-option | 219 | <el-option |
220 | v-for="item in dictData['A7']" | 220 | v-for="item in dictData['A7']" |
221 | :key="item.dcode" | 221 | :key="item.dcode" |
... | @@ -238,7 +238,7 @@ | ... | @@ -238,7 +238,7 @@ |
238 | <el-select | 238 | <el-select |
239 | v-model="ruleForm.tdsyq.mjdw" | 239 | v-model="ruleForm.tdsyq.mjdw" |
240 | :disabled="!ableOperation" | 240 | :disabled="!ableOperation" |
241 | style="width: 20%"> | 241 | style="width: 68px"> |
242 | <el-option | 242 | <el-option |
243 | v-for="item in dictData['A7']" | 243 | v-for="item in dictData['A7']" |
244 | :key="item.dcode" | 244 | :key="item.dcode" |
... | @@ -259,7 +259,7 @@ | ... | @@ -259,7 +259,7 @@ |
259 | <el-select | 259 | <el-select |
260 | v-model="ruleForm.tdsyq.mjdw" | 260 | v-model="ruleForm.tdsyq.mjdw" |
261 | :disabled="!ableOperation" | 261 | :disabled="!ableOperation" |
262 | style="width: 20%"> | 262 | style="width: 68px"> |
263 | <el-option | 263 | <el-option |
264 | v-for="item in dictData['A7']" | 264 | v-for="item in dictData['A7']" |
265 | :key="item.dcode" | 265 | :key="item.dcode" |
... | @@ -280,7 +280,7 @@ | ... | @@ -280,7 +280,7 @@ |
280 | <el-select | 280 | <el-select |
281 | v-model="ruleForm.tdsyq.mjdw" | 281 | v-model="ruleForm.tdsyq.mjdw" |
282 | :disabled="!ableOperation" | 282 | :disabled="!ableOperation" |
283 | style="width: 20%"> | 283 | style="width: 68px"> |
284 | <el-option | 284 | <el-option |
285 | v-for="item in dictData['A7']" | 285 | v-for="item in dictData['A7']" |
286 | :key="item.dcode" | 286 | :key="item.dcode" |
... | @@ -303,7 +303,7 @@ | ... | @@ -303,7 +303,7 @@ |
303 | <el-select | 303 | <el-select |
304 | v-model="ruleForm.tdsyq.mjdw" | 304 | v-model="ruleForm.tdsyq.mjdw" |
305 | :disabled="!ableOperation" | 305 | :disabled="!ableOperation" |
306 | style="width: 20%"> | 306 | style="width: 68px"> |
307 | <el-option | 307 | <el-option |
308 | v-for="item in dictData['A7']" | 308 | v-for="item in dictData['A7']" |
309 | :key="item.dcode" | 309 | :key="item.dcode" |
... | @@ -333,7 +333,7 @@ | ... | @@ -333,7 +333,7 @@ |
333 | <el-row> | 333 | <el-row> |
334 | <el-col :span="24"> | 334 | <el-col :span="24"> |
335 | <el-form-item label="附记:"> | 335 | <el-form-item label="附记:"> |
336 | <el-input v-model="ruleForm.tdsyq.fj"></el-input> | 336 | <el-input v-model="ruleForm.tdsyq.fj" type="textarea" maxlength="500" show-word-limit></el-input> |
337 | </el-form-item> | 337 | </el-form-item> |
338 | </el-col> | 338 | </el-col> |
339 | </el-row> | 339 | </el-row> |
... | @@ -362,33 +362,6 @@ | ... | @@ -362,33 +362,6 @@ |
362 | </el-radio-group> | 362 | </el-radio-group> |
363 | </el-form-item> | 363 | </el-form-item> |
364 | </el-col> | 364 | </el-col> |
365 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> | ||
366 | <el-form-item label="是否分别持证:"> | ||
367 | <el-radio-group | ||
368 | v-model="ruleForm.qlxx.sqfbcz" | ||
369 | :disabled="!ableOperation"> | ||
370 | <el-radio :label="1">是</el-radio> | ||
371 | <el-radio :label="0">否</el-radio> | ||
372 | </el-radio-group> | ||
373 | </el-form-item> | ||
374 | </el-col> --> | ||
375 | <!-- <el-col | ||
376 | :span="6" | ||
377 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> | ||
378 | <el-form-item label="持证人:"> | ||
379 | <el-select | ||
380 | v-model="ruleForm.czr" | ||
381 | placeholder="持证人" | ||
382 | :disabled="!ableOperation"> | ||
383 | <el-option | ||
384 | v-for="item in czrOptions" | ||
385 | :key="item.zjh" | ||
386 | :label="item.sqrmc" | ||
387 | :value="item.zjh"> | ||
388 | </el-option> | ||
389 | </el-select> | ||
390 | </el-form-item> | ||
391 | </el-col> --> | ||
392 | </el-row> | 365 | </el-row> |
393 | <qlrCommonTable | 366 | <qlrCommonTable |
394 | :tableData="ruleForm.qlrData" | 367 | :tableData="ruleForm.qlrData" |
... | @@ -489,7 +462,6 @@ | ... | @@ -489,7 +462,6 @@ |
489 | ], | 462 | ], |
490 | isShow: false, | 463 | isShow: false, |
491 | disabled: true, | 464 | disabled: true, |
492 | czrOptions: [], | ||
493 | ssQlxxList: [], | 465 | ssQlxxList: [], |
494 | ruleForm: {}, | 466 | ruleForm: {}, |
495 | ableOperation: false, | 467 | ableOperation: false, | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
... | @@ -45,6 +45,7 @@ | ... | @@ -45,6 +45,7 @@ |
45 | <el-col :span="16"> | 45 | <el-col :span="16"> |
46 | <el-form-item label="审查人"> | 46 | <el-form-item label="审查人"> |
47 | <el-input | 47 | <el-input |
48 | maxlength="20" | ||
48 | :disabled="!ableOperation" | 49 | :disabled="!ableOperation" |
49 | v-model="item.shryxm" | 50 | v-model="item.shryxm" |
50 | ></el-input> | 51 | ></el-input> |
... | @@ -98,7 +99,7 @@ export default { | ... | @@ -98,7 +99,7 @@ export default { |
98 | yjsqOptions: { | 99 | yjsqOptions: { |
99 | handler(val) { | 100 | handler(val) { |
100 | if(this.monitor){ | 101 | if(this.monitor){ |
101 | this.add(val); | 102 | this.add(""); |
102 | this.monitor=false | 103 | this.monitor=false |
103 | }else{ | 104 | }else{ |
104 | this.add(val); | 105 | this.add(val); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-07-31 10:03:23 | 4 | * @LastEditTime: 2023-08-10 14:13:32 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -99,7 +99,7 @@ export default { | ... | @@ -99,7 +99,7 @@ export default { |
99 | finishedInfo: { | 99 | finishedInfo: { |
100 | finishedTaskSet: result.finishedActivityIds, | 100 | finishedTaskSet: result.finishedActivityIds, |
101 | unfinishedTaskSet: result.runningActivityIds, | 101 | unfinishedTaskSet: result.runningActivityIds, |
102 | rejectedTaskSet: {}, | 102 | rejectedTaskSet: result.rejectedActivityIds, |
103 | finishedSequenceFlowSet: result.finishedSequenceFlowIds | 103 | finishedSequenceFlowSet: result.finishedSequenceFlowIds |
104 | }, | 104 | }, |
105 | handlinglist: result.runningTasks, | 105 | handlinglist: result.runningTasks, |
... | @@ -123,15 +123,6 @@ export default { | ... | @@ -123,15 +123,6 @@ export default { |
123 | //新增材料信息选项卡数据 | 123 | //新增材料信息选项卡数据 |
124 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); | 124 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); |
125 | } | 125 | } |
126 | // this.closefp() | ||
127 | |||
128 | // if (this.splitScreen) { | ||
129 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | ||
130 | // if (this.tabName == this.clxxTab.value) { | ||
131 | // this.tabName = this.tabList[0].value; | ||
132 | // this.getFromRouter(this.tabList[0].value); | ||
133 | // } | ||
134 | // } | ||
135 | break; | 126 | break; |
136 | case "B3": //材料导入 | 127 | case "B3": //材料导入 |
137 | document.getElementById("cldr").click(); | 128 | document.getElementById("cldr").click(); |
... | @@ -139,41 +130,6 @@ export default { | ... | @@ -139,41 +130,6 @@ export default { |
139 | case "B4": | 130 | case "B4": |
140 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) | 131 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) |
141 | break; | 132 | break; |
142 | // case "B5": | ||
143 | // const h = this.$createElement; | ||
144 | // this.$msgbox({ | ||
145 | // title: '请选择新增权利类型', | ||
146 | // message: h('p', null, [ | ||
147 | // h('span', null, '内容可以是 '), | ||
148 | // h('el-button', { style: 'color: teal' }, 'VNode'), | ||
149 | // h('i', { style: 'color: teal' }, 'VNode') | ||
150 | // ]), | ||
151 | // showCancelButton: true, | ||
152 | // confirmButtonText: '确定', | ||
153 | // cancelButtonText: '取消', | ||
154 | // beforeClose: (action, instance, done) => { | ||
155 | // if (action === 'confirm') { | ||
156 | // instance.confirmButtonLoading = true; | ||
157 | // instance.confirmButtonText = '执行中...'; | ||
158 | // setTimeout(() => { | ||
159 | // done(); | ||
160 | // setTimeout(() => { | ||
161 | // instance.confirmButtonLoading = false; | ||
162 | // }, 300); | ||
163 | // }, 3000); | ||
164 | // } else { | ||
165 | // done(); | ||
166 | // } | ||
167 | // } | ||
168 | // }).then(action => { | ||
169 | // this.addRepairRecord() | ||
170 | // this.$message({ | ||
171 | // type: 'info', | ||
172 | // message: 'action: ' + action | ||
173 | // }); | ||
174 | // }); | ||
175 | |||
176 | // break; | ||
177 | case "B5": | 133 | case "B5": |
178 | if (this.currentSelectProps.bdcdyid) { | 134 | if (this.currentSelectProps.bdcdyid) { |
179 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 135 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( |
... | @@ -185,10 +141,6 @@ export default { | ... | @@ -185,10 +141,6 @@ export default { |
185 | } | 141 | } |
186 | ); | 142 | ); |
187 | } | 143 | } |
188 | // this.$refs.Menu.loadBdcdylist("add") | ||
189 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) | ||
190 | |||
191 | |||
192 | break; | 144 | break; |
193 | case "B6": | 145 | case "B6": |
194 | //根据编号获取对应信息 | 146 | //根据编号获取对应信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 15:20:00 | 4 | * @LastEditTime: 2023-08-14 12:52:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
12 | <li | 12 | <li |
13 | @click="operation(item)" | 13 | @click="operation(item)" |
14 | v-for="(item, index) in leftButtonList" | 14 | v-for="(item, index) in leftButtonList" |
15 | :key="index" | 15 | :key="index"> |
16 | > | ||
17 | <svg-icon class="icon" :icon-class="item.icon" /> | 16 | <svg-icon class="icon" :icon-class="item.icon" /> |
18 | <span class="iconName">{{ item.name }}</span> | 17 | <span class="iconName">{{ item.name }}</span> |
19 | </li> | 18 | </li> |
... | @@ -22,17 +21,11 @@ | ... | @@ -22,17 +21,11 @@ |
22 | <li | 21 | <li |
23 | @click="operation(item)" | 22 | @click="operation(item)" |
24 | v-for="(item, index) in rightButtonList" | 23 | v-for="(item, index) in rightButtonList" |
25 | :key="index" | 24 | :key="index"> |
26 | > | ||
27 | <svg-icon class="icon" :icon-class="item.icon" /> | 25 | <svg-icon class="icon" :icon-class="item.icon" /> |
28 | <span class="iconName">{{ item.name }}</span> | 26 | <span class="iconName">{{ item.name }}</span> |
29 | </li> | 27 | </li> |
30 | </ul> | 28 | </ul> |
31 | <!-- <NoticeBar | ||
32 | class="NoticeBar" | ||
33 | :noticeList="noticeList" | ||
34 | v-if="noticeList.length > 0" | ||
35 | /> --> | ||
36 | </div> | 29 | </div> |
37 | <!-- 内容框架 --> | 30 | <!-- 内容框架 --> |
38 | <div class="containerFrame"> | 31 | <div class="containerFrame"> |
... | @@ -52,22 +45,19 @@ | ... | @@ -52,22 +45,19 @@ |
52 | <el-tabs | 45 | <el-tabs |
53 | v-model="tabName" | 46 | v-model="tabName" |
54 | :before-leave="beforeLeave" | 47 | :before-leave="beforeLeave" |
55 | @tab-click="handleClick" | 48 | @tab-click="handleClick"> |
56 | > | ||
57 | <el-tab-pane | 49 | <el-tab-pane |
58 | :label="item.name" | 50 | :label="item.name" |
59 | :name="item.value" | 51 | :name="item.value" |
60 | v-for="item in tabList" | 52 | v-for="item in tabList" |
61 | :key="item.value" | 53 | :key="item.value"> |
62 | > | ||
63 | </el-tab-pane> | 54 | </el-tab-pane> |
64 | </el-tabs> | 55 | </el-tabs> |
65 | 56 | ||
66 | <component | 57 | <component |
67 | :key="fresh" | 58 | :key="fresh" |
68 | :is="componentTag" | 59 | :is="componentTag" |
69 | v-bind="currentSelectProps" | 60 | v-bind="currentSelectProps" /> |
70 | /> | ||
71 | </div> | 61 | </div> |
72 | </div> | 62 | </div> |
73 | </div> | 63 | </div> |
... | @@ -76,26 +66,26 @@ | ... | @@ -76,26 +66,26 @@ |
76 | </div> | 66 | </div> |
77 | </template> | 67 | </template> |
78 | <style scoped lang="scss"> | 68 | <style scoped lang="scss"> |
79 | @import "~@/styles/mixin.scss"; | 69 | @import "~@/styles/mixin.scss"; |
80 | @import "./workFrame.scss"; | 70 | @import "./workFrame.scss"; |
81 | </style> | 71 | </style> |
82 | <script> | 72 | <script> |
83 | import WorkFlow from "./mixin/index"; | 73 | import WorkFlow from "./mixin/index"; |
84 | import { getForm } from "./flowform"; | 74 | import { getForm } from "./flowform"; |
85 | import { getStepFormInfo } from "@/api/workFlow.js"; | 75 | import { getStepFormInfo } from "@/api/workFlow.js"; |
86 | import NoticeBar from "@/components/NoticeBar/index"; | 76 | import NoticeBar from "@/components/NoticeBar/index"; |
87 | // import ProcessViewer from "./components/processViewer.vue"; | 77 | // import ProcessViewer from "./components/processViewer.vue"; |
88 | 78 | ||
89 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 79 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
90 | import qllxDailog from "./djbBook/components/qllxDailog"; | 80 | import qllxDailog from "./djbBook/components/qllxDailog"; |
91 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 81 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
92 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 82 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
93 | // 登记簿数据信息 | 83 | // 登记簿数据信息 |
94 | import { addRepairRecord } from "@/api/djbRepair.js"; | 84 | import { addRepairRecord } from "@/api/djbRepair.js"; |
95 | // 获取权利类型数组 | 85 | // 获取权利类型数组 |
96 | 86 | ||
97 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 87 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
98 | export default { | 88 | export default { |
99 | components: { | 89 | components: { |
100 | selectBdc, | 90 | selectBdc, |
101 | NoticeBar, | 91 | NoticeBar, |
... | @@ -103,7 +93,7 @@ export default { | ... | @@ -103,7 +93,7 @@ export default { |
103 | qllxDailog, | 93 | qllxDailog, |
104 | }, | 94 | }, |
105 | mixins: [WorkFlow], | 95 | mixins: [WorkFlow], |
106 | data() { | 96 | data () { |
107 | return { | 97 | return { |
108 | bsmSlsq: this.$route.query.bsmSlsq, | 98 | bsmSlsq: this.$route.query.bsmSlsq, |
109 | //当前流程所在环节 | 99 | //当前流程所在环节 |
... | @@ -139,7 +129,7 @@ export default { | ... | @@ -139,7 +129,7 @@ export default { |
139 | ableOperation: false, | 129 | ableOperation: false, |
140 | }; | 130 | }; |
141 | }, | 131 | }, |
142 | mounted() { | 132 | mounted () { |
143 | // this.getleftMenubl() | 133 | // this.getleftMenubl() |
144 | }, | 134 | }, |
145 | 135 | ||
... | @@ -149,13 +139,12 @@ export default { | ... | @@ -149,13 +139,12 @@ export default { |
149 | * @param {*} qllx | 139 | * @param {*} qllx |
150 | * @author: renchao | 140 | * @author: renchao |
151 | */ | 141 | */ |
152 | stepForm(qllx) { | 142 | stepForm (qllx) { |
153 | this.oneSelectProps.qllx = qllx; | 143 | this.oneSelectProps.qllx = qllx; |
154 | if (this.$refs.Menu.supplementarylist.length) { | 144 | if (this.$refs.Menu.supplementarylist.length) { |
155 | getStepFormInfo(this.oneSelectProps).then((res) => { | 145 | getStepFormInfo(this.oneSelectProps).then((res) => { |
156 | this.$nextTick(function () { | 146 | this.$nextTick(function () { |
157 | this.tabList = res.result; | 147 | this.tabList = res.result; |
158 | console.log("加载的右侧界面组件名称", this.tabList); | ||
159 | this.tabName = this.tabList[0].value; | 148 | this.tabName = this.tabList[0].value; |
160 | this.ableOperation = this.tabList[0].ableOperation; | 149 | this.ableOperation = this.tabList[0].ableOperation; |
161 | this.getFromRouter(this.tabName); | 150 | this.getFromRouter(this.tabName); |
... | @@ -174,12 +163,13 @@ export default { | ... | @@ -174,12 +163,13 @@ export default { |
174 | }); | 163 | }); |
175 | } | 164 | } |
176 | }, | 165 | }, |
166 | // 获取右侧选项卡 | ||
177 | /** | 167 | /** |
178 | * @description: 获取右侧选项卡 | 168 | * @description: 获取右侧选项卡 |
179 | * @param {*} val | 169 | * @param {*} val |
180 | * @author: renchao | 170 | * @author: renchao |
181 | */ | 171 | */ |
182 | getCurrentSelectProps(val) { | 172 | getCurrentSelectProps (val) { |
183 | this.bsmRepair = val.bsmRepair; | 173 | this.bsmRepair = val.bsmRepair; |
184 | if (val.bdcdyid) { | 174 | if (val.bdcdyid) { |
185 | this.oneSelectProps = val; | 175 | this.oneSelectProps = val; |
... | @@ -200,7 +190,7 @@ export default { | ... | @@ -200,7 +190,7 @@ export default { |
200 | * @description: 获取渲染登记簿列表 | 190 | * @description: 获取渲染登记簿列表 |
201 | * @author: renchao | 191 | * @author: renchao |
202 | */ | 192 | */ |
203 | getdjblist() { | 193 | getdjblist () { |
204 | getBdcqljqtsx({ | 194 | getBdcqljqtsx({ |
205 | bdcdyid: this.currentSelectProps.bdcdyid, | 195 | bdcdyid: this.currentSelectProps.bdcdyid, |
206 | bdcdyh: this.currentSelectProps.bdcdyh, | 196 | bdcdyh: this.currentSelectProps.bdcdyh, |
... | @@ -234,13 +224,14 @@ export default { | ... | @@ -234,13 +224,14 @@ export default { |
234 | * @param {*} handleClick | 224 | * @param {*} handleClick |
235 | * @author: renchao | 225 | * @author: renchao |
236 | */ | 226 | */ |
237 | handleClick(a) { | 227 | handleClick (a) { |
238 | let p = Object.keys(this.tabList[0]).filter( | 228 | let p = Object.keys(this.tabList[0]).filter( |
239 | (item) => item == "ableOperation" | 229 | (item) => item == "ableOperation" |
240 | ); | 230 | ); |
241 | if (p) { | 231 | if (p) { |
242 | this.ableOperation = this.tabList[a.index].ableOperation; | 232 | this.ableOperation = this.tabList[a.index].ableOperation; |
243 | } | 233 | } |
234 | |||
244 | }, | 235 | }, |
245 | //右侧表单选项卡事件 | 236 | //右侧表单选项卡事件 |
246 | /** | 237 | /** |
... | @@ -248,7 +239,8 @@ export default { | ... | @@ -248,7 +239,8 @@ export default { |
248 | * @param {*} activeName | 239 | * @param {*} activeName |
249 | * @author: renchao | 240 | * @author: renchao |
250 | */ | 241 | */ |
251 | beforeLeave(activeName) { | 242 | |
243 | beforeLeave (activeName) { | ||
252 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 244 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
253 | }, | 245 | }, |
254 | //切换选项卡内容组件 | 246 | //切换选项卡内容组件 |
... | @@ -257,10 +249,10 @@ export default { | ... | @@ -257,10 +249,10 @@ export default { |
257 | * @param {*} tabname | 249 | * @param {*} tabname |
258 | * @author: renchao | 250 | * @author: renchao |
259 | */ | 251 | */ |
260 | getFromRouter(tabname) { | 252 | getFromRouter (tabname) { |
261 | this.componentTag = getForm(tabname); | 253 | this.componentTag = getForm(tabname); |
262 | }, | 254 | }, |
263 | changeywh() { | 255 | changeywh () { |
264 | this.$refs.Menu.getleftMenubl("change"); | 256 | this.$refs.Menu.getleftMenubl("change"); |
265 | }, | 257 | }, |
266 | // 增加补录记录 | 258 | // 增加补录记录 |
... | @@ -270,8 +262,7 @@ export default { | ... | @@ -270,8 +262,7 @@ export default { |
270 | * @param {*} del | 262 | * @param {*} del |
271 | * @author: renchao | 263 | * @author: renchao |
272 | */ | 264 | */ |
273 | addRepairRecord(row, del) { | 265 | addRepairRecord (row, del) { |
274 | console.log("row", row, del); | ||
275 | let from = { | 266 | let from = { |
276 | bsmQlxx: "", | 267 | bsmQlxx: "", |
277 | bsmSlsq: this.bsmSlsq, | 268 | bsmSlsq: this.bsmSlsq, |
... | @@ -323,13 +314,13 @@ export default { | ... | @@ -323,13 +314,13 @@ export default { |
323 | // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) | 314 | // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) |
324 | // } | 315 | // } |
325 | }, | 316 | }, |
326 | }; | 317 | }; |
327 | </script> | 318 | </script> |
328 | <style scoped lang="scss"> | 319 | <style scoped lang="scss"> |
329 | .rightContainer { | 320 | .rightContainer { |
330 | position: relative; | 321 | position: relative; |
331 | } | 322 | } |
332 | .count { | 323 | .count { |
333 | font-size: 14px; | 324 | font-size: 14px; |
334 | position: absolute; | 325 | position: absolute; |
335 | right: 25px; | 326 | right: 25px; |
... | @@ -339,5 +330,5 @@ export default { | ... | @@ -339,5 +330,5 @@ export default { |
339 | font-weight: 600; | 330 | font-weight: 600; |
340 | color: #3498db; | 331 | color: #3498db; |
341 | } | 332 | } |
342 | } | 333 | } |
343 | </style> | 334 | </style> | ... | ... |
... | @@ -113,6 +113,7 @@ export default { | ... | @@ -113,6 +113,7 @@ export default { |
113 | }, | 113 | }, |
114 | mounted() { | 114 | mounted() { |
115 | // 根据申请单元列表数据处理选中户 | 115 | // 根据申请单元列表数据处理选中户 |
116 | console.log("window.unitData",window.unitData); | ||
116 | if(window.unitData.length){ | 117 | if(window.unitData.length){ |
117 | window.unitData.forEach(e => { | 118 | window.unitData.forEach(e => { |
118 | this.unitIdList.push(e.bdcdyid) | 119 | this.unitIdList.push(e.bdcdyid) | ... | ... |
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)" :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 | ... | ... |
... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="bdcqljqtsx"> | 7 | <div class="bdcqljqtsx"> |
8 | <div class="content"> | 8 | <div class="content" v-if="qlxxList.ztqlmc"> |
9 | <div class="title">不动产权利及其他事项<br />登记信息</div> | 9 | <div class="title">不动产权利及其他事项<br />登记信息</div> |
10 | <div> | 10 | <div> |
11 | 不动产单元号: | 11 | 不动产单元号: | ... | ... |
... | @@ -52,7 +52,14 @@ | ... | @@ -52,7 +52,14 @@ |
52 | </div> | 52 | </div> |
53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
54 | 54 | ||
55 | <span v-else>{{ row[item.prop] }}</span> | 55 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
56 | {{ row[item.prop] }} | ||
57 | </span> | ||
58 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
59 | <span class="ellipsis-line"> | ||
60 | {{ row[item.prop] }} | ||
61 | </span> | ||
62 | </el-tooltip> | ||
56 | </td> | 63 | </td> |
57 | <td v-for="count in emptycolNum" :key="~count"></td> | 64 | <td v-for="count in emptycolNum" :key="~count"></td> |
58 | </tr> | 65 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 09:52:28 | 4 | * @LastEditTime: 2023-08-23 15:54:12 |
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="!['djyy','fj'].includes(item.prop)"> |
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-23 15:54:23 |
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="!['djyy','fj'].includes(item.prop)"> |
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-07-19 09:52:46 | 4 | * @LastEditTime: 2023-08-23 15:57:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
8 | <div class="left"> | 8 | <div class="left"> |
9 | <el-tree ref="tree" :data="treedata" :props="defaultProps" @node-click="handleNodeClick" | 9 | <el-tree |
10 | :default-expand-all="true" :expand-on-click-node="false" node-key="id" :default-checked-keys="[showTab]"> | 10 | ref="tree" |
11 | :data="treedata" | ||
12 | :props="defaultProps" | ||
13 | @node-click="handleNodeClick" | ||
14 | :default-expand-all="true" | ||
15 | :expand-on-click-node="false" | ||
16 | node-key="id" | ||
17 | :default-checked-keys="[showTab]"> | ||
11 | </el-tree> | 18 | </el-tree> |
19 | <el-collapse v-model="activeName" accordion> | ||
20 | <el-collapse-item | ||
21 | class="sfqqq" | ||
22 | ref="sfq" | ||
23 | v-for="(item, index) in sfqdata" | ||
24 | :key="index" | ||
25 | :name="index"> | ||
26 | <template slot="title"> | ||
27 | <span class="text" @click="addlist(item)"> | ||
28 | <span> | ||
29 | {{ item.label }} | ||
30 | </span> | ||
31 | </span> | ||
32 | </template> | ||
33 | <el-button | ||
34 | v-for="(item, index) in item.children" | ||
35 | :re='item' | ||
36 | :key="index" | ||
37 | class="sfqcontent" | ||
38 | @click="addlist(item, index)"> | ||
39 | {{ item.label }} | ||
40 | </el-button> | ||
41 | </el-collapse-item> | ||
42 | </el-collapse> | ||
12 | </div> | 43 | </div> |
13 | <div class="right"> | 44 | <div class="right"> |
14 | <component :is="componentTag" v-bind="currentSelectProps" /> | 45 | <component |
46 | :is="componentTag" | ||
47 | @getBdcdyh="getBdcdyh" | ||
48 | v-bind="currentSelectProps" /> | ||
15 | </div> | 49 | </div> |
16 | </div> | 50 | </div> |
17 | </template> | 51 | </template> |
18 | <script> | 52 | <script> |
19 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 53 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
20 | import { loadTreeData, getNode } from "./djbFrameData.js"; | 54 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
21 | export default { | 55 | export default { |
22 | data () { | 56 | data () { |
23 | return { | 57 | return { |
58 | activeName: 0, | ||
24 | //接收参数 | 59 | //接收参数 |
25 | // propsParam: this.$attrs, | 60 | // propsParam: this.$attrs, |
26 | //左侧目录 | 61 | //左侧目录 |
... | @@ -31,6 +66,9 @@ | ... | @@ -31,6 +66,9 @@ |
31 | currentSelectProps: {}, | 66 | currentSelectProps: {}, |
32 | //左侧树形结构数据 | 67 | //左侧树形结构数据 |
33 | treedata: [], | 68 | treedata: [], |
69 | sfqdata: [], | ||
70 | keyy: "", | ||
71 | iskey: "", | ||
34 | defaultNode: "", | 72 | defaultNode: "", |
35 | defaultProps: { | 73 | defaultProps: { |
36 | value: "id", | 74 | value: "id", |
... | @@ -42,30 +80,87 @@ | ... | @@ -42,30 +80,87 @@ |
42 | }, | 80 | }, |
43 | props: ["formData"], | 81 | props: ["formData"], |
44 | mounted () { | 82 | mounted () { |
45 | this.loadData(); | 83 | this.loadData(this.formData.bdcdyh); |
46 | }, | 84 | }, |
47 | methods: { | 85 | methods: { |
86 | |||
87 | /** | ||
88 | * @description: getBdcdyh | ||
89 | * @author: miaofang | ||
90 | * 点击不动产单元号事件 | ||
91 | */ | ||
92 | getBdcdyh (val) { | ||
93 | this.addloadData(val); | ||
94 | }, | ||
95 | /** | ||
96 | * @description: addloadData | ||
97 | * @author: miaofang | ||
98 | */ | ||
99 | addloadData (val) { | ||
100 | getBdcqljqtsx({ | ||
101 | bdcdyid: val.bdcdyid, | ||
102 | bdcdyh: val.bdcdyh, | ||
103 | }).then((res) => { | ||
104 | if (res.code === 200) { | ||
105 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | ||
106 | let index = this.sfqdata.findIndex((item) => { | ||
107 | return item.bdcdyid == val.bdcdyid; | ||
108 | }); | ||
109 | this.activeName = index | ||
110 | this.setstyle(index, 0, this.iskey); | ||
111 | } else { | ||
112 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | ||
113 | this.activeName = this.sfqdata.length - 1; | ||
114 | this.$nextTick(() => { | ||
115 | this.setstyle(this.sfqdata.length - 1, 0, this.iskey); | ||
116 | }) | ||
117 | } | ||
118 | } | ||
119 | }); | ||
120 | this.currentSelectProps = { | ||
121 | bdcdyid: val.bdcdyid, | ||
122 | bdcdyh: val.bdcdyh, | ||
123 | qllx: this.formData.qllx, | ||
124 | bsmQlxx: this.formData.bsmQlxx, | ||
125 | }; | ||
126 | }, | ||
48 | /** | 127 | /** |
49 | * @description: loadData | 128 | * @description: loadData |
50 | * @author: renchao | 129 | * @author: renchao |
51 | */ | 130 | */ |
52 | loadData () { | 131 | loadData (val) { |
53 | getBdcqljqtsx({ | 132 | getBdcqljqtsx({ |
54 | bdcdyid: this.formData.bdcdyid, | 133 | bdcdyid: this.formData.bdcdyid, |
55 | bdcdyh: this.formData.bdcdyh, | 134 | bdcdyh: val, |
56 | }).then((res) => { | 135 | }).then((res) => { |
57 | if (res.code === 200) { | 136 | if (res.code === 200) { |
58 | this.treedata = loadTreeData(res.result, this.formData.bdcdyh); | 137 | this.treedata = loadTreeData(val); |
138 | this.sfqdata.push( | ||
139 | loadsfqData(res.result, val, this.formData.bdcdyid) | ||
140 | ); | ||
59 | this.$nextTick(function () { | 141 | this.$nextTick(function () { |
60 | this.defaultNode = getNode(this.formData.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, ""); | 142 | this.defaultNode = getNode( |
61 | this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | 143 | this.formData.qllx, |
62 | this.loadComponent(this.defaultNode.form); | 144 | { linShi: 0, xianShi: 0, liShi: 0 }, |
145 | this.formData.bdcdylx || "" | ||
146 | ); | ||
147 | this.sfqdata[0].children.forEach((item, index) => { | ||
148 | if (item.id == this.defaultNode.id) { | ||
149 | this.iskey = index | ||
150 | } | ||
151 | }) | ||
152 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | ||
153 | // this.loadComponent(this.defaultNode.form); | ||
154 | |||
155 | this.setstyle(0, 0, this.iskey); | ||
156 | |||
157 | |||
63 | }); | 158 | }); |
64 | } | 159 | } |
65 | }); | 160 | }); |
66 | this.currentSelectProps = { | 161 | this.currentSelectProps = { |
67 | bdcdyid: this.formData.bdcdyid, | 162 | bdcdyid: this.formData.bdcdyid, |
68 | bdcdyh: this.formData.bdcdyh, | 163 | bdcdyh: val, |
69 | qllx: this.formData.qllx, | 164 | qllx: this.formData.qllx, |
70 | bsmQlxx: this.formData.bsmQlxx, | 165 | bsmQlxx: this.formData.bsmQlxx, |
71 | }; | 166 | }; |
... | @@ -73,29 +168,77 @@ | ... | @@ -73,29 +168,77 @@ |
73 | /** | 168 | /** |
74 | * @description: handleNodeClick | 169 | * @description: handleNodeClick |
75 | * @param {*} data | 170 | * @param {*} data |
76 | * @param {*} node | ||
77 | * @param {*} elem | ||
78 | * @author: renchao | 171 | * @author: renchao |
79 | */ | 172 | */ |
80 | handleNodeClick (data, node, elem) { | 173 | handleNodeClick (data) { |
81 | this.loadComponent(data.form); | 174 | this.loadComponent(data.form); |
82 | }, | 175 | }, |
83 | /** | 176 | /** |
177 | * @description: setstyle | ||
178 | * @param {*} data | ||
179 | * @author: renchao | ||
180 | * 设置样式和点击定位到当前功能 | ||
181 | */ | ||
182 | setstyle (newindex, index, key) { | ||
183 | if (key != undefined || this.keyy == index) { | ||
184 | if (key != undefined) { | ||
185 | this.keyy = key | ||
186 | } | ||
187 | this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form); | ||
188 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
189 | dpme.style.backgroundColor = "#f5f5f5"; | ||
190 | dpme.style.color = "#0079fe"; | ||
191 | dpme.style.borderRight = "4px solid #0079fe"; | ||
192 | } else { | ||
193 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
194 | dpme.style.backgroundColor = "#ffffff"; | ||
195 | dpme.style.color = "black"; | ||
196 | dpme.style.border = "none"; | ||
197 | } | ||
198 | |||
199 | |||
200 | |||
201 | |||
202 | }, | ||
203 | /** | ||
204 | * @description: addlist | ||
205 | * @param {*} data | ||
206 | * @author: renchao | ||
207 | * 新增列表功能 | ||
208 | */ | ||
209 | addlist (data, index) { | ||
210 | if (index != undefined) { | ||
211 | let newindex = this.sfqdata.findIndex((item) => { | ||
212 | return item.bdcdyid == data.bdcdyid; | ||
213 | }); | ||
214 | this.setstyle(newindex, index); | ||
215 | this.currentSelectProps.bdcdyid = data.bdcdyid; | ||
216 | this.loadComponent(data.form); | ||
217 | } else { | ||
218 | let newindex = this.sfqdata.findIndex((item) => { | ||
219 | return item.bdcdyid == data.bdcdyid; | ||
220 | }); | ||
221 | this.setstyle(newindex, index, this.iskey); | ||
222 | this.currentSelectProps.bdcdyid = data.bdcdyid; | ||
223 | } | ||
224 | |||
225 | }, | ||
226 | /** | ||
84 | * @description: loadComponent | 227 | * @description: loadComponent |
85 | * @param {*} form | 228 | * @param {*} form |
86 | * @author: renchao | 229 | * @author: renchao |
87 | */ | 230 | */ |
88 | loadComponent (form) { | 231 | loadComponent (form) { |
89 | console.log(form, 'formformformform'); | 232 | console.log(form, 'form'); |
90 | this.componentTag = (r) => | 233 | this.componentTag = (r) => |
91 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 234 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
92 | }, | 235 | }, |
93 | } | 236 | }, |
94 | }; | 237 | }; |
95 | </script> | 238 | </script> |
96 | <style scoped lang="scss"> | 239 | <style scoped lang="scss"> |
97 | /deep/.rollTable { | 240 | /deep/.rollTable { |
98 | height: calc(100vh - 240px) !important; | 241 | height: calc(100vh - 300px) !important; |
99 | } | 242 | } |
100 | 243 | ||
101 | .content { | 244 | .content { |
... | @@ -109,13 +252,14 @@ | ... | @@ -109,13 +252,14 @@ |
109 | background-color: #f5f5f5; | 252 | background-color: #f5f5f5; |
110 | color: #333; | 253 | color: #333; |
111 | border: 1px solid rgb(228, 228, 228); | 254 | border: 1px solid rgb(228, 228, 228); |
255 | overflow-y: auto; | ||
112 | } | 256 | } |
113 | 257 | ||
114 | .right { | 258 | .right { |
115 | width: calc(100% - 256px); | 259 | width: calc(100% - 256px); |
116 | height: 704px; | 260 | height: 704px; |
117 | // overflow-y: scroll; | 261 | // overflow-y: scroll; |
118 | overflow: auto; | 262 | // overflow: auto; |
119 | background-color: #f5f5f5; | 263 | background-color: #f5f5f5; |
120 | border: 1px solid rgb(228, 228, 228); | 264 | border: 1px solid rgb(228, 228, 228); |
121 | } | 265 | } |
... | @@ -132,9 +276,9 @@ | ... | @@ -132,9 +276,9 @@ |
132 | } | 276 | } |
133 | 277 | ||
134 | /deep/ .el-tree-node:focus > .el-tree-node__content { | 278 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
135 | background-color: #f5f5f5; | 279 | // background-color: #f5f5f5; |
136 | color: #0079fe; | 280 | // color: #0079fe; |
137 | border-right: 4px solid #0079fe; | 281 | // border-right: 4px solid #0079fe; |
138 | } | 282 | } |
139 | 283 | ||
140 | /deep/.el-tree-node { | 284 | /deep/.el-tree-node { |
... | @@ -142,6 +286,65 @@ | ... | @@ -142,6 +286,65 @@ |
142 | } | 286 | } |
143 | 287 | ||
144 | /deep/ .is-current > .el-tree-node__content { | 288 | /deep/ .is-current > .el-tree-node__content { |
289 | // background-color: #f5f5f5; | ||
290 | // color: #0079fe; | ||
291 | // border-right: 4px solid #0079fe; | ||
292 | } | ||
293 | |||
294 | /deep/.el-collapse-item__header { | ||
295 | width: 100%; | ||
296 | cursor: pointer; | ||
297 | position: relative; | ||
298 | .el-collapse-item__arrow { | ||
299 | position: absolute; | ||
300 | top: 15px; | ||
301 | right: 0px; | ||
302 | } | ||
303 | align-items: center; | ||
304 | .text { | ||
305 | width: 100%; | ||
306 | height: 45px; | ||
307 | display: inline-block; | ||
308 | span { | ||
309 | margin-left: 60px; | ||
310 | padding-top: 10px; | ||
311 | display: inline-block; | ||
312 | line-height: 15px; | ||
313 | } | ||
314 | } | ||
315 | height: 45px; | ||
316 | display: inline-block; | ||
317 | line-height: 45px; | ||
318 | border: 1px solid rgb(228, 228, 228); | ||
319 | } | ||
320 | /deep/.el-collapse-item__content { | ||
321 | padding-bottom: 5px; | ||
322 | } | ||
323 | /deep/.sfqcontent { | ||
324 | white-space: wrap; | ||
325 | border: none; | ||
326 | padding: 0; | ||
327 | margin: 0; | ||
328 | cursor: pointer; | ||
329 | width: 100%; | ||
330 | height: 100px; | ||
331 | word-break: break-word; | ||
332 | display: inline; | ||
333 | span { | ||
334 | font-size: 13px; | ||
335 | display: block; | ||
336 | line-height: 15px; | ||
337 | margin-left: 70px; | ||
338 | } | ||
339 | height: 45px; | ||
340 | border: 1px solid rgb(228, 228, 228); | ||
341 | border-right: 4px solid #f5f5f5; | ||
342 | } | ||
343 | .sfqcontent:hover { | ||
344 | background-color: #f5f5f5; | ||
345 | color: black; | ||
346 | } | ||
347 | .sfqcontent:focus { | ||
145 | background-color: #f5f5f5; | 348 | background-color: #f5f5f5; |
146 | color: #0079fe; | 349 | color: #0079fe; |
147 | border-right: 4px solid #0079fe; | 350 | border-right: 4px solid #0079fe; | ... | ... |
1 | import { log } from "bpmn-js-token-simulation"; | ||
1 | 2 | ||
2 | 3 | ||
3 | var qlxxPage = [ | 4 | var qlxxPage = [ |
... | @@ -10,8 +11,8 @@ var qlxxPage = [ | ... | @@ -10,8 +11,8 @@ var qlxxPage = [ |
10 | { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" }, | 11 | { qllx: "A07", id: "jsydsyq", form: "jsydsyq.vue", label: "集体建设用地使用权" }, |
11 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, | 12 | { qllx: "A08", id: "", form: "", label: "集体建设用地使用权/房屋所有权" }, |
12 | { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, | 13 | { qllx: "A09", id: "jsydsyq", form: "jsydsyq.vue", label: "土地承包经营权" }, |
13 | { qllx: "A11", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权" }, | 14 | { qllx: "A11", id: "ldsyq", form: "ldsyq.vue", label: "林地使用权" }, |
14 | { qllx: "A12", id: "jsydsyq", form: "jsydsyq.vue", label: "林地使用权/森林、林木使用权" }, | 15 | { qllx: "A12", id: "sllmsyq", form: "sllmsyq.vue", label: "林地使用权/森林、林木使用权" }, |
15 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, | 16 | { qllx: "A13", id: "jsydsyq", form: "jsydsyq.vue", label: "草原使用权" }, |
16 | { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" }, | 17 | { qllx: "A14", id: "jsydsyq", form: "jsydsyq.vue", label: "水域滩涂养殖权" }, |
17 | { qllx: "A15", id: "jsydsyq", form: "jsydsyq.vue", label: "海域使用权" }, | 18 | { qllx: "A15", id: "jsydsyq", form: "jsydsyq.vue", label: "海域使用权" }, |
... | @@ -41,31 +42,33 @@ var qlxxPage = [ | ... | @@ -41,31 +42,33 @@ var qlxxPage = [ |
41 | //组装登记簿树形结构 | 42 | //组装登记簿树形结构 |
42 | /** | 43 | /** |
43 | * @description: 组装登记簿树形结构 | 44 | * @description: 组装登记簿树形结构 |
44 | * @param {*} qlxxData | ||
45 | * @param {*} bdcdyh | 45 | * @param {*} bdcdyh |
46 | * @author: renchao | 46 | * @author: renchao |
47 | */ | 47 | */ |
48 | export function loadTreeData(qlxxData, bdcdyh) { | 48 | export function loadTreeData(bdcdyh) { |
49 | let treedata = []; | 49 | let treedata = []; |
50 | //加载封面 | 50 | //加载封面 |
51 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); | 51 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); |
52 | treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息\n(" + bdcdyh.substring(0, 19) + ")", children: [] }); | 52 | treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息\n(" + bdcdyh.substring(0, 19) + ")", children: [] }); |
53 | treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] }); | 53 | treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] }); |
54 | treedata[1].children[0].children.push({ | 54 | return treedata; |
55 | id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [], | 55 | } |
56 | }); | 56 | export function loadsfqData(qlxxData, bdcdyh,bdcdyid) { |
57 | let treedata={ | ||
58 | bdcdyid:bdcdyid,id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [], | ||
59 | }; | ||
57 | //主体权利 | 60 | //主体权利 |
58 | treedata[1].children[0].children[0].children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx)); | 61 | treedata.children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx,bdcdyid)); |
59 | //抵押权 | 62 | //抵押权 |
60 | treedata[1].children[0].children[0].children.push(getNode("A37", qlxxData.diyaq, '')); | 63 | treedata.children.push(getNode("A37", qlxxData.diyaq, '',bdcdyid)); |
61 | //地役权 | 64 | //地役权 |
62 | treedata[1].children[0].children[0].children.push(getNode("A19", qlxxData.diyiq, '')); | 65 | treedata.children.push(getNode("A19", qlxxData.diyiq, '',bdcdyid)); |
63 | //预告登记 | 66 | //预告登记 |
64 | treedata[1].children[0].children[0].children.push(getNode("B40", qlxxData.ygdj, '')); | 67 | treedata.children.push(getNode("B40", qlxxData.ygdj, '',bdcdyid)); |
65 | //异议登记 | 68 | //异议登记 |
66 | treedata[1].children[0].children[0].children.push(getNode("B38", qlxxData.yydj, '')); | 69 | treedata.children.push(getNode("B38", qlxxData.yydj, '',bdcdyid)); |
67 | //查封登记 | 70 | //查封登记 |
68 | treedata[1].children[0].children[0].children.push(getNode("B39", qlxxData.cfdj, '')); | 71 | treedata.children.push(getNode("B39", qlxxData.cfdj, '',bdcdyid)); |
69 | 72 | ||
70 | return treedata; | 73 | return treedata; |
71 | } | 74 | } |
... | @@ -78,18 +81,18 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -78,18 +81,18 @@ export function loadTreeData(qlxxData, bdcdyh) { |
78 | * @param {*} bdcdylx | 81 | * @param {*} bdcdylx |
79 | * @author: renchao | 82 | * @author: renchao |
80 | */ | 83 | */ |
81 | export function getNode(qllx, qlxx, bdcdylx) { | 84 | export function getNode(qllx, qlxx, bdcdylx,bdcdyid) { |
82 | let node; | 85 | let node; |
83 | for (var i = 0; i < qlxxPage.length; i++) { | 86 | for (var i = 0; i < qlxxPage.length; i++) { |
84 | if (qlxxPage[i].qllx == qllx) { | 87 | if (qlxxPage[i].qllx == qllx) { |
85 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { | 88 | if (qllx == "A04" || qllx == "A06" || qllx == "A08") { |
86 | if (bdcdylx == "4") { | 89 | if (bdcdylx == "4") { |
87 | node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; | 90 | node = {bdcdyid:bdcdyid,id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; |
88 | } else { | 91 | } else { |
89 | node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; | 92 | node = { bdcdyid:bdcdyid,id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; |
90 | } | 93 | } |
91 | } else { | 94 | } else { |
92 | node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; | 95 | node = { bdcdyid:bdcdyid,id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; |
93 | } | 96 | } |
94 | break; | 97 | break; |
95 | } | 98 | } | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
12 | <div class="xxTableBox rollTable"> | 12 | <div class="xxTableBox rollTable"> |
13 | <!-- 固定前三个 --> | 13 | <!-- 固定前三个 --> |
14 | <table class="xxTable"> | 14 | <table class="xxTable"> |
15 | <tr v-for="(item, colindex) in columns" :key="colindex"> | 15 | <tr v-for="(item, colindex) in columns" :class="judge(item.label) ? 'cols':''" :key="colindex"> |
16 | <td> | 16 | <td> |
17 | {{ item.label }} | 17 | {{ item.label }} |
18 | </td> | 18 | </td> |
... | @@ -46,9 +46,20 @@ | ... | @@ -46,9 +46,20 @@ |
46 | {{ getQsztName(row[item.prop]) }} | 46 | {{ getQsztName(row[item.prop]) }} |
47 | </span> | 47 | </span> |
48 | 48 | ||
49 | <span v-else> {{ row[item.prop] }}</span> | 49 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)" effect="dark" :content="row[item.prop]" placement="top"> |
50 | <span class="ellipsis-line"> | ||
51 | {{ row[item.prop] }} | ||
52 | </span> | ||
53 | </el-tooltip> | ||
54 | |||
55 | <span v-if="(item.prop !== 'qszt' && item.prop !== 'djyy'&& item.prop !== 'fj') && !judge(item.label)"> {{ row[item.prop] }}</span> | ||
56 | <div class="many" v-if="judge(item.label)"> | ||
57 | <div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index"> | ||
58 | {{ label[item.prop] }} | ||
59 | </div> | ||
60 | </div> | ||
50 | </td> | 61 | </td> |
51 | <td v-for="count in emptycolNum" :key="~count"></td> | 62 | <td v-for="count in emptycolNum" class="empty" :key="~count"></td> |
52 | </tr> | 63 | </tr> |
53 | </table> | 64 | </table> |
54 | </div> | 65 | </div> |
... | @@ -137,6 +148,18 @@ | ... | @@ -137,6 +148,18 @@ |
137 | } | 148 | } |
138 | return name; | 149 | return name; |
139 | }, | 150 | }, |
151 | /** | ||
152 | * @description: judge | ||
153 | * @param {*} lable | ||
154 | * @author: renchao | ||
155 | */ | ||
156 | judge (label) { | ||
157 | if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) { | ||
158 | return true | ||
159 | } else { | ||
160 | return false | ||
161 | } | ||
162 | }, | ||
140 | // 新增一条补录信息 | 163 | // 新增一条补录信息 |
141 | /** | 164 | /** |
142 | * @description: 新增一条补录信息 | 165 | * @description: 新增一条补录信息 |
... | @@ -170,4 +193,23 @@ | ... | @@ -170,4 +193,23 @@ |
170 | 193 | ||
171 | <style lang="scss" scoped> | 194 | <style lang="scss" scoped> |
172 | @import "./qlxxCommon.scss"; | 195 | @import "./qlxxCommon.scss"; |
196 | .cols { | ||
197 | td { | ||
198 | .many { | ||
199 | width: 100%; | ||
200 | height: 100%; | ||
201 | display: flex; | ||
202 | flex-direction: row; | ||
203 | div { | ||
204 | flex: 1; | ||
205 | border-right: 2px solid #e3e2e2; | ||
206 | line-height: 40px; | ||
207 | overflow: unset; | ||
208 | } | ||
209 | div:last-child { | ||
210 | border: 0; | ||
211 | } | ||
212 | } | ||
213 | } | ||
214 | } | ||
173 | </style> | 215 | </style> | ... | ... |
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,15 @@ | ... | @@ -62,7 +62,15 @@ |
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="!['djyy','fj'].includes(item.prop)"> |
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> | ||
73 | |||
66 | </td> | 74 | </td> |
67 | <td v-for="count in emptycolNum" :key="~count"></td> | 75 | <td v-for="count in emptycolNum" :key="~count"></td> |
68 | </tr> | 76 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:40 | 4 | * @LastEditTime: 2023-08-23 15:54:45 |
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="!['djyy','fj'].includes(item.prop)"> |
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> | ... | ... |
src/views/registerBook/ldsyq.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-16 11:29:20 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox | ||
14 | v-for="item in qsztList" | ||
15 | :key="item.value" | ||
16 | :label="item.value" | ||
17 | >{{ item.label }}</el-checkbox> | ||
18 | </el-checkbox-group> | ||
19 | </div> | ||
20 | </div> | ||
21 | <div class="xxTableBox rollTable"> | ||
22 | <!-- 固定前三个 --> | ||
23 | <table class="xxTable"> | ||
24 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
25 | <td>{{ item.label }}</td> | ||
26 | <td | ||
27 | v-for="(row, index) in tableData" | ||
28 | :key="index" | ||
29 | :class="[ | ||
30 | row.qszt == '2' ? 'lishi' : '', | ||
31 | row.qszt == '0' ? 'linshi' : '', | ||
32 | row.qlzt == '4' ? 'linshi' : '', | ||
33 | |||
34 | item.prop == 'qszt' && row.qlzt == '3' ? 'linshiIcon' : '', | ||
35 | item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '', | ||
36 | item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '', | ||
37 | item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : '' | ||
38 | ]" | ||
39 | > | ||
40 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | ||
41 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
42 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | ||
43 | </div> | ||
44 | <div class="icon" v-if="item.prop == 'qszt' &&row.qlzt == '1'">有效</div> | ||
45 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '2'">正在补录</div> | ||
46 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '3'">正在申请</div> | ||
47 | <div class="icon" v-if="item.prop == 'qszt' && row.qlzt == '4'">正在注销</div> | ||
48 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | ||
49 | |||
50 | <span v-else>{{ row[item.prop] }}</span> | ||
51 | </td> | ||
52 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
53 | </tr> | ||
54 | </table> | ||
55 | </div> | ||
56 | </div> | ||
57 | </div> | ||
58 | </template> | ||
59 | |||
60 | <script> | ||
61 | import { datas } from "./qlxxFormData.js"; | ||
62 | import { getSjlx, getDictLeabel } from "@/utils/dictionary.js"; | ||
63 | import { getLqList } from "@/api/djbDetail.js"; | ||
64 | export default { | ||
65 | data() { | ||
66 | return { | ||
67 | title: "林权登记信息", | ||
68 | qsztList: datas.columns().qsztList, | ||
69 | checkList: datas.columns().checkList, | ||
70 | //传递参数 | ||
71 | propsParam: this.$attrs, | ||
72 | //列表数据 | ||
73 | tableData: [], | ||
74 | //空列值个数 | ||
75 | emptycolNum: datas.columns().emptycolNum, | ||
76 | //列名称对象 | ||
77 | columns: datas.columns().LDSYQ, | ||
78 | }; | ||
79 | }, | ||
80 | created() { | ||
81 | this.loadData(); | ||
82 | }, | ||
83 | methods: { | ||
84 | /** | ||
85 | * @description: loadData | ||
86 | * @author: renchao | ||
87 | */ | ||
88 | loadData() { | ||
89 | if (this.$parent.addRepairRecord) { | ||
90 | this.columns.unshift({ | ||
91 | prop: "cz", | ||
92 | label: "操作", | ||
93 | }); | ||
94 | } | ||
95 | getLqList({ | ||
96 | bdcdyid: this.propsParam.bdcdyid, | ||
97 | qllx: this.propsParam.qllx, | ||
98 | qszt: this.checkList, | ||
99 | }).then((res) => { | ||
100 | if (res.code === 200) { | ||
101 | this.tableData = res.result; | ||
102 | this.tableData.forEach((item) => { | ||
103 | item.sjlx = getSjlx(item.sjlx); | ||
104 | item.ldsyqxz = getDictLeabel(item.ldsyqxz, 'A45') | ||
105 | item.lz = getDictLeabel(item.lz, 'A26') | ||
106 | item.qy = getDictLeabel(item.qy, 'A52') | ||
107 | }); | ||
108 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
109 | this.emptycolNum = | ||
110 | datas.columns().emptycolNum - this.tableData.length; | ||
111 | } else { | ||
112 | this.emptycolNum = 0; | ||
113 | } | ||
114 | } | ||
115 | }); | ||
116 | }, | ||
117 | /** | ||
118 | * @description: checkChange | ||
119 | * @author: renchao | ||
120 | */ | ||
121 | checkChange() { | ||
122 | if (this.checkList.length === 0) { | ||
123 | this.tableData = []; | ||
124 | this.emptycolNum = datas.columns().emptycolNum; | ||
125 | } else { | ||
126 | this.loadData(); | ||
127 | } | ||
128 | }, | ||
129 | /** | ||
130 | * @description: getQsztName | ||
131 | * @param {*} code | ||
132 | * @author: renchao | ||
133 | */ | ||
134 | getQsztName(code) { | ||
135 | let name = ""; | ||
136 | for (let item of this.qsztList) { | ||
137 | if (item.value == code) { | ||
138 | name = item.label; | ||
139 | break; | ||
140 | } | ||
141 | } | ||
142 | return name; | ||
143 | }, | ||
144 | // 新增一条补录信息 | ||
145 | /** | ||
146 | * @description: 新增一条补录信息 | ||
147 | * @param {*} row | ||
148 | * @param {*} del | ||
149 | * @author: renchao | ||
150 | */ | ||
151 | editDialog(row, del) { | ||
152 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | ||
153 | confirmButtonText: "确定", | ||
154 | cancelButtonText: "取消", | ||
155 | type: "warning", | ||
156 | }) | ||
157 | .then(() => { | ||
158 | this.$parent.addRepairRecord(row, del); | ||
159 | |||
160 | this.$message({ | ||
161 | type: "success", | ||
162 | message: "补录成功!", | ||
163 | }); | ||
164 | }) | ||
165 | .catch(() => { | ||
166 | this.$message({ | ||
167 | type: "info", | ||
168 | message: "取消编辑", | ||
169 | }); | ||
170 | }); | ||
171 | }, | ||
172 | }, | ||
173 | }; | ||
174 | </script> | ||
175 | |||
176 | <style lang="scss" scoped> | ||
177 | @import "./qlxxCommon.scss"; | ||
178 | </style> | ||
179 | |||
... | \ 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:14 | 4 | * @LastEditTime: 2023-08-23 15:54:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -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,14 @@ | ... | @@ -88,7 +96,14 @@ |
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="!['djyy','fj'].includes(item.prop)"> |
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> | ||
92 | </td> | 107 | </td> |
93 | <td v-for="count in emptycolNum" :key="~count"></td> | 108 | <td v-for="count in emptycolNum" :key="~count"></td> |
94 | </tr> | 109 | </tr> | ... | ... |
... | @@ -183,7 +183,11 @@ | ... | @@ -183,7 +183,11 @@ |
183 | min-width: 280px; | 183 | min-width: 280px; |
184 | z-index: 1; | 184 | z-index: 1; |
185 | } | 185 | } |
186 | 186 | td:first-child{ | |
187 | flex: inherit !important; | ||
188 | width: 200px !important; | ||
189 | min-width: auto !important; | ||
190 | } | ||
187 | >tr:nth-child(odd) td { | 191 | >tr:nth-child(odd) td { |
188 | background: #f2f2f2; | 192 | background: #f2f2f2; |
189 | } | 193 | } | ... | ... |
... | @@ -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", |
... | @@ -355,20 +465,20 @@ class data extends filter { | ... | @@ -355,20 +465,20 @@ class data extends filter { |
355 | label: "分摊土地面积(m²)", | 465 | label: "分摊土地面积(m²)", |
356 | }, | 466 | }, |
357 | { | 467 | { |
358 | prop: "tdsyqzsj", | 468 | prop: "tdxzmc", |
359 | label: "土地使用期限", | 469 | label: "土地性质", |
360 | }, | 470 | }, |
361 | { | 471 | { |
362 | prop: "syqqzsj", | 472 | prop: "tdsyqzsj", |
363 | label: "使用权起止时间", | 473 | label: "使用权起止时间", |
364 | }, | 474 | }, |
365 | { | 475 | { |
366 | prop: "fdcjyjg", | 476 | prop: "qdjgmc", |
367 | label: "房地产交易价格(万元)", | 477 | label: "房地产交易价格", |
368 | }, | 478 | }, |
369 | { | 479 | { |
370 | prop: "ghyt", | 480 | prop: "ytmc", |
371 | label: "规划用途", | 481 | label: "房屋用途", |
372 | }, | 482 | }, |
373 | { | 483 | { |
374 | prop: "fwxzmc", | 484 | prop: "fwxzmc", |
... | @@ -387,7 +497,7 @@ class data extends filter { | ... | @@ -387,7 +497,7 @@ class data extends filter { |
387 | label: "总层数", | 497 | label: "总层数", |
388 | }, | 498 | }, |
389 | { | 499 | { |
390 | prop: "mj", | 500 | prop: "jzmj", |
391 | label: "建筑面积(m2)", | 501 | label: "建筑面积(m2)", |
392 | }, | 502 | }, |
393 | { | 503 | { |
... | @@ -875,36 +985,40 @@ class data extends filter { | ... | @@ -875,36 +985,40 @@ class data extends filter { |
875 | label: "证件号", | 985 | label: "证件号", |
876 | }, | 986 | }, |
877 | { | 987 | { |
878 | prop: "fwxz", | 988 | prop: "fwxzmc", |
879 | label: "房屋性质", | 989 | label: "房屋性质", |
880 | }, | 990 | }, |
881 | { | 991 | { |
882 | prop: "ghyt", | 992 | prop: "fwjgmc", |
883 | label: "规划用途", | 993 | label: "房屋结构", |
884 | }, | 994 | }, |
885 | { | 995 | { |
886 | prop: "fwzcs", | 996 | prop: "ytmc", |
887 | label: "房屋总层数", | 997 | label: "房屋用途", |
998 | }, | ||
999 | { | ||
1000 | prop: "szc", | ||
1001 | label: "所在层", | ||
888 | }, | 1002 | }, |
889 | { | 1003 | { |
890 | prop: "fwszc", | 1004 | prop: "zcs", |
891 | label: "房屋所在层", | 1005 | label: "总层数", |
892 | }, | 1006 | }, |
893 | { | 1007 | { |
894 | prop: "jzmj", | 1008 | prop: "jzmj", |
895 | label: "建筑面积", | 1009 | label: "建筑面积/抵押面积(㎡)", |
896 | }, | 1010 | }, |
897 | { | 1011 | { |
898 | prop: "djyy", | 1012 | prop: "djyy", |
899 | label: "登记原因", | 1013 | label: "登记原因", |
900 | }, | 1014 | }, |
901 | { | 1015 | { |
902 | prop: "qdjg", | 1016 | prop: "fj", |
903 | label: "取得价格/被担保主债权数额", | 1017 | label: "附记", |
904 | }, | 1018 | }, |
905 | { | 1019 | { |
906 | prop: "jedw", | 1020 | prop: "qdjgmc", |
907 | label: "金额单位", | 1021 | label: "取得价格/被担保主债权数额", |
908 | }, | 1022 | }, |
909 | { | 1023 | { |
910 | prop: "dbfw", | 1024 | prop: "dbfw", |
... | @@ -1136,6 +1250,136 @@ class data extends filter { | ... | @@ -1136,6 +1250,136 @@ class data extends filter { |
1136 | label: "注销异议登记时间", | 1250 | label: "注销异议登记时间", |
1137 | }, | 1251 | }, |
1138 | ], | 1252 | ], |
1253 | LDSYQ: [ | ||
1254 | { | ||
1255 | prop: "qszt", | ||
1256 | label: "权属状态", | ||
1257 | }, | ||
1258 | { | ||
1259 | prop: "sjlx", | ||
1260 | label: "数据类型", | ||
1261 | }, | ||
1262 | { | ||
1263 | prop: "qllxmc", | ||
1264 | label: "权利类型", | ||
1265 | }, | ||
1266 | { | ||
1267 | prop: "djlxmc", | ||
1268 | label: "登记类型", | ||
1269 | }, | ||
1270 | { | ||
1271 | prop: "ssywh", | ||
1272 | label: "上手业务号", | ||
1273 | }, | ||
1274 | { | ||
1275 | prop: "ywh", | ||
1276 | label: "业务号", | ||
1277 | }, | ||
1278 | { | ||
1279 | prop: "bdcdyh", | ||
1280 | label: "不动产单元号", | ||
1281 | }, | ||
1282 | { | ||
1283 | prop: "zl", | ||
1284 | label: "坐落", | ||
1285 | }, | ||
1286 | { | ||
1287 | prop: "gyqk", | ||
1288 | label: "共有情况", | ||
1289 | }, | ||
1290 | { | ||
1291 | prop: "sllmsyq1", | ||
1292 | label: "森林林木所有权人", | ||
1293 | }, | ||
1294 | { | ||
1295 | prop: "sllmsyq2", | ||
1296 | label: "森林林木使用权人", | ||
1297 | }, | ||
1298 | { | ||
1299 | prop: "qlrzjzl", | ||
1300 | label: "证件种类", | ||
1301 | }, | ||
1302 | { | ||
1303 | prop: "qlrzjhm", | ||
1304 | label: "证件号", | ||
1305 | }, | ||
1306 | { | ||
1307 | prop: "ldsyqxz", | ||
1308 | label: "林地所有权性质", | ||
1309 | }, | ||
1310 | { | ||
1311 | prop: "fbf", | ||
1312 | label: "发包方", | ||
1313 | }, | ||
1314 | { | ||
1315 | prop: "fbfdm", | ||
1316 | label: "发包方代码", | ||
1317 | }, | ||
1318 | { | ||
1319 | prop: "syqmj", | ||
1320 | label: "使用权面积", | ||
1321 | }, | ||
1322 | { | ||
1323 | prop: "ldsyqssj", | ||
1324 | label: "林地使用(承包)起始时间", | ||
1325 | }, | ||
1326 | { | ||
1327 | prop: "ldsyjssj", | ||
1328 | label: "林地使用(承包)结束时间", | ||
1329 | }, | ||
1330 | { | ||
1331 | prop: "ldsyqx", | ||
1332 | label: "林地使用(承包)期限", | ||
1333 | }, | ||
1334 | { | ||
1335 | prop: "sllb", | ||
1336 | label: "森林类别", | ||
1337 | }, | ||
1338 | { | ||
1339 | prop: "zylz", | ||
1340 | label: "主要树种", | ||
1341 | }, | ||
1342 | { | ||
1343 | prop: "zs", | ||
1344 | label: "株数", | ||
1345 | }, | ||
1346 | { | ||
1347 | prop: "lz", | ||
1348 | label: "林种", | ||
1349 | }, | ||
1350 | { | ||
1351 | prop: "qy", | ||
1352 | label: "起源", | ||
1353 | }, | ||
1354 | { | ||
1355 | prop: "zlnd", | ||
1356 | label: "造林年度", | ||
1357 | }, | ||
1358 | { | ||
1359 | prop: "lb", | ||
1360 | label: "林班", | ||
1361 | }, | ||
1362 | { | ||
1363 | prop: "xb", | ||
1364 | label: "小班", | ||
1365 | }, | ||
1366 | { | ||
1367 | prop: "xdm", | ||
1368 | label: "小地名", | ||
1369 | }, | ||
1370 | { | ||
1371 | prop: "djjg", | ||
1372 | label: "登记机构", | ||
1373 | }, | ||
1374 | { | ||
1375 | prop: "dbr", | ||
1376 | label: "登簿人", | ||
1377 | }, | ||
1378 | { | ||
1379 | prop: "djsj", | ||
1380 | label: "登记时间", | ||
1381 | }, | ||
1382 | ] | ||
1139 | } | 1383 | } |
1140 | } | 1384 | } |
1141 | 1385 | ... | ... |
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-23 15:54:56 |
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="!['djyy','fj'].includes(item.prop)"> |
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> |
... | @@ -78,7 +85,7 @@ | ... | @@ -78,7 +85,7 @@ |
78 | //空列值个数 | 85 | //空列值个数 |
79 | emptycolNum: datas.columns().emptycolNum, | 86 | emptycolNum: datas.columns().emptycolNum, |
80 | //列名称对象 | 87 | //列名称对象 |
81 | columns: datas.columns().JSYDSYQ, | 88 | columns: datas.columns().TDSYQ, |
82 | }; | 89 | }; |
83 | }, | 90 | }, |
84 | created () { | 91 | created () { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:04:07 | 4 | * @LastEditTime: 2023-08-23 15:55:02 |
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="!['djyy','fj'].includes(item.prop)"> |
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-23 15:55:15 |
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="!['djyy','fj'].includes(item.prop)"> |
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> | ... | ... |
... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
59 | </div> | 59 | </div> |
60 | <!-- 表格 --> | 60 | <!-- 表格 --> |
61 | <div class="from-clues-content"> | 61 | <div class="from-clues-content"> |
62 | <lb-table :page-size="pageData.size" :heightNum="305" class="loadingtext" @sort-change="handleSort" | 62 | <lb-table :page-size="pageData.size" :heightNum="315" class="loadingtext" @sort-change="handleSort" |
63 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | 63 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" |
64 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 64 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
65 | </lb-table> | 65 | </lb-table> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 10:23:27 | 4 | * @LastEditTime: 2023-08-08 15:32:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -364,7 +364,7 @@ | ... | @@ -364,7 +364,7 @@ |
364 | } | 364 | } |
365 | </script> | 365 | </script> |
366 | <style rel="stylesheet/scss" lang="scss" scoped> | 366 | <style rel="stylesheet/scss" lang="scss" scoped> |
367 | @import "~@/styles/dialogBoxheader.scss"; | 367 | // @import "~@/styles/dialogBoxheader.scss"; |
368 | /deep/.el-radio-group { | 368 | /deep/.el-radio-group { |
369 | display: flex; | 369 | display: flex; |
370 | justify-content: center; | 370 | justify-content: center; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 09:27:43 | 4 | * @LastEditTime: 2023-08-08 11:01:08 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
8 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
9 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
10 | <el-form :model="ruleForm" @submit.native.prevent label-width="80px"> | 10 | <el-form :model="ruleForm" @submit.native.prevent label-width="50px"> |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="标题"> | 13 | <el-form-item label="标题"> |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | </el-form> | 24 | </el-form> |
25 | </div> | 25 | </div> |
26 | <!-- 表格 --> | 26 | <!-- 表格 --> |
27 | <div class="from-clues-content"> | 27 | <div class="from-clues-content loadingtext"> |
28 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" | 28 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" |
29 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 29 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
30 | :data="tableData.data"> | 30 | :data="tableData.data"> | ... | ... |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | <el-row> | 42 | <el-row> |
43 | <el-col :span="24"> | 43 | <el-col :span="24"> |
44 | <el-form-item label="权利其他状况模板" prop="qlqtzk"> | 44 | <el-form-item label="权利其他状况模板" prop="qlqtzk"> |
45 | <el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="ruleForm.qlqtzk"> | 45 | <el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="ruleForm.qlqtzk"> |
46 | </el-input> | 46 | </el-input> |
47 | </el-form-item> | 47 | </el-form-item> |
48 | </el-col> | 48 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 14:11:31 | 4 | * @LastEditTime: 2023-08-09 10:09:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
20 | <el-col :span="18" class="btnColRight"> | 20 | <el-col :span="18" class="btnColRight"> |
21 | <el-form-item> | 21 | <el-form-item> |
22 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 22 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
23 | <el-button @click="moreQueryClick()">高级查询</el-button> | 23 | <!-- <el-button @click="moreQueryClick()">高级查询</el-button> --> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | </el-row> | 26 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 09:47:54 | 4 | * @LastEditTime: 2023-08-17 15:26:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -15,57 +15,57 @@ | ... | @@ -15,57 +15,57 @@ |
15 | <el-form :model="form" v-show="n == 0" label-width="135px" ref="ruleForm"> | 15 | <el-form :model="form" v-show="n == 0" label-width="135px" ref="ruleForm"> |
16 | <el-row> | 16 | <el-row> |
17 | <el-col :span="8"> | 17 | <el-col :span="8"> |
18 | <el-form-item label="申请分类" v-if="form.ywDetail && form.ywDetail.sqfl"> | 18 | <el-form-item label="申请分类" v-if="form.sqdjyw"> |
19 | <el-select v-model="form.ywDetail.sqfl" disabled placeholder="请选择" class="width100"> | 19 | <el-select v-model="form.sqdjyw.sqfl" disabled placeholder="请选择" class="width100"> |
20 | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> | 20 | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> |
21 | </el-option> | 21 | </el-option> |
22 | </el-select> | 22 | </el-select> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="8"> | 25 | <el-col :span="8"> |
26 | <el-form-item label="登记业务编码" v-if="form.ywDetail && form.ywDetail.djywbm"> | 26 | <el-form-item label="登记业务编码" v-if="form.sqdjyw"> |
27 | <el-input v-model="form.ywDetail.djywbm" disabled></el-input> | 27 | <el-input v-model="form.sqdjyw.djywbm" disabled></el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | <el-col :span="8"> | 30 | <el-col :span="8"> |
31 | <el-form-item label="登记业务名称" v-if="form.ywDetail && form.ywDetail.djywmc"> | 31 | <el-form-item label="登记业务名称" v-if="form.sqdjyw"> |
32 | <el-input v-model="form.ywDetail.djywmc" disabled></el-input> | 32 | <el-input v-model="form.sqdjyw.djywmc" disabled></el-input> |
33 | </el-form-item> | 33 | </el-form-item> |
34 | </el-col> | 34 | </el-col> |
35 | </el-row> | 35 | </el-row> |
36 | <el-row> | 36 | <el-row> |
37 | <el-col :span="8"> | 37 | <el-col :span="8"> |
38 | <el-form-item label="发起业务单元类型" v-if="form.ywDetail && form.ywDetail.fqywdylx"> | 38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> |
39 | <el-select v-model="form.ywDetail.fqywdylx" disabled placeholder="请选择" class="width100"> | 39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> |
40 | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> | 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> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
45 | <el-col :span="8"> | 45 | <el-col :span="8"> |
46 | <el-form-item label="是否启用" prop="enabled"> | 46 | <el-form-item label="是否启用" prop="enabled" v-if="form.sqdjyw"> |
47 | <el-radio-group v-model="form.ywDetail.enabled"> | 47 | <el-radio-group v-model="form.sqdjyw.enabled"> |
48 | <el-radio label="1">启用</el-radio> | 48 | <el-radio label="1">启用</el-radio> |
49 | <el-radio label="0">禁用</el-radio> | 49 | <el-radio label="0">禁用</el-radio> |
50 | </el-radio-group> | 50 | </el-radio-group> |
51 | </el-form-item> | 51 | </el-form-item> |
52 | </el-col> | 52 | </el-col> |
53 | <el-col :span="8"> | 53 | <el-col :span="8"> |
54 | <el-form-item label="业务流程ID" prop="flowid"> | 54 | <el-form-item label="业务流程ID" prop="flowid" v-if="form.sqdjyw"> |
55 | <el-input v-model="form.ywDetail.flowid"></el-input> | 55 | <el-input v-model="form.sqdjyw.flowid"></el-input> |
56 | </el-form-item> | 56 | </el-form-item> |
57 | </el-col> | 57 | </el-col> |
58 | <el-col :span="8"> | 58 | <el-col :span="24"> |
59 | <el-form-item label="流程参数" prop="flowparams"> | 59 | <el-form-item label="流程参数" prop="flowparams" v-if="form.sqdjyw"> |
60 | <el-input v-model="form.ywDetail.flowparams"></el-input> | 60 | <el-input v-model="form.sqdjyw.flowparams"></el-input> |
61 | </el-form-item> | 61 | </el-form-item> |
62 | </el-col> | 62 | </el-col> |
63 | </el-row> | 63 | </el-row> |
64 | 64 | ||
65 | <el-row> | 65 | <el-row> |
66 | <el-col :span="8"> | 66 | <el-col :span="8"> |
67 | <el-form-item label="登记原因设置" prop="sfqydjyymb"> | 67 | <el-form-item label="登记原因设置" prop="sfqydjyymb" v-if="form.sqdjyw"> |
68 | <el-radio-group v-model="form.ywDetail.sfqydjyymb"> | 68 | <el-radio-group v-model="form.sqdjyw.sfqydjyymb"> |
69 | <el-radio label="1">启用</el-radio> | 69 | <el-radio label="1">启用</el-radio> |
70 | <el-radio label="0">禁用</el-radio> | 70 | <el-radio label="0">禁用</el-radio> |
71 | </el-radio-group> | 71 | </el-radio-group> |
... | @@ -73,7 +73,7 @@ | ... | @@ -73,7 +73,7 @@ |
73 | </el-col> | 73 | </el-col> |
74 | <el-col :span="8"> | 74 | <el-col :span="8"> |
75 | <el-form-item label="登记情形及材料"> | 75 | <el-form-item label="登记情形及材料"> |
76 | <el-input v-model="form.ywDetail.djqxcl" placeholder="仅支持execl文件导入"></el-input> | 76 | <el-input v-model="form.fileUrl" placeholder="仅支持execl文件导入"></el-input> |
77 | </el-form-item> | 77 | </el-form-item> |
78 | </el-col> | 78 | </el-col> |
79 | <el-col :span="1"> | 79 | <el-col :span="1"> |
... | @@ -85,8 +85,8 @@ | ... | @@ -85,8 +85,8 @@ |
85 | </el-row> | 85 | </el-row> |
86 | <el-row> | 86 | <el-row> |
87 | <el-col :span="24"> | 87 | <el-col :span="24"> |
88 | <el-form-item label="登记原因模板" prop="djyy"> | 88 | <el-form-item label="登记原因模板" prop="djyy" v-if="form.sqdjyw"> |
89 | <el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.ywDetail.djyy"> | 89 | <el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.sqdjyw.djyy"> |
90 | </el-input> | 90 | </el-input> |
91 | </el-form-item> | 91 | </el-form-item> |
92 | </el-col> | 92 | </el-col> |
... | @@ -102,7 +102,7 @@ | ... | @@ -102,7 +102,7 @@ |
102 | :pagination="false" :data="form.clxx"> | 102 | :pagination="false" :data="form.clxx"> |
103 | </lb-table> | 103 | </lb-table> |
104 | </el-collapse-item> | 104 | </el-collapse-item> |
105 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.ywDetail.sfsxql == '1'"> | 105 | <el-collapse-item title="刷选权利设置" name="3" v-if="form.sqdjyw && form.sqdjyw.sfsxql == '1'"> |
106 | <div class="dyztsd-title"> | 106 | <div class="dyztsd-title"> |
107 | <b>请勾选需要查询的权利信息</b> | 107 | <b>请勾选需要查询的权利信息</b> |
108 | <div> | 108 | <div> |
... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
134 | </div> | 134 | </div> |
135 | <div slot="footer" class="dialog_footer text-center"> | 135 | <div slot="footer" class="dialog_footer text-center"> |
136 | <el-button @click="$popupCacel()">取 消</el-button> | 136 | <el-button @click="$popupCacel()">取 消</el-button> |
137 | <el-button type="primary" @click="submit" plain>提 交</el-button> | 137 | <el-button type="primary" @click="submit" :loading="loading">提 交</el-button> |
138 | </div> | 138 | </div> |
139 | </div> | 139 | </div> |
140 | </template> | 140 | </template> |
... | @@ -143,6 +143,7 @@ | ... | @@ -143,6 +143,7 @@ |
143 | import { upward, down } from "@/utils/operation"; | 143 | import { upward, down } from "@/utils/operation"; |
144 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js"; | 144 | import { getDjlxInfo, getSqdjywDetail, saveSqdjyw } from "@/api/sysSqdjyw.js"; |
145 | import { datas, sendThis } from "./sqywDetail"; | 145 | import { datas, sendThis } from "./sqywDetail"; |
146 | import store from '@/store/index.js' | ||
146 | export default { | 147 | export default { |
147 | name: "componentDialog", | 148 | name: "componentDialog", |
148 | props: { | 149 | props: { |
... | @@ -153,19 +154,25 @@ | ... | @@ -153,19 +154,25 @@ |
153 | }, | 154 | }, |
154 | data () { | 155 | data () { |
155 | return { | 156 | return { |
157 | loading: false, | ||
156 | key: 0, | 158 | key: 0, |
157 | tn: 0, | 159 | tn: 0, |
158 | n: 0, | 160 | n: 0, |
159 | djlxList: [], | 161 | djlxList: [], |
160 | options: [], | 162 | sqywdylx: store.getters.dictData['sqywdylx'], |
163 | options: [ | ||
164 | { label: "正常申请", value: "1" }, | ||
165 | { label: "一并申请", value: "2" }, | ||
166 | { label: "补录申请", value: "3" } | ||
167 | ], | ||
161 | imgUploadUrl: uploadUrl(), | 168 | imgUploadUrl: uploadUrl(), |
162 | title: "", | 169 | title: "", |
163 | activeName: "1", | 170 | activeName: "1", |
164 | form: { | 171 | form: { |
165 | bsmSqyw: '', | 172 | // bsmSqyw: '', |
166 | ywDetail: {}, | 173 | // ywDetail: {}, |
167 | djqx: [], | 174 | // djqx: [], |
168 | clxx: [] | 175 | // clxx: [] |
169 | }, | 176 | }, |
170 | djqxCol: datas.djqxCol(), | 177 | djqxCol: datas.djqxCol(), |
171 | clxxCol: datas.clxxCol(), | 178 | clxxCol: datas.clxxCol(), |
... | @@ -248,26 +255,30 @@ | ... | @@ -248,26 +255,30 @@ |
248 | let _this = this | 255 | let _this = this |
249 | getSqdjywDetail(bsmSqyw).then((res) => { | 256 | getSqdjywDetail(bsmSqyw).then((res) => { |
250 | if (res.code === 200) { | 257 | if (res.code === 200) { |
251 | _this.form.bsmSqyw = res.result.bsmSqyw | 258 | _this.form = res.result; |
252 | _this.form.ywDetail = res.result.ywDetail | 259 | // _this.form.bsmSqyw = res.result.bsmSqyw; |
253 | _this.$set(_this.form, 'djqx', res.result.djqx) | 260 | // _this.form.ywDetail = res.result.ywDetail; |
254 | _this.$set(_this.form, 'sxql', res.result.sxql) | 261 | // _this.$set(_this.form, 'djqx', res.result.djqx); |
255 | _this.$set(_this.form, 'clxx', res.result.clxx) | 262 | // _this.$set(_this.form, 'sxql', res.result.sxql); |
256 | _this.$set(_this.form, 'sxzt', res.result.sxzt) | 263 | // _this.$set(_this.form, 'clxx', res.result.clxx); |
257 | _this.$set(_this.form, 'ywDetail', res.result.ywDetail) | 264 | // _this.$set(_this.form, 'sxzt', res.result.sxzt); |
265 | // _this.$set(_this.form, 'ywDetail', res.result.ywDetail); | ||
266 | // _this.$set(_this.form, 'sqdjyw', res.result.sqdjyw); | ||
267 | // _this.$set(_this.form, 'parentRule', res.result.parentRule); | ||
258 | } else { | 268 | } else { |
259 | this.$alert(res.message) | 269 | this.$alert(res.message) |
260 | } | 270 | } |
261 | }) | 271 | }) |
262 | }, | 272 | }, |
263 | //提交保存数据 | ||
264 | /** | 273 | /** |
265 | * @description: 提交保存数据 | 274 | * @description: 提交保存数据 |
266 | * @author: renchao | 275 | * @author: renchao |
267 | */ | 276 | */ |
268 | submit () { | 277 | submit () { |
269 | let that = this; | 278 | let that = this; |
279 | this.loading = true | ||
270 | saveSqdjyw(this.form).then((res) => { | 280 | saveSqdjyw(this.form).then((res) => { |
281 | this.loading = false | ||
271 | if (res.code == 200) { | 282 | if (res.code == 200) { |
272 | that.$message({ | 283 | that.$message({ |
273 | message: "修改成功", | 284 | message: "修改成功", |
... | @@ -277,7 +288,6 @@ | ... | @@ -277,7 +288,6 @@ |
277 | } | 288 | } |
278 | }) | 289 | }) |
279 | }, | 290 | }, |
280 | // 上移下移 | ||
281 | /** | 291 | /** |
282 | * @description: 上移下移 | 292 | * @description: 上移下移 |
283 | * @param {*} index | 293 | * @param {*} index | ... | ... |
... | @@ -61,11 +61,11 @@ class data extends filter { | ... | @@ -61,11 +61,11 @@ class data extends filter { |
61 | 61 | ||
62 | }, | 62 | }, |
63 | { | 63 | { |
64 | prop: "czsj", | 64 | prop: "updatetime", |
65 | label: "最近操作时间" | 65 | label: "最近操作时间" |
66 | }, | 66 | }, |
67 | { | 67 | { |
68 | prop: "czr", | 68 | prop: "updater", |
69 | label: "最近操作人" | 69 | label: "最近操作人" |
70 | }, | 70 | }, |
71 | 71 | ... | ... |
... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
27 | </el-form> | 27 | </el-form> |
28 | </div> | 28 | </div> |
29 | <!-- 表格 --> | 29 | <!-- 表格 --> |
30 | <div class="from-clues-content"> | 30 | <div class="from-clues-content loadingtext"> |
31 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" | 31 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" |
32 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 32 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
33 | :data="tableData.data"> | 33 | :data="tableData.data"> | ... | ... |
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" :key="key">({{ 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 |
... | @@ -215,6 +206,7 @@ export default { | ... | @@ -215,6 +206,7 @@ export default { |
215 | if (this.previewImg.index == this.previewImg.imgList.length) { | 206 | if (this.previewImg.index == this.previewImg.imgList.length) { |
216 | this.previewImg.index = this.previewImg.index - 1; | 207 | this.previewImg.index = this.previewImg.index - 1; |
217 | } | 208 | } |
209 | this.key++ | ||
218 | } else { | 210 | } else { |
219 | this.previewImg.imgList = []; | 211 | this.previewImg.imgList = []; |
220 | this.tableData.forEach((item, index) => { | 212 | this.tableData.forEach((item, index) => { |
... | @@ -230,7 +222,7 @@ export default { | ... | @@ -230,7 +222,7 @@ export default { |
230 | * @description: 添加材料目录 | 222 | * @description: 添加材料目录 |
231 | * @author: renchao | 223 | * @author: renchao |
232 | */ | 224 | */ |
233 | handleAdd() { | 225 | handleAdd () { |
234 | this.isDialog = true; | 226 | this.isDialog = true; |
235 | }, | 227 | }, |
236 | // 新增弹窗保存 | 228 | // 新增弹窗保存 |
... | @@ -239,7 +231,7 @@ export default { | ... | @@ -239,7 +231,7 @@ export default { |
239 | * @param {*} data | 231 | * @param {*} data |
240 | * @author: renchao | 232 | * @author: renchao |
241 | */ | 233 | */ |
242 | addSave(data) { | 234 | addSave (data) { |
243 | let obj = { | 235 | let obj = { |
244 | bsmSlsq: this.$parent.bsmSlsq, | 236 | bsmSlsq: this.$parent.bsmSlsq, |
245 | isrequired: "1", | 237 | isrequired: "1", |
... | @@ -251,7 +243,7 @@ export default { | ... | @@ -251,7 +243,7 @@ export default { |
251 | sfxjcl: "1", // 是否必选 | 243 | sfxjcl: "1", // 是否必选 |
252 | }; | 244 | }; |
253 | if (this.$route.query.sqywbm == "DJBBL") { | 245 | if (this.$route.query.sqywbm == "DJBBL") { |
254 | obj.bsmSldy=this.$parent.bsmRepair | 246 | obj.bsmSldy = this.$parent.bsmRepair |
255 | } | 247 | } |
256 | saveClml(obj).then(async (res) => { | 248 | saveClml(obj).then(async (res) => { |
257 | if (res.code == 200) { | 249 | if (res.code == 200) { |
... | @@ -271,7 +263,7 @@ export default { | ... | @@ -271,7 +263,7 @@ export default { |
271 | * @param {*} index | 263 | * @param {*} index |
272 | * @author: renchao | 264 | * @author: renchao |
273 | */ | 265 | */ |
274 | treeClick(item, index) { | 266 | treeClick (item, index) { |
275 | this.previewImg.index = 0; | 267 | this.previewImg.index = 0; |
276 | this.treeCheckId = item?.bsmSj; | 268 | this.treeCheckId = item?.bsmSj; |
277 | this.treeCheckIndex = index; | 269 | this.treeCheckIndex = index; |
... | @@ -285,7 +277,7 @@ export default { | ... | @@ -285,7 +277,7 @@ export default { |
285 | * @param {*} index | 277 | * @param {*} index |
286 | * @author: renchao | 278 | * @author: renchao |
287 | */ | 279 | */ |
288 | imgClick(item, index) { | 280 | imgClick (item, index) { |
289 | this.showImg = item; | 281 | this.showImg = item; |
290 | this.titleYs = index + 1; | 282 | this.titleYs = index + 1; |
291 | }, | 283 | }, |
... | @@ -296,7 +288,7 @@ export default { | ... | @@ -296,7 +288,7 @@ export default { |
296 | * @param {*} code | 288 | * @param {*} code |
297 | * @author: renchao | 289 | * @author: renchao |
298 | */ | 290 | */ |
299 | dicStatus(val, code) { | 291 | dicStatus (val, code) { |
300 | let data = this.$store.getters.dictData[code], | 292 | let data = this.$store.getters.dictData[code], |
301 | name = "暂无"; | 293 | name = "暂无"; |
302 | if (data) { | 294 | if (data) { |
... | @@ -309,49 +301,49 @@ export default { | ... | @@ -309,49 +301,49 @@ export default { |
309 | } | 301 | } |
310 | }, | 302 | }, |
311 | //查看明细 | 303 | //查看明细 |
312 | viewDetail() { | 304 | viewDetail () { |
313 | this.$store.dispatch("user/reWorkFresh", false); | 305 | this.$store.dispatch("user/reWorkFresh", false); |
314 | this.$popupDialog( | 306 | this.$popupDialog( |
315 | "查看明细", | 307 | "申请材料目录", |
316 | "workflow/components/dialog/clxxDetailDialog", | 308 | "workflow/components/dialog/clxxDetailDialog", |
317 | { | 309 | { |
318 | data: this.tableData, | 310 | data: this.tableData, |
319 | unitData: this.$parent.unitData, | 311 | unitData: this.$parent.unitData, |
320 | ableOperation: this.$parent.ableOperation, | 312 | ableOperation: this.$parent.ableOperation, |
321 | bsmRepair:this.$parent.bsmRepair | 313 | bsmRepair: this.$parent.bsmRepair |
322 | }, | 314 | }, |
323 | "60%", | 315 | "60%", |
324 | true | 316 | true |
325 | ); | 317 | ); |
326 | }, | 318 | }, |
327 | //设置tableData | 319 | //设置tableData |
328 | setTableData(tableData) { | 320 | setTableData (tableData) { |
329 | this.$nextTick((res) => { | 321 | this.$nextTick((res) => { |
330 | this.tableData = tableData; | 322 | this.tableData = tableData; |
331 | }); | 323 | }); |
332 | }, | 324 | }, |
333 | }, | 325 | }, |
334 | }; | 326 | }; |
335 | </script> | 327 | </script> |
336 | <style scoped lang="scss"> | 328 | <style scoped lang="scss"> |
337 | @import "~@/styles/mixin.scss"; | 329 | @import "~@/styles/mixin.scss"; |
338 | 330 | ||
339 | .active { | 331 | .active { |
340 | background: $light-blue !important; | 332 | background: $light-blue !important; |
341 | color: #fff; | 333 | color: #fff; |
342 | } | 334 | } |
343 | 335 | ||
344 | .required { | 336 | .required { |
345 | font-size: 12px; | 337 | font-size: 12px; |
346 | color: $pink; | 338 | color: $pink; |
347 | float: left; | 339 | float: left; |
348 | } | 340 | } |
349 | 341 | ||
350 | .cl_number { | 342 | .cl_number { |
351 | float: right; | 343 | float: right; |
352 | } | 344 | } |
353 | 345 | ||
354 | .clxx { | 346 | .clxx { |
355 | width: 100%; | 347 | width: 100%; |
356 | display: flex; | 348 | display: flex; |
357 | padding-left: 5px; | 349 | padding-left: 5px; |
... | @@ -457,5 +449,5 @@ export default { | ... | @@ -457,5 +449,5 @@ export default { |
457 | } | 449 | } |
458 | } | 450 | } |
459 | } | 451 | } |
460 | } | 452 | } |
461 | </style> | 453 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 13:29:47 | 4 | * @LastEditTime: 2023-08-16 16:45:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" | 7 | <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <el-row> | 10 | <el-row> |
11 | <el-col :span="8"> | 11 | <el-col :span="8"> |
12 | <el-form-item label="权利人类型" prop="sqrlx"> | 12 | <el-form-item label="权利人类型" prop="sqrlx"> |
13 | <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择"> | 13 | <el-select clearable v-model="ruleForm.sqrlx" class="width100" :disabled="!showButton" placeholder="请选择"> |
14 | <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 14 | <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
15 | </el-option> | 15 | </el-option> |
16 | </el-select> | 16 | </el-select> |
... | @@ -18,12 +18,12 @@ | ... | @@ -18,12 +18,12 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="8"> | 19 | <el-col :span="8"> |
20 | <el-form-item label="姓名/名称" prop="sqrmc"> | 20 | <el-form-item label="姓名/名称" prop="sqrmc"> |
21 | <el-input v-model="ruleForm.sqrmc" maxlegth="15"></el-input> | 21 | <el-input v-model="ruleForm.sqrmc" maxlegth="15" :disabled="!showButton"></el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="8"> | 24 | <el-col :span="8"> |
25 | <el-form-item label="证件种类" prop="zjzl"> | 25 | <el-form-item label="证件种类" prop="zjzl"> |
26 | <el-select clearable v-model="ruleForm.zjzl" class="width100" placeholder="请选择"> | 26 | <el-select clearable v-model="ruleForm.zjzl" :disabled="!showButton" class="width100" placeholder="请选择"> |
27 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 27 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
28 | </el-option> | 28 | </el-option> |
29 | </el-select> | 29 | </el-select> |
... | @@ -33,17 +33,17 @@ | ... | @@ -33,17 +33,17 @@ |
33 | <el-row> | 33 | <el-row> |
34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
35 | <el-form-item label="证件号" prop="zjh"> | 35 | <el-form-item label="证件号" prop="zjh"> |
36 | <el-input v-model="ruleForm.zjh" maxlength="15" oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> | 36 | <el-input v-model="ruleForm.zjh" :disabled="!showButton" maxlength="15" oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
37 | </el-form-item> | 37 | </el-form-item> |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="8"> | 39 | <el-col :span="8"> |
40 | <el-form-item label="联系电话" prop="dh"> | 40 | <el-form-item label="联系电话" prop="dh"> |
41 | <el-input v-model="ruleForm.dh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 41 | <el-input v-model="ruleForm.dh" :disabled="!showButton" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | <el-col :span="8"> | 44 | <el-col :span="8"> |
45 | <el-form-item label="份数" prop="fs"> | 45 | <el-form-item label="份数" prop="qlbl"> |
46 | <el-input v-model="ruleForm.fs" maxlength="8" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 46 | <el-input v-model="ruleForm.qlbl" :disabled="!showButton" maxlength="8" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
47 | </el-form-item> | 47 | </el-form-item> |
48 | </el-col> | 48 | </el-col> |
49 | 49 | ||
... | @@ -51,17 +51,17 @@ | ... | @@ -51,17 +51,17 @@ |
51 | <el-row> | 51 | <el-row> |
52 | <el-col :span="8"> | 52 | <el-col :span="8"> |
53 | <el-form-item label="法人名称" prop="frmc"> | 53 | <el-form-item label="法人名称" prop="frmc"> |
54 | <el-input v-model="ruleForm.frmc"></el-input> | 54 | <el-input v-model="ruleForm.frmc" :disabled="!showButton"></el-input> |
55 | </el-form-item> | 55 | </el-form-item> |
56 | </el-col> | 56 | </el-col> |
57 | <el-col :span="8"> | 57 | <el-col :span="8"> |
58 | <el-form-item label="国家/地区" prop="gj"> | 58 | <el-form-item label="国家/地区" prop="gj"> |
59 | <el-input v-model="ruleForm.gj"></el-input> | 59 | <el-input v-model="ruleForm.gj" :disabled="!showButton"></el-input> |
60 | </el-form-item> | 60 | </el-form-item> |
61 | </el-col> | 61 | </el-col> |
62 | <el-col :span="8"> | 62 | <el-col :span="8"> |
63 | <el-form-item label="户籍所在省市" prop="hjszss"> | 63 | <el-form-item label="户籍所在省市" prop="hjszss"> |
64 | <el-input v-model="ruleForm.hjszss"></el-input> | 64 | <el-input v-model="ruleForm.hjszss" :disabled="!showButton"></el-input> |
65 | </el-form-item> | 65 | </el-form-item> |
66 | </el-col> | 66 | </el-col> |
67 | </el-row> | 67 | </el-row> |
... | @@ -69,12 +69,12 @@ | ... | @@ -69,12 +69,12 @@ |
69 | <el-row> | 69 | <el-row> |
70 | <el-col :span="16"> | 70 | <el-col :span="16"> |
71 | <el-form-item label="地址" prop="txdz"> | 71 | <el-form-item label="地址" prop="txdz"> |
72 | <el-input v-model="ruleForm.txdz"></el-input> | 72 | <el-input v-model="ruleForm.txdz" :disabled="!showButton"></el-input> |
73 | </el-form-item> | 73 | </el-form-item> |
74 | </el-col> | 74 | </el-col> |
75 | <el-col :span="8"> | 75 | <el-col :span="8"> |
76 | <el-form-item label="邮编" prop="yb"> | 76 | <el-form-item label="邮编" prop="yb"> |
77 | <el-input v-model="ruleForm.yb"></el-input> | 77 | <el-input v-model="ruleForm.yb" :disabled="!showButton"></el-input> |
78 | </el-form-item> | 78 | </el-form-item> |
79 | </el-col> | 79 | </el-col> |
80 | </el-row> | 80 | </el-row> |
... | @@ -82,17 +82,17 @@ | ... | @@ -82,17 +82,17 @@ |
82 | <el-row> | 82 | <el-row> |
83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
84 | <el-form-item label="发证机关" prop="fzjg"> | 84 | <el-form-item label="发证机关" prop="fzjg"> |
85 | <el-input v-model="ruleForm.fzjg"></el-input> | 85 | <el-input v-model="ruleForm.fzjg" :disabled="!showButton"></el-input> |
86 | </el-form-item> | 86 | </el-form-item> |
87 | </el-col> | 87 | </el-col> |
88 | <el-col :span="8"> | 88 | <el-col :span="8"> |
89 | <el-form-item label="电子邮件" prop="dzyj"> | 89 | <el-form-item label="电子邮件" prop="dzyj"> |
90 | <el-input v-model="ruleForm.dzyj"></el-input> | 90 | <el-input v-model="ruleForm.dzyj" :disabled="!showButton"></el-input> |
91 | </el-form-item> | 91 | </el-form-item> |
92 | </el-col> | 92 | </el-col> |
93 | <el-col :span="8"> | 93 | <el-col :span="8"> |
94 | <el-form-item label="权利比例" prop="qlbl"> | 94 | <el-form-item label="权利比例" prop="qlbl"> |
95 | <el-input v-model="ruleForm.qlbl"></el-input> | 95 | <el-input v-model="ruleForm.qlbl" :disabled="!showButton"></el-input> |
96 | </el-form-item> | 96 | </el-form-item> |
97 | </el-col> | 97 | </el-col> |
98 | </el-row> | 98 | </el-row> |
... | @@ -100,12 +100,12 @@ | ... | @@ -100,12 +100,12 @@ |
100 | <el-row> | 100 | <el-row> |
101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
102 | <el-form-item label="工作单位" prop="gzdw"> | 102 | <el-form-item label="工作单位" prop="gzdw"> |
103 | <el-input v-model="ruleForm.gzdw"></el-input> | 103 | <el-input v-model="ruleForm.gzdw" :disabled="!showButton"></el-input> |
104 | </el-form-item> | 104 | </el-form-item> |
105 | </el-col> | 105 | </el-col> |
106 | <el-col :span="16"> | 106 | <el-col :span="16"> |
107 | <el-form-item label="代理机构" prop="dlrjg"> | 107 | <el-form-item label="代理机构" prop="dlrjg"> |
108 | <el-input v-model="ruleForm.dlrjg"></el-input> | 108 | <el-input v-model="ruleForm.dlrjg" :disabled="!showButton"></el-input> |
109 | </el-form-item> | 109 | </el-form-item> |
110 | </el-col> | 110 | </el-col> |
111 | </el-row> | 111 | </el-row> |
... | @@ -113,17 +113,17 @@ | ... | @@ -113,17 +113,17 @@ |
113 | <el-row> | 113 | <el-row> |
114 | <el-col :span="8"> | 114 | <el-col :span="8"> |
115 | <el-form-item label="联系电话" prop="dlrdh"> | 115 | <el-form-item label="联系电话" prop="dlrdh"> |
116 | <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> | 116 | <el-input v-model="ruleForm.dlrdh" :disabled="!showButton" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
117 | </el-form-item> | 117 | </el-form-item> |
118 | </el-col> | 118 | </el-col> |
119 | <el-col :span="8"> | 119 | <el-col :span="8"> |
120 | <el-form-item label="代理人姓名" prop="dlrmc"> | 120 | <el-form-item label="代理人姓名" prop="dlrmc"> |
121 | <el-input v-model="ruleForm.dlrmc"></el-input> | 121 | <el-input v-model="ruleForm.dlrmc" :disabled="!showButton"></el-input> |
122 | </el-form-item> | 122 | </el-form-item> |
123 | </el-col> | 123 | </el-col> |
124 | <el-col :span="8"> | 124 | <el-col :span="8"> |
125 | <el-form-item label="代理人证件类型" prop="dlrzjlx"> | 125 | <el-form-item label="代理人证件类型" prop="dlrzjlx"> |
126 | <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> | 126 | <el-select clearable v-model="ruleForm.dlrzjlx" :disabled="!showButton" class="width100" placeholder="请选择"> |
127 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 127 | <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
128 | </el-option> | 128 | </el-option> |
129 | </el-select> | 129 | </el-select> |
... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
133 | <el-row> | 133 | <el-row> |
134 | <el-col :span="8"> | 134 | <el-col :span="8"> |
135 | <el-form-item label="性别" prop="xb"> | 135 | <el-form-item label="性别" prop="xb"> |
136 | <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择"> | 136 | <el-select clearable v-model="ruleForm.xb" :disabled="!showButton" class="width100" placeholder="请选择"> |
137 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 137 | <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
138 | </el-option> | 138 | </el-option> |
139 | </el-select> | 139 | </el-select> |
... | @@ -141,7 +141,7 @@ | ... | @@ -141,7 +141,7 @@ |
141 | </el-col> | 141 | </el-col> |
142 | <el-col :span="8"> | 142 | <el-col :span="8"> |
143 | <el-form-item label="代理人证件号" prop="dlrzjh"> | 143 | <el-form-item label="代理人证件号" prop="dlrzjh"> |
144 | <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input> | 144 | <el-input v-model="ruleForm.dlrzjh" :disabled="!showButton" maxlength="20"></el-input> |
145 | </el-form-item> | 145 | </el-form-item> |
146 | </el-col> | 146 | </el-col> |
147 | </el-row> | 147 | </el-row> | ... | ... |
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 | } | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-07-12 14:20:58 | ||
5 | --> | ||
6 | <template> | 1 | <template> |
7 | <div> | 2 | <iframe :src="ip +'/txdw/#/' + formData.bsmZd" frameborder="0" style="width: 100%; height:710px;"></iframe> |
8 | 图形定位 | ||
9 | </div> | ||
10 | </template> | 3 | </template> |
11 | <script> | 4 | <script> |
12 | export default { | 5 | export default { |
13 | props: { | 6 | props: { |
14 | formData: { | 7 | formData: { |
15 | type: Object, | 8 | type: Object, |
16 | default: {} | 9 | default: () => { |
10 | return {} | ||
11 | } | ||
17 | } | 12 | } |
18 | }, | 13 | }, |
19 | data () { | 14 | data () { |
20 | return { | 15 | return { |
16 | ip: window._config.services.management | ||
21 | } | 17 | } |
22 | }, | ||
23 | methods: { | ||
24 | } | 18 | } |
25 | } | 19 | } |
26 | </script> | 20 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file |
27 | <style scoped lang='scss'> | ||
28 | </style> | ||
... | \ 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-28 15:47:25 | 4 | * @LastEditTime: 2023-08-23 15:36:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -117,7 +117,7 @@ | ... | @@ -117,7 +117,7 @@ |
117 | const image = new Image(); | 117 | const image = new Image(); |
118 | image.onload = () => { | 118 | image.onload = () => { |
119 | context.drawImage(image, 0, 0); | 119 | context.drawImage(image, 0, 0); |
120 | context.font = '18px 楷体'; | 120 | context.font = '16px 楷体'; |
121 | context.fillStyle = '#000000'; | 121 | context.fillStyle = '#000000'; |
122 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 122 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
123 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 123 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
... | @@ -131,7 +131,32 @@ | ... | @@ -131,7 +131,32 @@ |
131 | context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : '', 138, 303); | 131 | context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : '', 138, 303); |
132 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 138, 346); | 132 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 138, 346); |
133 | context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 138, 386); | 133 | context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 138, 386); |
134 | // 使用期限 | ||
135 | if (this.bdcqz.syqx && this.bdcqz.syqx.length > 28) { | ||
136 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : []; | ||
137 | lines3.forEach((line, index) => { | ||
138 | const y = 427 + (index * 27); // 每行文本的垂直位置 | ||
139 | let currentLine = ''; | ||
140 | let arr = []; | ||
141 | for (let word of line) { | ||
142 | const testLine = currentLine + word; | ||
143 | const lineWidth = context.measureText(testLine).width; | ||
144 | if (lineWidth <= 315) { | ||
145 | currentLine = testLine; | ||
146 | } else { | ||
147 | arr.push(currentLine); | ||
148 | currentLine = word; | ||
149 | } | ||
150 | } | ||
151 | arr.push(currentLine); | ||
152 | arr.forEach((line, index) => { | ||
153 | context.fillText(line, 138, y + (index * 20)); // 调整行高 | ||
154 | }) | ||
155 | }) | ||
156 | } else { | ||
134 | context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 138, 429); | 157 | context.fillText(this.bdcqz.syqx ? this.bdcqz.syqx : '', 138, 429); |
158 | } | ||
159 | |||
135 | // qlqtzk | 160 | // qlqtzk |
136 | const maxWidth = 280; // 最大宽度限制 | 161 | const maxWidth = 280; // 最大宽度限制 |
137 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; | 162 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; |
... | @@ -154,7 +179,27 @@ | ... | @@ -154,7 +179,27 @@ |
154 | context.fillText(line, 138, y + (index * 20)); // 调整行高 | 179 | context.fillText(line, 138, y + (index * 20)); // 调整行高 |
155 | }) | 180 | }) |
156 | }) | 181 | }) |
157 | context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 580, 100); | 182 | |
183 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split('\n') : []; | ||
184 | lines1.forEach((line, index) => { | ||
185 | const y = 100 + (index * 37); // 每行文本的垂直位置 | ||
186 | let currentLine = ''; | ||
187 | let arr = []; | ||
188 | for (let word of line) { | ||
189 | const testLine = currentLine + word; | ||
190 | const lineWidth = context.measureText(testLine).width; | ||
191 | if (lineWidth <= 395) { | ||
192 | currentLine = testLine; | ||
193 | } else { | ||
194 | arr.push(currentLine); | ||
195 | currentLine = word; | ||
196 | } | ||
197 | } | ||
198 | arr.push(currentLine); | ||
199 | arr.forEach((line, index) => { | ||
200 | context.fillText(line, 580, y + (index * 20)); // 调整行高 | ||
201 | }) | ||
202 | }) | ||
158 | } | 203 | } |
159 | image.src = this.imgSrc | 204 | image.src = this.imgSrc |
160 | }, | 205 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-28 15:45:56 | 4 | * @LastEditTime: 2023-08-22 16:58:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> |
... | @@ -23,7 +23,8 @@ | ... | @@ -23,7 +23,8 @@ |
23 | </el-col> | 23 | </el-col> |
24 | </el-row> | 24 | </el-row> |
25 | 25 | ||
26 | <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange" :data="tableData.data" | 26 | <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange" |
27 | :data="tableData.data" | ||
27 | :pagination="false" | 28 | :pagination="false" |
28 | :calcHeight="300"> | 29 | :calcHeight="300"> |
29 | </lb-table> | 30 | </lb-table> |
... | @@ -115,15 +116,20 @@ | ... | @@ -115,15 +116,20 @@ |
115 | }) | 116 | }) |
116 | }, | 117 | }, |
117 | methods: { | 118 | methods: { |
118 | //列表初始化 | ||
119 | /** | 119 | /** |
120 | * @description: 列表初始化 | 120 | * @description: 列表初始化 |
121 | * @author: renchao | 121 | * @author: renchao |
122 | */ | 122 | */ |
123 | loadGrid () { | 123 | loadGrid () { |
124 | let that = this | ||
124 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { | 125 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { |
125 | if (res.code === 200) { | 126 | if (res.code === 200) { |
126 | this.tableData.data = res.result.list; | 127 | this.tableData.data = res.result.list; |
128 | this.$nextTick(() => { | ||
129 | this.tableData.data.forEach(item => { | ||
130 | that.$refs.table.toggleRowSelection(item) | ||
131 | }) | ||
132 | }) | ||
127 | this.ruleForm.fzrmc = res.result.fzrmc | 133 | this.ruleForm.fzrmc = res.result.fzrmc |
128 | this.ruleForm.fzsj = res.result.fzsj | 134 | this.ruleForm.fzsj = res.result.fzsj |
129 | this.ruleForm.fzsl = res.result.fzsl | 135 | this.ruleForm.fzsl = res.result.fzsl | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -18,44 +18,125 @@ | ... | @@ -18,44 +18,125 @@ |
18 | > | 18 | > |
19 | <el-table-column prop="index" width="50" :render-header="renderHeader"> | 19 | <el-table-column prop="index" width="50" :render-header="renderHeader"> |
20 | <template slot-scope="scope"> | 20 | <template slot-scope="scope"> |
21 | <div style="text-align: center"> | 21 | <div style="text-align: center">{{ scope.$index + 1 }}</div> |
22 | {{ scope.$index + 1 }} | ||
23 | </div> | ||
24 | </template> | 22 | </template> |
25 | </el-table-column> | 23 | </el-table-column> |
26 | <el-table-column prop="bdcdyh" label="不动产单元号" min-width="100"> | 24 | <el-table-column prop="bdcdyh" label="不动产单元号" min-width="100"> |
27 | <template slot-scope="scope"> | 25 | <template slot-scope="scope"> |
28 | <div style="text-align: center"> | 26 | <div style="text-align: center">{{ scope.row.bdcdyh }}</div> |
29 | {{ scope.row.bdcdyh }} | ||
30 | </div> | ||
31 | </template> | 27 | </template> |
32 | </el-table-column> | 28 | </el-table-column> |
33 | <el-table-column prop="xmmc" label="项目名称" min-width="100"> | 29 | <el-table-column prop="xmmc" label="项目名称" min-width="100"> |
34 | <template slot-scope="scope"> | 30 | <template slot-scope="scope"> |
35 | <div style="text-align: center"> | 31 | <el-input |
36 | {{ scope.row.xmmc }} | 32 | class="item" |
37 | </div> | 33 | :disabled="!ableOperation" |
34 | v-model="scope.row.xmmc" | ||
35 | placeholder="请输入内容" | ||
36 | @input="updaterow(scope.row)" | ||
37 | > | ||
38 | </el-input> | ||
39 | </template> | ||
40 | </el-table-column> | ||
41 | <el-table-column prop="fwxz" label="房屋性质" min-width="100"> | ||
42 | <template slot-scope="scope"> | ||
43 | <treeselect | ||
44 | v-model="scope.row.fwxz" | ||
45 | :disabled="!ableOperation" | ||
46 | noOptionsText="暂无数据" | ||
47 | placeholder="" | ||
48 | :show-count="true" | ||
49 | :options="dictData['A19']" | ||
50 | :normalizer="normalizer" | ||
51 | :appendToBody="true" | ||
52 | z-index="9999" | ||
53 | @input="updaterow(scope.row)" | ||
54 | /> | ||
55 | </template> | ||
56 | </el-table-column> | ||
57 | <el-table-column prop="ghyt" label="房屋用途" min-width="100"> | ||
58 | <template slot-scope="scope"> | ||
59 | <treeselect | ||
60 | v-model="scope.row.ghyt" | ||
61 | :disabled="!ableOperation" | ||
62 | noOptionsText="暂无数据" | ||
63 | placeholder="" | ||
64 | :show-count="true" | ||
65 | :options="dictData['A17']" | ||
66 | :normalizer="normalizer" | ||
67 | :appendToBody="true" | ||
68 | z-index="9999" | ||
69 | @input="updaterow(scope.row)" | ||
70 | /> | ||
71 | </template> | ||
72 | </el-table-column> | ||
73 | <el-table-column prop="fwjg" label="房屋结构" min-width="100"> | ||
74 | <template slot-scope="scope"> | ||
75 | <treeselect | ||
76 | v-model="scope.row.fwjg" | ||
77 | :disabled="!ableOperation" | ||
78 | noOptionsText="暂无数据" | ||
79 | placeholder="" | ||
80 | :show-count="true" | ||
81 | :options="dictData['A46']" | ||
82 | :normalizer="normalizer" | ||
83 | :appendToBody="true" | ||
84 | z-index="9999" | ||
85 | @input="updaterow(scope.row)" | ||
86 | /> | ||
38 | </template> | 87 | </template> |
39 | </el-table-column> | 88 | </el-table-column> |
40 | <el-table-column prop="jzmj" label="建筑面积" min-width="100"> | 89 | <el-table-column prop="jzmj" label="建筑面积" min-width="100"> |
41 | <template slot-scope="scope"> | 90 | <template slot-scope="scope"> |
42 | <div style="text-align: center"> | 91 | <el-input |
43 | {{ scope.row.jzmj }} | 92 | class="item" |
44 | </div> | 93 | :disabled="!ableOperation" |
94 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | ||
95 | v-model="scope.row.jzmj" | ||
96 | placeholder="请输入内容" | ||
97 | @input="updaterow(scope.row)" | ||
98 | > | ||
99 | </el-input> | ||
45 | </template> | 100 | </template> |
46 | </el-table-column> | 101 | </el-table-column> |
47 | <el-table-column prop="ytmc" label="用途名称" min-width="100"> | 102 | <el-table-column prop="jgsj" label="竣工时间" min-width="100"> |
48 | <template slot-scope="scope"> | 103 | <template slot-scope="scope"> |
49 | <div style="text-align: center"> | 104 | <el-date-picker |
50 | {{ scope.row.ytmc }} | 105 | v-model="scope.row.jgsj" |
51 | </div> | 106 | type="date" |
107 | :disabled="!ableOperation" | ||
108 | placeholder="选择日期" | ||
109 | value-format="yyyy-MM-dd HH:mm:ss" | ||
110 | format="yyyy-MM-dd" | ||
111 | @input="updaterow(scope.row)" | ||
112 | > | ||
113 | </el-date-picker> | ||
52 | </template> | 114 | </template> |
53 | </el-table-column> | 115 | </el-table-column> |
54 | <el-table-column prop="fwjgmc" label="房屋结构名称" min-width="100"> | 116 | <el-table-column prop="zcs" label="总层数" min-width="100"> |
55 | <template slot-scope="scope"> | 117 | <template slot-scope="scope"> |
56 | <div style="text-align: center"> | 118 | <el-input |
57 | {{ scope.row.fwjgmc }} | 119 | class="item" |
58 | </div> | 120 | :disabled="!ableOperation" |
121 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | ||
122 | v-model="scope.row.zcs" | ||
123 | placeholder="请输入内容" | ||
124 | @input="updaterow(scope.row)" | ||
125 | > | ||
126 | </el-input> | ||
127 | </template> | ||
128 | </el-table-column> | ||
129 | <el-table-column prop="zts" label="总套数" min-width="100"> | ||
130 | <template slot-scope="scope"> | ||
131 | <el-input | ||
132 | class="item" | ||
133 | :disabled="!ableOperation" | ||
134 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | ||
135 | v-model="scope.row.zts" | ||
136 | placeholder="请输入内容" | ||
137 | @input="updaterow(scope.row)" | ||
138 | > | ||
139 | </el-input> | ||
59 | </template> | 140 | </template> |
60 | </el-table-column> | 141 | </el-table-column> |
61 | </el-table> | 142 | </el-table> |
... | @@ -79,12 +160,23 @@ export default { | ... | @@ -79,12 +160,23 @@ export default { |
79 | type: Boolean, | 160 | type: Boolean, |
80 | default: false, | 161 | default: false, |
81 | }, | 162 | }, |
163 | |||
82 | }, | 164 | }, |
83 | data() { | 165 | data() { |
84 | return { | 166 | return { |
85 | // 键名转换,方法默认是label和children进行树状渲染 | 167 | // 键名转换,方法默认是label和children进行树状渲染 |
86 | key: 0, | 168 | key: 0, |
87 | tableDataList: [] | 169 | tableDataList: [], |
170 | normalizer(node) { | ||
171 | if (node.children == null || node.children == "null") { | ||
172 | delete node.children; | ||
173 | } | ||
174 | return { | ||
175 | id: node.dcode, | ||
176 | label: node.dname, | ||
177 | children: node.children, | ||
178 | }; | ||
179 | }, | ||
88 | }; | 180 | }; |
89 | }, | 181 | }, |
90 | mounted() { | 182 | mounted() { |
... | @@ -120,19 +212,13 @@ export default { | ... | @@ -120,19 +212,13 @@ export default { |
120 | renderHeader() { | 212 | renderHeader() { |
121 | return ( | 213 | return ( |
122 | <div> | 214 | <div> |
123 | {" "} | 215 | {"序号"} |
124 | {!this.ableOperation ? ( | ||
125 | "序号" | ||
126 | ) : ( | ||
127 | <i | ||
128 | class="el-icon-plus pointer" | ||
129 | onClick={() => { | ||
130 | this.addClick(); | ||
131 | }} | ||
132 | ></i> | ||
133 | )} | ||
134 | </div> | 216 | </div> |
135 | ); | 217 | ); |
218 | }, | ||
219 | updaterow(a) { | ||
220 | console.log("updaterow:"+JSON.stringify(a)); | ||
221 | this.$emit("updateFdcwxmList", this.tableDataList); | ||
136 | } | 222 | } |
137 | }, | 223 | }, |
138 | }; | 224 | }; | ... | ... |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> | 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> |
25 | </el-form-item> | 25 | </el-form-item> |
26 | </el-col> | 26 | </el-col> |
27 | <el-col :span="6" class="btnColRight" v-if="ableOperation"> | 27 | <el-col :span="6" class="btnColRight" v-if="viewEdit"> |
28 | <el-form-item> | 28 | <el-form-item> |
29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> | 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | data () { | 50 | data () { |
51 | return { | 51 | return { |
52 | //表单是否可操作 | 52 | //表单是否可操作 |
53 | ableOperation: true, | 53 | viewEdit: false, |
54 | ruleForm: { | 54 | ruleForm: { |
55 | ysxlh: '', | 55 | ysxlh: '', |
56 | zsh: '', | 56 | zsh: '', |
... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
66 | } | 66 | } |
67 | }, | 67 | }, |
68 | created () { | 68 | created () { |
69 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 69 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
70 | }, | 70 | }, |
71 | computed: { | 71 | computed: { |
72 | ...mapGetters(['workFresh']) | 72 | ...mapGetters(['workFresh']) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 13:26:31 | 4 | * @LastEditTime: 2023-08-17 16:43:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" | 8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" |
9 | :data="tableDataList"> | 9 | :data="tableDataList"> |
10 | </lb-table> | 10 | </lb-table> |
11 | <addQlr v-model="dialog" :details="details" :showButton="!isDisabled" @updateDetail="handleupdateDetail" /> | 11 | <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" /> |
12 | </div> | 12 | </div> |
13 | </template> | 13 | </template> |
14 | <script> | 14 | <script> |
... | @@ -44,7 +44,6 @@ | ... | @@ -44,7 +44,6 @@ |
44 | dataIndex: 0, | 44 | dataIndex: 0, |
45 | dialog: false, | 45 | dialog: false, |
46 | isaddupdate: false, | 46 | isaddupdate: false, |
47 | isDisabled: this.disabled, | ||
48 | details: {}, | 47 | details: {}, |
49 | tableDataList: [], | 48 | tableDataList: [], |
50 | InformationTable: [ | 49 | InformationTable: [ |
... | @@ -52,7 +51,7 @@ | ... | @@ -52,7 +51,7 @@ |
52 | width: '50', | 51 | width: '50', |
53 | renderHeader: (h, scope) => { | 52 | renderHeader: (h, scope) => { |
54 | return <div> { | 53 | return <div> { |
55 | this.isDisabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> | 54 | !this.disabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> |
56 | } | 55 | } |
57 | </div> | 56 | </div> |
58 | }, | 57 | }, |
... | @@ -60,7 +59,7 @@ | ... | @@ -60,7 +59,7 @@ |
60 | return ( | 59 | return ( |
61 | <div> | 60 | <div> |
62 | { | 61 | { |
63 | this.isDisabled ? <span>{scope.$index + 1}</span> : | 62 | !this.disabled ? <span>{scope.$index + 1}</span> : |
64 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> | 63 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> |
65 | } | 64 | } |
66 | </div> | 65 | </div> |
... | @@ -71,7 +70,7 @@ | ... | @@ -71,7 +70,7 @@ |
71 | label: '身份证读卡器', | 70 | label: '身份证读卡器', |
72 | align: 'center', | 71 | align: 'center', |
73 | render: (h, scope) => { | 72 | render: (h, scope) => { |
74 | return <el-button type="text" icon="el-icon-tickets" disabled={this.isDisabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button> | 73 | return <el-button type="text" icon="el-icon-tickets" disabled={!this.disabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button> |
75 | } | 74 | } |
76 | }, | 75 | }, |
77 | { | 76 | { |
... | @@ -103,13 +102,13 @@ | ... | @@ -103,13 +102,13 @@ |
103 | return ( | 102 | return ( |
104 | <div> | 103 | <div> |
105 | { | 104 | { |
106 | this.isDisabled ? <el-button | 105 | this.disabled ? <el-button |
107 | icon="el-icon-view" | ||
108 | type="text" | ||
109 | onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button | ||
110 | icon="el-icon-edit-outline" | 106 | icon="el-icon-edit-outline" |
111 | type="text" | 107 | type="text" |
112 | onClick={() => { this.editClick(scope.$index, scope.row) }} disabled={this.isDisabled}>编辑</el-button> | 108 | onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> : <el-button |
109 | icon="el-icon-view" | ||
110 | type="text" | ||
111 | onClick={() => { this.queryViewClick(scope.$index, scope.row) }} > 查看</el-button> | ||
113 | } | 112 | } |
114 | </div> | 113 | </div> |
115 | ) | 114 | ) |
... | @@ -125,12 +124,12 @@ | ... | @@ -125,12 +124,12 @@ |
125 | let that = this | 124 | let that = this |
126 | this.$nextTick(() => { | 125 | this.$nextTick(() => { |
127 | if (val.length == 0 || !val) { | 126 | if (val.length == 0 || !val) { |
128 | that.tableDataList = _.cloneDeep([{ | 127 | // that.tableDataList = _.cloneDeep([{ |
129 | sqrmc: '', | 128 | // sqrmc: '', |
130 | dlrzjlx: '', | 129 | // dlrzjlx: '', |
131 | dlrzjh: '', | 130 | // dlrzjh: '', |
132 | fr: '' | 131 | // fr: '' |
133 | }]) | 132 | // }]) |
134 | } else { | 133 | } else { |
135 | that.tableDataList = _.cloneDeep(val) | 134 | that.tableDataList = _.cloneDeep(val) |
136 | } | 135 | } |
... | @@ -151,7 +150,7 @@ | ... | @@ -151,7 +150,7 @@ |
151 | this.column = _.cloneDeep(dataList) | 150 | this.column = _.cloneDeep(dataList) |
152 | this.column.splice( | 151 | this.column.splice( |
153 | 2, 0, { | 152 | 2, 0, { |
154 | prop: "fs", | 153 | prop: "qlbl", |
155 | label: "份数" | 154 | label: "份数" |
156 | }) | 155 | }) |
157 | } | 156 | } |
... | @@ -166,20 +165,24 @@ | ... | @@ -166,20 +165,24 @@ |
166 | * @author: renchao | 165 | * @author: renchao |
167 | */ | 166 | */ |
168 | handleupdateDetail (value) { | 167 | handleupdateDetail (value) { |
168 | let arr = this.tableData.map(item => item.zjh) | ||
169 | if (this.isaddupdate) { | 169 | if (this.isaddupdate) { |
170 | if (!_.isEqual(value, this.tableData)) { | 170 | if (!arr.includes(value.zjh)) { |
171 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 171 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); |
172 | this.$emit('upDateQlrxxList', this.tableDataList) | 172 | this.$emit('upDateQlrxxList', this.tableDataList) |
173 | } else { | ||
174 | this.$message.error('证件号不能重复'); | ||
173 | } | 175 | } |
174 | } else { | 176 | } else { |
175 | if (!_.isEqual(value, this.tableData)) { | 177 | if (!arr.includes(value.zjh)||this.tableData[this.dataIndex].zjh==value.zjh) { |
176 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 178 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
177 | this.$emit('upDateQlrxxList', this.tableDataList) | 179 | this.$emit('upDateQlrxxList', this.tableDataList) |
180 | } else { | ||
181 | this.$message.error('证件号不能重复'); | ||
178 | } | 182 | } |
179 | } | 183 | } |
180 | this.key++ | 184 | this.key++ |
181 | }, | 185 | }, |
182 | // 新增 | ||
183 | /** | 186 | /** |
184 | * @description: 新增 | 187 | * @description: 新增 |
185 | * @author: renchao | 188 | * @author: renchao |
... | @@ -195,7 +198,6 @@ | ... | @@ -195,7 +198,6 @@ |
195 | } | 198 | } |
196 | }, | 199 | }, |
197 | 200 | ||
198 | // 删除 | ||
199 | /** | 201 | /** |
200 | * @description: 删除 | 202 | * @description: 删除 |
201 | * @param {*} index | 203 | * @param {*} index |
... | @@ -213,7 +215,6 @@ | ... | @@ -213,7 +215,6 @@ |
213 | }); | 215 | }); |
214 | }, | 216 | }, |
215 | 217 | ||
216 | // 身份证读取 | ||
217 | /** | 218 | /** |
218 | * @description: 身份证读取 | 219 | * @description: 身份证读取 |
219 | * @param {*} row | 220 | * @param {*} row | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-03 14:13:59 | 4 | * @LastEditTime: 2023-08-16 09:48:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="szxx"> | 7 | <div class="szxx"> |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | <span>印刷序列号:{{ item.ysxlh }}</span> | 41 | <span>印刷序列号:{{ item.ysxlh }}</span> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | <div class="card_padding" v-if="ableOperation"> | 44 | <div class="card_padding" v-if="viewEdit"> |
45 | <div class="top_line middle_margin"></div> | 45 | <div class="top_line middle_margin"></div> |
46 | <div class="text" v-if="item.ysxlh"> | 46 | <div class="text" v-if="item.ysxlh"> |
47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs | 47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs |
... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
81 | data () { | 81 | data () { |
82 | return { | 82 | return { |
83 | //表单是否可操作 | 83 | //表单是否可操作 |
84 | ableOperation: true, | 84 | viewEdit: false, |
85 | dialog: false, | 85 | dialog: false, |
86 | tableData: [], | 86 | tableData: [], |
87 | bdcqzlx: 1, | 87 | bdcqzlx: 1, |
... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
104 | }, | 104 | }, |
105 | created () { | 105 | created () { |
106 | this.list() | 106 | this.list() |
107 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 107 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
108 | }, | 108 | }, |
109 | methods: { | 109 | methods: { |
110 | //初始化列表 | 110 | //初始化列表 |
... | @@ -255,6 +255,7 @@ | ... | @@ -255,6 +255,7 @@ |
255 | 255 | ||
256 | .card_padding { | 256 | .card_padding { |
257 | padding-top: 8px; | 257 | padding-top: 8px; |
258 | font-size: 16px; | ||
258 | } | 259 | } |
259 | 260 | ||
260 | .invalid-diglog { | 261 | .invalid-diglog { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 17:16:44 | 4 | * @LastEditTime: 2023-08-17 15:34:33 |
5 | */ | 5 | */ |
6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
7 | /** | 7 | /** |
... | @@ -34,6 +34,14 @@ export function getForm(tabName, djywbm) { | ... | @@ -34,6 +34,14 @@ 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; | ||
41 | //森林林木使用权 | ||
42 | case "sllmslxx": | ||
43 | form = require("@/views/ywbl/slsqxx/sllmslxx"); | ||
44 | break; | ||
37 | case "plfdcq2": | 45 | case "plfdcq2": |
38 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); | 46 | form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"); |
39 | break; | 47 | break; |
... | @@ -95,6 +103,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -95,6 +103,9 @@ export function getForm(tabName, djywbm) { |
95 | case "fdcq2Qlxx": | 103 | case "fdcq2Qlxx": |
96 | form = require("@/views/registerBook/fdcq2.vue"); | 104 | form = require("@/views/registerBook/fdcq2.vue"); |
97 | break; | 105 | break; |
106 | case "lqQlxx": | ||
107 | form = require("@/views/registerBook/ldsyq.vue"); | ||
108 | break; | ||
98 | case "diyaqQlxx": | 109 | case "diyaqQlxx": |
99 | form = require("@/views/registerBook/diyaq.vue"); | 110 | form = require("@/views/registerBook/diyaq.vue"); |
100 | break; | 111 | break; |
... | @@ -110,10 +121,6 @@ export function getForm(tabName, djywbm) { | ... | @@ -110,10 +121,6 @@ export function getForm(tabName, djywbm) { |
110 | case "zdjbxxImg": | 121 | case "zdjbxxImg": |
111 | form = require("@/views/workflow/components/zdt.vue"); | 122 | form = require("@/views/workflow/components/zdt.vue"); |
112 | break; | 123 | break; |
113 | //林地使用权 | ||
114 | case "lqslxx": | ||
115 | form = require("@/views/ywbl/slsqxx/lqslxx"); | ||
116 | break; | ||
117 | default: | 124 | default: |
118 | form = require("@/views/error-page/404.vue"); | 125 | form = require("@/views/error-page/404.vue"); |
119 | break; | 126 | break; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 14:14:22 | 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"; |
... | @@ -36,7 +36,7 @@ export default { | ... | @@ -36,7 +36,7 @@ export default { |
36 | batchButtonName: '', | 36 | batchButtonName: '', |
37 | // 受理申请信息 | 37 | // 受理申请信息 |
38 | slsq: {}, | 38 | slsq: {}, |
39 | dqhj:"" | 39 | dqhj: "" |
40 | } | 40 | } |
41 | }, | 41 | }, |
42 | mounted () { | 42 | mounted () { |
... | @@ -58,7 +58,7 @@ export default { | ... | @@ -58,7 +58,7 @@ export default { |
58 | stepExpandInfo(formdata).then((res) => { | 58 | stepExpandInfo(formdata).then((res) => { |
59 | if (res.code === 200) { | 59 | if (res.code === 200) { |
60 | this.leftButtonList = res.result.button; | 60 | this.leftButtonList = res.result.button; |
61 | if (res.result.properties&&res.result.properties.length) { | 61 | if (res.result.properties && res.result.properties.length) { |
62 | this.dqhj = res.result.properties[0].value | 62 | this.dqhj = res.result.properties[0].value |
63 | } | 63 | } |
64 | this.rightButtonList = res.result.operation; | 64 | this.rightButtonList = res.result.operation; |
... | @@ -91,7 +91,7 @@ export default { | ... | @@ -91,7 +91,7 @@ export default { |
91 | finishedInfo: { | 91 | finishedInfo: { |
92 | finishedTaskSet: result.finishedActivityIds, | 92 | finishedTaskSet: result.finishedActivityIds, |
93 | unfinishedTaskSet: result.runningActivityIds, | 93 | unfinishedTaskSet: result.runningActivityIds, |
94 | rejectedTaskSet: {}, | 94 | rejectedTaskSet: result.rejectedActivityIds, |
95 | finishedSequenceFlowSet: result.finishedSequenceFlowIds | 95 | finishedSequenceFlowSet: result.finishedSequenceFlowIds |
96 | }, | 96 | }, |
97 | handlinglist: result.runningTasks, | 97 | handlinglist: result.runningTasks, |
... | @@ -160,8 +160,8 @@ export default { | ... | @@ -160,8 +160,8 @@ export default { |
160 | if (res.code === 200) { | 160 | if (res.code === 200) { |
161 | this.$popupDialog('楼盘表', 'lpb/index', { | 161 | this.$popupDialog('楼盘表', 'lpb/index', { |
162 | bsm: res.result[0], | 162 | bsm: res.result[0], |
163 | onlyShow:false, | 163 | onlyShow: false, |
164 | unitData:window.unitData | 164 | unitData: window.unitData |
165 | }, '90%', true) | 165 | }, '90%', true) |
166 | } else { | 166 | } else { |
167 | this.$message.error(res.message) | 167 | this.$message.error(res.message) |
... | @@ -173,7 +173,7 @@ export default { | ... | @@ -173,7 +173,7 @@ export default { |
173 | break; | 173 | break; |
174 | // 图形定位 | 174 | // 图形定位 |
175 | case "B-TXDW": | 175 | case "B-TXDW": |
176 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', {}, '60%', true) | 176 | this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true) |
177 | break; | 177 | break; |
178 | case "back": //退回按钮 | 178 | case "back": //退回按钮 |
179 | this.$popupDialog("退回", "workflow/components/th", { | 179 | this.$popupDialog("退回", "workflow/components/th", { |
... | @@ -281,7 +281,7 @@ export default { | ... | @@ -281,7 +281,7 @@ export default { |
281 | */ | 281 | */ |
282 | sendToNext (obj) { | 282 | sendToNext (obj) { |
283 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 283 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
284 | obj:obj, | 284 | obj: obj, |
285 | bsmSlsq: this.bsmSlsq, | 285 | bsmSlsq: this.bsmSlsq, |
286 | tabList: this.tabList | 286 | tabList: this.tabList |
287 | }, '800px', true) | 287 | }, '800px', true) |
... | @@ -294,7 +294,7 @@ export default { | ... | @@ -294,7 +294,7 @@ export default { |
294 | */ | 294 | */ |
295 | sendToEnd (obj) { | 295 | sendToEnd (obj) { |
296 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 296 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
297 | obj:"", | 297 | obj: "", |
298 | bsmSlsq: this.bsmSlsq, | 298 | bsmSlsq: this.bsmSlsq, |
299 | tabList: this.tabList | 299 | tabList: this.tabList |
300 | }, '800px', true) | 300 | }, '800px', true) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 16:15:39 | 4 | * @LastEditTime: 2023-08-09 14:54:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -64,7 +64,7 @@ | ... | @@ -64,7 +64,7 @@ |
64 | <script> | 64 | <script> |
65 | import WorkFlow from "./mixin/index" | 65 | import WorkFlow from "./mixin/index" |
66 | import publicFlow from "./mixin/public.js" | 66 | import publicFlow from "./mixin/public.js" |
67 | import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js" | 67 | import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js" |
68 | import { getForm } from "./flowform" | 68 | import { getForm } from "./flowform" |
69 | import NoticeBar from "@/components/NoticeBar/index" | 69 | import NoticeBar from "@/components/NoticeBar/index" |
70 | // import ProcessViewer from "./components/processViewer.vue" | 70 | // import ProcessViewer from "./components/processViewer.vue" |
... | @@ -108,7 +108,9 @@ | ... | @@ -108,7 +108,9 @@ |
108 | clxxTab: {}, | 108 | clxxTab: {}, |
109 | ableOperation: false, | 109 | ableOperation: false, |
110 | //页面监听时间 | 110 | //页面监听时间 |
111 | _beforeUnload_time: "" | 111 | _beforeUnload_time: "", |
112 | // 宗地id | ||
113 | bsmZd: '' | ||
112 | } | 114 | } |
113 | }, | 115 | }, |
114 | mounted () { | 116 | mounted () { |
... | @@ -130,7 +132,11 @@ | ... | @@ -130,7 +132,11 @@ |
130 | * @author: renchao | 132 | * @author: renchao |
131 | */ | 133 | */ |
132 | getCurrentSelectProps (val) { | 134 | getCurrentSelectProps (val) { |
135 | console.log(val, 'valvalvalval'); | ||
133 | this.currentSelectProps = val | 136 | this.currentSelectProps = val |
137 | getZdInfo(val.bdcdyid).then(res => { | ||
138 | this.bsmZd = res?.result[0]?.bsmZd | ||
139 | }) | ||
134 | }, | 140 | }, |
135 | /** | 141 | /** |
136 | * @description: beforeunloadHandler | 142 | * @description: beforeunloadHandler |
... | @@ -210,7 +216,7 @@ | ... | @@ -210,7 +216,7 @@ |
210 | * @param {*} handleClick | 216 | * @param {*} handleClick |
211 | * @author: renchao | 217 | * @author: renchao |
212 | */ | 218 | */ |
213 | handleClick(a) { | 219 | handleClick (a) { |
214 | let p = Object.keys(this.tabList[0]).filter( | 220 | let p = Object.keys(this.tabList[0]).filter( |
215 | (item) => item == "ableOperation" | 221 | (item) => item == "ableOperation" |
216 | ); | 222 | ); |
... | @@ -222,10 +228,10 @@ | ... | @@ -222,10 +228,10 @@ |
222 | } | 228 | } |
223 | </script> | 229 | </script> |
224 | <style scoped lang="scss"> | 230 | <style scoped lang="scss"> |
225 | .rightContainer { | 231 | .rightContainer { |
226 | position: relative; | 232 | position: relative; |
227 | } | 233 | } |
228 | .count { | 234 | .count { |
229 | font-size: 14px; | 235 | font-size: 14px; |
230 | position: absolute; | 236 | position: absolute; |
231 | right: 25px; | 237 | right: 25px; |
... | @@ -235,5 +241,5 @@ | ... | @@ -235,5 +241,5 @@ |
235 | font-weight: 600; | 241 | font-weight: 600; |
236 | color: #3498db; | 242 | color: #3498db; |
237 | } | 243 | } |
238 | } | 244 | } |
239 | </style> | 245 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-13 10:32:28 | 4 | * @LastEditTime: 2023-08-09 10:36:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | </el-input> | 21 | </el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="4" class="btnColRight"> | 24 | <el-col :span="14" class="btnColRight"> |
25 | <el-form-item> | 25 | <el-form-item> |
26 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | 26 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
27 | </el-form-item> | 27 | </el-form-item> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-18 14:28:42 | 4 | * @LastEditTime: 2023-08-09 10:36:31 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -30,7 +30,7 @@ class data extends filter { | ... | @@ -30,7 +30,7 @@ class data extends filter { |
30 | { | 30 | { |
31 | prop: "ywlx", | 31 | prop: "ywlx", |
32 | label: "业务类型", | 32 | label: "业务类型", |
33 | width: '90' | 33 | width: '100' |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | prop: "cwdm", | 36 | prop: "cwdm", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 09:21:53 | 4 | * @LastEditTime: 2023-08-23 15:07:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -10,8 +10,7 @@ | ... | @@ -10,8 +10,7 @@ |
10 | :model="queryForm" | 10 | :model="queryForm" |
11 | ref="queryForm" | 11 | ref="queryForm" |
12 | @submit.native.prevent | 12 | @submit.native.prevent |
13 | label-width="100px" | 13 | label-width="100px"> |
14 | > | ||
15 | <el-row> | 14 | <el-row> |
16 | <el-col :span="5"> | 15 | <el-col :span="5"> |
17 | <el-form-item label="业务来源"> | 16 | <el-form-item label="业务来源"> |
... | @@ -22,14 +21,12 @@ | ... | @@ -22,14 +21,12 @@ |
22 | @change="handleSelect('ywly', 'ywlymc', 'ywly')" | 21 | @change="handleSelect('ywly', 'ywlymc', 'ywly')" |
23 | @clear="handleEmpty('ywlymc')" | 22 | @clear="handleEmpty('ywlymc')" |
24 | clearable | 23 | clearable |
25 | placeholder="请选择业务来源" | 24 | placeholder="请选择业务来源"> |
26 | > | ||
27 | <el-option | 25 | <el-option |
28 | v-for="item in dictData['ywly']" | 26 | v-for="item in dictData['ywly']" |
29 | :key="item.dcode" | 27 | :key="item.dcode" |
30 | :label="item.dname" | 28 | :label="item.dname" |
31 | :value="item.dcode" | 29 | :value="item.dcode"> |
32 | > | ||
33 | </el-option> | 30 | </el-option> |
34 | </el-select> | 31 | </el-select> |
35 | </el-form-item> | 32 | </el-form-item> |
... | @@ -43,14 +40,12 @@ | ... | @@ -43,14 +40,12 @@ |
43 | @clear="handleEmpty('qllxmc')" | 40 | @clear="handleEmpty('qllxmc')" |
44 | filterable | 41 | filterable |
45 | clearable | 42 | clearable |
46 | placeholder="请选择权利类型" | 43 | placeholder="请选择权利类型"> |
47 | > | ||
48 | <el-option | 44 | <el-option |
49 | v-for="item in dictData['A8']" | 45 | v-for="item in dictData['A8']" |
50 | :key="item.dcode" | 46 | :key="item.dcode" |
51 | :label="item.dname" | 47 | :label="item.dname" |
52 | :value="item.dcode" | 48 | :value="item.dcode"> |
53 | > | ||
54 | </el-option> | 49 | </el-option> |
55 | </el-select> | 50 | </el-select> |
56 | </el-form-item> | 51 | </el-form-item> |
... | @@ -64,14 +59,12 @@ | ... | @@ -64,14 +59,12 @@ |
64 | @clear="handleEmpty('djlxmc')" | 59 | @clear="handleEmpty('djlxmc')" |
65 | filterable | 60 | filterable |
66 | clearable | 61 | clearable |
67 | placeholder="请选择登记类型" | 62 | placeholder="请选择登记类型"> |
68 | > | ||
69 | <el-option | 63 | <el-option |
70 | v-for="item in dictData['A21']" | 64 | v-for="item in dictData['A21']" |
71 | :key="item.dcode" | 65 | :key="item.dcode" |
72 | :label="item.dname" | 66 | :label="item.dname" |
73 | :value="item.dcode" | 67 | :value="item.dcode"> |
74 | > | ||
75 | </el-option> | 68 | </el-option> |
76 | </el-select> | 69 | </el-select> |
77 | </el-form-item> | 70 | </el-form-item> |
... | @@ -82,8 +75,7 @@ | ... | @@ -82,8 +75,7 @@ |
82 | placeholder="请输入业务号" | 75 | placeholder="请输入业务号" |
83 | v-model="queryForm.ywh" | 76 | v-model="queryForm.ywh" |
84 | clearable | 77 | clearable |
85 | class="width100" | 78 | class="width100"> |
86 | > | ||
87 | </el-input> | 79 | </el-input> |
88 | </el-form-item> | 80 | </el-form-item> |
89 | </el-col> | 81 | </el-col> |
... | @@ -93,9 +85,7 @@ | ... | @@ -93,9 +85,7 @@ |
93 | <el-button | 85 | <el-button |
94 | type="primary" | 86 | type="primary" |
95 | native-type="submit" | 87 | native-type="submit" |
96 | @click="handleSearch" | 88 | @click="handleSearch">查询</el-button> |
97 | >查询</el-button | ||
98 | > | ||
99 | <el-button @click="moreQueryClick">高级查询</el-button> | 89 | <el-button @click="moreQueryClick">高级查询</el-button> |
100 | </el-form-item> | 90 | </el-form-item> |
101 | </el-col> | 91 | </el-col> |
... | @@ -107,8 +97,7 @@ | ... | @@ -107,8 +97,7 @@ |
107 | placeholder="请输入不动产单元号" | 97 | placeholder="请输入不动产单元号" |
108 | v-model="queryForm.bdcdyh" | 98 | v-model="queryForm.bdcdyh" |
109 | clearable | 99 | clearable |
110 | class="width100" | 100 | class="width100"> |
111 | > | ||
112 | </el-input> | 101 | </el-input> |
113 | </el-form-item> | 102 | </el-form-item> |
114 | </el-col> | 103 | </el-col> |
... | @@ -118,8 +107,7 @@ | ... | @@ -118,8 +107,7 @@ |
118 | placeholder="如需要模糊查询,前后输入%" | 107 | placeholder="如需要模糊查询,前后输入%" |
119 | v-model="queryForm.sqrmc" | 108 | v-model="queryForm.sqrmc" |
120 | clearable | 109 | clearable |
121 | class="width100" | 110 | class="width100"> |
122 | > | ||
123 | </el-input> | 111 | </el-input> |
124 | </el-form-item> | 112 | </el-form-item> |
125 | </el-col> | 113 | </el-col> |
... | @@ -129,8 +117,7 @@ | ... | @@ -129,8 +117,7 @@ |
129 | placeholder="如需要模糊查询,前后输入%" | 117 | placeholder="如需要模糊查询,前后输入%" |
130 | v-model="queryForm.sqrzjhm" | 118 | v-model="queryForm.sqrzjhm" |
131 | clearable | 119 | clearable |
132 | class="width100" | 120 | class="width100"> |
133 | > | ||
134 | </el-input> | 121 | </el-input> |
135 | </el-form-item> | 122 | </el-form-item> |
136 | </el-col> | 123 | </el-col> |
... | @@ -140,8 +127,7 @@ | ... | @@ -140,8 +127,7 @@ |
140 | placeholder="如需要模糊查询,前后输入%" | 127 | placeholder="如需要模糊查询,前后输入%" |
141 | v-model.trim="queryForm.zl" | 128 | v-model.trim="queryForm.zl" |
142 | clearable | 129 | clearable |
143 | class="width100" | 130 | class="width100"> |
144 | > | ||
145 | </el-input> | 131 | </el-input> |
146 | </el-form-item> | 132 | </el-form-item> |
147 | </el-col> | 133 | </el-col> |
... | @@ -153,16 +139,14 @@ | ... | @@ -153,16 +139,14 @@ |
153 | {{ item.name }}:{{ item.value }} | 139 | {{ item.name }}:{{ item.value }} |
154 | <i | 140 | <i |
155 | class="el-icon-circle-close" | 141 | class="el-icon-circle-close" |
156 | @click="handelItem(item, index)" | 142 | @click="handelItem(item, index)"></i> |
157 | ></i> | ||
158 | </li> | 143 | </li> |
159 | </ul> | 144 | </ul> |
160 | <el-button | 145 | <el-button |
161 | class="clean-btn" | 146 | class="clean-btn" |
162 | type="text" | 147 | type="text" |
163 | v-if="searchList.length > 0" | 148 | v-if="searchList.length > 0" |
164 | @click.native="hanldeCleanAll" | 149 | @click.native="hanldeCleanAll">清除全部 |
165 | >清除全部 | ||
166 | </el-button> | 150 | </el-button> |
167 | </el-row> | 151 | </el-row> |
168 | </el-form> | 152 | </el-form> |
... | @@ -177,37 +161,34 @@ | ... | @@ -177,37 +161,34 @@ |
177 | @size-change="handleSizeChange" | 161 | @size-change="handleSizeChange" |
178 | @p-current-change="handleCurrentChange" | 162 | @p-current-change="handleCurrentChange" |
179 | :column="tableData.columns" | 163 | :column="tableData.columns" |
180 | :data="tableData.data" | 164 | :data="tableData.data"> |
181 | > | ||
182 | </lb-table> | 165 | </lb-table> |
183 | </div> | 166 | </div> |
184 | <searchBox | 167 | <searchBox |
185 | v-model="isSearch" | 168 | v-model="isSearch" |
186 | @getSearch="getSearch" | 169 | @getSearch="getSearch" |
187 | :advancedForm="otherForm" | 170 | :advancedForm="otherForm" /> |
188 | /> | ||
189 | </div> | 171 | </div> |
190 | </template> | 172 | </template> |
191 | <script> | 173 | <script> |
192 | import { mapGetters } from "vuex"; | 174 | import { mapGetters } from "vuex"; |
193 | import searchBox from "../components/search.vue"; | 175 | import searchBox from "../components/search.vue"; |
194 | import table from "@/utils/mixin/table"; | 176 | import table from "@/utils/mixin/table"; |
195 | import searchMin from "../components/mixin/index"; | 177 | import searchMin from "../components/mixin/index"; |
196 | import { datas, sendThis } from "./dbxdata"; | 178 | import { datas, sendThis } from "./dbxdata"; |
197 | import { searchTaskToDo } from "@/api/workflow/search.js"; | 179 | import { searchTaskToDo } from "@/api/workflow/search.js"; |
198 | import { | 180 | import { |
199 | judgeUserTaskPermission, | 181 | judgeUserTaskPermission, |
200 | deleteFlow, | 182 | deleteFlow, |
201 | claimTask, | 183 | claimTask, |
202 | } from "@/api/workFlow.js"; | 184 | } from "@/api/workFlow.js"; |
203 | export default { | 185 | export default { |
204 | name: "dbx", | ||
205 | components: { searchBox }, | 186 | components: { searchBox }, |
206 | mixins: [table, searchMin], | 187 | mixins: [table, searchMin], |
207 | computed: { | 188 | computed: { |
208 | ...mapGetters(["dictData", "transfer"]), | 189 | ...mapGetters(["dictData", "transfer"]), |
209 | }, | 190 | }, |
210 | data() { | 191 | data () { |
211 | return { | 192 | return { |
212 | queryForm: {}, | 193 | queryForm: {}, |
213 | searchForm: { | 194 | searchForm: { |
... | @@ -224,16 +205,16 @@ export default { | ... | @@ -224,16 +205,16 @@ export default { |
224 | jumpid: "", | 205 | jumpid: "", |
225 | }; | 206 | }; |
226 | }, | 207 | }, |
227 | mounted() { | 208 | mounted () { |
228 | sendThis(this); | 209 | sendThis(this); |
229 | }, | 210 | }, |
230 | watch: { | 211 | watch: { |
231 | queryForm: { | 212 | queryForm: { |
232 | handler(newName, oldName) {}, | 213 | handler (newName, oldName) { }, |
233 | immediate: true, | 214 | immediate: true, |
234 | }, | 215 | }, |
235 | }, | 216 | }, |
236 | activated() { | 217 | activated () { |
237 | this.queryClick(); | 218 | this.queryClick(); |
238 | window["getBpageList"] = () => { | 219 | window["getBpageList"] = () => { |
239 | this.queryClick(); | 220 | this.queryClick(); |
... | @@ -245,7 +226,7 @@ export default { | ... | @@ -245,7 +226,7 @@ export default { |
245 | * @description: 列表渲染接口 | 226 | * @description: 列表渲染接口 |
246 | * @author: renchao | 227 | * @author: renchao |
247 | */ | 228 | */ |
248 | queryClick() { | 229 | queryClick () { |
249 | this.$startLoading(); | 230 | this.$startLoading(); |
250 | this.searchForm.ywh = this.queryForm.ywh; | 231 | this.searchForm.ywh = this.queryForm.ywh; |
251 | this.iterationData(); | 232 | this.iterationData(); |
... | @@ -267,7 +248,7 @@ export default { | ... | @@ -267,7 +248,7 @@ export default { |
267 | * @param {*} val | 248 | * @param {*} val |
268 | * @author: renchao | 249 | * @author: renchao |
269 | */ | 250 | */ |
270 | handleSort(val) { | 251 | handleSort (val) { |
271 | this.queryForm.sortField = val.prop; | 252 | this.queryForm.sortField = val.prop; |
272 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; | 253 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; |
273 | this.queryClick(); | 254 | this.queryClick(); |
... | @@ -277,7 +258,7 @@ export default { | ... | @@ -277,7 +258,7 @@ export default { |
277 | * @param {*} item | 258 | * @param {*} item |
278 | * @author: renchao | 259 | * @author: renchao |
279 | */ | 260 | */ |
280 | del(item) { | 261 | del (item) { |
281 | let formdata = new FormData(); | 262 | let formdata = new FormData(); |
282 | formdata.append("bsmSlsq", item.bsmSlsq); | 263 | formdata.append("bsmSlsq", item.bsmSlsq); |
283 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 264 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
... | @@ -311,7 +292,7 @@ export default { | ... | @@ -311,7 +292,7 @@ export default { |
311 | * @param {*} item | 292 | * @param {*} item |
312 | * @author: renchao | 293 | * @author: renchao |
313 | */ | 294 | */ |
314 | ywhClick(item) { | 295 | ywhClick (item) { |
315 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 | 296 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 |
316 | judgeUserTaskPermission({ | 297 | judgeUserTaskPermission({ |
317 | bsmSlsq: item.bsmSlsq, | 298 | bsmSlsq: item.bsmSlsq, |
... | @@ -364,8 +345,8 @@ export default { | ... | @@ -364,8 +345,8 @@ export default { |
364 | }); | 345 | }); |
365 | }, | 346 | }, |
366 | }, | 347 | }, |
367 | }; | 348 | }; |
368 | </script> | 349 | </script> |
369 | <style scoped lang="scss"> | 350 | <style scoped lang="scss"> |
370 | @import "~@/styles/public.scss"; | 351 | @import "~@/styles/public.scss"; |
371 | </style> | 352 | </style> | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/ywbl/slsqxx/sllmslxx/index.vue
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment