c814f742 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents e1bafd5a 0f37dd26
Showing 57 changed files with 1171 additions and 17 deletions
...@@ -17,6 +17,11 @@ export function getAllDict () { ...@@ -17,6 +17,11 @@ export function getAllDict () {
17 method: 'post' 17 method: 'post'
18 }) 18 })
19 } 19 }
20 /**
21 * @description: getQlxxDictList
22 * @param {*} data
23 * @author: renchao
24 */
20 export function getQlxxDictList (data) { 25 export function getQlxxDictList (data) {
21 return request({ 26 return request({
22 url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList', 27 url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList',
......
...@@ -136,6 +136,11 @@ ...@@ -136,6 +136,11 @@
136 } 136 }
137 }, 137 },
138 methods: { 138 methods: {
139 /**
140 * @description: updateDetail
141 * @param {*} value
142 * @author: renchao
143 */
139 updateDetail (value) { 144 updateDetail (value) {
140 this.tableDataList[this.dataIndex] = value 145 this.tableDataList[this.dataIndex] = value
141 this.key++ 146 this.key++
...@@ -143,19 +148,39 @@ ...@@ -143,19 +148,39 @@
143 }, 148 },
144 149
145 // 新增 150 // 新增
151 /**
152 * @description: 新增
153 * @author: renchao
154 */
146 addClick () { 155 addClick () {
147 this.dialog = true 156 this.dialog = true
148 }, 157 },
149 158
150 // 删除 159 // 删除
160 /**
161 * @description: 删除
162 * @param {*} index
163 * @param {*} row
164 * @author: renchao
165 */
151 deleClick (index, row) { 166 deleClick (index, row) {
152 this.tableData.splice(index, 1) 167 this.tableData.splice(index, 1)
153 }, 168 },
154 169
155 // 身份证读取 170 // 身份证读取
171 /**
172 * @description: 身份证读取
173 * @author: renchao
174 */
156 readClick () { }, 175 readClick () { },
157 176
158 // 修改 177 // 修改
178 /**
179 * @description: 修改
180 * @param {*} index
181 * @param {*} row
182 * @author: renchao
183 */
159 editClick (index, row) { 184 editClick (index, row) {
160 console.log(row, 'rowrowrowrowrow'); 185 console.log(row, 'rowrowrowrowrow');
161 this.dataIndex = index 186 this.dataIndex = index
...@@ -163,6 +188,10 @@ ...@@ -163,6 +188,10 @@
163 this.details = row 188 this.details = row
164 }, 189 },
165 190
191 /**
192 * @description: queryViewClick
193 * @author: renchao
194 */
166 queryViewClick () { 195 queryViewClick () {
167 this.dialog = true 196 this.dialog = true
168 } 197 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:28 4 * @LastEditTime: 2023-05-17 10:40:28
5 --> 5 -->
...@@ -178,10 +178,18 @@ ...@@ -178,10 +178,18 @@
178 } 178 }
179 }, 179 },
180 methods: { 180 methods: {
181 /**
182 * @description: closeDialog
183 * @author: renchao
184 */
181 closeDialog () { 185 closeDialog () {
182 this.$emit("input", false); 186 this.$emit("input", false);
183 this.$refs['ruleForm'].resetFields(); 187 this.$refs['ruleForm'].resetFields();
184 }, 188 },
189 /**
190 * @description: submitForm
191 * @author: renchao
192 */
185 submitForm () { 193 submitForm () {
186 this.$emit("input", false); 194 this.$emit("input", false);
187 this.$emit("updateDetail", _.cloneDeep(this.ruleForm)); 195 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
......
...@@ -53,6 +53,10 @@ ...@@ -53,6 +53,10 @@
53 }, 53 },
54 methods: { 54 methods: {
55 // 批量删除确定按钮 55 // 批量删除确定按钮
56 /**
57 * @description: 批量删除确定按钮
58 * @author: renchao
59 */
56 submitdelclick () { 60 submitdelclick () {
57 var formdata = new FormData(); 61 var formdata = new FormData();
58 formdata.append("bsmSldyList", this.selectBdcdy); 62 formdata.append("bsmSldyList", this.selectBdcdy);
...@@ -68,6 +72,11 @@ ...@@ -68,6 +72,11 @@
68 }) 72 })
69 }, 73 },
70 // 批量删除勾选事件 74 // 批量删除勾选事件
75 /**
76 * @description: 批量删除勾选事件
77 * @param {*} e
78 * @author: renchao
79 */
71 handleSelectionChange (e) { 80 handleSelectionChange (e) {
72 this.selectBdcdy = []; 81 this.selectBdcdy = [];
73 e.forEach((item, index) => { 82 e.forEach((item, index) => {
......
...@@ -221,6 +221,10 @@ ...@@ -221,6 +221,10 @@
221 }, 221 },
222 methods: { 222 methods: {
223 // 自动预览 223 // 自动预览
224 /**
225 * @description: 自动预览
226 * @author: renchao
227 */
224 nextPriview () { 228 nextPriview () {
225 if (this.treeCheckIndex < this.tableData.length) { 229 if (this.treeCheckIndex < this.tableData.length) {
226 this.treeCheckIndex++ 230 this.treeCheckIndex++
...@@ -230,6 +234,10 @@ ...@@ -230,6 +234,10 @@
230 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj 234 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
231 } 235 }
232 }, 236 },
237 /**
238 * @description: prevPriview
239 * @author: renchao
240 */
233 prevPriview () { 241 prevPriview () {
234 if (this.treeCheckIndex >= 1) { 242 if (this.treeCheckIndex >= 1) {
235 this.treeCheckIndex-- 243 this.treeCheckIndex--
...@@ -240,6 +248,10 @@ ...@@ -240,6 +248,10 @@
240 } 248 }
241 }, 249 },
242 // 材料目录明细初始化 250 // 材料目录明细初始化
251 /**
252 * @description: 材料目录明细初始化
253 * @author: renchao
254 */
243 clmlInitList () { 255 clmlInitList () {
244 return new Promise(resolve => { 256 return new Promise(resolve => {
245 this.unitData = this.$parent.unitData; 257 this.unitData = this.$parent.unitData;
...@@ -265,6 +277,11 @@ ...@@ -265,6 +277,11 @@
265 }) 277 })
266 }) 278 })
267 }, 279 },
280 /**
281 * @description: updateList
282 * @param {*} val
283 * @author: renchao
284 */
268 updateList (val) { 285 updateList (val) {
269 let that = this 286 let that = this
270 if (val != null) { //删除最后一张图片时 val=null 287 if (val != null) { //删除最后一张图片时 val=null
...@@ -289,14 +306,29 @@ ...@@ -289,14 +306,29 @@
289 306
290 }, 307 },
291 // 左侧菜单点击 308 // 左侧菜单点击
309 /**
310 * @description: 左侧菜单点击
311 * @param {*} item
312 * @author: renchao
313 */
292 menuClick (item) { 314 menuClick (item) {
293 this.checkedId = item.id 315 this.checkedId = item.id
294 }, 316 },
295 // 添加材料目录 317 // 添加材料目录
318 /**
319 * @description: 添加材料目录
320 * @author: renchao
321 */
296 handleAdd () { 322 handleAdd () {
297 this.isDialog = true; 323 this.isDialog = true;
298 }, 324 },
299 // 上移 325 // 上移
326 /**
327 * @description: 上移
328 * @param {*} index
329 * @param {*} row
330 * @author: renchao
331 */
300 moveUpward (index, row) { 332 moveUpward (index, row) {
301 let obj = { 333 let obj = {
302 xh: row.xh, 334 xh: row.xh,
...@@ -317,6 +349,12 @@ ...@@ -317,6 +349,12 @@
317 }) 349 })
318 }, 350 },
319 // 下移 351 // 下移
352 /**
353 * @description: 下移
354 * @param {*} index
355 * @param {*} row
356 * @author: renchao
357 */
320 moveDown (index, row) { 358 moveDown (index, row) {
321 let obj = { 359 let obj = {
322 xh: row.xh, 360 xh: row.xh,
...@@ -337,6 +375,11 @@ ...@@ -337,6 +375,11 @@
337 }) 375 })
338 }, 376 },
339 // 新增弹窗保存 377 // 新增弹窗保存
378 /**
379 * @description: 新增弹窗保存
380 * @param {*} data
381 * @author: renchao
382 */
340 addSave (data) { 383 addSave (data) {
341 let obj = { 384 let obj = {
342 bsmSlsq: this.$parent.bsmSlsq, 385 bsmSlsq: this.$parent.bsmSlsq,
...@@ -359,6 +402,12 @@ ...@@ -359,6 +402,12 @@
359 }); 402 });
360 }, 403 },
361 // 材料目录删除 404 // 材料目录删除
405 /**
406 * @description: 材料目录删除
407 * @param {*} index
408 * @param {*} row
409 * @author: renchao
410 */
362 handleDelete (index, row) { 411 handleDelete (index, row) {
363 let that = this 412 let that = this
364 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 413 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
...@@ -383,6 +432,12 @@ ...@@ -383,6 +432,12 @@
383 }) 432 })
384 }, 433 },
385 // 材料目录点击选中 434 // 材料目录点击选中
435 /**
436 * @description: 材料目录点击选中
437 * @param {*} item
438 * @param {*} index
439 * @author: renchao
440 */
386 treeClick (item, index) { 441 treeClick (item, index) {
387 this.previewImg.index = 0 442 this.previewImg.index = 0
388 this.treeCheckId = item?.bsmSj 443 this.treeCheckId = item?.bsmSj
...@@ -391,11 +446,23 @@ ...@@ -391,11 +446,23 @@
391 this.previewImg.bsmSj = item?.bsmSj 446 this.previewImg.bsmSj = item?.bsmSj
392 }, 447 },
393 // 小图片点击 448 // 小图片点击
449 /**
450 * @description: 小图片点击
451 * @param {*} item
452 * @param {*} index
453 * @author: renchao
454 */
394 imgClick (item, index) { 455 imgClick (item, index) {
395 this.showImg = item; 456 this.showImg = item;
396 this.titleYs = index + 1; 457 this.titleYs = index + 1;
397 }, 458 },
398 // 字典 459 // 字典
460 /**
461 * @description: 字典
462 * @param {*} val
463 * @param {*} code
464 * @author: renchao
465 */
399 dicStatus (val, code) { 466 dicStatus (val, code) {
400 let data = this.$store.getters.dictData[code], 467 let data = this.$store.getters.dictData[code],
401 name = "暂无"; 468 name = "暂无";
......
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
74 }, 74 },
75 methods: { 75 methods: {
76 // 自动预览 76 // 自动预览
77 /**
78 * @description: 自动预览
79 * @author: renchao
80 */
77 nextPriview () { 81 nextPriview () {
78 if (this.treeCheckIndex < this.tableData.length) { 82 if (this.treeCheckIndex < this.tableData.length) {
79 this.treeCheckIndex++ 83 this.treeCheckIndex++
...@@ -83,6 +87,10 @@ ...@@ -83,6 +87,10 @@
83 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj 87 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj
84 } 88 }
85 }, 89 },
90 /**
91 * @description: prevPriview
92 * @author: renchao
93 */
86 prevPriview () { 94 prevPriview () {
87 if (this.treeCheckIndex >= 1) { 95 if (this.treeCheckIndex >= 1) {
88 this.treeCheckIndex-- 96 this.treeCheckIndex--
...@@ -93,6 +101,11 @@ ...@@ -93,6 +101,11 @@
93 } 101 }
94 }, 102 },
95 // 材料目录明细初始化 103 // 材料目录明细初始化
104 /**
105 * @description: 材料目录明细初始化
106 * @param {*} type
107 * @author: renchao
108 */
96 clmlInitList (type) { 109 clmlInitList (type) {
97 //type 1:列表初始化 2:新增材料 110 //type 1:列表初始化 2:新增材料
98 return new Promise(resolve => { 111 return new Promise(resolve => {
...@@ -118,6 +131,11 @@ ...@@ -118,6 +131,11 @@
118 }) 131 })
119 }) 132 })
120 }, 133 },
134 /**
135 * @description: setChecked
136 * @param {*} item
137 * @author: renchao
138 */
121 setChecked (item) { 139 setChecked (item) {
122 this.treeCheckId = item.bsmSj; 140 this.treeCheckId = item.bsmSj;
123 this.title = item.sjmc; 141 this.title = item.sjmc;
...@@ -126,6 +144,11 @@ ...@@ -126,6 +144,11 @@
126 this.previewImg.imgList = item.children; 144 this.previewImg.imgList = item.children;
127 this.previewImg.bsmSj = item.bsmSj; 145 this.previewImg.bsmSj = item.bsmSj;
128 }, 146 },
147 /**
148 * @description: updateList
149 * @param {*} val
150 * @author: renchao
151 */
129 updateList (val) { 152 updateList (val) {
130 let that = this 153 let that = this
131 if (val.children.length != []) { //删除最后一张图片时 val=null 154 if (val.children.length != []) { //删除最后一张图片时 val=null
...@@ -149,10 +172,19 @@ ...@@ -149,10 +172,19 @@
149 } 172 }
150 }, 173 },
151 // 添加材料目录 174 // 添加材料目录
175 /**
176 * @description: 添加材料目录
177 * @author: renchao
178 */
152 handleAdd () { 179 handleAdd () {
153 this.isDialog = true; 180 this.isDialog = true;
154 }, 181 },
155 // 新增弹窗保存 182 // 新增弹窗保存
183 /**
184 * @description: 新增弹窗保存
185 * @param {*} data
186 * @author: renchao
187 */
156 addSave (data) { 188 addSave (data) {
157 let obj = { 189 let obj = {
158 bsmSlsq: this.$parent.bsmSlsq, 190 bsmSlsq: this.$parent.bsmSlsq,
...@@ -175,6 +207,12 @@ ...@@ -175,6 +207,12 @@
175 }); 207 });
176 }, 208 },
177 // 材料目录点击选中 209 // 材料目录点击选中
210 /**
211 * @description: 材料目录点击选中
212 * @param {*} item
213 * @param {*} index
214 * @author: renchao
215 */
178 treeClick (item, index) { 216 treeClick (item, index) {
179 this.previewImg.index = 0 217 this.previewImg.index = 0
180 this.treeCheckId = item?.bsmSj 218 this.treeCheckId = item?.bsmSj
...@@ -183,11 +221,23 @@ ...@@ -183,11 +221,23 @@
183 this.previewImg.bsmSj = item?.bsmSj 221 this.previewImg.bsmSj = item?.bsmSj
184 }, 222 },
185 // 小图片点击 223 // 小图片点击
224 /**
225 * @description: 小图片点击
226 * @param {*} item
227 * @param {*} index
228 * @author: renchao
229 */
186 imgClick (item, index) { 230 imgClick (item, index) {
187 this.showImg = item; 231 this.showImg = item;
188 this.titleYs = index + 1; 232 this.titleYs = index + 1;
189 }, 233 },
190 // 字典 234 // 字典
235 /**
236 * @description: 字典
237 * @param {*} val
238 * @param {*} code
239 * @author: renchao
240 */
191 dicStatus (val, code) { 241 dicStatus (val, code) {
192 let data = this.$store.getters.dictData[code], 242 let data = this.$store.getters.dictData[code],
193 name = "暂无"; 243 name = "暂无";
......
...@@ -198,10 +198,18 @@ ...@@ -198,10 +198,18 @@
198 }, 198 },
199 }, 199 },
200 methods: { 200 methods: {
201 /**
202 * @description: closeDialog
203 * @author: renchao
204 */
201 closeDialog () { 205 closeDialog () {
202 this.$emit("input", false); 206 this.$emit("input", false);
203 this.$refs["ruleForm"].resetFields(); 207 this.$refs["ruleForm"].resetFields();
204 }, 208 },
209 /**
210 * @description: submitForm
211 * @author: renchao
212 */
205 submitForm () { 213 submitForm () {
206 this.$refs.ruleForm.validate((valid) => { 214 this.$refs.ruleForm.validate((valid) => {
207 if (valid) { 215 if (valid) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-18 08:55:31 4 * @LastEditTime: 2023-07-18 08:55:31
5 --> 5 -->
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
60 }, 60 },
61 }, 61 },
62 methods: { 62 methods: {
63 /**
64 * @description: closeDialog
65 * @author: renchao
66 */
63 closeDialog () { 67 closeDialog () {
64 this.$emit("input", false); 68 this.$emit("input", false);
65 this.ruleForm = { 69 this.ruleForm = {
...@@ -67,6 +71,10 @@ ...@@ -67,6 +71,10 @@
67 clmc: "", 71 clmc: "",
68 } 72 }
69 }, 73 },
74 /**
75 * @description: handleSubmit
76 * @author: renchao
77 */
70 handleSubmit () { 78 handleSubmit () {
71 debugger 79 debugger
72 this.$refs['ruleForm'].validate((valid) => { 80 this.$refs['ruleForm'].validate((valid) => {
......
...@@ -152,6 +152,10 @@ ...@@ -152,6 +152,10 @@
152 }, 152 },
153 methods: { 153 methods: {
154 // 材料目录明细初始化 154 // 材料目录明细初始化
155 /**
156 * @description: 材料目录明细初始化
157 * @author: renchao
158 */
155 clmlInitList () { 159 clmlInitList () {
156 return new Promise(resolve => { 160 return new Promise(resolve => {
157 this.unitData = this.$parent.unitData; 161 this.unitData = this.$parent.unitData;
...@@ -173,6 +177,12 @@ ...@@ -173,6 +177,12 @@
173 }) 177 })
174 }, 178 },
175 // 上移 179 // 上移
180 /**
181 * @description: 上移
182 * @param {*} index
183 * @param {*} row
184 * @author: renchao
185 */
176 moveUpward (index, row) { 186 moveUpward (index, row) {
177 let obj = { 187 let obj = {
178 xh: row.xh, 188 xh: row.xh,
...@@ -196,6 +206,12 @@ ...@@ -196,6 +206,12 @@
196 }) 206 })
197 }, 207 },
198 // 下移 208 // 下移
209 /**
210 * @description: 下移
211 * @param {*} index
212 * @param {*} row
213 * @author: renchao
214 */
199 moveDown (index, row) { 215 moveDown (index, row) {
200 let obj = { 216 let obj = {
201 xh: row.xh, 217 xh: row.xh,
...@@ -218,6 +234,12 @@ ...@@ -218,6 +234,12 @@
218 }) 234 })
219 }, 235 },
220 // 材料目录删除 236 // 材料目录删除
237 /**
238 * @description: 材料目录删除
239 * @param {*} index
240 * @param {*} row
241 * @author: renchao
242 */
221 handleDelete (index, row) { 243 handleDelete (index, row) {
222 let that = this 244 let that = this
223 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 245 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
...@@ -245,6 +267,12 @@ ...@@ -245,6 +267,12 @@
245 }) 267 })
246 }, 268 },
247 // 字典 269 // 字典
270 /**
271 * @description: 字典
272 * @param {*} val
273 * @param {*} code
274 * @author: renchao
275 */
248 dicStatus (val, code) { 276 dicStatus (val, code) {
249 let data = store.getters.dictData[code], 277 let data = store.getters.dictData[code],
250 name = "暂无"; 278 name = "暂无";
......
...@@ -81,12 +81,20 @@ ...@@ -81,12 +81,20 @@
81 this.getList() 81 this.getList()
82 }, 82 },
83 methods: { 83 methods: {
84 /**
85 * @description: getList
86 * @author: renchao
87 */
84 getList () { 88 getList () {
85 getUserCommonOpinion().then(res => { 89 getUserCommonOpinion().then(res => {
86 this.tableData.data = res.result 90 this.tableData.data = res.result
87 }) 91 })
88 }, 92 },
89 //新增常用意见 93 //新增常用意见
94 /**
95 * @description: 新增常用意见
96 * @author: renchao
97 */
90 addOpinion () { 98 addOpinion () {
91 this.$refs.form.validate(valid => { 99 this.$refs.form.validate(valid => {
92 if (valid) { 100 if (valid) {
...@@ -105,23 +113,46 @@ ...@@ -105,23 +113,46 @@
105 }); 113 });
106 }, 114 },
107 //打开新增弹窗 115 //打开新增弹窗
116 /**
117 * @description: 打开新增弹窗
118 * @author: renchao
119 */
108 openDialog () { 120 openDialog () {
109 this.addDialog = true 121 this.addDialog = true
110 }, 122 },
111 //关闭新增弹窗 123 //关闭新增弹窗
124 /**
125 * @description: 关闭新增弹窗
126 * @author: renchao
127 */
112 closeaddDiglog () { 128 closeaddDiglog () {
113 this.addDialog = false 129 this.addDialog = false
114 this.$refs['form'].resetFields(); 130 this.$refs['form'].resetFields();
115 }, 131 },
132 /**
133 * @description: handleRowClick
134 * @param {*} item
135 * @author: renchao
136 */
116 handleRowClick (item) { 137 handleRowClick (item) {
117 this.useCommonOpinion(item) 138 this.useCommonOpinion(item)
118 }, 139 },
119 //使用常用意见 140 //使用常用意见
141 /**
142 * @description: 使用常用意见
143 * @param {*} item
144 * @author: renchao
145 */
120 useCommonOpinion (item) { 146 useCommonOpinion (item) {
121 store.dispatch('workflow/setOptions', item.opinion); 147 store.dispatch('workflow/setOptions', item.opinion);
122 this.$popupCacel() 148 this.$popupCacel()
123 }, 149 },
124 //删除常用意见 150 //删除常用意见
151 /**
152 * @description: 删除常用意见
153 * @param {*} item
154 * @author: renchao
155 */
125 deleteOpinion (item) { 156 deleteOpinion (item) {
126 this.$confirm("确定要删除吗, 是否继续?", "提示", { 157 this.$confirm("确定要删除吗, 是否继续?", "提示", {
127 confirmButtonText: "确定", 158 confirmButtonText: "确定",
...@@ -145,6 +176,10 @@ ...@@ -145,6 +176,10 @@
145 }); 176 });
146 }, 177 },
147 //关闭列表弹窗 178 //关闭列表弹窗
179 /**
180 * @description: 关闭列表弹窗
181 * @author: renchao
182 */
148 closeDialog () { 183 closeDialog () {
149 this.form.commonOpinion = ""; 184 this.form.commonOpinion = "";
150 } 185 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-04 14:13:28 4 * @LastEditTime: 2023-05-04 14:13:28
5 --> 5 -->
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
43 this.query() 43 this.query()
44 }, 44 },
45 methods: { 45 methods: {
46 /**
47 * @description: query
48 * @author: renchao
49 */
46 query () { 50 query () {
47 getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => { 51 getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => {
48 if (res.code == 200) { 52 if (res.code == 200) {
...@@ -55,4 +59,4 @@ ...@@ -55,4 +59,4 @@
55 } 59 }
56 </script> 60 </script>
57 <style scoped lang='scss'> 61 <style scoped lang='scss'>
58 </style>
...\ No newline at end of file ...\ No newline at end of file
62 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 11:13:07 4 * @LastEditTime: 2023-06-25 11:13:07
5 --> 5 -->
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
78 }, 78 },
79 methods: { 79 methods: {
80 //获取印刷序列号列表 80 //获取印刷序列号列表
81 /**
82 * @description: 获取印刷序列号列表
83 * @author: renchao
84 */
81 ysxlhList () { 85 ysxlhList () {
82 readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => { 86 readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => {
83 if (res.code === 200) { 87 if (res.code === 200) {
...@@ -86,6 +90,10 @@ ...@@ -86,6 +90,10 @@
86 }) 90 })
87 }, 91 },
88 //获取受理申请下全部不动产权证 92 //获取受理申请下全部不动产权证
93 /**
94 * @description: 获取受理申请下全部不动产权证
95 * @author: renchao
96 */
89 getHeadTabBdcqz () { 97 getHeadTabBdcqz () {
90 this.loading = true 98 this.loading = true
91 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 99 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
...@@ -99,6 +107,10 @@ ...@@ -99,6 +107,10 @@
99 }) 107 })
100 }, 108 },
101 // 不动产证书 109 // 不动产证书
110 /**
111 * @description: 不动产证书
112 * @author: renchao
113 */
102 drawTextOnImage () { 114 drawTextOnImage () {
103 const canvas = this.$refs.zs; 115 const canvas = this.$refs.zs;
104 const context = canvas.getContext('2d'); 116 const context = canvas.getContext('2d');
...@@ -146,10 +158,18 @@ ...@@ -146,10 +158,18 @@
146 } 158 }
147 image.src = this.imgSrc 159 image.src = this.imgSrc
148 }, 160 },
161 /**
162 * @description: handleSubmit
163 * @author: renchao
164 */
149 handleSubmit () { 165 handleSubmit () {
150 this.savePrintRecord() 166 this.savePrintRecord()
151 }, 167 },
152 //保存打印记录 168 //保存打印记录
169 /**
170 * @description: 保存打印记录
171 * @author: renchao
172 */
153 savePrintRecord () { 173 savePrintRecord () {
154 this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz; 174 this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz;
155 this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx; 175 this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-18 10:53:49 4 * @LastEditTime: 2023-05-18 10:53:49
5 --> 5 -->
...@@ -115,6 +115,10 @@ ...@@ -115,6 +115,10 @@
115 }, 115 },
116 methods: { 116 methods: {
117 //列表初始化 117 //列表初始化
118 /**
119 * @description: 列表初始化
120 * @author: renchao
121 */
118 loadGrid () { 122 loadGrid () {
119 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { 123 getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => {
120 if (res.code === 200) { 124 if (res.code === 200) {
...@@ -126,12 +130,26 @@ ...@@ -126,12 +130,26 @@
126 } 130 }
127 }) 131 })
128 }, 132 },
133 /**
134 * @description: handleSelectionChange
135 * @param {*} val
136 * @author: renchao
137 */
129 handleSelectionChange (val) { 138 handleSelectionChange (val) {
130 this.ruleForm.bdcqzList = val 139 this.ruleForm.bdcqzList = val
131 }, 140 },
141 /**
142 * @description: handleRowClick
143 * @param {*} row
144 * @author: renchao
145 */
132 handleRowClick (row) { 146 handleRowClick (row) {
133 this.$refs.table.toggleRowSelection(row) 147 this.$refs.table.toggleRowSelection(row)
134 }, 148 },
149 /**
150 * @description: handleSubmit
151 * @author: renchao
152 */
135 handleSubmit () { 153 handleSubmit () {
136 154
137 this.$refs.ruleForm.validate(valid => { 155 this.$refs.ruleForm.validate(valid => {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 16:05:30 4 * @LastEditTime: 2023-07-14 16:05:30
5 --> 5 -->
...@@ -69,11 +69,20 @@ ...@@ -69,11 +69,20 @@
69 }, 69 },
70 methods: { 70 methods: {
71 //获取证书内容 71 //获取证书内容
72 /**
73 * @description: 获取证书内容
74 * @param {*} code
75 * @author: renchao
76 */
72 getRowValue (code) { 77 getRowValue (code) {
73 var value = this.bdcqz[code]; 78 var value = this.bdcqz[code];
74 return value; 79 return value;
75 }, 80 },
76 //获取受理申请下全部不动产权证 81 //获取受理申请下全部不动产权证
82 /**
83 * @description: 获取受理申请下全部不动产权证
84 * @author: renchao
85 */
77 getHeadTabBdcqz () { 86 getHeadTabBdcqz () {
78 this.loading = true 87 this.loading = true
79 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 88 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
...@@ -94,6 +103,11 @@ ...@@ -94,6 +103,11 @@
94 }) 103 })
95 }, 104 },
96 //tab表头切换方法 105 //tab表头切换方法
106 /**
107 * @description: tab表头切换方法
108 * @param {*} e
109 * @author: renchao
110 */
97 handleClick (e) { 111 handleClick (e) {
98 this.bdcqz = this.headTabBdcqz[e.index - 0] 112 this.bdcqz = this.headTabBdcqz[e.index - 0]
99 this.activeName = this.headTabBdcqz.bsmBdcqz 113 this.activeName = this.headTabBdcqz.bsmBdcqz
...@@ -104,6 +118,10 @@ ...@@ -104,6 +118,10 @@
104 } 118 }
105 }, 119 },
106 // 不动产证书 120 // 不动产证书
121 /**
122 * @description: 不动产证书
123 * @author: renchao
124 */
107 drawTextOnImage () { 125 drawTextOnImage () {
108 const canvas = this.$refs.zs; 126 const canvas = this.$refs.zs;
109 const context = canvas.getContext('2d'); 127 const context = canvas.getContext('2d');
...@@ -152,6 +170,10 @@ ...@@ -152,6 +170,10 @@
152 image.src = this.imgSrc 170 image.src = this.imgSrc
153 }, 171 },
154 // 不动产证明 172 // 不动产证明
173 /**
174 * @description: 不动产证明
175 * @author: renchao
176 */
155 drawTextzmImage () { 177 drawTextzmImage () {
156 const canvas = this.$refs.zm; 178 const canvas = this.$refs.zm;
157 const context = canvas.getContext('2d'); 179 const context = canvas.getContext('2d');
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-20 16:58:04 4 * @LastEditTime: 2023-07-20 16:58:04
5 --> 5 -->
...@@ -67,6 +67,10 @@ ...@@ -67,6 +67,10 @@
67 this.ableOperation = this.$parent.currentSelectTab.ableOperation 67 this.ableOperation = this.$parent.currentSelectTab.ableOperation
68 }, 68 },
69 methods: { 69 methods: {
70 /**
71 * @description: queryClick
72 * @author: renchao
73 */
70 queryClick () { 74 queryClick () {
71 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 75 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
72 getCertificateList(this.ruleForm).then(res => { 76 getCertificateList(this.ruleForm).then(res => {
...@@ -83,4 +87,4 @@ ...@@ -83,4 +87,4 @@
83 </script> 87 </script>
84 <style scoped lang='scss'> 88 <style scoped lang='scss'>
85 @import "~@/styles/public.scss"; 89 @import "~@/styles/public.scss";
86 </style>
...\ No newline at end of file ...\ No newline at end of file
90 </style>
......
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
78 }, 78 },
79 methods: { 79 methods: {
80 //读取申请单元信息 80 //读取申请单元信息
81 /**
82 * @description: 读取申请单元信息
83 * @author: renchao
84 */
81 loadBdcdylist () { 85 loadBdcdylist () {
82 var formdata = new FormData(); 86 var formdata = new FormData();
83 formdata.append("bsmSlsq", this.bsmSlsq); 87 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -102,6 +106,10 @@ ...@@ -102,6 +106,10 @@
102 }) 106 })
103 }, 107 },
104 //批量按钮判断 108 //批量按钮判断
109 /**
110 * @description: 批量按钮判断
111 * @author: renchao
112 */
105 judgeBatchShow () { 113 judgeBatchShow () {
106 this.showBatch = false; 114 this.showBatch = false;
107 if (this.unitData.length > 1) { 115 if (this.unitData.length > 1) {
...@@ -163,6 +171,10 @@ ...@@ -163,6 +171,10 @@
163 }); 171 });
164 }, 172 },
165 //批量按钮点击事件 173 //批量按钮点击事件
174 /**
175 * @description: 批量按钮点击事件
176 * @author: renchao
177 */
166 batchUnitClick () { 178 batchUnitClick () {
167 this.currentSelectProps.batchOperation = true; 179 this.currentSelectProps.batchOperation = true;
168 // this.activeIndex = "-1"; 180 // this.activeIndex = "-1";
...@@ -170,6 +182,10 @@ ...@@ -170,6 +182,10 @@
170 182
171 }, 183 },
172 //批量操作 184 //批量操作
185 /**
186 * @description: 批量操作
187 * @author: renchao
188 */
173 handleBatchDel () { 189 handleBatchDel () {
174 this.$popupDialog("批量删除", "workflow/components/batchDel", { 190 this.$popupDialog("批量删除", "workflow/components/batchDel", {
175 bsmSlsq: this.bsmSlsq, 191 bsmSlsq: this.bsmSlsq,
...@@ -177,6 +193,11 @@ ...@@ -177,6 +193,11 @@
177 }, '50%', true) 193 }, '50%', true)
178 }, 194 },
179 //申请单元点击事件 195 //申请单元点击事件
196 /**
197 * @description: 申请单元点击事件
198 * @param {*} index
199 * @author: renchao
200 */
180 unitClick (index) { 201 unitClick (index) {
181 if(this.unitData.length==0) return 202 if(this.unitData.length==0) return
182 this.currentSelectProps = this.unitData[index]; 203 this.currentSelectProps = this.unitData[index];
......
...@@ -95,6 +95,10 @@ ...@@ -95,6 +95,10 @@
95 }, 95 },
96 methods: { 96 methods: {
97 //读取申请单元信息 97 //读取申请单元信息
98 /**
99 * @description: 读取申请单元信息
100 * @author: renchao
101 */
98 loadBdcdylist () { 102 loadBdcdylist () {
99 var formdata = new FormData(); 103 var formdata = new FormData();
100 formdata.append("bsmSlsq", this.bsmSlsq); 104 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -120,6 +124,10 @@ ...@@ -120,6 +124,10 @@
120 }) 124 })
121 }, 125 },
122 //批量按钮判断 126 //批量按钮判断
127 /**
128 * @description: 批量按钮判断
129 * @author: renchao
130 */
123 judgeBatchShow () { 131 judgeBatchShow () {
124 this.showBatch = false; 132 this.showBatch = false;
125 if (this.afterUnitData.length > 1) { 133 if (this.afterUnitData.length > 1) {
...@@ -171,6 +179,10 @@ ...@@ -171,6 +179,10 @@
171 }, 179 },
172 180
173 //批量按钮点击事件 181 //批量按钮点击事件
182 /**
183 * @description: 批量按钮点击事件
184 * @author: renchao
185 */
174 batchUnitClick () { 186 batchUnitClick () {
175 this.currentSelectProps.batchOperation = true; 187 this.currentSelectProps.batchOperation = true;
176 // this.activeIndex = "-1"; 188 // this.activeIndex = "-1";
...@@ -178,6 +190,11 @@ ...@@ -178,6 +190,11 @@
178 190
179 }, 191 },
180 //申请单元点击事件 192 //申请单元点击事件
193 /**
194 * @description: 申请单元点击事件
195 * @param {*} index
196 * @author: renchao
197 */
181 unitClick (index) { 198 unitClick (index) {
182 this.activeHIndex = '-1' 199 this.activeHIndex = '-1'
183 this.currentSelectProps = this.aroundUnitData[index]; 200 this.currentSelectProps = this.aroundUnitData[index];
...@@ -188,6 +205,11 @@ ...@@ -188,6 +205,11 @@
188 this.$emit('getCurrentSelectProps', this.currentSelectProps); 205 this.$emit('getCurrentSelectProps', this.currentSelectProps);
189 this.$parent.stepForm(index); 206 this.$parent.stepForm(index);
190 }, 207 },
208 /**
209 * @description: handleAfterunitClick
210 * @param {*} index
211 * @author: renchao
212 */
191 handleAfterunitClick (index) { 213 handleAfterunitClick (index) {
192 this.activeIndex = '-1' 214 this.activeIndex = '-1'
193 this.currentSelectProps = this.afterUnitData[index]; 215 this.currentSelectProps = this.afterUnitData[index];
......
...@@ -242,6 +242,12 @@ export default { ...@@ -242,6 +242,12 @@ export default {
242 this.clearViewer(); 242 this.clearViewer();
243 }, 243 },
244 methods: { 244 methods: {
245 /**
246 * @description: formatDate
247 * @param {*} row
248 * @param {*} column
249 * @author: renchao
250 */
245 formatDate(row, column) { 251 formatDate(row, column) {
246 let data = row[column.property]; 252 let data = row[column.property];
247 if (data == null) { 253 if (data == null) {
...@@ -262,10 +268,19 @@ export default { ...@@ -262,10 +268,19 @@ export default {
262 dt.getSeconds() 268 dt.getSeconds()
263 ); 269 );
264 }, 270 },
271 /**
272 * @description: processReZoom
273 * @author: renchao
274 */
265 processReZoom() { 275 processReZoom() {
266 this.defaultZoom = 1; 276 this.defaultZoom = 1;
267 this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto"); 277 this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto");
268 }, 278 },
279 /**
280 * @description: processZoomIn
281 * @param {*} zoomStep
282 * @author: renchao
283 */
269 processZoomIn(zoomStep = 0.1) { 284 processZoomIn(zoomStep = 0.1) {
270 const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100; 285 const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100;
271 if (newZoom > 4) { 286 if (newZoom > 4) {
...@@ -276,6 +291,11 @@ export default { ...@@ -276,6 +291,11 @@ export default {
276 this.defaultZoom = newZoom; 291 this.defaultZoom = newZoom;
277 this.bpmnViewer.get("canvas").zoom(this.defaultZoom); 292 this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
278 }, 293 },
294 /**
295 * @description: processZoomOut
296 * @param {*} zoomStep
297 * @author: renchao
298 */
279 processZoomOut(zoomStep = 0.1) { 299 processZoomOut(zoomStep = 0.1) {
280 const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100; 300 const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100;
281 if (newZoom < 0.2) { 301 if (newZoom < 0.2) {
...@@ -286,10 +306,20 @@ export default { ...@@ -286,10 +306,20 @@ export default {
286 this.defaultZoom = newZoom; 306 this.defaultZoom = newZoom;
287 this.bpmnViewer.get("canvas").zoom(this.defaultZoom); 307 this.bpmnViewer.get("canvas").zoom(this.defaultZoom);
288 }, 308 },
309 /**
310 * @description: getOperationTagType
311 * @param {*} type
312 * @author: renchao
313 */
289 getOperationTagType(type) { 314 getOperationTagType(type) {
290 return "success"; 315 return "success";
291 }, 316 },
292 // 流程图预览清空 317 // 流程图预览清空
318 /**
319 * @description: 流程图预览清空
320 * @param {*} e
321 * @author: renchao
322 */
293 clearViewer(a) { 323 clearViewer(a) {
294 if (this.$refs.processCanvas) { 324 if (this.$refs.processCanvas) {
295 this.$refs.processCanvas.innerHTML = ""; 325 this.$refs.processCanvas.innerHTML = "";
...@@ -300,6 +330,10 @@ export default { ...@@ -300,6 +330,10 @@ export default {
300 this.bpmnViewer = null; 330 this.bpmnViewer = null;
301 }, 331 },
302 // 添加自定义箭头 332 // 添加自定义箭头
333 /**
334 * @description: 添加自定义箭头
335 * @author: renchao
336 */
303 addCustomDefs() { 337 addCustomDefs() {
304 const canvas = this.bpmnViewer.get("canvas"); 338 const canvas = this.bpmnViewer.get("canvas");
305 const svg = canvas._svg; 339 const svg = canvas._svg;
...@@ -309,6 +343,11 @@ export default { ...@@ -309,6 +343,11 @@ export default {
309 svg.appendChild(customFailDefs); 343 svg.appendChild(customFailDefs);
310 }, 344 },
311 // 任务悬浮弹窗 345 // 任务悬浮弹窗
346 /**
347 * @description: 任务悬浮弹窗
348 * @param {*} element
349 * @author: renchao
350 */
312 onSelectElement(element) { 351 onSelectElement(element) {
313 this.selectTaskId = undefined; 352 this.selectTaskId = undefined;
314 this.dlgTitle = undefined; 353 this.dlgTitle = undefined;
...@@ -334,6 +373,11 @@ export default { ...@@ -334,6 +373,11 @@ export default {
334 } 373 }
335 }, 374 },
336 // 下拉列表切换 375 // 下拉列表切换
376 /**
377 * @description: 下拉列表切换
378 * @param {*} val
379 * @author: renchao
380 */
337 handleSelect(val) { 381 handleSelect(val) {
338 this.taskCommentList = (this.taskList || []).filter((item) => { 382 this.taskCommentList = (this.taskList || []).filter((item) => {
339 return item.taskDefinitionKey === val; 383 return item.taskDefinitionKey === val;
...@@ -343,6 +387,11 @@ export default { ...@@ -343,6 +387,11 @@ export default {
343 } 387 }
344 }, 388 },
345 // 显示流程图 389 // 显示流程图
390 /**
391 * @description: 显示流程图
392 * @param {*} xml
393 * @author: renchao
394 */
346 async importXML(xml) { 395 async importXML(xml) {
347 let xmlData = this.$x2js.xml2js(xml).definitions.process; 396 let xmlData = this.$x2js.xml2js(xml).definitions.process;
348 this.selectOptions = xmlData.userTask.map((item) => { 397 this.selectOptions = xmlData.userTask.map((item) => {
...@@ -394,6 +443,10 @@ export default { ...@@ -394,6 +443,10 @@ export default {
394 } 443 }
395 }, 444 },
396 // 获取流程记录 445 // 获取流程记录
446 /**
447 * @description: 获取流程记录
448 * @author: renchao
449 */
397 getCommentList() { 450 getCommentList() {
398 this.formData.allCommentList.forEach(async (item, index) => { 451 this.formData.allCommentList.forEach(async (item, index) => {
399 // item.comments.forEach(element => { 452 // item.comments.forEach(element => {
...@@ -455,6 +508,11 @@ export default { ...@@ -455,6 +508,11 @@ export default {
455 }, 508 },
456 509
457 // 设置流程图元素状态 510 // 设置流程图元素状态
511 /**
512 * @description: 设置流程图元素状态
513 * @param {*} processNodeInfo
514 * @author: renchao
515 */
458 setProcessStatus(processNodeInfo) { 516 setProcessStatus(processNodeInfo) {
459 this.processNodeInfo = processNodeInfo; 517 this.processNodeInfo = processNodeInfo;
460 if ( 518 if (
......
...@@ -161,6 +161,11 @@ ...@@ -161,6 +161,11 @@
161 } 161 }
162 }, 162 },
163 methods: { 163 methods: {
164 /**
165 * @description: handleupdateDetail
166 * @param {*} value
167 * @author: renchao
168 */
164 handleupdateDetail (value) { 169 handleupdateDetail (value) {
165 if (this.isaddupdate) { 170 if (this.isaddupdate) {
166 if (!_.isEqual(value, this.tableData)) { 171 if (!_.isEqual(value, this.tableData)) {
...@@ -176,6 +181,10 @@ ...@@ -176,6 +181,10 @@
176 this.key++ 181 this.key++
177 }, 182 },
178 // 新增 183 // 新增
184 /**
185 * @description: 新增
186 * @author: renchao
187 */
179 addClick () { 188 addClick () {
180 if (this.gyfs == '0' && this.tableDataList.length > 0) { 189 if (this.gyfs == '0' && this.tableDataList.length > 0) {
181 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") 190 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
...@@ -186,6 +195,12 @@ ...@@ -186,6 +195,12 @@
186 }, 195 },
187 196
188 // 删除 197 // 删除
198 /**
199 * @description: 删除
200 * @param {*} index
201 * @param {*} row
202 * @author: renchao
203 */
189 deleClick (index, row) { 204 deleClick (index, row) {
190 this.$confirm('确定要删除吗, 是否继续?', '提示', { 205 this.$confirm('确定要删除吗, 是否继续?', '提示', {
191 confirmButtonText: '确定', 206 confirmButtonText: '确定',
...@@ -198,6 +213,11 @@ ...@@ -198,6 +213,11 @@
198 }, 213 },
199 214
200 // 身份证读取 215 // 身份证读取
216 /**
217 * @description: 身份证读取
218 * @param {*} row
219 * @author: renchao
220 */
201 readClick (row) { 221 readClick (row) {
202 getIdCardInfo().then(res => { 222 getIdCardInfo().then(res => {
203 if (res.data.code == 0) { 223 if (res.data.code == 0) {
...@@ -221,12 +241,24 @@ ...@@ -221,12 +241,24 @@
221 }) 241 })
222 }, 242 },
223 // 修改 243 // 修改
244 /**
245 * @description: 修改
246 * @param {*} index
247 * @param {*} row
248 * @author: renchao
249 */
224 editClick (index, row) { 250 editClick (index, row) {
225 this.dataIndex = index 251 this.dataIndex = index
226 this.dialog = true 252 this.dialog = true
227 this.details = row 253 this.details = row
228 this.isaddupdate = false 254 this.isaddupdate = false
229 }, 255 },
256 /**
257 * @description: queryViewClick
258 * @param {*} index
259 * @param {*} row
260 * @author: renchao
261 */
230 queryViewClick (index, row) { 262 queryViewClick (index, row) {
231 this.dialog = true 263 this.dialog = true
232 this.details = row 264 this.details = row
......
...@@ -88,6 +88,10 @@ ...@@ -88,6 +88,10 @@
88 }, 88 },
89 methods: { 89 methods: {
90 //审批意见数据初始化 90 //审批意见数据初始化
91 /**
92 * @description: 审批意见数据初始化
93 * @author: renchao
94 */
91 list () { 95 list () {
92 let that = this 96 let that = this
93 this.$startLoading() 97 this.$startLoading()
...@@ -105,6 +109,10 @@ ...@@ -105,6 +109,10 @@
105 } 109 }
106 }) 110 })
107 }, 111 },
112 /**
113 * @description: onSubmit
114 * @author: renchao
115 */
108 onSubmit () { 116 onSubmit () {
109 this.ruleForm.bsmSlsq = this.bsmSlsq 117 this.ruleForm.bsmSlsq = this.bsmSlsq
110 this.ruleForm.bestepid = this.bestepid 118 this.ruleForm.bestepid = this.bestepid
...@@ -118,10 +126,18 @@ ...@@ -118,10 +126,18 @@
118 }) 126 })
119 }, 127 },
120 //打开常用意见列表弹窗 128 //打开常用意见列表弹窗
129 /**
130 * @description: 打开常用意见列表弹窗
131 * @author: renchao
132 */
121 commonOpinion () { 133 commonOpinion () {
122 this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true) 134 this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true)
123 }, 135 },
124 //使用常用意见 136 //使用常用意见
137 /**
138 * @description: 使用常用意见
139 * @author: renchao
140 */
125 useOpinion (opinion) { 141 useOpinion (opinion) {
126 this.ruleForm.shyj = opinion 142 this.ruleForm.shyj = opinion
127 } 143 }
......
...@@ -130,28 +130,57 @@ ...@@ -130,28 +130,57 @@
130 } 130 }
131 }, 131 },
132 methods: { 132 methods: {
133 /**
134 * @description: updateDetail
135 * @param {*} value
136 * @author: renchao
137 */
133 updateDetail (value) { 138 updateDetail (value) {
134 this.tableDataList[this.dataIndex] = value 139 this.tableDataList[this.dataIndex] = value
135 this.key++ 140 this.key++
136 this.$emit('upDateQlrxxList', this.tableDataList) 141 this.$emit('upDateQlrxxList', this.tableDataList)
137 }, 142 },
138 // 添加 143 // 添加
144 /**
145 * @description: 添加
146 * @author: renchao
147 */
139 handleAdd () { 148 handleAdd () {
140 this.dialog = true 149 this.dialog = true
141 }, 150 },
142 // 减 151 // 减
152 /**
153 * @description: 减
154 * @param {*} index
155 * @param {*} row
156 * @author: renchao
157 */
143 handleMinus (index, row) { 158 handleMinus (index, row) {
144 this.tableData.splice(index, 1) 159 this.tableData.splice(index, 1)
145 }, 160 },
146 // 身份证读取 161 // 身份证读取
162 /**
163 * @description: 身份证读取
164 * @author: renchao
165 */
147 readClick () { }, 166 readClick () { },
148 // 修改 167 // 修改
168 /**
169 * @description: 修改
170 * @param {*} index
171 * @param {*} row
172 * @author: renchao
173 */
149 handleEdit (index, row) { 174 handleEdit (index, row) {
150 console.log(row, 'rowrowrowrowrow'); 175 console.log(row, 'rowrowrowrowrow');
151 this.dataIndex = index 176 this.dataIndex = index
152 this.dialog = true 177 this.dialog = true
153 this.details = row 178 this.details = row
154 }, 179 },
180 /**
181 * @description: handleView
182 * @author: renchao
183 */
155 handleView () { 184 handleView () {
156 this.dialog = true 185 this.dialog = true
157 } 186 }
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
35 }; 35 };
36 }, 36 },
37 methods: { 37 methods: {
38 /**
39 * @description: onSubmit
40 * @author: renchao
41 */
38 onSubmit () { 42 onSubmit () {
39 stopTask({ 43 stopTask({
40 bsmSlsq: this.formData.bsmSlsq, 44 bsmSlsq: this.formData.bsmSlsq,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 11:15:01 4 * @LastEditTime: 2023-06-25 11:15:01
5 --> 5 -->
...@@ -104,6 +104,10 @@ ...@@ -104,6 +104,10 @@
104 }, 104 },
105 methods: { 105 methods: {
106 //初始化列表 106 //初始化列表
107 /**
108 * @description: 初始化列表
109 * @author: renchao
110 */
107 list () { 111 list () {
108 var bsmSlsq = this.$route.query.bsmSlsq; 112 var bsmSlsq = this.$route.query.bsmSlsq;
109 getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { 113 getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
...@@ -116,6 +120,12 @@ ...@@ -116,6 +120,12 @@
116 }); 120 });
117 }, 121 },
118 //打开证书预览弹窗 122 //打开证书预览弹窗
123 /**
124 * @description: 打开证书预览弹窗
125 * @param {*} item
126 * @param {*} type
127 * @author: renchao
128 */
119 openZsylDialog (item, type) { 129 openZsylDialog (item, type) {
120 if (type == 1) { 130 if (type == 1) {
121 //证书预览 131 //证书预览
...@@ -125,17 +135,30 @@ ...@@ -125,17 +135,30 @@
125 } 135 }
126 }, 136 },
127 //再次打印 137 //再次打印
138 /**
139 * @description: 再次打印
140 * @param {*} item
141 * @author: renchao
142 */
128 openInvalidDiglog (item) { 143 openInvalidDiglog (item) {
129 this.bsmSz = item.bsmSz; 144 this.bsmSz = item.bsmSz;
130 this.invalidDiglog = true; 145 this.invalidDiglog = true;
131 this.bsmBdcqz = item.bsmBdcqz 146 this.bsmBdcqz = item.bsmBdcqz
132 }, 147 },
148 /**
149 * @description: closeInvalidDiglog
150 * @author: renchao
151 */
133 closeInvalidDiglog () { 152 closeInvalidDiglog () {
134 this.invalidDiglog = false; 153 this.invalidDiglog = false;
135 this.bsmSz = ""; 154 this.bsmSz = "";
136 this.zfyy = ""; 155 this.zfyy = "";
137 }, 156 },
138 //作废缮证信息 157 //作废缮证信息
158 /**
159 * @description: 作废缮证信息
160 * @author: renchao
161 */
139 confirmInvalid () { 162 confirmInvalid () {
140 invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => { 163 invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
141 if (res.code === 200) { 164 if (res.code === 200) {
...@@ -149,6 +172,11 @@ ...@@ -149,6 +172,11 @@
149 } 172 }
150 }); 173 });
151 }, 174 },
175 /**
176 * @description: openRecordPop
177 * @param {*} item
178 * @author: renchao
179 */
152 openRecordPop (item) { 180 openRecordPop (item) {
153 this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true) 181 this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true)
154 } 182 }
......
...@@ -166,6 +166,10 @@ ...@@ -166,6 +166,10 @@
166 }, 166 },
167 }, 167 },
168 methods: { 168 methods: {
169 /**
170 * @description: renderHeader
171 * @author: renchao
172 */
169 renderHeader () { 173 renderHeader () {
170 return ( 174 return (
171 <div> 175 <div>
...@@ -184,6 +188,10 @@ ...@@ -184,6 +188,10 @@
184 ); 188 );
185 }, 189 },
186 // 修改事件 190 // 修改事件
191 /**
192 * @description: 修改事件
193 * @author: renchao
194 */
187 addrow () { 195 addrow () {
188 this.tableDataList = this.tableDataList.map((item) => { 196 this.tableDataList = this.tableDataList.map((item) => {
189 return { 197 return {
...@@ -193,6 +201,11 @@ ...@@ -193,6 +201,11 @@
193 }); 201 });
194 this.$emit("upDateTdytxxList", this.tableDataList); 202 this.$emit("upDateTdytxxList", this.tableDataList);
195 }, 203 },
204 /**
205 * @description: startTime
206 * @param {*} index
207 * @author: renchao
208 */
196 startTime (index) { 209 startTime (index) {
197 // let startTime = this.tableDataList[index].tdsyqssj; 210 // let startTime = this.tableDataList[index].tdsyqssj;
198 let endTime = this.tableDataList[index].jssj; 211 let endTime = this.tableDataList[index].jssj;
...@@ -215,6 +228,11 @@ ...@@ -215,6 +228,11 @@
215 this.tableDataList[index].syqx = endYear - startYear; 228 this.tableDataList[index].syqx = endYear - startYear;
216 } 229 }
217 }, 230 },
231 /**
232 * @description: endTime
233 * @param {*} index
234 * @author: renchao
235 */
218 endTime (index) { 236 endTime (index) {
219 // let startTime = this.tableDataList[index].tdsyqssj; 237 // let startTime = this.tableDataList[index].tdsyqssj;
220 let startTime = this.tableDataList[index].qssj; 238 let startTime = this.tableDataList[index].qssj;
...@@ -237,6 +255,12 @@ ...@@ -237,6 +255,12 @@
237 this.tableDataList[index].syqx = endYear - startYear; 255 this.tableDataList[index].syqx = endYear - startYear;
238 } 256 }
239 }, 257 },
258 /**
259 * @description: sumTime
260 * @param {*} index
261 * @param {*} syqx
262 * @author: renchao
263 */
240 sumTime (index, syqx) { 264 sumTime (index, syqx) {
241 265
242 let startTime = this.tableDataList[index].qssj; 266 let startTime = this.tableDataList[index].qssj;
...@@ -247,6 +271,10 @@ ...@@ -247,6 +271,10 @@
247 271
248 }, 272 },
249 // 新增 273 // 新增
274 /**
275 * @description: 新增
276 * @author: renchao
277 */
250 addClick () { 278 addClick () {
251 this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); 279 this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata);
252 280
...@@ -254,6 +282,12 @@ ...@@ -254,6 +282,12 @@
254 }, 282 },
255 283
256 // 删除 284 // 删除
285 /**
286 * @description: 删除
287 * @param {*} index
288 * @param {*} row
289 * @author: renchao
290 */
257 deleClick (index, row) { 291 deleClick (index, row) {
258 this.$confirm("确定要删除吗, 是否继续?", "提示", { 292 this.$confirm("确定要删除吗, 是否继续?", "提示", {
259 confirmButtonText: "确定", 293 confirmButtonText: "确定",
......
...@@ -68,6 +68,10 @@ ...@@ -68,6 +68,10 @@
68 this.getBackNode(); 68 this.getBackNode();
69 }, 69 },
70 methods: { 70 methods: {
71 /**
72 * @description: onSubmit
73 * @author: renchao
74 */
71 onSubmit () { 75 onSubmit () {
72 console.log(this.formData.bsmSlsq); 76 console.log(this.formData.bsmSlsq);
73 console.log(this.selectItem); 77 console.log(this.selectItem);
...@@ -89,11 +93,20 @@ ...@@ -89,11 +93,20 @@
89 }, 1000); 93 }, 1000);
90 }); 94 });
91 }, 95 },
96 /**
97 * @description: changeSelectItem
98 * @param {*} item
99 * @author: renchao
100 */
92 changeSelectItem (item) { 101 changeSelectItem (item) {
93 this.selectItem = item; 102 this.selectItem = item;
94 this.selectActivity = item.activityId; 103 this.selectActivity = item.activityId;
95 }, 104 },
96 //获取可回退环节信息 105 //获取可回退环节信息
106 /**
107 * @description: 获取可回退环节信息
108 * @author: renchao
109 */
97 getBackNode () { 110 getBackNode () {
98 getTaskBackNode(this.formData).then((res) => { 111 getTaskBackNode(this.formData).then((res) => {
99 if (res.code == 200) { 112 if (res.code == 200) {
...@@ -106,6 +119,10 @@ ...@@ -106,6 +119,10 @@
106 }); 119 });
107 }, 120 },
108 121
122 /**
123 * @description: cancelBack
124 * @author: renchao
125 */
109 cancelBack () { 126 cancelBack () {
110 popupCacel(); 127 popupCacel();
111 } 128 }
......
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
39 } 39 }
40 }, 40 },
41 methods: { 41 methods: {
42 /**
43 * @description: tablelistFn
44 * @author: renchao
45 */
42 tablelistFn () { 46 tablelistFn () {
43 getNextLinkInfo(this.queryForm).then(res => { 47 getNextLinkInfo(this.queryForm).then(res => {
44 if (res.code === 200) { 48 if (res.code === 200) {
...@@ -49,6 +53,10 @@ ...@@ -49,6 +53,10 @@
49 } 53 }
50 }) 54 })
51 }, 55 },
56 /**
57 * @description: submitForm
58 * @author: renchao
59 */
52 submitForm () { 60 submitForm () {
53 completeTask(this.queryForm).then(res => { 61 completeTask(this.queryForm).then(res => {
54 if (res.code === 200) { 62 if (res.code === 200) {
...@@ -62,6 +70,10 @@ ...@@ -62,6 +70,10 @@
62 } 70 }
63 }) 71 })
64 }, 72 },
73 /**
74 * @description: closeDialog
75 * @author: renchao
76 */
65 closeDialog () { 77 closeDialog () {
66 this.$emit("input", false); 78 this.$emit("input", false);
67 }, 79 },
......
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
4 * @LastEditTime: 2023-06-19 13:16:53 4 * @LastEditTime: 2023-06-19 13:16:53
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 /**
8 * @description: 流程环节操作按钮
9 * @param {*} tabName
10 * @param {*} djywbm
11 * @author: renchao
12 */
7 export function getForm(tabName, djywbm) { 13 export function getForm(tabName, djywbm) {
8 let form; 14 let form;
9 switch (tabName) { 15 switch (tabName) {
......
...@@ -43,6 +43,10 @@ export default { ...@@ -43,6 +43,10 @@ export default {
43 }, 43 },
44 methods: { 44 methods: {
45 //加载流程初始参数 45 //加载流程初始参数
46 /**
47 * @description: 加载流程初始参数
48 * @author: renchao
49 */
46 flowInitParam () { 50 flowInitParam () {
47 var formdata = new FormData(); 51 var formdata = new FormData();
48 formdata.append("bsmSlsq", this.bsmSlsq); 52 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -59,6 +63,11 @@ export default { ...@@ -59,6 +63,11 @@ export default {
59 }) 63 })
60 }, 64 },
61 //流程环节操作按钮 65 //流程环节操作按钮
66 /**
67 * @description: 流程环节操作按钮
68 * @param {*} item
69 * @author: renchao
70 */
62 operation (item) { 71 operation (item) {
63 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 72 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
64 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 73 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
...@@ -225,6 +234,10 @@ export default { ...@@ -225,6 +234,10 @@ export default {
225 break; 234 break;
226 } 235 }
227 }, 236 },
237 /**
238 * @description: del
239 * @author: renchao
240 */
228 del () { 241 del () {
229 let formdata = new FormData(); 242 let formdata = new FormData();
230 formdata.append("bsmSlsq", this.bsmSlsq); 243 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -255,6 +268,11 @@ export default { ...@@ -255,6 +268,11 @@ export default {
255 }); 268 });
256 }, 269 },
257 //发送下一个环节 270 //发送下一个环节
271 /**
272 * @description: 发送下一个环节
273 * @param {*} obj
274 * @author: renchao
275 */
258 sendToNext (obj) { 276 sendToNext (obj) {
259 const h = this.$createElement; 277 const h = this.$createElement;
260 this.$msgbox({ 278 this.$msgbox({
...@@ -305,6 +323,10 @@ export default { ...@@ -305,6 +323,10 @@ export default {
305 }); 323 });
306 }); 324 });
307 }, 325 },
326 /**
327 * @description: sendToEnd
328 * @author: renchao
329 */
308 sendToEnd () { 330 sendToEnd () {
309 let that = this 331 let that = this
310 const h = this.$createElement; 332 const h = this.$createElement;
...@@ -351,6 +373,10 @@ export default { ...@@ -351,6 +373,10 @@ export default {
351 }) 373 })
352 }, 374 },
353 //批量操作 375 //批量操作
376 /**
377 * @description: 批量操作
378 * @author: renchao
379 */
354 handleBatchDel () { 380 handleBatchDel () {
355 this.$popupDialog("批量删除", "workflow/components/batchDel", { 381 this.$popupDialog("批量删除", "workflow/components/batchDel", {
356 width: "50%", 382 width: "50%",
...@@ -360,6 +386,11 @@ export default { ...@@ -360,6 +386,11 @@ export default {
360 386
361 }) 387 })
362 }, 388 },
389 /**
390 * @description: handleChange
391 * @param {*} file
392 * @author: renchao
393 */
363 handleChange (file) { 394 handleChange (file) {
364 var formdata = new FormData(); 395 var formdata = new FormData();
365 formdata.append("file", file.raw); 396 formdata.append("file", file.raw);
...@@ -374,6 +405,11 @@ export default { ...@@ -374,6 +405,11 @@ export default {
374 }) 405 })
375 }, 406 },
376 // 上传 407 // 上传
408 /**
409 * @description: 上传
410 * @param {*} file
411 * @author: renchao
412 */
377 beforeUpload (file) { 413 beforeUpload (file) {
378 return true; 414 return true;
379 } 415 }
......
...@@ -21,6 +21,10 @@ export default { ...@@ -21,6 +21,10 @@ export default {
21 }, false) 21 }, false)
22 }, 22 },
23 methods: { 23 methods: {
24 /**
25 * @description: getHomeNotice
26 * @author: renchao
27 */
24 getHomeNotice () { 28 getHomeNotice () {
25 getHomeNoticeList().then(res => { 29 getHomeNoticeList().then(res => {
26 if (res.result) { 30 if (res.result) {
...@@ -29,10 +33,21 @@ export default { ...@@ -29,10 +33,21 @@ export default {
29 }) 33 })
30 }, 34 },
31 //右侧表单选项卡事件 35 //右侧表单选项卡事件
36 /**
37 * @description: 右侧表单选项卡事件
38 * @param {*} activeName
39 * @param {*} oldActiveName
40 * @author: renchao
41 */
32 beforeLeave (activeName, oldActiveName) { 42 beforeLeave (activeName, oldActiveName) {
33 if (activeName && activeName != 0) this.getFromRouter(activeName) 43 if (activeName && activeName != 0) this.getFromRouter(activeName)
34 }, 44 },
35 //切换选项卡内容组件 45 //切换选项卡内容组件
46 /**
47 * @description: 切换选项卡内容组件
48 * @param {*} tabname
49 * @author: renchao
50 */
36 getFromRouter (tabname) { 51 getFromRouter (tabname) {
37 console.log(tabname, 'tabnametabnametabnametabnametabname'); 52 console.log(tabname, 'tabnametabnametabnametabnametabname');
38 //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 53 //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
......
...@@ -118,12 +118,26 @@ ...@@ -118,12 +118,26 @@
118 window.removeEventListener("unload", (e) => this.unloadHandler(e)); 118 window.removeEventListener("unload", (e) => this.unloadHandler(e));
119 }, 119 },
120 methods: { 120 methods: {
121 /**
122 * @description: getCurrentSelectProps
123 * @param {*} val
124 * @author: renchao
125 */
121 getCurrentSelectProps (val) { 126 getCurrentSelectProps (val) {
122 this.currentSelectProps = val 127 this.currentSelectProps = val
123 }, 128 },
129 /**
130 * @description: beforeunloadHandler
131 * @author: renchao
132 */
124 beforeunloadHandler () { 133 beforeunloadHandler () {
125 this._beforeUnload_time = new Date().getTime(); 134 this._beforeUnload_time = new Date().getTime();
126 }, 135 },
136 /**
137 * @description: unloadHandler
138 * @param {*} e
139 * @author: renchao
140 */
127 unloadHandler (e) { 141 unloadHandler (e) {
128 this._gap_time = new Date().getTime() - this._beforeUnload_time; 142 this._gap_time = new Date().getTime() - this._beforeUnload_time;
129 //判断是窗口关闭还是刷新 143 //判断是窗口关闭还是刷新
...@@ -133,6 +147,11 @@ ...@@ -133,6 +147,11 @@
133 } 147 }
134 }, 148 },
135 //申请单元点击事件 149 //申请单元点击事件
150 /**
151 * @description: 申请单元点击事件
152 * @param {*} index
153 * @author: renchao
154 */
136 stepForm (index) { 155 stepForm (index) {
137 getStepFormInfo(this.currentSelectProps).then((res) => { 156 getStepFormInfo(this.currentSelectProps).then((res) => {
138 if (res.code === 200) { 157 if (res.code === 200) {
...@@ -158,6 +177,10 @@ ...@@ -158,6 +177,10 @@
158 } 177 }
159 }) 178 })
160 }, 179 },
180 /**
181 * @description: openDialog
182 * @author: renchao
183 */
161 openDialog () { 184 openDialog () {
162 this.$store.dispatch('user/refreshPage', false) 185 this.$store.dispatch('user/refreshPage', false)
163 let data = JSON.parse(localStorage.getItem('ywbl')) 186 let data = JSON.parse(localStorage.getItem('ywbl'))
......
...@@ -103,10 +103,20 @@ ...@@ -103,10 +103,20 @@
103 }; 103 };
104 }, 104 },
105 methods: { 105 methods: {
106 /**
107 * @description: getCurrentSelectProps
108 * @param {*} val
109 * @author: renchao
110 */
106 getCurrentSelectProps (val) { 111 getCurrentSelectProps (val) {
107 this.currentSelectProps = val 112 this.currentSelectProps = val
108 }, 113 },
109 //申请单元点击事件 114 //申请单元点击事件
115 /**
116 * @description: 申请单元点击事件
117 * @param {*} index
118 * @author: renchao
119 */
110 stepForm (index) { 120 stepForm (index) {
111 this.currentSelectProps.type = "READ_ONLY" 121 this.currentSelectProps.type = "READ_ONLY"
112 getStepFormInfo(this.currentSelectProps).then((res) => { 122 getStepFormInfo(this.currentSelectProps).then((res) => {
......
...@@ -68,6 +68,10 @@ export default { ...@@ -68,6 +68,10 @@ export default {
68 }; 68 };
69 }, 69 },
70 methods: { 70 methods: {
71 /**
72 * @description: queryClick
73 * @author: renchao
74 */
71 queryClick () { 75 queryClick () {
72 getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => { 76 getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => {
73 if (res.code === 200) { 77 if (res.code === 200) {
...@@ -80,6 +84,11 @@ export default { ...@@ -80,6 +84,11 @@ export default {
80 } 84 }
81 }) 85 })
82 }, 86 },
87 /**
88 * @description: viewDetail
89 * @param {*} e
90 * @author: renchao
91 */
83 viewDetail (e) { 92 viewDetail (e) {
84 this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%") 93 this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%")
85 } 94 }
......
...@@ -68,6 +68,10 @@ export default { ...@@ -68,6 +68,10 @@ export default {
68 }; 68 };
69 }, 69 },
70 methods: { 70 methods: {
71 /**
72 * @description: queryClick
73 * @author: renchao
74 */
71 queryClick () { 75 queryClick () {
72 getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => { 76 getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => {
73 if (res.code === 200) { 77 if (res.code === 200) {
...@@ -77,6 +81,11 @@ export default { ...@@ -77,6 +81,11 @@ export default {
77 } 81 }
78 }) 82 })
79 }, 83 },
84 /**
85 * @description: viewDetail
86 * @param {*} e
87 * @author: renchao
88 */
80 viewDetail (e) { 89 viewDetail (e) {
81 this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%") 90 this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%")
82 } 91 }
......
...@@ -163,6 +163,10 @@ ...@@ -163,6 +163,10 @@
163 }, 163 },
164 methods: { 164 methods: {
165 // 列表渲染接口 165 // 列表渲染接口
166 /**
167 * @description: 列表渲染接口
168 * @author: renchao
169 */
166 queryClick () { 170 queryClick () {
167 getServerInfo().then(res => { 171 getServerInfo().then(res => {
168 if (res.code === 200) { 172 if (res.code === 200) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:32 4 * @LastEditTime: 2023-05-17 10:42:32
5 --> 5 -->
...@@ -216,6 +216,10 @@ ...@@ -216,6 +216,10 @@
216 }, 216 },
217 methods: { 217 methods: {
218 // 材料目录明细初始化 218 // 材料目录明细初始化
219 /**
220 * @description: 材料目录明细初始化
221 * @author: renchao
222 */
219 clmlInitList () { 223 clmlInitList () {
220 return new Promise(resolve => { 224 return new Promise(resolve => {
221 this.unitData = this.$parent.unitData; 225 this.unitData = this.$parent.unitData;
...@@ -237,6 +241,11 @@ ...@@ -237,6 +241,11 @@
237 }) 241 })
238 }) 242 })
239 }, 243 },
244 /**
245 * @description: updateList
246 * @param {*} val
247 * @author: renchao
248 */
240 updateList (val) { 249 updateList (val) {
241 this.tableData.forEach(item => { 250 this.tableData.forEach(item => {
242 if (item.bsmSj === val.bsmSj) { 251 if (item.bsmSj === val.bsmSj) {
...@@ -249,14 +258,29 @@ ...@@ -249,14 +258,29 @@
249 } 258 }
250 }, 259 },
251 // 左侧菜单点击 260 // 左侧菜单点击
261 /**
262 * @description: 左侧菜单点击
263 * @param {*} item
264 * @author: renchao
265 */
252 menuClick (item) { 266 menuClick (item) {
253 this.checkedId = item.id 267 this.checkedId = item.id
254 }, 268 },
255 // 添加材料目录 269 // 添加材料目录
270 /**
271 * @description: 添加材料目录
272 * @author: renchao
273 */
256 handleAdd () { 274 handleAdd () {
257 this.isDialog = true; 275 this.isDialog = true;
258 }, 276 },
259 // 上移 277 // 上移
278 /**
279 * @description: 上移
280 * @param {*} index
281 * @param {*} row
282 * @author: renchao
283 */
260 moveUpward (index, row) { 284 moveUpward (index, row) {
261 let obj = { 285 let obj = {
262 xh: row.xh, 286 xh: row.xh,
...@@ -277,6 +301,12 @@ ...@@ -277,6 +301,12 @@
277 }) 301 })
278 }, 302 },
279 // 下移 303 // 下移
304 /**
305 * @description: 下移
306 * @param {*} index
307 * @param {*} row
308 * @author: renchao
309 */
280 moveDown (index, row) { 310 moveDown (index, row) {
281 let obj = { 311 let obj = {
282 xh: row.xh, 312 xh: row.xh,
...@@ -297,6 +327,11 @@ ...@@ -297,6 +327,11 @@
297 }) 327 })
298 }, 328 },
299 // 新增弹窗保存 329 // 新增弹窗保存
330 /**
331 * @description: 新增弹窗保存
332 * @param {*} data
333 * @author: renchao
334 */
300 addSave (data) { 335 addSave (data) {
301 let obj = { 336 let obj = {
302 bsmSlsq: this.$parent.bsmSlsq, 337 bsmSlsq: this.$parent.bsmSlsq,
...@@ -319,6 +354,12 @@ ...@@ -319,6 +354,12 @@
319 }); 354 });
320 }, 355 },
321 // 材料目录删除 356 // 材料目录删除
357 /**
358 * @description: 材料目录删除
359 * @param {*} index
360 * @param {*} row
361 * @author: renchao
362 */
322 handleDelete (index, row) { 363 handleDelete (index, row) {
323 let that = this 364 let that = this
324 this.$confirm('此操作将永久删除该 是否继续?', '提示', { 365 this.$confirm('此操作将永久删除该 是否继续?', '提示', {
...@@ -343,6 +384,10 @@ ...@@ -343,6 +384,10 @@
343 }) 384 })
344 }, 385 },
345 // 材料目录关闭收起 386 // 材料目录关闭收起
387 /**
388 * @description: 材料目录关闭收起
389 * @author: renchao
390 */
346 iconClick () { 391 iconClick () {
347 this.menuOpen = !this.menuOpen; 392 this.menuOpen = !this.menuOpen;
348 if (this.menuOpen) { 393 if (this.menuOpen) {
...@@ -352,17 +397,34 @@ ...@@ -352,17 +397,34 @@
352 } 397 }
353 }, 398 },
354 // 材料目录点击选中 399 // 材料目录点击选中
400 /**
401 * @description: 材料目录点击选中
402 * @param {*} item
403 * @author: renchao
404 */
355 treeClick (item) { 405 treeClick (item) {
356 this.treeCheckId = item.bsmSj; 406 this.treeCheckId = item.bsmSj;
357 this.previewImg.imgList = item?.children; 407 this.previewImg.imgList = item?.children;
358 this.previewImg.bsmSj = item?.bsmSj; 408 this.previewImg.bsmSj = item?.bsmSj;
359 }, 409 },
360 // 小图片点击 410 // 小图片点击
411 /**
412 * @description: 小图片点击
413 * @param {*} item
414 * @param {*} index
415 * @author: renchao
416 */
361 imgClick (item, index) { 417 imgClick (item, index) {
362 this.showImg = item; 418 this.showImg = item;
363 this.titleYs = index + 1; 419 this.titleYs = index + 1;
364 }, 420 },
365 // 字典 421 // 字典
422 /**
423 * @description: 字典
424 * @param {*} val
425 * @param {*} code
426 * @author: renchao
427 */
366 dicStatus (val, code) { 428 dicStatus (val, code) {
367 let data = this.$store.getters.dictData[code], 429 let data = this.$store.getters.dictData[code],
368 name = "暂无"; 430 name = "暂无";
...@@ -509,4 +571,4 @@ ...@@ -509,4 +571,4 @@
509 } 571 }
510 } 572 }
511 } 573 }
512 </style>
...\ No newline at end of file ...\ No newline at end of file
574 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:38 4 * @LastEditTime: 2023-05-17 10:42:38
5 --> 5 -->
...@@ -52,9 +52,17 @@ ...@@ -52,9 +52,17 @@
52 }, 52 },
53 }, 53 },
54 methods: { 54 methods: {
55 /**
56 * @description: closeDialog
57 * @author: renchao
58 */
55 closeDialog () { 59 closeDialog () {
56 this.$emit("input", false); 60 this.$emit("input", false);
57 }, 61 },
62 /**
63 * @description: handleSubmit
64 * @author: renchao
65 */
58 handleSubmit () { 66 handleSubmit () {
59 this.$parent.addSave(this.ruleForm); 67 this.$parent.addSave(this.ruleForm);
60 this.$emit("input", false); 68 this.$emit("input", false);
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:40 4 * @LastEditTime: 2023-05-17 10:42:40
5 */ 5 */
...@@ -13,12 +13,22 @@ export default { ...@@ -13,12 +13,22 @@ export default {
13 }, 13 },
14 methods: { 14 methods: {
15 // 点击高级查询弹出查询弹框 15 // 点击高级查询弹出查询弹框
16 16 /**
17 * @description: 点击高级查询弹出查询弹框
18 * @author: renchao
19 */
17 moreQueryClick () { 20 moreQueryClick () {
18 this.isSearch = true 21 this.isSearch = true
19 22
20 }, 23 },
21 // 查询事件 24 // 查询事件
25 /**
26 * @description: 查询事件
27 * @param {*} bs
28 * @param {*} mc
29 * @param {*} code
30 * @author: renchao
31 */
22 handleSelect (bs, mc, code) { 32 handleSelect (bs, mc, code) {
23 this.dictData[bs].forEach(item => { 33 this.dictData[bs].forEach(item => {
24 if (item.dcode == this.queryForm[code]) { 34 if (item.dcode == this.queryForm[code]) {
...@@ -27,6 +37,11 @@ export default { ...@@ -27,6 +37,11 @@ export default {
27 }) 37 })
28 }, 38 },
29 // 清空单个表单 39 // 清空单个表单
40 /**
41 * @description: 清空单个表单
42 * @param {*} el
43 * @author: renchao
44 */
30 handleEmpty (el) { 45 handleEmpty (el) {
31 for (var i = 0; i < this.searchList.length; i++) { 46 for (var i = 0; i < this.searchList.length; i++) {
32 if (el == this.searchList[i].zdm) { 47 if (el == this.searchList[i].zdm) {
...@@ -48,7 +63,12 @@ export default { ...@@ -48,7 +63,12 @@ export default {
48 this.searchForm[el] = '' 63 this.searchForm[el] = ''
49 }, 64 },
50 // 删除单个查询条件 65 // 删除单个查询条件
51 66 /**
67 * @description: 删除单个查询条件
68 * @param {*} item
69 * @param {*} index
70 * @author: renchao
71 */
52 handelItem (item, index) { 72 handelItem (item, index) {
53 let obj = { 73 let obj = {
54 ywlymc: 'ywly', 74 ywlymc: 'ywly',
...@@ -65,6 +85,10 @@ export default { ...@@ -65,6 +85,10 @@ export default {
65 } 85 }
66 this.searchForm[item.zdm] = '' 86 this.searchForm[item.zdm] = ''
67 }, 87 },
88 /**
89 * @description: iterationData
90 * @author: renchao
91 */
68 iterationData () { 92 iterationData () {
69 let obj = { 93 let obj = {
70 ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', 94 ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称',
...@@ -75,12 +99,21 @@ export default { ...@@ -75,12 +99,21 @@ export default {
75 if (value) return { name: obj[name], value, zdm: name } 99 if (value) return { name: obj[name], value, zdm: name }
76 }).filter(Boolean) 100 }).filter(Boolean)
77 }, 101 },
102 /**
103 * @description: getSearch
104 * @param {*} val
105 * @author: renchao
106 */
78 getSearch (val) { 107 getSearch (val) {
79 this.otherForm = val 108 this.otherForm = val
80 this.iterationData() 109 this.iterationData()
81 this.queryClick() 110 this.queryClick()
82 }, 111 },
83 // 清空查询条件 112 // 清空查询条件
113 /**
114 * @description: 清空查询条件
115 * @author: renchao
116 */
84 hanldeCleanAll () { 117 hanldeCleanAll () {
85 this.searchForm = {} 118 this.searchForm = {}
86 this.queryForm = { 119 this.queryForm = {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 14:08:17 4 * @LastEditTime: 2023-07-19 14:08:17
5 --> 5 -->
...@@ -70,9 +70,17 @@ ...@@ -70,9 +70,17 @@
70 70
71 71
72 methods: { 72 methods: {
73 /**
74 * @description: closeDialog
75 * @author: renchao
76 */
73 closeDialog () { 77 closeDialog () {
74 this.$emit('input', false) 78 this.$emit('input', false)
75 }, 79 },
80 /**
81 * @description: resetForm
82 * @author: renchao
83 */
76 resetForm () { 84 resetForm () {
77 this.$refs['ruleForm'].resetFields() 85 this.$refs['ruleForm'].resetFields()
78 this.ruleForm = { 86 this.ruleForm = {
...@@ -82,6 +90,10 @@ ...@@ -82,6 +90,10 @@
82 slsj: '' 90 slsj: ''
83 } 91 }
84 }, 92 },
93 /**
94 * @description: submitForm
95 * @author: renchao
96 */
85 submitForm () { 97 submitForm () {
86 this.$emit('getSearch', _.cloneDeep(this.ruleForm)) 98 this.$emit('getSearch', _.cloneDeep(this.ruleForm))
87 this.$emit('input', false) 99 this.$emit('input', false)
......
...@@ -146,6 +146,10 @@ ...@@ -146,6 +146,10 @@
146 }, 146 },
147 methods: { 147 methods: {
148 // 列表渲染接口 148 // 列表渲染接口
149 /**
150 * @description: 列表渲染接口
151 * @author: renchao
152 */
149 queryClick () { 153 queryClick () {
150 this.$startLoading(); 154 this.$startLoading();
151 this.searchForm.ywh = this.queryForm.ywh; 155 this.searchForm.ywh = this.queryForm.ywh;
...@@ -163,11 +167,21 @@ ...@@ -163,11 +167,21 @@
163 } 167 }
164 }); 168 });
165 }, 169 },
170 /**
171 * @description: handleSort
172 * @param {*} val
173 * @author: renchao
174 */
166 handleSort (val) { 175 handleSort (val) {
167 this.queryForm.sortField = val.prop; 176 this.queryForm.sortField = val.prop;
168 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 177 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
169 this.queryClick(); 178 this.queryClick();
170 }, 179 },
180 /**
181 * @description: del
182 * @param {*} item
183 * @author: renchao
184 */
171 del (item) { 185 del (item) {
172 let formdata = new FormData(); 186 let formdata = new FormData();
173 formdata.append("bsmSlsq", item.bsmSlsq); 187 formdata.append("bsmSlsq", item.bsmSlsq);
...@@ -197,6 +211,11 @@ ...@@ -197,6 +211,11 @@
197 }); 211 });
198 }); 212 });
199 }, 213 },
214 /**
215 * @description: ywhClick
216 * @param {*} item
217 * @author: renchao
218 */
200 ywhClick (item) { 219 ywhClick (item) {
201 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 220 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
202 judgeUserTaskPermission({ 221 judgeUserTaskPermission({
......
...@@ -213,6 +213,10 @@ ...@@ -213,6 +213,10 @@
213 }, 213 },
214 214
215 methods: { 215 methods: {
216 /**
217 * @description: onSubmit
218 * @author: renchao
219 */
216 onSubmit () { 220 onSubmit () {
217 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 221 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
218 batchSaveData(this.ruleForm).then((res) => { 222 batchSaveData(this.ruleForm).then((res) => {
...@@ -221,6 +225,11 @@ ...@@ -221,6 +225,11 @@
221 } 225 }
222 }); 226 });
223 }, 227 },
228 /**
229 * @description: changeCflx
230 * @param {*} e
231 * @author: renchao
232 */
224 changeCflx (e) { 233 changeCflx (e) {
225 let cflxItem = {} 234 let cflxItem = {}
226 cflxItem = this.dictData['A32'].find((item) => { 235 cflxItem = this.dictData['A32'].find((item) => {
......
...@@ -330,6 +330,10 @@ ...@@ -330,6 +330,10 @@
330 }, 330 },
331 331
332 methods: { 332 methods: {
333 /**
334 * @description: onSubmit
335 * @author: renchao
336 */
333 onSubmit () { 337 onSubmit () {
334 saveData(this.ruleForm).then((res) => { 338 saveData(this.ruleForm).then((res) => {
335 if (res.code === 200) { 339 if (res.code === 200) {
...@@ -337,6 +341,11 @@ ...@@ -337,6 +341,11 @@
337 } 341 }
338 }); 342 });
339 }, 343 },
344 /**
345 * @description: changeCflx
346 * @param {*} e
347 * @author: renchao
348 */
340 changeCflx (e) { 349 changeCflx (e) {
341 let cflxItem = {}; 350 let cflxItem = {};
342 cflxItem = this.dictData["A32"].find((item) => { 351 cflxItem = this.dictData["A32"].find((item) => {
......
...@@ -302,6 +302,10 @@ ...@@ -302,6 +302,10 @@
302 }; 302 };
303 }, 303 },
304 methods: { 304 methods: {
305 /**
306 * @description: onSubmitClick
307 * @author: renchao
308 */
305 onSubmitClick () { 309 onSubmitClick () {
306 saveData(this.ruleForm, this.propsParam.djlx).then((res) => { 310 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
307 if (res.code === 200) { 311 if (res.code === 200) {
...@@ -322,12 +326,22 @@ ...@@ -322,12 +326,22 @@
322 }, 326 },
323 327
324 // 更新权利人信息 328 // 更新权利人信息
329 /**
330 * @description: 更新权利人信息
331 * @param {*} val
332 * @author: renchao
333 */
325 upDateQlrxxList (val) { 334 upDateQlrxxList (val) {
326 if (!_.isEqual(val, this.ruleForm.qlrList)) { 335 if (!_.isEqual(val, this.ruleForm.qlrList)) {
327 this.ruleForm.qlrList = _.cloneDeep(val); 336 this.ruleForm.qlrList = _.cloneDeep(val);
328 } 337 }
329 }, 338 },
330 // 更新义务人信息 339 // 更新义务人信息
340 /**
341 * @description: 更新义务人信息
342 * @param {*} val
343 * @author: renchao
344 */
331 upDateYwrxxList (val) { 345 upDateYwrxxList (val) {
332 if (!_.isEqual(val, this.ruleForm.ywrList)) { 346 if (!_.isEqual(val, this.ruleForm.ywrList)) {
333 this.ruleForm.ywrList = _.cloneDeep(val); 347 this.ruleForm.ywrList = _.cloneDeep(val);
......
...@@ -257,21 +257,44 @@ ...@@ -257,21 +257,44 @@
257 }, 257 },
258 methods: { 258 methods: {
259 // 更新土地用途信息 259 // 更新土地用途信息
260 /**
261 * @description: 更新土地用途信息
262 * @param {*} val
263 * @author: renchao
264 */
260 upDateTdytxxList (val) { 265 upDateTdytxxList (val) {
261 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 266 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
262 this.key++; 267 this.key++;
263 }, 268 },
264 // 更新权利人信息 269 // 更新权利人信息
270 /**
271 * @description: 更新权利人信息
272 * @param {*} val
273 * @author: renchao
274 */
265 upDateQlrxxList (val) { 275 upDateQlrxxList (val) {
266 this.ruleForm.qlrList = _.cloneDeep(val); 276 this.ruleForm.qlrList = _.cloneDeep(val);
267 }, 277 },
278 /**
279 * @description: showCZInfo
280 * @author: renchao
281 */
268 showCZInfo () { 282 showCZInfo () {
269 console.log(this.ruleForm.slsq.gyfs); 283 console.log(this.ruleForm.slsq.gyfs);
270 }, 284 },
271 // 更新权利人信息 285 // 更新权利人信息
286 /**
287 * @description: 更新权利人信息
288 * @param {*} val
289 * @author: renchao
290 */
272 upDateYwrxxList (val) { 291 upDateYwrxxList (val) {
273 this.ruleForm.ywrList = _.cloneDeep(val); 292 this.ruleForm.ywrList = _.cloneDeep(val);
274 }, 293 },
294 /**
295 * @description: onSubmit
296 * @author: renchao
297 */
275 onSubmit () { 298 onSubmit () {
276 saveData(this.ruleForm).then((res) => { 299 saveData(this.ruleForm).then((res) => {
277 if (res.code === 200) { 300 if (res.code === 200) {
......
...@@ -284,6 +284,10 @@ ...@@ -284,6 +284,10 @@
284 }; 284 };
285 }, 285 },
286 methods: { 286 methods: {
287 /**
288 * @description: dataSelectClick
289 * @author: renchao
290 */
287 dataSelectClick () { 291 dataSelectClick () {
288 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", 292 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
289 { 293 {
...@@ -294,19 +298,38 @@ ...@@ -294,19 +298,38 @@
294 }); 298 });
295 }, 299 },
296 // 更新土地用途信息 300 // 更新土地用途信息
301 /**
302 * @description: 更新土地用途信息
303 * @param {*} val
304 * @author: renchao
305 */
297 upDateTdytxxList (val) { 306 upDateTdytxxList (val) {
298 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 307 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
299 this.key++; 308 this.key++;
300 }, 309 },
301 // 更新权利人信息 310 // 更新权利人信息
311 /**
312 * @description: 更新权利人信息
313 * @param {*} val
314 * @author: renchao
315 */
302 upDateQlrxxList (val) { 316 upDateQlrxxList (val) {
303 this.ruleForm.qlrList = _.cloneDeep(val); 317 this.ruleForm.qlrList = _.cloneDeep(val);
304 }, 318 },
305 // 更新权利人信息 319 // 更新权利人信息
320 /**
321 * @description: 更新权利人信息
322 * @param {*} val
323 * @author: renchao
324 */
306 upDateYwrxxList (val) { 325 upDateYwrxxList (val) {
307 this.ruleForm.ywrList = _.cloneDeep(val); 326 this.ruleForm.ywrList = _.cloneDeep(val);
308 }, 327 },
309 328
329 /**
330 * @description: onSubmit
331 * @author: renchao
332 */
310 onSubmit () { 333 onSubmit () {
311 saveData(this.ruleForm).then((res) => { 334 saveData(this.ruleForm).then((res) => {
312 if (res.code === 200) { 335 if (res.code === 200) {
......
...@@ -91,6 +91,10 @@ ...@@ -91,6 +91,10 @@
91 }; 91 };
92 }, 92 },
93 methods: { 93 methods: {
94 /**
95 * @description: loadData
96 * @author: renchao
97 */
94 loadData () { 98 loadData () {
95 var formdata = new FormData(); 99 var formdata = new FormData();
96 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); 100 formdata.append("bsmSldy", this.propsParam.formData.bsmSldy);
...@@ -108,6 +112,10 @@ ...@@ -108,6 +112,10 @@
108 } 112 }
109 }); 113 });
110 }, 114 },
115 /**
116 * @description: checkChange
117 * @author: renchao
118 */
111 checkChange () { 119 checkChange () {
112 if (this.checkList.length === 0) { 120 if (this.checkList.length === 0) {
113 this.tableData = []; 121 this.tableData = [];
...@@ -116,6 +124,11 @@ ...@@ -116,6 +124,11 @@
116 this.loadData(); 124 this.loadData();
117 } 125 }
118 }, 126 },
127 /**
128 * @description: getQsztName
129 * @param {*} code
130 * @author: renchao
131 */
119 getQsztName (code) { 132 getQsztName (code) {
120 let name = ""; 133 let name = "";
121 for (let item of this.qsztList) { 134 for (let item of this.qsztList) {
......
...@@ -209,6 +209,10 @@ ...@@ -209,6 +209,10 @@
209 }, 209 },
210 methods: { 210 methods: {
211 //组装房地产权通用信息 211 //组装房地产权通用信息
212 /**
213 * @description: 组装房地产权通用信息
214 * @author: renchao
215 */
212 splicingFdcq2Info () { 216 splicingFdcq2Info () {
213 let fdcq2List = this.ruleForm.fdcq2List; 217 let fdcq2List = this.ruleForm.fdcq2List;
214 let fwxzArr = []; 218 let fwxzArr = [];
...@@ -232,16 +236,34 @@ ...@@ -232,16 +236,34 @@
232 }, 236 },
233 237
234 // 更新权利人信息 238 // 更新权利人信息
239 /**
240 * @description: 更新权利人信息
241 * @param {*} val
242 * @author: renchao
243 */
235 upDateQlrxxList (val) { 244 upDateQlrxxList (val) {
236 this.ruleForm.qlrList = _.cloneDeep(val); 245 this.ruleForm.qlrList = _.cloneDeep(val);
237 }, 246 },
247 /**
248 * @description: showCZInfo
249 * @author: renchao
250 */
238 showCZInfo () { 251 showCZInfo () {
239 console.log(this.ruleForm.slsq.gyfs); 252 console.log(this.ruleForm.slsq.gyfs);
240 }, 253 },
241 // 更新义务人信息 254 // 更新义务人信息
255 /**
256 * @description: 更新义务人信息
257 * @param {*} val
258 * @author: renchao
259 */
242 upDateYwrxxList (val) { 260 upDateYwrxxList (val) {
243 this.ruleForm.ywrList = _.cloneDeep(val); 261 this.ruleForm.ywrList = _.cloneDeep(val);
244 }, 262 },
263 /**
264 * @description: onSubmit
265 * @author: renchao
266 */
245 onSubmit () { 267 onSubmit () {
246 saveBatchData(this.ruleForm).then((res) => { 268 saveBatchData(this.ruleForm).then((res) => {
247 if (res.code === 200) { 269 if (res.code === 200) {
......
...@@ -257,10 +257,20 @@ ...@@ -257,10 +257,20 @@
257 }, 257 },
258 methods: { 258 methods: {
259 // 更新土地用途信息 259 // 更新土地用途信息
260 /**
261 * @description: 更新土地用途信息
262 * @param {*} val
263 * @author: renchao
264 */
260 upDateTdytxxList (val) { 265 upDateTdytxxList (val) {
261 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 266 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
262 this.key++; 267 this.key++;
263 }, 268 },
269 /**
270 * @description: list
271 * @param {*} bsmSldy
272 * @author: renchao
273 */
264 list (bsmSldy) { 274 list (bsmSldy) {
265 var formdata = new FormData(); 275 var formdata = new FormData();
266 formdata.append("bsmSldy", bsmSldy); 276 formdata.append("bsmSldy", bsmSldy);
...@@ -276,6 +286,10 @@ ...@@ -276,6 +286,10 @@
276 } 286 }
277 }); 287 });
278 }, 288 },
289 /**
290 * @description: onSubmit
291 * @author: renchao
292 */
279 onSubmit () { 293 onSubmit () {
280 fristReg(this.ruleForm).then((res) => { 294 fristReg(this.ruleForm).then((res) => {
281 if (res.code === 200 && res.result) { 295 if (res.code === 200 && res.result) {
......
...@@ -249,21 +249,40 @@ ...@@ -249,21 +249,40 @@
249 }, 249 },
250 methods: { 250 methods: {
251 // 更新土地用途信息 251 // 更新土地用途信息
252 /**
253 * @description: 更新土地用途信息
254 * @param {*} val
255 * @author: renchao
256 */
252 upDateTdytxxList (val) { 257 upDateTdytxxList (val) {
253 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 258 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
254 this.key++; 259 this.key++;
255 }, 260 },
256 // 更新权利人信息 261 // 更新权利人信息
262 /**
263 * @description: 更新权利人信息
264 * @param {*} val
265 * @author: renchao
266 */
257 upDateQlrxxList (val) { 267 upDateQlrxxList (val) {
258 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) 268 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
259 this.czrOptions = this.ruleForm.qlrList; 269 this.czrOptions = this.ruleForm.qlrList;
260 this.key++ 270 this.key++
261 }, 271 },
262 // 更新义务人信息 272 // 更新义务人信息
273 /**
274 * @description: 更新义务人信息
275 * @param {*} val
276 * @author: renchao
277 */
263 upDateYwrxxList (val) { 278 upDateYwrxxList (val) {
264 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) 279 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val))
265 this.key++ 280 this.key++
266 }, 281 },
282 /**
283 * @description: onSubmit
284 * @author: renchao
285 */
267 onSubmit () { 286 onSubmit () {
268 if (this.ruleForm.qlrList.length == 0) { 287 if (this.ruleForm.qlrList.length == 0) {
269 this.$message({ 288 this.$message({
......
...@@ -235,14 +235,28 @@ ...@@ -235,14 +235,28 @@
235 }, 235 },
236 methods: { 236 methods: {
237 // 更新土地用途信息 237 // 更新土地用途信息
238 /**
239 * @description: 更新土地用途信息
240 * @param {*} val
241 * @author: renchao
242 */
238 upDateTdytxxList (val) { 243 upDateTdytxxList (val) {
239 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 244 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
240 this.key++; 245 this.key++;
241 }, 246 },
242 // 更新权利人信息 247 // 更新权利人信息
248 /**
249 * @description: 更新权利人信息
250 * @param {*} val
251 * @author: renchao
252 */
243 upDateQlrxxList (val) { 253 upDateQlrxxList (val) {
244 this.ruleForm.qlrList = _.cloneDeep(val); 254 this.ruleForm.qlrList = _.cloneDeep(val);
245 }, 255 },
256 /**
257 * @description: onSubmit
258 * @author: renchao
259 */
246 onSubmit () { 260 onSubmit () {
247 saveData(this.ruleForm).then((res) => { 261 saveData(this.ruleForm).then((res) => {
248 if (res.code === 200) { 262 if (res.code === 200) {
...@@ -261,6 +275,10 @@ ...@@ -261,6 +275,10 @@
261 } 275 }
262 }); 276 });
263 }, 277 },
278 /**
279 * @description: compare
280 * @author: renchao
281 */
264 compare () { 282 compare () {
265 this.$popup({ 283 this.$popup({
266 titleStyle: "left", 284 titleStyle: "left",
......
...@@ -275,6 +275,10 @@ ...@@ -275,6 +275,10 @@
275 } 275 }
276 }, 276 },
277 methods: { 277 methods: {
278 /**
279 * @description: onSubmit
280 * @author: renchao
281 */
278 onSubmit () { 282 onSubmit () {
279 saveData(this.ruleForm).then((res) => { 283 saveData(this.ruleForm).then((res) => {
280 if (res.code === 200) { 284 if (res.code === 200) {
...@@ -293,13 +297,28 @@ ...@@ -293,13 +297,28 @@
293 } 297 }
294 }); 298 });
295 }, 299 },
300 /**
301 * @description: upDateQlrxxList
302 * @param {*} val
303 * @author: renchao
304 */
296 upDateQlrxxList (val) { 305 upDateQlrxxList (val) {
297 this.ruleForm.qlrList = _.cloneDeep(val) 306 this.ruleForm.qlrList = _.cloneDeep(val)
298 }, 307 },
308 /**
309 * @description: upDateJtcyList
310 * @param {*} val
311 * @author: renchao
312 */
299 upDateJtcyList (val) { 313 upDateJtcyList (val) {
300 this.ruleForm.jtcyList = _.cloneDeep(val) 314 this.ruleForm.jtcyList = _.cloneDeep(val)
301 }, 315 },
302 //水域滩涂类型变化事件 316 //水域滩涂类型变化事件
317 /**
318 * @description: 水域滩涂类型变化事件
319 * @param {*} e
320 * @author: renchao
321 */
303 changeSyttlx (e) { 322 changeSyttlx (e) {
304 let itemLx = {} 323 let itemLx = {}
305 itemLx = this.dictData['A23'].find((item) => { 324 itemLx = this.dictData['A23'].find((item) => {
...@@ -308,6 +327,11 @@ ...@@ -308,6 +327,11 @@
308 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 327 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
309 }, 328 },
310 //养殖业方式变化事件 329 //养殖业方式变化事件
330 /**
331 * @description: 养殖业方式变化事件
332 * @param {*} e
333 * @author: renchao
334 */
311 changeYzyfs (e) { 335 changeYzyfs (e) {
312 let itemLx = {} 336 let itemLx = {}
313 itemLx = this.dictData['A24'].find((item) => { 337 itemLx = this.dictData['A24'].find((item) => {
...@@ -316,6 +340,11 @@ ...@@ -316,6 +340,11 @@
316 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 340 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
317 }, 341 },
318 //用地用海变化事件 342 //用地用海变化事件
343 /**
344 * @description: 用地用海变化事件
345 * @param {*} e
346 * @author: renchao
347 */
319 changeYdyhfl (e) { 348 changeYdyhfl (e) {
320 let itemLx = {} 349 let itemLx = {}
321 itemLx = this.dictData['A51'].find((item) => { 350 itemLx = this.dictData['A51'].find((item) => {
......
...@@ -275,6 +275,10 @@ ...@@ -275,6 +275,10 @@
275 } 275 }
276 }, 276 },
277 methods: { 277 methods: {
278 /**
279 * @description: onSubmit
280 * @author: renchao
281 */
278 onSubmit () { 282 onSubmit () {
279 saveData(this.ruleForm).then((res) => { 283 saveData(this.ruleForm).then((res) => {
280 if (res.code === 200) { 284 if (res.code === 200) {
...@@ -294,18 +298,38 @@ ...@@ -294,18 +298,38 @@
294 }); 298 });
295 }, 299 },
296 //权利人更新 300 //权利人更新
301 /**
302 * @description: 权利人更新
303 * @param {*} val
304 * @author: renchao
305 */
297 upDateQlrxxList (val) { 306 upDateQlrxxList (val) {
298 this.ruleForm.qlrList = _.cloneDeep(val) 307 this.ruleForm.qlrList = _.cloneDeep(val)
299 }, 308 },
300 // 更新义务人信息 309 // 更新义务人信息
310 /**
311 * @description: 更新义务人信息
312 * @param {*} val
313 * @author: renchao
314 */
301 upDateYwrxxList (val) { 315 upDateYwrxxList (val) {
302 this.ruleForm.ywrList = _.cloneDeep(val); 316 this.ruleForm.ywrList = _.cloneDeep(val);
303 }, 317 },
304 //家庭成员更新 318 //家庭成员更新
319 /**
320 * @description: 家庭成员更新
321 * @param {*} val
322 * @author: renchao
323 */
305 upDateJtcyList (val) { 324 upDateJtcyList (val) {
306 this.ruleForm.jtcyList = _.cloneDeep(val) 325 this.ruleForm.jtcyList = _.cloneDeep(val)
307 }, 326 },
308 //水域滩涂类型变化事件 327 //水域滩涂类型变化事件
328 /**
329 * @description: 水域滩涂类型变化事件
330 * @param {*} e
331 * @author: renchao
332 */
309 changeSyttlx (e) { 333 changeSyttlx (e) {
310 let itemLx = {} 334 let itemLx = {}
311 itemLx = this.dictData['A23'].find((item) => { 335 itemLx = this.dictData['A23'].find((item) => {
...@@ -314,6 +338,11 @@ ...@@ -314,6 +338,11 @@
314 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 338 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
315 }, 339 },
316 //养殖业方式变化事件 340 //养殖业方式变化事件
341 /**
342 * @description: 养殖业方式变化事件
343 * @param {*} e
344 * @author: renchao
345 */
317 changeYzyfs (e) { 346 changeYzyfs (e) {
318 let itemLx = {} 347 let itemLx = {}
319 itemLx = this.dictData['A24'].find((item) => { 348 itemLx = this.dictData['A24'].find((item) => {
...@@ -322,6 +351,11 @@ ...@@ -322,6 +351,11 @@
322 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 351 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
323 }, 352 },
324 //用地用海变化事件 353 //用地用海变化事件
354 /**
355 * @description: 用地用海变化事件
356 * @param {*} e
357 * @author: renchao
358 */
325 changeYdyhfl (e) { 359 changeYdyhfl (e) {
326 let itemLx = {} 360 let itemLx = {}
327 itemLx = this.dictData['A51'].find((item) => { 361 itemLx = this.dictData['A51'].find((item) => {
......
...@@ -400,21 +400,40 @@ ...@@ -400,21 +400,40 @@
400 }, 400 },
401 methods: { 401 methods: {
402 // 更新土地用途信息 402 // 更新土地用途信息
403 /**
404 * @description: 更新土地用途信息
405 * @param {*} val
406 * @author: renchao
407 */
403 upDateTdytxxList (val) { 408 upDateTdytxxList (val) {
404 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 409 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
405 this.key++; 410 this.key++;
406 }, 411 },
407 // 更新权利人信息 412 // 更新权利人信息
413 /**
414 * @description: 更新权利人信息
415 * @param {*} val
416 * @author: renchao
417 */
408 upDateQlrxxList (val) { 418 upDateQlrxxList (val) {
409 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); 419 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
410 this.czrOptions = this.ruleForm.qlrList; 420 this.czrOptions = this.ruleForm.qlrList;
411 this.key++; 421 this.key++;
412 }, 422 },
413 // 更新义务人信息 423 // 更新义务人信息
424 /**
425 * @description: 更新义务人信息
426 * @param {*} val
427 * @author: renchao
428 */
414 upDateYwrxxList (val) { 429 upDateYwrxxList (val) {
415 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); 430 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
416 this.key++; 431 this.key++;
417 }, 432 },
433 /**
434 * @description: onSubmit
435 * @author: renchao
436 */
418 onSubmit () { 437 onSubmit () {
419 if (this.ruleForm.qlrList.length == 0) { 438 if (this.ruleForm.qlrList.length == 0) {
420 this.$message({ 439 this.$message({
......
...@@ -196,13 +196,27 @@ ...@@ -196,13 +196,27 @@
196 }, 196 },
197 methods: { 197 methods: {
198 // 更新权利人信息 198 // 更新权利人信息
199 /**
200 * @description: 更新权利人信息
201 * @param {*} val
202 * @author: renchao
203 */
199 upDateQlrxxList (val) { 204 upDateQlrxxList (val) {
200 this.ruleForm.qlrList = _.cloneDeep(val); 205 this.ruleForm.qlrList = _.cloneDeep(val);
201 }, 206 },
202 // 更新权利人信息 207 // 更新权利人信息
208 /**
209 * @description: 更新权利人信息
210 * @param {*} val
211 * @author: renchao
212 */
203 upDateYwrxxList (val) { 213 upDateYwrxxList (val) {
204 this.ruleForm.ywrList = _.cloneDeep(val); 214 this.ruleForm.ywrList = _.cloneDeep(val);
205 }, 215 },
216 /**
217 * @description: onSubmit
218 * @author: renchao
219 */
206 onSubmit () { 220 onSubmit () {
207 saveData(this.ruleForm).then((res) => { 221 saveData(this.ruleForm).then((res) => {
208 if (res.code === 200) { 222 if (res.code === 200) {
......
...@@ -191,6 +191,10 @@ ...@@ -191,6 +191,10 @@
191 }; 191 };
192 }, 192 },
193 methods: { 193 methods: {
194 /**
195 * @description: onClick
196 * @author: renchao
197 */
194 onClick () { 198 onClick () {
195 this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai", 199 this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai",
196 { 200 {
...@@ -201,14 +205,28 @@ ...@@ -201,14 +205,28 @@
201 }); 205 });
202 }, 206 },
203 // 更新权利人信息 207 // 更新权利人信息
208 /**
209 * @description: 更新权利人信息
210 * @param {*} val
211 * @author: renchao
212 */
204 upDateQlrxxList (val) { 213 upDateQlrxxList (val) {
205 this.ruleForm.qlrList = _.cloneDeep(val); 214 this.ruleForm.qlrList = _.cloneDeep(val);
206 }, 215 },
207 // 更新权利人信息 216 // 更新权利人信息
217 /**
218 * @description: 更新权利人信息
219 * @param {*} val
220 * @author: renchao
221 */
208 upDateYwrxxList (val) { 222 upDateYwrxxList (val) {
209 this.ruleForm.ywrList = _.cloneDeep(val); 223 this.ruleForm.ywrList = _.cloneDeep(val);
210 }, 224 },
211 225
226 /**
227 * @description: onSubmit
228 * @author: renchao
229 */
212 onSubmit () { 230 onSubmit () {
213 saveData(this.ruleForm).then((res) => { 231 saveData(this.ruleForm).then((res) => {
214 if (res.code === 200) { 232 if (res.code === 200) {
......
...@@ -244,13 +244,27 @@ ...@@ -244,13 +244,27 @@
244 }, 244 },
245 methods: { 245 methods: {
246 // 更新权利人信息 246 // 更新权利人信息
247 /**
248 * @description: 更新权利人信息
249 * @param {*} val
250 * @author: renchao
251 */
247 upDateQlrxxList (val) { 252 upDateQlrxxList (val) {
248 this.ruleForm.qlrList = _.cloneDeep(val); 253 this.ruleForm.qlrList = _.cloneDeep(val);
249 }, 254 },
250 // 更新权利人信息 255 // 更新权利人信息
256 /**
257 * @description: 更新权利人信息
258 * @param {*} val
259 * @author: renchao
260 */
251 upDateYwrxxList (val) { 261 upDateYwrxxList (val) {
252 this.ruleForm.ywrList = _.cloneDeep(val); 262 this.ruleForm.ywrList = _.cloneDeep(val);
253 }, 263 },
264 /**
265 * @description: onSubmit
266 * @author: renchao
267 */
254 onSubmit () { 268 onSubmit () {
255 saveData(this.ruleForm).then((res) => { 269 saveData(this.ruleForm).then((res) => {
256 if (res.code === 200) { 270 if (res.code === 200) {
......
...@@ -243,6 +243,10 @@ ...@@ -243,6 +243,10 @@
243 }; 243 };
244 }, 244 },
245 methods: { 245 methods: {
246 /**
247 * @description: onSubmitClick
248 * @author: renchao
249 */
246 onSubmitClick () { 250 onSubmitClick () {
247 saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => { 251 saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => {
248 if (res.code === 200) { 252 if (res.code === 200) {
...@@ -263,12 +267,22 @@ ...@@ -263,12 +267,22 @@
263 }, 267 },
264 268
265 // 更新权利人信息 269 // 更新权利人信息
270 /**
271 * @description: 更新权利人信息
272 * @param {*} val
273 * @author: renchao
274 */
266 upDateQlrxxList (val) { 275 upDateQlrxxList (val) {
267 if (!_.isEqual(val, this.ruleForm.qlrList)) { 276 if (!_.isEqual(val, this.ruleForm.qlrList)) {
268 this.ruleForm.qlrList = _.cloneDeep(val); 277 this.ruleForm.qlrList = _.cloneDeep(val);
269 } 278 }
270 }, 279 },
271 // 更新义务人信息 280 // 更新义务人信息
281 /**
282 * @description: 更新义务人信息
283 * @param {*} val
284 * @author: renchao
285 */
272 upDateYwrxxList (val) { 286 upDateYwrxxList (val) {
273 if (!_.isEqual(val, this.ruleForm.ywrList)) { 287 if (!_.isEqual(val, this.ruleForm.ywrList)) {
274 this.ruleForm.ywrList = _.cloneDeep(val); 288 this.ruleForm.ywrList = _.cloneDeep(val);
......
...@@ -285,6 +285,10 @@ ...@@ -285,6 +285,10 @@
285 }; 285 };
286 }, 286 },
287 methods: { 287 methods: {
288 /**
289 * @description: onSubmitClick
290 * @author: renchao
291 */
288 onSubmitClick () { 292 onSubmitClick () {
289 saveData(this.ruleForm, this.propsParam.djlx).then((res) => { 293 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
290 if (res.code === 200) { 294 if (res.code === 200) {
...@@ -305,12 +309,22 @@ ...@@ -305,12 +309,22 @@
305 }, 309 },
306 310
307 // 更新权利人信息 311 // 更新权利人信息
312 /**
313 * @description: 更新权利人信息
314 * @param {*} val
315 * @author: renchao
316 */
308 upDateQlrxxList (val) { 317 upDateQlrxxList (val) {
309 if (!_.isEqual(val, this.ruleForm.qlrList)) { 318 if (!_.isEqual(val, this.ruleForm.qlrList)) {
310 this.ruleForm.qlrList = _.cloneDeep(val); 319 this.ruleForm.qlrList = _.cloneDeep(val);
311 } 320 }
312 }, 321 },
313 // 更新义务人信息 322 // 更新义务人信息
323 /**
324 * @description: 更新义务人信息
325 * @param {*} val
326 * @author: renchao
327 */
314 upDateYwrxxList (val) { 328 upDateYwrxxList (val) {
315 if (!_.isEqual(val, this.ruleForm.ywrList)) { 329 if (!_.isEqual(val, this.ruleForm.ywrList)) {
316 this.ruleForm.ywrList = _.cloneDeep(val); 330 this.ruleForm.ywrList = _.cloneDeep(val);
......