Browse Source

1. 添加按钮权限

MONSTER-ygh 1 year ago
parent
commit
52fb93b631
23 changed files with 161 additions and 157 deletions
  1. 6 6
      src/views/tourism/financialManagement/balanceChangeDetails.vue
  2. 6 6
      src/views/tourism/financialManagement/ticketRefundOrder.vue
  3. 10 8
      src/views/tourism/membershipManagement/electronicMembership/memberInformation.vue
  4. 6 6
      src/views/tourism/membershipManagement/electronicMembership/membershipLevel.vue
  5. 8 8
      src/views/tourism/membershipManagement/physicalCard/physicalCardAllocation.vue
  6. 13 10
      src/views/tourism/membershipManagement/physicalCard/physicalCardManagement.vue
  7. 9 7
      src/views/tourism/membershipManagement/pointsManagement/IntegralRule.vue
  8. 6 6
      src/views/tourism/orderManagement/ticketOrdersAll/ticketOrders.vue
  9. 9 8
      src/views/tourism/popularCheck/contentManagement.vue
  10. 8 7
      src/views/tourism/productManagement/scenicAreaTickets.vue
  11. 6 6
      src/views/tourism/routeManagementAll/routeManagement.vue
  12. 6 6
      src/views/tourism/scenicAreaManagement/contentManagement/attractionInfoManagement.vue
  13. 7 7
      src/views/tourism/scenicAreaManagement/contentManagement/carouselAdvertis.vue
  14. 6 6
      src/views/tourism/scenicAreaManagement/contentManagement/eventNotifications.vue
  15. 6 6
      src/views/tourism/scenicAreaManagement/contentManagement/noticeManagement.vue
  16. 6 6
      src/views/tourism/scenicAreaManagement/contentManagement/questions.vue
  17. 6 6
      src/views/tourism/scenicAreaManagement/contentManagement/suggestions.vue
  18. 2 7
      src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoBeas.vue
  19. 7 7
      src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoCulture.vue
  20. 7 7
      src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoIntroduce.vue
  21. 7 7
      src/views/tourism/scenicAreaManagement/contentManagement/tourismStrategy.vue
  22. 7 7
      src/views/tourism/scenicAreaManagement/navigationManagement/pointType.vue
  23. 7 7
      src/views/tourism/scenicAreaManagement/navigationManagement/scenicGuide.vue

+ 6 - 6
src/views/tourism/financialManagement/balanceChangeDetails.vue

