修改推出登录 删除vuex

This commit is contained in:
zhoulingpo
2023-04-21 11:03:29 +08:00
parent 4884bd4b50
commit 37d570641d
3 changed files with 24 additions and 11 deletions
@@ -343,24 +343,26 @@ export default {
// 请求转换流程图
processNum (row) {
this.imgLoading = true;
axios.request({
url: '/libary/api/model/getImg?_t=' + new Date().getTime(),
responseType: 'blob',
method: 'get',
params: {
prcNum:(row && row.parentFlowNum) || this.$route.query.prcNum,
}
}).then(res => {
// axios.request({
// url: '/libary/api/model/getImg',
// responseType: 'blob',
// method: 'get',
// data: {
// modelId: row?row.id:'111s',
// }
// })
this.$api.processCenter.getMonitorImg({modelId: row?row.id:'111s'})
.then(res => {
console.log(res)
// let blob = new Blob([res.data], {type: 'image/jpg'})
// let url = window.URL.createObjectURL(res.data)
this.processStep = window.URL.createObjectURL(res.data)
this.processStep = window.URL.createObjectURL(res)
}).finally(_ => {
this.imgLoading = false;
})
},
// 请求列表
processTable (row) {
debugger
this.$api.processCenter.getMonitorPageList({
prcNum:(row && row.parentFlowNum) || this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : '',