正在显示
2 个修改的文件
包含
6 行增加
和
8 行删除
@@ -300,7 +300,7 @@ | @@ -300,7 +300,7 @@ | ||
300 | </el-row> | 300 | </el-row> |
301 | <!-- 流程图弹框--> | 301 | <!-- 流程图弹框--> |
302 | <el-row> | 302 | <el-row> |
303 | - <el-dialog title="流程图" :visible.sync="dialogFormVisible"> | 303 | + <el-dialog title="流程图" :visible.sync="dialogFormVisible" v-loading="dialogloading"> |
304 | <el-form :model="form"> | 304 | <el-form :model="form"> |
305 | <el-form-item> | 305 | <el-form-item> |
306 | <div class="demo-image__preview"> | 306 | <div class="demo-image__preview"> |
@@ -336,6 +336,7 @@ | @@ -336,6 +336,7 @@ | ||
336 | total:0, | 336 | total:0, |
337 | tableData: [], | 337 | tableData: [], |
338 | tableloading:false, | 338 | tableloading:false, |
339 | + dialogloading:false, | ||
339 | dialogFormVisible: false, | 340 | dialogFormVisible: false, |
340 | form: { | 341 | form: { |
341 | url: '' | 342 | url: '' |
@@ -412,16 +413,13 @@ | @@ -412,16 +413,13 @@ | ||
412 | // 获取列表数据 | 413 | // 获取列表数据 |
413 | _this.tableData = res.data; | 414 | _this.tableData = res.data; |
414 | // 获取列表的总记录数 | 415 | // 获取列表的总记录数 |
415 | - | ||
416 | _this.total = res.total | 416 | _this.total = res.total |
417 | this.tableloading = false; | 417 | this.tableloading = false; |
418 | _this.$message.success('获取消息收发记录,成功!') | 418 | _this.$message.success('获取消息收发记录,成功!') |
419 | }).catch(error => { | 419 | }).catch(error => { |
420 | - | ||
421 | // 关闭加载 | 420 | // 关闭加载 |
422 | _this.$message.error(error.toString()) | 421 | _this.$message.error(error.toString()) |
423 | this.tableloading = false; | 422 | this.tableloading = false; |
424 | - | ||
425 | }) | 423 | }) |
426 | }, | 424 | }, |
427 | getHistroyList() { | 425 | getHistroyList() { |
@@ -451,13 +449,13 @@ | @@ -451,13 +449,13 @@ | ||
451 | // 打开流程图 | 449 | // 打开流程图 |
452 | chart(index, row) { | 450 | chart(index, row) { |
453 | this.dialogFormVisible = true | 451 | this.dialogFormVisible = true |
454 | - | 452 | + this.dialogloading = true; |
455 | processDiagram({processId:row.processInstanceId}).then(res =>{ | 453 | processDiagram({processId:row.processInstanceId}).then(res =>{ |
456 | // eslint-disable-next-line no-console | 454 | // eslint-disable-next-line no-console |
457 | console.log(res) | 455 | console.log(res) |
458 | this.form.url=window.URL.createObjectURL(res.data); | 456 | this.form.url=window.URL.createObjectURL(res.data); |
459 | - }); | ||
460 | - | 457 | + this.dialogloading = false; |
458 | + }); | ||
461 | }, | 459 | }, |
462 | }, | 460 | }, |
463 | 461 |
-
请 注册 或 登录 后发表评论