From 9458b8d7c50e56e96f21c70dd3bab7cc15b9a368 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期四, 15 九月 2022 10:11:54 +0800
Subject: [PATCH] Default Changelist
---
src/views/system/menu/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 7b9b536..4c69c1a 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -50,7 +50,7 @@
<template #default="scope">
<el-button size="small" text type="primary" @click="onOpenMenuDialog('新增')">新增</el-button>
<el-button size="small" text type="primary" @click="onOpenMenuDialog('修改', scope.row)">修改</el-button>
- <el-button size="small" text type="primary" @click="deleteMenu(scope.row)">删除</el-button>
+ <el-button size="small" style="color: red" text type="primary" @click="deleteMenu(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
@@ -66,13 +66,13 @@
import { storeToRefs } from 'pinia';
import { useRoutesList } from '/@/stores/routesList';
import menuDialog from '/@/views/system/menu/component/menuDialog.vue';
-import { useMenuApi } from '/@/api/menu';
+import { useMenuApi } from '/@/api/systemManage/menu';
import { Session } from '/@/utils/storage';
import pinia from '/@/stores';
import { dynamicRoutes } from '/@/router/route';
import { useUserInfo } from '/@/stores/userInfo';
import { initBackEndControlRoutes } from '/@/router/backEnd';
-import { useRoleApi } from '/@/api/role';
+import { useRoleApi } from '/@/api/systemManage/role';
export default defineComponent({
name: 'systemMenu',
@@ -91,7 +91,7 @@
roleList: [],
menuTableData: [],
projectList: [
- { id: '1', name: '基础数据权限管理系统', key: 0 },
+ { id: '1', name: '安全基础信息系统', key: 0 },
{ id: '2', name: '双重预防系统', key: 1 },
{ id: '3', name: '特殊作业系统', key: 2 },
{ id: '4', name: '智能巡检系统', key: 3 },
@@ -191,6 +191,7 @@
onMounted(() => {
getMenuList();
getRoleList();
+ console.log(1);
});
return {
parseRole,
--
Gitblit v1.9.2