@@ -127,12 +127,12 @@
       return {
       return {
         title: "门票退款管理",// 通用标题
         title: "门票退款管理",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: [''], // 新增权限
+          details: [''], // 详情权限
+          delect: [''], // 删除权限
+          edit: [''], // 编辑权限
+          upload: [''],// 导入权限
+          export: ['financialManagement:balanceChangeDetails:export'],// 导出权限
         },
         },
         configUrl: {
         configUrl: {
           list: '/member/memberBalanceRecord/list', // 列表地址
           list: '/member/memberBalanceRecord/list', // 列表地址

+ 6 - 6
src/views/tourism/financialManagement/ticketRefundOrder.vue

@@ -142,12 +142,12 @@ export default {
     return {
     return {
       title: "门票退款管理",// 通用标题
       title: "门票退款管理",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
+        add: [''], // 新增权限
+        details: ['financialManagement:ticketRefundOrder:details'], // 详情权限
+        delect: [''], // 删除权限
+        edit: [''], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
       },
       },
       configUrl: {
       configUrl: {
         list: '/order/orderRefund/pageList', // 列表地址
         list: '/order/orderRefund/pageList', // 列表地址

+ 10 - 8
src/views/tourism/membershipManagement/electronicMembership/memberInformation.vue

@@ -118,9 +118,9 @@
                     <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
                     <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
                     <el-dropdown-menu slot="dropdown">
                     <el-dropdown-menu slot="dropdown">
                     <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
                     <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
-                        v-hasPermi="['system:user:resetPwd']">设置积分</el-dropdown-item>
+                        v-hasPermi="configPermi.resetPwd">设置积分</el-dropdown-item>
                     <el-dropdown-item command="handleAuthRole" icon="el-icon-circle-check"
                     <el-dropdown-item command="handleAuthRole" icon="el-icon-circle-check"
-                        v-hasPermi="['system:user:edit']">设置储值</el-dropdown-item>
+                        v-hasPermi="configPermi.AuthRole">设置储值</el-dropdown-item>
                     </el-dropdown-menu>
                     </el-dropdown-menu>
                 </el-dropdown>
                 </el-dropdown>
               </template>
               </template>
@@ -162,12 +162,14 @@
       return {
       return {
         title: "会员信息",// 通用标题
         title: "会员信息",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: [''], // 新增权限
+          details: ['electronicMembership:memberInformation:details'], // 详情权限
+          delect: ['electronicMembership:memberInformation:delect'], // 删除权限
+          edit: [''], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          resetPwd: ['electronicMembership:memberInformation:resetPwd'], // 设置积分
+          AuthRole: ['electronicMembership:memberInformation:AuthRole'], // 设置储值
         },
         },
         configUrl: {
         configUrl: {
           list: '/member/memberInfo/list', // 列表地址
           list: '/member/memberInfo/list', // 列表地址

+ 6 - 6
src/views/tourism/membershipManagement/electronicMembership/membershipLevel.vue

@@ -111,12 +111,12 @@
       return {
       return {
         title: "会员体系",// 通用标题
         title: "会员体系",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: ['electronicMembership:membershipLevel:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: ['electronicMembership:membershipLevel:delect'], // 删除权限
+          edit: ['electronicMembership:membershipLevel:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
         },
         },
         configUrl: {
         configUrl: {
           list: '/member/memberLevelInfo/pageList', // 列表地址
           list: '/member/memberLevelInfo/pageList', // 列表地址

+ 8 - 8
src/views/tourism/membershipManagement/physicalCard/physicalCardAllocation.vue

@@ -68,7 +68,7 @@
                   type="text"
                   type="text"
                   icon="el-icon-edit"
                   icon="el-icon-edit"
                   @click="handleDetails(scope.row)"
                   @click="handleDetails(scope.row)"
-                  v-hasPermi="configPermi.edit"
+                  v-hasPermi="configPermi.details"
                 >详情</el-button>
                 >详情</el-button>
                 <el-button
                 <el-button
                   size="mini"
                   size="mini"
@@ -118,13 +118,13 @@
       return {
       return {
         title: "实体卡配置",// 通用标题
         title: "实体卡配置",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
-          release: ['system:user:release']
+          add: ['physicalCard:physicalCardAllocation:add'], // 新增权限
+          details: ['physicalCard:physicalCardAllocation:details'], // 详情权限
+          delect: ['physicalCard:physicalCardAllocation:delect'], // 删除权限
+          edit: ['physicalCard:physicalCardAllocation:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          release: ['']
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantEntitycardConfig/pageList', // 列表地址
           list: '/merchant/merchantEntitycardConfig/pageList', // 列表地址

+ 13 - 10
src/views/tourism/membershipManagement/physicalCard/physicalCardManagement.vue

@@ -112,13 +112,13 @@
                     <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
                     <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
                     <el-dropdown-menu slot="dropdown">
                     <el-dropdown-menu slot="dropdown">
                         <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
                         <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
-                        v-hasPermi="['system:user:resetPwd']">设置积分</el-dropdown-item>
+                        v-hasPermi="configPermi.resetPwd">设置积分</el-dropdown-item>
                         <el-dropdown-item command="handleAuthRole" icon="el-icon-circle-check"
                         <el-dropdown-item command="handleAuthRole" icon="el-icon-circle-check"
-                        v-hasPermi="['system:user:edit']">设置储值</el-dropdown-item>
+                        v-hasPermi="configPermi.AuthRole">设置储值</el-dropdown-item>
                         <el-dropdown-item command="handleEdit" icon="el-icon-circle-check"
                         <el-dropdown-item command="handleEdit" icon="el-icon-circle-check"
-                        v-hasPermi="['system:user:edit']">编辑</el-dropdown-item>
+                        v-hasPermi="configPermi.edit">编辑</el-dropdown-item>
                         <el-dropdown-item command="handleResetPassword" icon="el-icon-circle-check"
                         <el-dropdown-item command="handleResetPassword" icon="el-icon-circle-check"
-                        v-hasPermi="['system:user:edit']">重置密码</el-dropdown-item>
+                        v-hasPermi="configPermi.Password">重置密码</el-dropdown-item>
                     </el-dropdown-menu>
                     </el-dropdown-menu>
                 </el-dropdown>
                 </el-dropdown>
               </template>
               </template>
@@ -163,12 +163,15 @@
       return {
       return {
         title: "实体卡管理",// 通用标题
         title: "实体卡管理",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: ['physicalCard:physicalCardManagement:add'], // 新增权限
+          details: ['physicalCard:physicalCardManagement:details'], // 详情权限
+          delect: ['physicalCard:physicalCardManagement:delect'], // 删除权限
+          edit: ['physicalCard:physicalCardManagement:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          resetPwd: ['physicalCard:physicalCardManagement:resetPwd'],// 设置积分
+          AuthRole: ['physicalCard:physicalCardManagement:AuthRole'],// 设置储值
+          Password: ['physicalCard:physicalCardManagement:Password'], // 重置密码
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantEntitycard/pageList', // 列表地址
           list: '/merchant/merchantEntitycard/pageList', // 列表地址

+ 9 - 7
src/views/tourism/membershipManagement/pointsManagement/IntegralRule.vue

@@ -56,6 +56,7 @@
           <el-form-item style="margin-top: 15px;">
           <el-form-item style="margin-top: 15px;">
             <el-button :loading="loading" @click="initData()">取消</el-button>
             <el-button :loading="loading" @click="initData()">取消</el-button>
             <el-button
             <el-button
+                v-hasPermi="configPermi.seva"
                 type="primary"
                 type="primary"
                 @click="submitForm"
                 @click="submitForm"
                 :loading="loading"
                 :loading="loading"
@@ -86,13 +87,14 @@ import {
         loading: false,
         loading: false,
         loadingText: "拼命加载数据中...",
         loadingText: "拼命加载数据中...",
         configPermi: {
         configPermi: {
-            add: ['system:user:edit'], // 新增权限
-            details: ['system:user:details'], // 详情权限
-            delect: ['system:user:remove'], // 删除权限
-            edit: ['system:user:edit'], // 编辑权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/questions
-            upload: ['system:user:upload'],// 导入权限
-            export: ['system:user:export'],// 导出权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/suggestions
-            release: ['system:user:release']
+            add: [''], // 新增权限
+            details: [''], // 详情权限
+            delect: [''], // 删除权限
+            edit: [''], // 编辑权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/questions
+            upload: [''],// 导入权限
+            export: [''],// 导出权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/suggestions
+            release: [''],
+            seva: ['pointsManagement:IntegralRecord:seva'] // 保存
         },
         },
         configUrl: {
         configUrl: {
             details: '/merchant/creditConfig/getCreditConfig', // 详情地址
             details: '/merchant/creditConfig/getCreditConfig', // 详情地址

+ 6 - 6
src/views/tourism/orderManagement/ticketOrdersAll/ticketOrders.vue

@@ -160,12 +160,12 @@
       return {
       return {
         title: "会员信息",// 通用标题
         title: "会员信息",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: [''], // 新增权限
+          details: ['ticketOrdersAll:ticketOrders:details'], // 详情权限
+          delect: [''], // 删除权限
+          edit: [''], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
         },
         },
         configUrl: {
         configUrl: {
           list: '/order/orderInfo/list', // 列表地址
           list: '/order/orderInfo/list', // 列表地址

+ 9 - 8
src/views/tourism/popularCheck/contentManagement.vue

@@ -79,8 +79,8 @@
                 type="text"
                 type="text"
                 icon="el-icon-coordinate"
                 icon="el-icon-coordinate"
                 v-if="scope.row.status == 0"
                 v-if="scope.row.status == 0"
-                @click="refundAuditFun(scope.row,)"
-                v-hasPermi="['refundMr:refundMr:delete']"
+                @click="refundAuditFun(scope.row)"
+                v-hasPermi="configPermi.refundAudit"
                 >审核</el-button>
                 >审核</el-button>
                 <el-button
                 <el-button
                   size="mini"
                   size="mini"
@@ -122,12 +122,13 @@
       return {
       return {
         title: "打卡管理",// 通用标题
         title: "打卡管理",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: [''], // 新增权限
+          details: [''], // 详情权限
+          delect: ['popularCheck:contentManagement:delect'], // 删除权限
+          edit: [], // 编辑权限
+          upload: [],// 导入权限
+          export: [],// 导出权限
+          refundAudit: ['popularCheck:contentManagement:refundAudit'], //审核
         },
         },
         configUrl: {
         configUrl: {
           list: '/member/memberCheckin/pageList', // 列表地址
           list: '/member/memberCheckin/pageList', // 列表地址

+ 8 - 7
src/views/tourism/productManagement/scenicAreaTickets.vue

@@ -96,13 +96,14 @@
       return {
       return {
         title: "景区门票",// 通用标题
         title: "景区门票",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
-          release: ['system:user:release']
+          add: ['productManagement:scenicAreaTickets:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: ['productManagement:scenicAreaTickets:delect'], // 删除权限
+          editBase: ['productManagement:scenicAreaTickets:editBase'], // 编辑基本信息权限
+          editGuige: ['productManagement:scenicAreaTickets:editGuige'], // 编辑规格信息权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          release: ['']
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantPerformAuditorium/merchantPerformList', // 列表地址
           list: '/merchant/merchantPerformAuditorium/merchantPerformList', // 列表地址

+ 6 - 6
src/views/tourism/routeManagementAll/routeManagement.vue

@@ -136,12 +136,12 @@
       return {
       return {
         title: "路线管理",// 通用标题
         title: "路线管理",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: ['routeManagementAll:routeManagement:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: ['routeManagementAll:routeManagement:delect'], // 删除权限
+          edit: ['routeManagementAll:routeManagement:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantTourRoute/pageList', // 列表地址
           list: '/merchant/merchantTourRoute/pageList', // 列表地址

+ 6 - 6
src/views/tourism/scenicAreaManagement/contentManagement/attractionInfoManagement.vue

@@ -143,12 +143,12 @@
       return {
       return {
         title: "景点管理",// 通用标题
         title: "景点管理",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
+          add: ['contentManagement:attractionInfoManagement:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: ['contentManagement:attractionInfoManagement:delect'], // 删除权限
+          edit: ['contentManagement:attractionInfoManagement:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantPoints/pageList', // 列表地址
           list: '/merchant/merchantPoints/pageList', // 列表地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/contentManagement/carouselAdvertis.vue

@@ -163,13 +163,13 @@ export default {
     return {
     return {
       title: "轮播广告",// 通用标题
       title: "轮播广告",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
-        release: ['system:user:release']
+        add: ['contentManagement:carouselAdvertis:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['contentManagement:carouselAdvertis:delect'], // 删除权限
+        edit: ['contentManagement:carouselAdvertis:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
+        release: ['contentManagement:carouselAdvertis:release']
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/advList/pageList', // 列表地址
         list: '/merchant/advList/pageList', // 列表地址

+ 6 - 6
src/views/tourism/scenicAreaManagement/contentManagement/eventNotifications.vue

@@ -160,12 +160,12 @@ export default {
     return {
     return {
       title: "活动通知",// 通用标题
       title: "活动通知",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
+        add: ['contentManagement:eventNotifications:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['contentManagement:eventNotifications:delect'], // 删除权限
+        edit: ['contentManagement:eventNotifications:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/notice/pageList', // 列表地址
         list: '/merchant/notice/pageList', // 列表地址

+ 6 - 6
src/views/tourism/scenicAreaManagement/contentManagement/noticeManagement.vue

@@ -114,12 +114,12 @@ export default {
     return {
     return {
       title: "须知管理",// 通用标题
       title: "须知管理",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
+        add: ['contentManagement:noticeManagement:add'], // 新增权限
+        details: ['contentManagement:noticeManagement:details'], // 详情权限
+        delect: ['contentManagement:noticeManagement:delect'], // 删除权限
+        edit: ['contentManagement:noticeManagement:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/agreementInfo/pageList', // 列表地址
         list: '/merchant/agreementInfo/pageList', // 列表地址

+ 6 - 6
src/views/tourism/scenicAreaManagement/contentManagement/questions.vue

@@ -111,12 +111,12 @@ export default {
     return {
     return {
       title: "常见问题",// 通用标题
       title: "常见问题",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
+        add: ['contentManagement:questions:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['contentManagement:questions:delect'], // 删除权限
+        edit: ['contentManagement:questions:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
       },
       },
       configUrl: {
       configUrl: {
         list: '/system/question/pageList', // 列表地址
         list: '/system/question/pageList', // 列表地址

+ 6 - 6
src/views/tourism/scenicAreaManagement/contentManagement/suggestions.vue

@@ -68,12 +68,12 @@ export default {
     return {
     return {
       title: "投诉建议",// 通用标题
       title: "投诉建议",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
+        add: [''], // 新增权限
+        details: [''], // 详情权限
+        delect: [''], // 删除权限
+        edit: [''], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/memberSuggestion/pageList', // 列表地址
         list: '/merchant/memberSuggestion/pageList', // 列表地址

+ 2 - 7
src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoBeas.vue

@@ -73,6 +73,7 @@
                 element-loading-text="提交中..."
                 element-loading-text="提交中..."
                 element-loading-spinner="el-icon-loading"
                 element-loading-spinner="el-icon-loading"
                 element-loading-background="rgba(0, 0, 0, 0.8)"
                 element-loading-background="rgba(0, 0, 0, 0.8)"
+                v-hasPermi="configPermi.save"
             > 
             > 
                 {{ loading ? '提交中...' : '保存' }}
                 {{ loading ? '提交中...' : '保存' }}
             </el-button>
             </el-button>
@@ -96,13 +97,7 @@ export default {
         loading: false,
         loading: false,
         loadingText: "拼命加载数据中...",
         loadingText: "拼命加载数据中...",
         configPermi: {
         configPermi: {
-            add: ['system:user:edit'], // 新增权限
-            details: ['system:user:details'], // 详情权限
-            delect: ['system:user:remove'], // 删除权限
-            edit: ['system:user:edit'], // 编辑权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/questions
-            upload: ['system:user:upload'],// 导入权限
-            export: ['system:user:export'],// 导出权限http://localhost/scenicAreaManagement/contentManagement/scenicAreaManagement/contentManagement/suggestions
-            release: ['system:user:release']
+            save: ['contentManagement:attractionInfoBeas:save'], // 保存
         },
         },
         configUrl: {
         configUrl: {
             details: '/merchant/merchantInfo/getMerchantInfo', // 详情地址
             details: '/merchant/merchantInfo/getMerchantInfo', // 详情地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoCulture.vue

@@ -149,13 +149,13 @@
       return {
       return {
         title: "景区文化",// 通用标题
         title: "景区文化",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
-          release: ['system:user:release']
+          add: ['contentManagement:attractionInfoCulture:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: ['contentManagement:attractionInfoCulture:delect'], // 删除权限
+          edit: ['contentManagement:attractionInfoCulture:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          release: ['contentManagement:attractionInfoCulture:release']
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantDetail/pageList', // 列表地址
           list: '/merchant/merchantDetail/pageList', // 列表地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/contentManagement/tabelBox/attractionInfoIntroduce.vue

@@ -149,13 +149,13 @@
       return {
       return {
         title: "景区介绍",// 通用标题
         title: "景区介绍",// 通用标题
         configPermi: {
         configPermi: {
-          add: ['system:user:edit'], // 新增权限
-          details: ['system:user:details'], // 详情权限
-          delect: ['system:user:remove'], // 删除权限
-          edit: ['system:user:edit'], // 编辑权限
-          upload: ['system:user:upload'],// 导入权限
-          export: ['system:user:export'],// 导出权限
-          release: ['system:user:release']
+          add: ['contentManagement:attractionInfoIntroduce:add'], // 新增权限
+          details: [''], // 详情权限
+          delect: [''], // 删除权限
+          edit: ['contentManagement:attractionInfoIntroduce:edit'], // 编辑权限
+          upload: [''],// 导入权限
+          export: [''],// 导出权限
+          release: ['contentManagement:attractionInfoIntroduce:release']
         },
         },
         configUrl: {
         configUrl: {
           list: '/merchant/merchantDetail/pageList', // 列表地址
           list: '/merchant/merchantDetail/pageList', // 列表地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/contentManagement/tourismStrategy.vue

@@ -135,13 +135,13 @@ export default {
     return {
     return {
       title: "旅游攻略",// 通用标题
       title: "旅游攻略",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
-        release: ['system:user:release']
+        add: ['contentManagement:tourismStrategy:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['contentManagement:tourismStrategy:delect'], // 删除权限
+        edit: ['contentManagement:tourismStrategy:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
+        release: ['']
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/merchantIntroduction/pageList', // 列表地址
         list: '/merchant/merchantIntroduction/pageList', // 列表地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/navigationManagement/pointType.vue

@@ -130,13 +130,13 @@ export default {
     return {
     return {
       title: "点位类型",// 通用标题
       title: "点位类型",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
-        release: ['system:user:release']
+        add: ['navigationManagement:pointType:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['navigationManagement:pointType:delect'], // 删除权限
+        edit: ['navigationManagement:pointType:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
+        release: ['']
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/merchantMapMarkType/list', // 列表地址
         list: '/merchant/merchantMapMarkType/list', // 列表地址

+ 7 - 7
src/views/tourism/scenicAreaManagement/navigationManagement/scenicGuide.vue

@@ -131,13 +131,13 @@ export default {
     return {
     return {
       title: "景区导览",// 通用标题
       title: "景区导览",// 通用标题
       configPermi: {
       configPermi: {
-        add: ['system:user:edit'], // 新增权限
-        details: ['system:user:details'], // 详情权限
-        delect: ['system:user:remove'], // 删除权限
-        edit: ['system:user:edit'], // 编辑权限
-        upload: ['system:user:upload'],// 导入权限
-        export: ['system:user:export'],// 导出权限
-        distance: ['system:user:distance'] // 设置打卡距离
+        add: ['navigationManagement:scenicGuide:add'], // 新增权限
+        details: [''], // 详情权限
+        delect: ['navigationManagement:scenicGuide:delect'], // 删除权限
+        edit: ['navigationManagement:scenicGuide:edit'], // 编辑权限
+        upload: [''],// 导入权限
+        export: [''],// 导出权限
+        distance: ['navigationManagement:scenicGuide:distance'] // 设置打卡距离
       },
       },
       configUrl: {
       configUrl: {
         list: '/merchant/merchantMapMark/pageList', // 列表地址
         list: '/merchant/merchantMapMark/pageList', // 列表地址