【修改】修改流程传参方式

This commit is contained in:
zhoulingpo
2023-04-26 09:37:41 +08:00
parent a9aa5709b8
commit 047f84cb21
6 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ labelUpdate(){
// 报告列表
reportList (data) {
return request({
url: '/api/report/list',
url: '/api/report/page',
method: 'POST',
data
})
+1 -1
View File
@@ -80,7 +80,7 @@ export default {
this.$store.commit('savePathUrl', null)
this.$store.commit('saveMenuName', null)
this.$store.commit('saveMenuData', null)
this.store.commit('setHandleProcess', null)
this.$store.commit('setHandleProcess', null)
// var sevice = "http://"+window.location.host+"/";
// var serviceUrl = encodeURIComponent(sevice);
// 正式
+16 -16
View File
@@ -155,8 +155,8 @@
</vxe-column>
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
<template #default="{ row }">
<el-button type="text" v-if="row.power == 1" @click="previewRow(row)">预览</el-button>
<el-button type="text" v-if="row.power == 2" @click="downloadRow(row)">下载</el-button>
<el-button type="text" @click="previewRow(row)">预览</el-button>
<!-- <el-button type="text" @click="downloadRow(row)">下载</el-button>-->
</template>
</vxe-column>
@@ -330,20 +330,20 @@ export default {
})
},
permissionApp () {
if(this.checkList.length <1){
this.$message.warning("至少选择一条报告进行权限申请")
return
}
// 有预览权限的时候是否还让继续申请
let temp=this.checkList.filter(item =>{
if(+item.power == 1 || +item.power == 2){
return item.name
}
})
if(temp.length>0) {
this.$message.warning("当前选择的"+temp.toString()+"已经有权限,无须申请!")
return
}
// if(this.checkList.length <1){
// this.$message.warning("至少选择一条报告进行权限申请")
// return
// }
// // 有预览权限的时候是否还让继续申请
// let temp=this.checkList.filter(item =>{
// if(+item.power == 1 || +item.power == 2){
// return item.name
// }
// })
// if(temp.length>0) {
// this.$message.warning("当前选择的"+temp.toString()+"已经有权限,无须申请!")
// return
// }
this.$router.push({
path: '/permission/launch',
+3 -3
View File
@@ -196,9 +196,9 @@ export default {
created() {
// 第一次进入此页面 需要清楚校验
if (this.$route.query.ids) {
if (this.$route.query.ids.split(',').length > 0) {
this.reportList(this.$route.query.ids)
}
// if (this.$route.query.ids.split(',').length > 0) {
// this.reportList(this.$route.query.ids)
// }
this.handleReset()
}
if (this.$store.getters.handleProcess.taskDefinitionKey == 'aid4') {
@@ -233,7 +233,7 @@ export default {
if(check.length > 0){
this.$message.warning("请选择状态为未完成的数据")
}else{
this.$refs.monitorModal.open(this.checkIds[0].taskId,this.prcId,this.checkList[0].assigneeId)
this.$refs.monitorModal.open(this.checkList[0].id,this.prcId,this.checkList[0].assigneeId)
}
}
},
@@ -120,6 +120,8 @@ export default {
//转办完应该跳到哪个页面?
//转办完这个人还能看到这个监控流程吗
this.dialogVisible = false
this.$message.success(res.data.message)
this.sysUserList()
})
}
}