增加注释
Showing
11 changed files
with
265 additions
and
0 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', | ... | ... |
| ... | @@ -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) { | ... | ... |
| ... | @@ -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 | } | ... | ... |
| ... | @@ -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) { | ... | ... |
| ... | @@ -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; | ... | ... |
| ... | @@ -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 => { | ... | ... |
| ... | @@ -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'); | ... | ... |
-
Please register or sign in to post a comment