Kaynağa Gözat

添加权限

user5 3 yıl önce
ebeveyn
işleme
65cd02cb24

+ 4 - 4
src/views/modules/reimbursementSys/accountant/reimbursementIsNoTicketList.vue

@@ -37,10 +37,10 @@
       <vxe-toolbar :refresh="{query: refreshList}" export print resizable custom>
         <template #buttons>
           <el-row>
-            <el-button v-if="hasPermission('sys:role:assign')" type="primary" size="small" icon="el-icon-plus"
+            <el-button v-if="hasPermission('accountant:reimbursementBusinessTwo:add')" type="primary" size="small" icon="el-icon-plus"
                        @click="addBusinessInfo()">新增
             </el-button>
-            <el-button v-if="hasPermission('reimbursementUser:del')" type="danger" size="small" icon="el-icon-delete"
+            <el-button v-if="hasPermission('accountant:reimbursementBusinessTwo:binding')" type="danger" size="small" icon="el-icon-delete"
                        @click="openDialog($refs.reimbursementUserTable.getCheckboxRecords())"
                        :disabled="$refs.reimbursementUserTable && $refs.reimbursementUserTable.getCheckboxRecords().length === 0"
                        plain>批量绑定
@@ -80,10 +80,10 @@
           <vxe-column width="172px" title="报销额度" field="reimbursementAmount" align="center"></vxe-column>
           <vxe-column title="操作" width="300px" fixed="right" align="center">
             <template slot-scope="scope">
-              <el-button v-if="hasPermission('accountant:reimbursement:edit') && scope.row.parentId !== '0'" type="text"
+              <el-button v-if="hasPermission('accountant:reimbursementBusinessTwo:binding') && scope.row.parentId !== '0'" type="text"
                          icon="el-icon-plus" size="small" @click="openDialog(scope.row)">绑定业务编号
               </el-button>
-              <el-button v-if="hasPermission('accountant:reimbursement:del') && scope.row.parentId !== '0'" type="text"
+              <el-button v-if="hasPermission('accountant:reimbursementBusinessTwo:del') && scope.row.parentId !== '0'" type="text"
                          icon="el-icon-delete" size="small" @click="delInvoice(scope.row.id)">删除
               </el-button>
             </template>