增加注释
Showing
3 changed files
with
100 additions
and
0 deletions
| ... | @@ -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 | 52 | ||
| ... | @@ -70,6 +74,11 @@ export default { | ... | @@ -70,6 +74,11 @@ export default { |
| 70 | 74 | ||
| 71 | }, | 75 | }, |
| 72 | //流程环节操作按钮 | 76 | //流程环节操作按钮 |
| 77 | /** | ||
| 78 | * @description: 流程环节操作按钮 | ||
| 79 | * @param {*} item | ||
| 80 | * @author: renchao | ||
| 81 | */ | ||
| 73 | operation (item) { | 82 | operation (item) { |
| 74 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 83 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
| 75 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 84 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
| ... | @@ -276,6 +285,10 @@ export default { | ... | @@ -276,6 +285,10 @@ export default { |
| 276 | break; | 285 | break; |
| 277 | } | 286 | } |
| 278 | }, | 287 | }, |
| 288 | /** | ||
| 289 | * @description: del | ||
| 290 | * @author: renchao | ||
| 291 | */ | ||
| 279 | del () { | 292 | del () { |
| 280 | let formdata = new FormData(); | 293 | let formdata = new FormData(); |
| 281 | formdata.append("bsmSlsq", this.bsmSlsq); | 294 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -306,6 +319,11 @@ export default { | ... | @@ -306,6 +319,11 @@ export default { |
| 306 | }); | 319 | }); |
| 307 | }, | 320 | }, |
| 308 | //发送下一个环节 | 321 | //发送下一个环节 |
| 322 | /** | ||
| 323 | * @description: 发送下一个环节 | ||
| 324 | * @param {*} obj | ||
| 325 | * @author: renchao | ||
| 326 | */ | ||
| 309 | sendToNext (obj) { | 327 | sendToNext (obj) { |
| 310 | const h = this.$createElement; | 328 | const h = this.$createElement; |
| 311 | this.$msgbox({ | 329 | this.$msgbox({ |
| ... | @@ -355,6 +373,10 @@ export default { | ... | @@ -355,6 +373,10 @@ export default { |
| 355 | }); | 373 | }); |
| 356 | }); | 374 | }); |
| 357 | }, | 375 | }, |
| 376 | /** | ||
| 377 | * @description: sendToEnd | ||
| 378 | * @author: renchao | ||
| 379 | */ | ||
| 358 | sendToEnd () { | 380 | sendToEnd () { |
| 359 | let that = this | 381 | let that = this |
| 360 | const h = this.$createElement; | 382 | const h = this.$createElement; |
| ... | @@ -401,6 +423,10 @@ export default { | ... | @@ -401,6 +423,10 @@ export default { |
| 401 | }) | 423 | }) |
| 402 | }, | 424 | }, |
| 403 | //批量操作 | 425 | //批量操作 |
| 426 | /** | ||
| 427 | * @description: 批量操作 | ||
| 428 | * @author: renchao | ||
| 429 | */ | ||
| 404 | handleBatchDel () { | 430 | handleBatchDel () { |
| 405 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 431 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
| 406 | width: "50%", | 432 | width: "50%", |
| ... | @@ -410,6 +436,11 @@ export default { | ... | @@ -410,6 +436,11 @@ export default { |
| 410 | 436 | ||
| 411 | }) | 437 | }) |
| 412 | }, | 438 | }, |
| 439 | /** | ||
| 440 | * @description: handleChange | ||
| 441 | * @param {*} file | ||
| 442 | * @author: renchao | ||
| 443 | */ | ||
| 413 | handleChange (file) { | 444 | handleChange (file) { |
| 414 | var formdata = new FormData(); | 445 | var formdata = new FormData(); |
| 415 | formdata.append("file", file.raw); | 446 | formdata.append("file", file.raw); |
| ... | @@ -424,6 +455,11 @@ export default { | ... | @@ -424,6 +455,11 @@ export default { |
| 424 | }) | 455 | }) |
| 425 | }, | 456 | }, |
| 426 | // 上传 | 457 | // 上传 |
| 458 | /** | ||
| 459 | * @description: 上传 | ||
| 460 | * @param {*} file | ||
| 461 | * @author: renchao | ||
| 462 | */ | ||
| 427 | beforeUpload (file) { | 463 | beforeUpload (file) { |
| 428 | return true; | 464 | return true; |
| 429 | } | 465 | } | ... | ... |
| ... | @@ -129,6 +129,11 @@ | ... | @@ -129,6 +129,11 @@ |
| 129 | }, | 129 | }, |
| 130 | 130 | ||
| 131 | methods: { | 131 | methods: { |
| 132 | /** | ||
| 133 | * @description: stepForm | ||
| 134 | * @param {*} qllx | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 132 | stepForm (qllx) { | 137 | stepForm (qllx) { |
| 133 | this.oneSelectProps.qllx = qllx; | 138 | this.oneSelectProps.qllx = qllx; |
| 134 | if (this.$refs.Menu.supplementarylist.length) { | 139 | if (this.$refs.Menu.supplementarylist.length) { |
| ... | @@ -162,6 +167,11 @@ | ... | @@ -162,6 +167,11 @@ |
| 162 | }, | 167 | }, |
| 163 | 168 | ||
| 164 | // 获取右侧选项卡 | 169 | // 获取右侧选项卡 |
| 170 | /** | ||
| 171 | * @description: 获取右侧选项卡 | ||
| 172 | * @param {*} val | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 165 | getCurrentSelectProps (val) { | 175 | getCurrentSelectProps (val) { |
| 166 | this.bsmRepair= val.bsmRepair | 176 | this.bsmRepair= val.bsmRepair |
| 167 | if (val.bdcdyid) { | 177 | if (val.bdcdyid) { |
| ... | @@ -179,6 +189,10 @@ | ... | @@ -179,6 +189,10 @@ |
| 179 | } | 189 | } |
| 180 | }, | 190 | }, |
| 181 | // 获取渲染登记簿列表 | 191 | // 获取渲染登记簿列表 |
| 192 | /** | ||
| 193 | * @description: 获取渲染登记簿列表 | ||
| 194 | * @author: renchao | ||
| 195 | */ | ||
| 182 | getdjblist () { | 196 | getdjblist () { |
| 183 | getBdcqljqtsx({ | 197 | getBdcqljqtsx({ |
| 184 | bdcdyid: this.currentSelectProps.bdcdyid, | 198 | bdcdyid: this.currentSelectProps.bdcdyid, |
| ... | @@ -208,10 +222,20 @@ | ... | @@ -208,10 +222,20 @@ |
| 208 | }); | 222 | }); |
| 209 | }, | 223 | }, |
| 210 | //右侧表单选项卡事件 | 224 | //右侧表单选项卡事件 |
| 225 | /** | ||
| 226 | * @description: 右侧表单选项卡事件 | ||
| 227 | * @param {*} activeName | ||
| 228 | * @author: renchao | ||
| 229 | */ | ||
| 211 | beforeLeave (activeName) { | 230 | beforeLeave (activeName) { |
| 212 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 231 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
| 213 | }, | 232 | }, |
| 214 | //切换选项卡内容组件 | 233 | //切换选项卡内容组件 |
| 234 | /** | ||
| 235 | * @description: 切换选项卡内容组件 | ||
| 236 | * @param {*} tabname | ||
| 237 | * @author: renchao | ||
| 238 | */ | ||
| 215 | getFromRouter (tabname) { | 239 | getFromRouter (tabname) { |
| 216 | this.componentTag = getForm(tabname); | 240 | this.componentTag = getForm(tabname); |
| 217 | }, | 241 | }, |
| ... | @@ -223,6 +247,12 @@ | ... | @@ -223,6 +247,12 @@ |
| 223 | // this.tabName = this.tabList[0].value | 247 | // this.tabName = this.tabList[0].value |
| 224 | // }, | 248 | // }, |
| 225 | // 增加补录记录 | 249 | // 增加补录记录 |
| 250 | /** | ||
| 251 | * @description: 增加补录记录 | ||
| 252 | * @param {*} row | ||
| 253 | * @param {*} del | ||
| 254 | * @author: renchao | ||
| 255 | */ | ||
| 226 | addRepairRecord (row, del) { | 256 | addRepairRecord (row, del) { |
| 227 | let from = { | 257 | let from = { |
| 228 | bsmQlxx: "", | 258 | bsmQlxx: "", | ... | ... |
| ... | @@ -125,6 +125,11 @@ | ... | @@ -125,6 +125,11 @@ |
| 125 | }, | 125 | }, |
| 126 | 126 | ||
| 127 | methods: { | 127 | methods: { |
| 128 | /** | ||
| 129 | * @description: stepForm | ||
| 130 | * @param {*} qllx | ||
| 131 | * @author: renchao | ||
| 132 | */ | ||
| 128 | stepForm (qllx) { | 133 | stepForm (qllx) { |
| 129 | this.oneSelectProps.qllx = qllx; | 134 | this.oneSelectProps.qllx = qllx; |
| 130 | if (this.$refs.Menu.supplementarylist.length) { | 135 | if (this.$refs.Menu.supplementarylist.length) { |
| ... | @@ -141,6 +146,11 @@ | ... | @@ -141,6 +146,11 @@ |
| 141 | } | 146 | } |
| 142 | }, | 147 | }, |
| 143 | // 获取右侧选项卡 | 148 | // 获取右侧选项卡 |
| 149 | /** | ||
| 150 | * @description: 获取右侧选项卡 | ||
| 151 | * @param {*} val | ||
| 152 | * @author: renchao | ||
| 153 | */ | ||
| 144 | getCurrentSelectProps (val) { | 154 | getCurrentSelectProps (val) { |
| 145 | this.bsmRepair = val.bsmRepair | 155 | this.bsmRepair = val.bsmRepair |
| 146 | if (val.bdcdyid) { | 156 | if (val.bdcdyid) { |
| ... | @@ -158,6 +168,10 @@ | ... | @@ -158,6 +168,10 @@ |
| 158 | } | 168 | } |
| 159 | }, | 169 | }, |
| 160 | // 获取渲染登记簿列表 | 170 | // 获取渲染登记簿列表 |
| 171 | /** | ||
| 172 | * @description: 获取渲染登记簿列表 | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 161 | getdjblist () { | 175 | getdjblist () { |
| 162 | getBdcqljqtsx({ | 176 | getBdcqljqtsx({ |
| 163 | bdcdyid: this.currentSelectProps.bdcdyid, | 177 | bdcdyid: this.currentSelectProps.bdcdyid, |
| ... | @@ -187,13 +201,27 @@ | ... | @@ -187,13 +201,27 @@ |
| 187 | }); | 201 | }); |
| 188 | }, | 202 | }, |
| 189 | //右侧表单选项卡事件 | 203 | //右侧表单选项卡事件 |
| 204 | /** | ||
| 205 | * @description: 右侧表单选项卡事件 | ||
| 206 | * @param {*} activeName | ||
| 207 | * @author: renchao | ||
| 208 | */ | ||
| 190 | beforeLeave (activeName) { | 209 | beforeLeave (activeName) { |
| 191 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 210 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
| 192 | }, | 211 | }, |
| 193 | //切换选项卡内容组件 | 212 | //切换选项卡内容组件 |
| 213 | /** | ||
| 214 | * @description: 切换选项卡内容组件 | ||
| 215 | * @param {*} tabname | ||
| 216 | * @author: renchao | ||
| 217 | */ | ||
| 194 | getFromRouter (tabname) { | 218 | getFromRouter (tabname) { |
| 195 | this.componentTag = getForm(tabname); | 219 | this.componentTag = getForm(tabname); |
| 196 | }, | 220 | }, |
| 221 | /** | ||
| 222 | * @description: closefp | ||
| 223 | * @author: renchao | ||
| 224 | */ | ||
| 197 | closefp () { | 225 | closefp () { |
| 198 | this.splitScreen = this.splitScreen ? false : true; | 226 | this.splitScreen = this.splitScreen ? false : true; |
| 199 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 227 | this.$store.dispatch("app/set1tScreen", this.splitScreen); |
| ... | @@ -201,6 +229,12 @@ | ... | @@ -201,6 +229,12 @@ |
| 201 | this.clxxForm = getForm(this.tabList[1].value); | 229 | this.clxxForm = getForm(this.tabList[1].value); |
| 202 | }, | 230 | }, |
| 203 | // 增加补录记录 | 231 | // 增加补录记录 |
| 232 | /** | ||
| 233 | * @description: 增加补录记录 | ||
| 234 | * @param {*} row | ||
| 235 | * @param {*} del | ||
| 236 | * @author: renchao | ||
| 237 | */ | ||
| 204 | addRepairRecord (row, del) { | 238 | addRepairRecord (row, del) { |
| 205 | let from = { | 239 | let from = { |
| 206 | bsmQlxx: "", | 240 | bsmQlxx: "", | ... | ... |
-
Please register or sign in to post a comment