...
|
...
|
@@ -300,7 +300,7 @@ |
|
|
</el-row>
|
|
|
<!-- 流程图弹框-->
|
|
|
<el-row>
|
|
|
<el-dialog title="流程图" :visible.sync="dialogFormVisible">
|
|
|
<el-dialog title="流程图" :visible.sync="dialogFormVisible" v-loading="dialogloading">
|
|
|
<el-form :model="form">
|
|
|
<el-form-item>
|
|
|
<div class="demo-image__preview">
|
...
|
...
|
@@ -336,6 +336,7 @@ |
|
|
total:0,
|
|
|
tableData: [],
|
|
|
tableloading:false,
|
|
|
dialogloading:false,
|
|
|
dialogFormVisible: false,
|
|
|
form: {
|
|
|
url: ''
|
...
|
...
|
@@ -412,16 +413,13 @@ |
|
|
// 获取列表数据
|
|
|
_this.tableData = res.data;
|
|
|
// 获取列表的总记录数
|
|
|
|
|
|
_this.total = res.total
|
|
|
this.tableloading = false;
|
|
|
_this.$message.success('获取消息收发记录,成功!')
|
|
|
}).catch(error => {
|
|
|
|
|
|
// 关闭加载
|
|
|
_this.$message.error(error.toString())
|
|
|
this.tableloading = false;
|
|
|
|
|
|
})
|
|
|
},
|
|
|
getHistroyList() {
|
...
|
...
|
@@ -451,13 +449,13 @@ |
|
|
// 打开流程图
|
|
|
chart(index, row) {
|
|
|
this.dialogFormVisible = true
|
|
|
|
|
|
this.dialogloading = true;
|
|
|
processDiagram({processId:row.processInstanceId}).then(res =>{
|
|
|
// eslint-disable-next-line no-console
|
|
|
console.log(res)
|
|
|
this.form.url=window.URL.createObjectURL(res.data);
|
|
|
});
|
|
|
|
|
|
this.dialogloading = false;
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
|
...
|
...
|
|