【修改】修改权限申请流程
This commit is contained in:
@@ -180,23 +180,22 @@
|
||||
<!-- </div>-->
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="摘要"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="mainContent" title="摘要"></vxe-column>
|
||||
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="报告年份"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="报告评级">
|
||||
<vxe-column show-overflow show-header-overflow field="rating" title="报告评级">
|
||||
<template #default="{row}">
|
||||
<el-rate
|
||||
v-model="value"
|
||||
v-model="row.rating/2"
|
||||
disabled
|
||||
show-score
|
||||
text-color="#ff9900"
|
||||
score-template="{value}">
|
||||
>
|
||||
</el-rate>
|
||||
</template>
|
||||
</vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="点赞数"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="点击率"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="下载量"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="thumbUp" title="点赞数"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="clicks" title="点击率"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="download" title="下载量"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow field="year" title="上传人"></vxe-column>
|
||||
<vxe-column show-overflow show-header-overflow title="操作" width="200" fixed="right">
|
||||
<template #default="{ row }">
|
||||
@@ -343,24 +342,24 @@ 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',
|
||||
query: {id: 'AEHJB8YNJ3', isBegin: 1}
|
||||
query: {id: 'AEHJB8YNJ3', isBegin: 1,ids:this.checkIds.join(',')}
|
||||
})
|
||||
},
|
||||
init() {
|
||||
|
||||
Reference in New Issue
Block a user