瀏覽代碼

事项清单 移除权限

Luka 4 天之前
父節點
當前提交
c2a1708c20
共有 1 個文件被更改,包括 5 次插入41 次删除
  1. 5 41
      src/views/notificationListManage/index.vue

+ 5 - 41
src/views/notificationListManage/index.vue

@@ -7,46 +7,11 @@
 				<el-button type="primary" @click="handleAdd()">新增</el-button>
 			</template>
 			<template #operate="scope">
-				<el-button
-					type="primary"
-					link
-					@click="handleEdit(scope.row.rentalCompanyId)"
-					v-hasPermi="['business:rentalCompany:edit']"
-				>
-					查看
-				</el-button>
-				<el-button
-					type="primary"
-					link
-					@click="handleEdit(scope.row.rentalCompanyId)"
-					v-hasPermi="['business:rentalCompany:edit']"
-				>
-					编辑
-				</el-button>
-				<el-button
-					type="primary"
-					link
-					@click="handleDelete(scope.row.rentalCompanyId)"
-					v-hasPermi="['business:rentalCompany:remove']"
-				>
-					删除
-				</el-button>
-				<el-button
-					type="primary"
-					link
-					@click="handleDelete(scope.row.rentalCompanyId)"
-					v-hasPermi="['business:rentalCompany:remove']"
-				>
-					启用
-				</el-button>
-				<el-button
-					type="primary"
-					link
-					@click="handleDelete(scope.row.rentalCompanyId)"
-					v-hasPermi="['business:rentalCompany:remove']"
-				>
-					废止
-				</el-button>
+				<el-button type="primary" link @click="handleEdit(scope.row.rentalCompanyId)"> 查看 </el-button>
+				<el-button type="primary" link @click="handleEdit(scope.row.rentalCompanyId)"> 编辑 </el-button>
+				<el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 删除 </el-button>
+				<el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 启用 </el-button>
+				<el-button type="primary" link @click="handleDelete(scope.row.rentalCompanyId)"> 废止 </el-button>
 			</template>
 		</pageContent>
 		<pageDetail :modalConfig="detailConfig" ref="modalRef"> </pageDetail>
@@ -54,7 +19,6 @@
 </template>
 
 <script setup lang="ts">
-import { ComponentInternalInstance } from 'vue';
 // import { useRouter } from 'vue-router';
 import contentConfig from './config/content.config';
 import pageContent from '@/components/components/pageContent.vue';