816facd6 by yuanbo

增加注释

1 parent 9621e352
...@@ -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) => {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 15:55:45 4 * @LastEditTime: 2023-05-16 15:55:45
5 --> 5 -->
...@@ -62,6 +62,10 @@ ...@@ -62,6 +62,10 @@
62 } 62 }
63 }, 63 },
64 methods: { 64 methods: {
65 /**
66 * @description: queryClick
67 * @author: renchao
68 */
65 queryClick () { 69 queryClick () {
66 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; 70 this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
67 getCertificateList(this.ruleForm).then(res => { 71 getCertificateList(this.ruleForm).then(res => {
...@@ -78,4 +82,4 @@ ...@@ -78,4 +82,4 @@
78 </script> 82 </script>
79 <style scoped lang='scss'> 83 <style scoped lang='scss'>
80 @import "~@/styles/public.scss"; 84 @import "~@/styles/public.scss";
81 </style>
...\ No newline at end of file ...\ No newline at end of file
85 </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 this.currentSelectProps = this.unitData[index]; 202 this.currentSelectProps = this.unitData[index];
182 this.currentSelectProps.batchOperation = false; 203 this.currentSelectProps.batchOperation = false;
......
...@@ -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({
...@@ -304,6 +322,10 @@ export default { ...@@ -304,6 +322,10 @@ export default {
304 }); 322 });
305 }); 323 });
306 }, 324 },
325 /**
326 * @description: sendToEnd
327 * @author: renchao
328 */
307 sendToEnd () { 329 sendToEnd () {
308 let that = this 330 let that = this
309 const h = this.$createElement; 331 const h = this.$createElement;
...@@ -350,6 +372,10 @@ export default { ...@@ -350,6 +372,10 @@ export default {
350 }) 372 })
351 }, 373 },
352 //批量操作 374 //批量操作
375 /**
376 * @description: 批量操作
377 * @author: renchao
378 */
353 handleBatchDel () { 379 handleBatchDel () {
354 this.$popupDialog("批量删除", "workflow/components/batchDel", { 380 this.$popupDialog("批量删除", "workflow/components/batchDel", {
355 width: "50%", 381 width: "50%",
...@@ -359,6 +385,11 @@ export default { ...@@ -359,6 +385,11 @@ export default {
359 385
360 }) 386 })
361 }, 387 },
388 /**
389 * @description: handleChange
390 * @param {*} file
391 * @author: renchao
392 */
362 handleChange (file) { 393 handleChange (file) {
363 var formdata = new FormData(); 394 var formdata = new FormData();
364 formdata.append("file", file.raw); 395 formdata.append("file", file.raw);
...@@ -373,6 +404,11 @@ export default { ...@@ -373,6 +404,11 @@ export default {
373 }) 404 })
374 }, 405 },
375 // 上传 406 // 上传
407 /**
408 * @description: 上传
409 * @param {*} file
410 * @author: renchao
411 */
376 beforeUpload (file) { 412 beforeUpload (file) {
377 return true; 413 return true;
378 } 414 }
......
...@@ -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);
......
...@@ -252,21 +252,44 @@ ...@@ -252,21 +252,44 @@
252 }, 252 },
253 methods: { 253 methods: {
254 // 更新土地用途信息 254 // 更新土地用途信息
255 /**
256 * @description: 更新土地用途信息
257 * @param {*} val
258 * @author: renchao
259 */
255 upDateTdytxxList (val) { 260 upDateTdytxxList (val) {
256 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 261 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
257 this.key++; 262 this.key++;
258 }, 263 },
259 // 更新权利人信息 264 // 更新权利人信息
265 /**
266 * @description: 更新权利人信息
267 * @param {*} val
268 * @author: renchao
269 */
260 upDateQlrxxList (val) { 270 upDateQlrxxList (val) {
261 this.ruleForm.qlrList = _.cloneDeep(val); 271 this.ruleForm.qlrList = _.cloneDeep(val);
262 }, 272 },
273 /**
274 * @description: showCZInfo
275 * @author: renchao
276 */
263 showCZInfo () { 277 showCZInfo () {
264 console.log(this.ruleForm.slsq.gyfs); 278 console.log(this.ruleForm.slsq.gyfs);
265 }, 279 },
266 // 更新权利人信息 280 // 更新权利人信息
281 /**
282 * @description: 更新权利人信息
283 * @param {*} val
284 * @author: renchao
285 */
267 upDateYwrxxList (val) { 286 upDateYwrxxList (val) {
268 this.ruleForm.ywrList = _.cloneDeep(val); 287 this.ruleForm.ywrList = _.cloneDeep(val);
269 }, 288 },
289 /**
290 * @description: onSubmit
291 * @author: renchao
292 */
270 onSubmit () { 293 onSubmit () {
271 saveData(this.ruleForm).then((res) => { 294 saveData(this.ruleForm).then((res) => {
272 if (res.code === 200) { 295 if (res.code === 200) {
......
...@@ -277,6 +277,10 @@ ...@@ -277,6 +277,10 @@
277 }; 277 };
278 }, 278 },
279 methods: { 279 methods: {
280 /**
281 * @description: dataSelectClick
282 * @author: renchao
283 */
280 dataSelectClick () { 284 dataSelectClick () {
281 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", 285 this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai",
282 { 286 {
...@@ -287,19 +291,38 @@ ...@@ -287,19 +291,38 @@
287 }); 291 });
288 }, 292 },
289 // 更新土地用途信息 293 // 更新土地用途信息
294 /**
295 * @description: 更新土地用途信息
296 * @param {*} val
297 * @author: renchao
298 */
290 upDateTdytxxList (val) { 299 upDateTdytxxList (val) {
291 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 300 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
292 this.key++; 301 this.key++;
293 }, 302 },
294 // 更新权利人信息 303 // 更新权利人信息
304 /**
305 * @description: 更新权利人信息
306 * @param {*} val
307 * @author: renchao
308 */
295 upDateQlrxxList (val) { 309 upDateQlrxxList (val) {
296 this.ruleForm.qlrList = _.cloneDeep(val); 310 this.ruleForm.qlrList = _.cloneDeep(val);
297 }, 311 },
298 // 更新权利人信息 312 // 更新权利人信息
313 /**
314 * @description: 更新权利人信息
315 * @param {*} val
316 * @author: renchao
317 */
299 upDateYwrxxList (val) { 318 upDateYwrxxList (val) {
300 this.ruleForm.ywrList = _.cloneDeep(val); 319 this.ruleForm.ywrList = _.cloneDeep(val);
301 }, 320 },
302 321
322 /**
323 * @description: onSubmit
324 * @author: renchao
325 */
303 onSubmit () { 326 onSubmit () {
304 saveData(this.ruleForm).then((res) => { 327 saveData(this.ruleForm).then((res) => {
305 if (res.code === 200) { 328 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) {
......