Commit 9978c122 authored by zhangrui123's avatar zhangrui123

编辑显示的权限码修改

parent edbbf3a6
...@@ -520,6 +520,7 @@ export default { ...@@ -520,6 +520,7 @@ export default {
let info = this.secRowInfos.COMMUNITY_MANAGER_MATH && this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1] ? this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1].rato : 0 let info = this.secRowInfos.COMMUNITY_MANAGER_MATH && this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1] ? this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1].rato : 0
let data_time = this.secRowInfos.COMMUNITY_MANAGER_MATH && this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1]?this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1].checkTime.slice(8, 10):100 let data_time = this.secRowInfos.COMMUNITY_MANAGER_MATH && this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1]?this.secRowInfos.COMMUNITY_MANAGER_MATH.data[i-1].checkTime.slice(8, 10):100
let color= 'rgb(226,235,245)' let color= 'rgb(226,235,245)'
console.log(dateArr)
if(i == Number(data_time)){ if(i == Number(data_time)){
if (info) { if (info) {
if (info <0.9 ) { if (info <0.9 ) {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</a-form> </a-form>
<p class="gayLine noline"></p> <p class="gayLine noline"></p>
<div class="portalTableOperates"> <div class="portalTableOperates">
<a-button type="primary" icon='plus' v-if="$permission('00090302')" @click="addBtn">新增角色</a-button> <a-button type="primary" icon='plus' v-if="$permission('00090303')" @click="addBtn">新增角色</a-button>
</div> </div>
<div class="wrapper-roles"> <div class="wrapper-roles">
<div class="box" v-for="(item,index) in roleList" :key="index"> <div class="box" v-for="(item,index) in roleList" :key="index">
...@@ -33,10 +33,10 @@ ...@@ -33,10 +33,10 @@
<a-divider type="vertical" /> <a-divider type="vertical" />
</template> </template>
<template> <template>
<span @click="edit(item)" v-if="$permission('00090304')">修改</span> <span @click="edit(item)" v-if="$permission('00090303')">修改</span>
<a-divider type="vertical" /> <a-divider type="vertical" />
</template> </template>
<span @click="deleteBtn(item)" v-if="$permission('00090304')">删除</span> <span @click="deleteBtn(item)" v-if="$permission('00090303')">删除</span>
</div> </div>
</div> </div>
</div> </div>
......
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