广告前端商户只允许查看详情不显示审核
This commit is contained in:
parent
140473bcb5
commit
d13c81526d
|
@ -79,9 +79,23 @@
|
|||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleView(scope.row)"
|
||||
v-hasPermi="['bst:ad:edit']">
|
||||
{{ scope.row.auditStatus === '1' ? '审核' : '查看详情' }}
|
||||
</el-button>
|
||||
v-if="isSysAdmin() && scope.row.auditStatus === '1'"
|
||||
>审核</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-view"
|
||||
@click="handleView(scope.row)"
|
||||
v-else
|
||||
>查看详情</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="text"-->
|
||||
<!-- icon="el-icon-view"-->
|
||||
<!-- @click="handleView(scope.row)"-->
|
||||
<!-- v-hasPermi="['bst:ad:edit']">-->
|
||||
<!-- {{ scope.row.auditStatus === '1' ? '审核' : '查看详情' }}-->
|
||||
<!-- </el-button>-->
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
|
@ -134,7 +148,7 @@
|
|||
</el-descriptions>
|
||||
</div>
|
||||
<!-- 审核区块 -->
|
||||
<template v-if="detailForm.auditStatus === '1'">
|
||||
<template v-if="isSysAdmin()&&detailForm.auditStatus === '1'">
|
||||
<el-divider />
|
||||
<div class="verify-area">
|
||||
<el-input
|
||||
|
@ -391,6 +405,7 @@
|
|||
},
|
||||
/** 查看详情 */
|
||||
handleView(row) {
|
||||
console.log('isSysAdmin 值:', this.isSysAdmin);
|
||||
this.loading = true;
|
||||
getAd(row.adId).then(response => {
|
||||
this.detailForm = response.data;
|
||||
|
|
Loading…
Reference in New Issue
Block a user