Commit 640ffba7 by 曾经

权限code更改

parent ec4c8039
......@@ -462,7 +462,7 @@ export default {
},
// 去配置
toSettingPage() {
if(!this.getCodeAuth('abnormalSetting')) {
if(!this.getCodeAuth('memberAbnormalSetting')) {
this.$message.warning("无“异常规则配置”权限");
return;
}
......
......@@ -40,20 +40,20 @@
style="margin-left: 10px; min-width: 364px; text-align: right"
>
<el-button @click="download"
v-if="getCodeAuth('searchReasultDownload')"
:limit-code="getCode('searchReasultDownload')">
v-if="getCodeAuth('memberAbnormalSearchReasultDownload')"
:limit-code="getCode('memberAbnormalSearchReasultDownload')">
<i class="iconfont icon-xiazairizhi"></i>
<span> 搜索结果导出</span>
</el-button>
<el-button @click="clickBatchFreeze"
v-if="getCodeAuth('batchFreeze')"
:limit-code="getCode('batchFreeze')"
v-if="getCodeAuth('memberAbnormalBatchFreeze')"
:limit-code="getCode('memberAbnormalBatchFreeze')"
plain>批量冻结</el-button>
<el-button type="primary" @click="toSettingPage"
v-if="getCodeAuth('abnormalSetting')"
:limit-code="getCode('abnormalSetting')"
v-if="getCodeAuth('memberAbnormalSetting')"
:limit-code="getCode('memberAbnormalSetting')"
>异常规则配置</el-button
>
</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment