浏览代码

更新权限

lex-xin 3 年之前
父节点
当前提交
02a71a8b1a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/organManager/index.vue
  2. 1 1
      src/views/tenantSetting/tenantInfoProtocol.vue

+ 1 - 1
src/views/organManager/index.vue

@@ -123,7 +123,7 @@
                 type="text"
                 >缴费二维码</el-button>
               <el-button
-                v-if="scope.row.payState === 1"
+                v-if="scope.row.payState === 1 && $helpers.permission('tenantContractRecord/queryPage')"
                  @click="onDownloadProtocol(scope.row)"
                 type="text"
                 >下载协议</el-button>

+ 1 - 1
src/views/tenantSetting/tenantInfoProtocol.vue

@@ -67,7 +67,7 @@
                 <el-button
                 @click="openService(scope.row, 'open')"
                 v-if="!scope.row.status"
-                v-permission="'tenantInfo/info'"
+                v-permission="'tenantContractTemplate/updateStatus'"
                 type="text"
                 >启用</el-button>
             </template>