Browse Source

添加管理权限

审批管理
比赛管理
系统设置-基础诈设置
lex-xin 4 years ago
parent
commit
b90f99b5fb

+ 12 - 10
src/router/index.js

@@ -65,16 +65,18 @@ export const constantRoutes = [
     path: '/setSilder', // 侧边栏
     component: Layout,
     hidden: true,
-    children: [{
-      name: '侧边栏',
-      path: 'setSilder',
-      component: () => import('@/views/setSilder/addSilder'),
-      hidden: true,
-      meta: {
-        noCache: '1',
-        title: '侧边栏'
-      }
-    }, {
+    children: [
+    //   {
+    //   name: '侧边栏',
+    //   path: 'setSilder',
+    //   component: () => import('@/views/setSilder/addSilder'),
+    //   hidden: true,
+    //   meta: {
+    //     noCache: '1',
+    //     title: '侧边栏'
+    //   }
+    // }, 
+    {
       name: '提交表单',
       path: 'save-form',
       component: () => import('@/views/save-form-test'),

+ 1 - 1
src/views/adapayAccount/form.vue

@@ -377,7 +377,7 @@ export default {
       this.form.multipartFile = null
       this.$store.dispatch('delVisitedViews', this.$route)
       this.$router.push({
-        path: "/insideSetting/adapayManager"
+        path: "/systemManager/sysBasics/adapayManager"
       });
     }
   },

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

@@ -286,7 +286,7 @@ export default {
         tagTitle = '修改'
       }
       this.$router.push({
-        path: '/insideSetting/adapayOperation',
+        path: '/systemManager/sysBasics/adapayOperation',
         query: {
           type: type,
           row: JSON.stringify(row)

+ 5 - 5
src/views/app/entryActivities.vue

@@ -5,7 +5,7 @@
     </h2>
     <div class="m-core">
       <div @click="onChargeOperation('create')"
-           v-permission="'/entryOperation'"
+           v-permission="'tenantEntryActivities/merge'"
            class='newBand'>添加</div>
       <save-form :inline="true"
                :model="searchForm"
@@ -81,9 +81,9 @@
                            label="操作">
             <template slot-scope="scope">
               <el-button type="text"
-                         v-permission="'/entryOperationLook'"
+                         v-if="$helpers.permission('tenantEntryActivities/query')"
                          @click="onChargeOperation('look', scope.row)">查看</el-button>
-              <el-button v-permission="'tenantEntryActivities/updateDelFlag'"
+              <el-button v-if="$helpers.permission(scope.row.delFlag ? 'tenantEntryActivities/updateDelFlag/open' : 'tenantEntryActivities/updateDelFlag/stop') "
                          @click="onChargeOperation('update', scope.row)"
                          type="text">{{ scope.row.delFlag ? '启用' : '停用' }}</el-button>
             </template>
@@ -157,7 +157,7 @@ export default {
         })
       } else if (type == 'create') {
         this.$router.push({
-          path: '/insideSetting/entryOperation',
+          path: '/systemManager/sysBasics/entryOperation',
           query: {
             type: 'create'
           }
@@ -166,7 +166,7 @@ export default {
         })
       } else if (type == 'look') {
         this.$router.push({
-          path: '/insideSetting/entryOperation',
+          path: '/systemManager/sysBasics/entryOperation',
           query: {
             id: row.id,
             type: 'look'

+ 2 - 2
src/views/auditList/audit.vue

@@ -16,10 +16,10 @@
       <!-- <el-button @click="$listeners.close">取 消</el-button> -->
       <el-button type="primary"
                  @click="submit(1)"
-                 v-if="permission('musicGroupPaymentCalender/auditPass')">审核通过</el-button>
+                 v-if="permission('musicGroupPaymentCalender/auditPass/batchAuditing')">审核通过</el-button>
       <el-button type="danger"
                  @click="submit(0)"
-                 v-if="permission('musicGroupPaymentCalender/auditRefuse')">驳回</el-button>
+                 v-if="permission('musicGroupPaymentCalender/auditRefuse/batchAuditing')">驳回</el-button>
       <el-button @click="$emit('close')">关 闭</el-button>
     </div>
   </div>

+ 2 - 14
src/views/auditList/index.vue

@@ -72,7 +72,7 @@
         <el-form-item>
           <el-button @click="search" type="primary">搜索</el-button>
           <el-button @click="reset" type="danger">重置</el-button>
-          <auth auths="musicGroupPaymentCalender/auditPass">
+          <auth auths="musicGroupPaymentCalender/batchAuditing" style="margin-left: 10px">
             <el-button
               @click="typesStatus = true"
               :disabled="!selList.length > 0"
@@ -219,7 +219,7 @@
             fixed="right"
           >
             <template slot-scope="scope">
-              <auth auths="musicGroupPaymentCalender/auditListDetail">
+              <auth :auths="scope.row.auditStatus === 'AUDITING' ? 'musicGroupPaymentCalender/auditListDetail/update' : 'musicGroupPaymentCalender/auditListDetail/look'">
                 <el-button @click="lookDetail(scope.row)" type="text">
                   {{ scope.row.auditStatus === "AUDITING" ? "审核" : "查看" }}
                 </el-button>
@@ -364,18 +364,6 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
-.el-button--primary {
-  background: #14928a;
-  border-color: #14928a;
-  color: #fff;
-  &:hover,
-  &:active,
-  &:focus {
-    background: #14928a;
-    border-color: #14928a;
-    color: #fff;
-  }
-}
 /deep/.el-date-editor.el-input {
   width: 100% !important;
 }

+ 4 - 6
src/views/categroyManager/insideSetting/addressManager.vue

@@ -92,27 +92,25 @@
             <template slot-scope="scope">
               <el-button
                 @click="openTeaching('update', scope.row)"
-                v-permission="'school/update'"
+                v-if="$helpers.permission('school/update')"
                 type="text"
                 >修改</el-button
               >
               <el-button
-                v-if="scope.row.delFlag == 0"
-                v-permission="'school/update'"
+                v-if="scope.row.delFlag == 0 && $helpers.permission('school/update/stop')"
                 @click="onUpdateSubmit(scope.row, 2)"
                 type="text"
                 >停用</el-button
               >
               <el-button
-                v-if="scope.row.delFlag == 2"
-                v-permission="'school/update'"
+                v-if="scope.row.delFlag == 2 && $helpers.permission('school/update/open')"
                 @click="onUpdateSubmit(scope.row, 0)"
                 type="text"
                 >启用</el-button
               >
               <el-button
                 @click="onUpdateSubmit(scope.row, 1)"
-                v-permission="'school/update'"
+                v-if="$helpers.permission('school/update/del')"
                 type="text"
                 >删除</el-button
               >

+ 0 - 3
src/views/categroyManager/insideSetting/branchManager.vue

@@ -202,12 +202,9 @@
 import pagination from '@/components/Pagination/index'
 import { cooperationOrganAdd, cooperationOrganUpdate, cooperationOrganDel, queryPage } from '@/api/systemManage'
 import cleanDeep from 'clean-deep'
-import store from '@/store'
 import { isvalidPhone } from '@/utils/validate'
-import { getToken } from "@/utils/auth";
 import { Export } from '@/utils/downLoadFile'
 import qs from "qs";
-import axios from "axios";
 let validPhone = (rule, value, callback) => {
   if (!value) {
     callback(new Error('请输入电话号码'))

+ 4 - 5
src/views/categroyManager/insideSetting/staffManager.vue

@@ -129,17 +129,16 @@
                            label="操作">
             <template slot-scope="scope">
               <el-button @click="roleOperation('update', scope.row)"
-                         v-permission="'employee/update'"
+                         v-if="permission('employee/update')"
                          type="text">修改</el-button>
               <el-button @click="onStaffOperation('RESET_PASSWORD', scope.row)"
-                         v-permission="'employee/employeeOperate'"
+                         v-if="permission('employee/employeeOperate/RESET_PASSWORD')"
                          type="text">重置密码</el-button>
               <el-button @click="onStaffOperation('LOCK_UNLOCK', scope.row)"
-                         v-permission="'employee/employeeOperate'"
+                         v-if="permission(scope.row.lockFlag == 1 ? 'employee/employeeOperate/unlock' : 'employee/employeeOperate/lock')"
                          type="text">{{ scope.row.lockFlag == 1 ? '解冻' : '冻结' }}</el-button>
               <el-button @click="onStaffOperation('REINSTATE', scope.row)"
-                         v-permission="'employee/employeeOperate'"
-                         v-if="scope.row.demissionDate"
+                         v-if="scope.row.demissionDate && permission('employee/employeeOperate/REINSTATE')"
                          type="text">复职</el-button>
               <el-button @click="handover(scope.row)"
                          v-if="!scope.row.demissionDate && permission('employee/level') && permission('employee/levelDetail')"

+ 1 - 1
src/views/categroyManager/vipChargeSeting.vue

@@ -52,7 +52,7 @@
           <el-table-column label="操作">
             <template slot-scope="scope">
               <div>
-                <el-button type="text" v-permission="'vipGroupDefaultClassesUnitPrice/add'"
+                <el-button type="text" v-if="$helpers.permission('vipGroupDefaultClassesUnitPrice/add')"
                            @click="saveSeting(scope.row)">保存</el-button>
               </div>
             </template>

+ 1 - 1
src/views/chargeManager/two.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="m-container">
     <div class="m-core">
-      <div @click="sporadicStatus = true" v-permission="'sysConfig/update'" class="newBand">零星收费设置</div>
+      <div @click="sporadicStatus = true" v-permission="'sysConfig/update/setting'" class="newBand">零星收费设置</div>
       <p style="color: red; display: inline-block; padding-left: 10px">金额设置0则不做限制</p>
 
       <!-- 列表 -->

+ 2 - 2
src/views/resetTeaming/modals/review.vue

@@ -21,10 +21,10 @@
       <!-- <el-button @click="$listeners.close">取 消</el-button> -->
       <el-button type="primary"
                  @click="submit(1)"
-                 v-if="permission('musicGroupPaymentCalender/auditPass')">审核通过</el-button>
+                 v-if="permission(getFullPermission('musicGroupPaymentCalender/auditPass'))">审核通过</el-button>
       <el-button type="danger"
                  @click="submit(0)"
-                 v-if="permission('musicGroupPaymentCalender/auditRefuse')">驳回</el-button>
+                 v-if="permission(getFullPermission('musicGroupPaymentCalender/auditRefuse'))">驳回</el-button>
       <el-button @click="$emit('close')">关 闭</el-button>
     </div>
     <div slot="footer"

+ 72 - 66
src/views/setSilder/addSilder.vue

@@ -1,74 +1,79 @@
 <template>
-  <div class="slider-container">
-    <div style="position: fixed; z-index: 100; top: 100px;left: 185px;right: 30px">
-      <el-input placeholder="请输入关键词" v-model="keyword" clearable>
-        <el-button
-          @click='onOperation("create")'
-          slot="append"
-        >添加按钮</el-button>
-      </el-input>
-    </div>
-
-    <el-table :data="tableList"
+  <div class="m-container">
+    <!-- <h2><div class="squrt"></div>侧边栏管理
+    </h2> -->
+    <div class="m-core slider-container">
+      <div style="position: fixed; z-index: 100; top: 100px;left: 245px;right: 30px">
+        <el-input placeholder="请输入关键词" v-model="keyword" clearable>
+          <el-button
+            v-permission="'menu/add'"
+            @click='onOperation("create")'
+            slot="append"
+          >添加按钮</el-button>
+        </el-input>
+      </div>
+      <div class="tableWrap">
+        <el-table :data="tableList"
               style="width: 100%;margin-bottom: 20px;margin-top: 40px;"
               row-key="id"
               border
               :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
-      <el-table-column width="300px"
-                       prop="name"
-                       label="菜单名称">
-      </el-table-column>
-      <el-table-column prop="id"
-                       width="100px"
-                       label="元素ID">
-      </el-table-column>
-      <el-table-column label="菜单类型"
-                       width="100px">
-        <template slot-scope="scope">
-          {{ scope.row.type == 1 ? '按钮' : '菜单' }}
-        </template>
-      </el-table-column>
-      <el-table-column prop="sort"
-                       width="100px"
-                       label="排序">
-      </el-table-column>
-      <el-table-column prop="path"
-                       label="文件路径">
-      </el-table-column>
-      <el-table-column prop="parentPermission"
-                       label="高亮路径">
-      </el-table-column>
-      <el-table-column prop="permission"
-                       label="接口权限">
-      </el-table-column>
-      <el-table-column prop="memo"
-                       label="页面权限">
-      </el-table-column>
-      <el-table-column prop="hid"
-                       width="100px"
-                       label="是否隐藏">
-        <template slot-scope="scope">
-          {{ scope.row.hid == 1 ? '隐藏' : '不隐藏' }}
-        </template>
-      </el-table-column>
-      <el-table-column width="100px"
-                       label="是否缓存">
-        <template slot-scope="scope">
-          <div>
-            {{ parseInt(scope.row.keepAlive)  == '0' ? '缓存' : '不缓存' }}
-          </div>
-        </template>
-      </el-table-column>
-      <el-table-column label="操作">
-        <template slot-scope="scope">
-          <el-button @click="onOperation('update', scope.row)"
-                     type="text">修改</el-button>
-          <el-button @click="onDelete(scope.row)"
-                     type="text">删除</el-button>
-        </template>
-      </el-table-column>
-    </el-table>
-    <el-dialog title="侧边栏管理"
+          <el-table-column width="300px"
+                          prop="name"
+                          label="菜单名称">
+          </el-table-column>
+          <el-table-column prop="id"
+                          width="100px"
+                          label="元素ID">
+          </el-table-column>
+          <el-table-column label="菜单类型"
+                          width="100px">
+            <template slot-scope="scope">
+              {{ scope.row.type == 1 ? '按钮' : '菜单' }}
+            </template>
+          </el-table-column>
+          <el-table-column prop="sort"
+                          width="100px"
+                          label="排序">
+          </el-table-column>
+          <el-table-column prop="path"
+                          label="文件路径">
+          </el-table-column>
+          <el-table-column prop="parentPermission"
+                          label="高亮路径">
+          </el-table-column>
+          <el-table-column prop="permission"
+                          label="接口权限">
+          </el-table-column>
+          <el-table-column prop="memo"
+                          label="页面权限">
+          </el-table-column>
+          <el-table-column prop="hid"
+                          width="100px"
+                          label="是否隐藏">
+            <template slot-scope="scope">
+              {{ scope.row.hid == 1 ? '隐藏' : '不隐藏' }}
+            </template>
+          </el-table-column>
+          <el-table-column width="100px"
+                          label="是否缓存">
+            <template slot-scope="scope">
+              <div>
+                {{ parseInt(scope.row.keepAlive)  == '0' ? '缓存' : '不缓存' }}
+              </div>
+            </template>
+          </el-table-column>
+          <el-table-column label="操作">
+            <template slot-scope="scope">
+              <el-button @click="onOperation('update', scope.row)" v-permission="'menu/update'"
+                        type="text">修改</el-button>
+              <el-button @click="onDelete(scope.row)" v-permission="'menu/del'"
+                        type="text">删除</el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+      </div>
+      <el-dialog title="侧边栏管理"
                :close-on-click-modal="false"
                :visible.sync="branchStatus"
                default-expand-all
@@ -160,6 +165,7 @@
                    type="primary">确 定</el-button>
       </span>
     </el-dialog>
+    </div>
   </div>
 </template>
 <script>

+ 3 - 3
src/views/timedTask/index.vue

@@ -45,9 +45,9 @@
           <el-table-column align='center'
                            label="操作">
             <template slot-scope="scope">
-              <el-button type="text" v-if="scope.row.status == 1 || scope.row.status == 3" @click="onPause(scope.row)">暂停</el-button>
-              <el-button type="text" v-if="scope.row.status == 1 || scope.row.status == 3"  @click="onExecute(scope.row)">执行</el-button>
-              <el-button type="text" v-if="scope.row.status == 0" @click="onResume(scope.row)">恢复</el-button>
+              <el-button type="text" v-if="(scope.row.status == 1 || scope.row.status == 3) && $helpers.permission('task/pause')" @click="onPause(scope.row)">暂停</el-button>
+              <el-button type="text" v-if="(scope.row.status == 1 || scope.row.status == 3) && $helpers.permission('task/execute')"  @click="onExecute(scope.row)">执行</el-button>
+              <el-button type="text" v-if="scope.row.status == 0 && $helpers.permission('task/resume')" @click="onResume(scope.row)">恢复</el-button>
             </template>
           </el-table-column>
         </el-table>

+ 2 - 1
src/views/workBenchManager/classFeesIsOk.vue

@@ -146,7 +146,7 @@
           <el-button
             @click="onExport"
             type="primary"
-            v-permission="'export/exercisesSituations'"
+            v-permission="'export/isSettlementCourseSalarys'"
             style="background: #14928a; border: 1px solid #14928a"
             >导出</el-button
           >
@@ -548,6 +548,7 @@ export default {
           load.startLoading();
           axios(options)
             .then((res) => {
+              console.log(res)
               let blob = new Blob([res.data], {
                 // type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8',
                 type: "application/vnd.ms-excel;charset=utf-8",

+ 5 - 5
src/views/workBenchManager/journal/index.vue

@@ -6,19 +6,19 @@
     <div class="m-core">
         <tab-router v-model="activeIndex" type="card" >
           <el-tab-pane label="系统通知" lazy v-if="permissionList.journalItem" name="SYSTEM">
-            <list :type="activeIndex" v-if="activeIndex == 'SYSTEM'" saveKey="journal-system" />
+            <list :type="activeIndex" v-if="activeIndex == 'SYSTEM'" saveKey="journal-system" permissionStr="journalItem/look" />
           </el-tab-pane>
           <el-tab-pane label="学生申诉" lazy v-if="permissionList.studentComplain" name="STUDENT">
-            <list :type="activeIndex" v-if="activeIndex == 'STUDENT'" saveKey="journal-student" />
+            <list :type="activeIndex" v-if="activeIndex == 'STUDENT'" saveKey="journal-student" permissionStr="courseSchedule/queryCourseScheduleComplaintsDetail/look" />
           </el-tab-pane>
           <el-tab-pane label="退团退课" lazy v-if="permissionList.musicGroupCourse" name="MUSICGROUP">
-            <list :type="activeIndex" v-if="activeIndex == 'MUSICGROUP'" saveKey="journal-musicGroup" />
+            <list :type="activeIndex" v-if="activeIndex == 'MUSICGROUP'" saveKey="journal-musicGroup" permissionStr="musicGroupQuit/query" />
           </el-tab-pane>
           <el-tab-pane label="请假处理" lazy v-if="permissionList.leaveOperation" name="LEAVE">
-            <list :type="activeIndex" v-if="activeIndex == 'LEAVE'" saveKey="journal-leave" />
+            <list :type="activeIndex" v-if="activeIndex == 'LEAVE'" saveKey="journal-leave" permissionStr="teacherLeaveRecord/queryDetail" />
           </el-tab-pane>
           <el-tab-pane label="VIP申请审核" lazy v-if="permissionList.vipApply" name="VIPAPPLY">
-            <list :type="activeIndex" v-if="activeIndex == 'VIPAPPLY'" saveKey="journal-vipApply" />
+            <list :type="activeIndex" v-if="activeIndex == 'VIPAPPLY'" saveKey="journal-vipApply" permissionStr="5" />
           </el-tab-pane>
         </tab-router>
     </div>

+ 3 - 3
src/views/workBenchManager/journal/model/leave.vue

@@ -86,9 +86,9 @@
                 </template>
             </el-table-column>
         </el-table>
-        <div slot="footer" class="dialog-footer" v-permission="'teacherLeaveRecord/approve'" v-if="leaveForm.status == 'ING'">
-            <el-button type="primary" @click="onSubmit('leaveForm', 'PASS')">确 定</el-button>
-            <el-button type="danger" @click="onSubmit('leaveForm', 'REJECT')">拒 绝</el-button>
+        <div slot="footer" class="dialog-footer" v-if="leaveForm.status == 'ING'">
+            <el-button type="primary" v-permission="'teacherLeaveRecord/approve/confirm'" @click="onSubmit('leaveForm', 'PASS')">确 定</el-button>
+            <el-button type="danger" v-permission="'teacherLeaveRecord/approve'" @click="onSubmit('leaveForm', 'REJECT')">拒 绝</el-button>
         </div>
     </div>
 </template>

+ 5 - 3
src/views/workBenchManager/journal/model/list.vue

@@ -50,7 +50,9 @@
         </el-table-column>
         <el-table-column align="center" label="操作" fixed="right">
           <template slot-scope="scope">
-            <el-button type="text" @click="onLook(scope.row)">查看</el-button>
+            <auth :auths="permissionStr">
+              <el-button type="text" @click="onLook(scope.row)">查看</el-button>
+            </auth>
           </template>
         </el-table-column>
       </el-table>
@@ -90,7 +92,7 @@
         @close="dialogLeave = false"
       />
     </el-dialog>
-    <!-- 请假 -->
+    <!-- VIP申请审核 -->
     <el-dialog
       :title="dialogTitle"
       :visible.sync="dialogVipApply"
@@ -129,7 +131,7 @@ import vipApplyModel from "./vipApply";
 import musicGroupModel from "./musicGroup"
 export default {
   components: { pagination, StudentModel, LeaveModel, vipApplyModel, musicGroupModel },
-  props: ["type", 'saveKey'],
+  props: ["type", 'saveKey', 'permissionStr'],
   data() {
     return {
       dialogSystem: false,

+ 3 - 5
src/views/workBenchManager/journal/model/musicGroup.vue

@@ -47,11 +47,9 @@
                         v-model.trim="quitForm.reason"></el-input>
             </el-form-item>
         </el-form>
-        <div slot="footer" class="dialog-footer" v-permission="'musicGroupQuit/quitMusicGroup'" v-if="musicForm.status == 'PROCESSING'">
-            <el-button type="primary"
-                       @click="onSubmitGroup(musicForm, 'APPROVED')">确认</el-button>
-            <el-button type="danger"
-                       @click="onSubmitGroup(musicForm, 'DENIED')">拒绝</el-button>
+        <div slot="footer" class="dialog-footer" v-if="musicForm.status == 'PROCESSING'">
+            <el-button type="primary" v-permission="'musicGroupQuit/quitMusicGroup/conform'" @click="onSubmitGroup(musicForm, 'APPROVED')">确认</el-button>
+            <el-button type="danger" v-permission="'musicGroupQuit/quitMusicGroup'" @click="onSubmitGroup(musicForm, 'DENIED')">拒绝</el-button>
         </div>
     </div>
 </template>

+ 3 - 3
src/views/workBenchManager/journal/model/student.vue

@@ -52,9 +52,9 @@
               </el-input>
             </el-form-item>
         </el-form>
-        <div slot="footer" class="dialog-footer" v-permission="'courseSchedule/courseScheduleCommplaintAudit'" v-if="studentForm && studentForm.complaints.status === 'ING'">
-            <el-button type="primary" @click="onSubmit('studentForm', 'submit')">确 定</el-button>
-            <el-button type="danger" @click="onSubmit('studentForm', 'reject')">拒 绝</el-button>
+        <div slot="footer" class="dialog-footer" v-if="studentForm && studentForm.complaints.status === 'ING'">
+            <el-button type="primary" v-permission="'courseSchedule/courseScheduleCommplaintAudit/confirm'" @click="onSubmit('studentForm', 'submit')">确 定</el-button>
+            <el-button type="danger" v-permission="'courseSchedule/courseScheduleCommplaintAudit'" @click="onSubmit('studentForm', 'reject')">拒 绝</el-button>
         </div>
     </div>
 </template>

+ 3 - 3
src/views/workBenchManager/journal/model/vipApply.vue

@@ -43,9 +43,9 @@
                 <el-input type="textarea" :disabled="vipForm.auditStatus !== 'ING'" v-model.trim="vipForm.memo"></el-input>
             </el-form-item>
         </el-form>
-        <div slot="footer" class="dialog-footer" v-permission="'vipGroupManage/vipApplyAudit'" v-if="vipForm.auditStatus === 'ING'">
-            <el-button type="primary" @click="onSubmit('vipForm', 'PASS')">确 定</el-button>
-            <el-button type="danger" @click="onSubmit('vipForm', 'REJECT')">拒 绝</el-button>
+        <div slot="footer" class="dialog-footer" v-if="vipForm.auditStatus === 'ING'">
+            <el-button type="primary" v-permission="'vipGroupManage/vipApplyAudit/confirm'" @click="onSubmit('vipForm', 'PASS')">确 定</el-button>
+            <el-button type="danger" v-permission="'vipGroupManage/vipApplyAudit'" @click="onSubmit('vipForm', 'REJECT')">拒 绝</el-button>
         </div>
     </div>
 </template>

+ 1 - 1
src/views/workBenchManager/payAppeal.vue

@@ -144,7 +144,7 @@
               <div>
                 <el-button
                   type="text"
-                  v-if="permission('teacherAttendance/operation')&&scope.row.complaintsStatusEnum == 2"
+                  v-if="permission('teacherAttendance/operation/update')&&scope.row.complaintsStatusEnum == 2"
                   @click="lookDetail(scope.row)"
                   >处理申诉</el-button
                 >