【修改】修改流程传参方式
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user