【修改】修改流程传参 修改名称样式

This commit is contained in:
zhoulingpo
2023-04-24 19:24:24 +08:00
parent 7f675d424b
commit 95b35ed77a
14 changed files with 196 additions and 127 deletions
+13 -7
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" @click="previewRow(row)">预览</el-button>
<!-- <el-button type="text" @click="downloadRow(row)">下载</el-button>-->
<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>
</template>
</vxe-column>
@@ -172,9 +172,6 @@
</el-col>
</el-row>
</div>
<!--预览-->
@@ -304,8 +301,8 @@ export default {
}
],
content: '',
checkIds: []
checkIds: [],
checkList: []
}
},
watch: {
@@ -320,17 +317,26 @@ export default {
},
selectAllEvent ({ checked }) {
const records = this.$refs.xTable.getCheckboxRecords()
this.checkList= records
this.checkIds = records.map(item => {
return item.id
})
},
selectChangeEvent ({ checked }) {
const records = this.$refs.xTable.getCheckboxRecords()
this.checkList= records
this.checkIds = records.map(item => {
return item.id
})
},
permissionApp () {
// 有预览权限的时候是否还让继续申请
let temp=this.checkList.filter(item =>{
if(item.power == 1 || item.power == 2){
return item
}
})
this.$router.push({
path: '/permission/launch',
query: { id: 'AEHJB8YNJ3', ids: this.checkIds.toString() }