From 598e6e64a5400f9fab623af4f9202c081917cc22 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 28 六月 2022 12:38:38 +0800
Subject: [PATCH] 'lct'
---
.env.development | 4 +
src/views/system/menu/index.vue | 23 ++++++++++-
.idea/inspectionProfiles/Project_Default.xml | 6 +++
.idea/vcs.xml | 6 +++
.idea/modules.xml | 8 ++++
.idea/gtqtOut.iml | 8 ++++
.idea/.gitignore | 2 +
.idea/misc.xml | 6 +++
8 files changed, 60 insertions(+), 3 deletions(-)
diff --git a/.env.development b/.env.development
index 0c99294..7e17cb9 100644
--- a/.env.development
+++ b/.env.development
@@ -2,6 +2,8 @@
ENV = 'development'
# 本地环境接口地址
-VITE_API_URL = 'http://192.168.0.35:8008'
+VITE_API_URL = 'http://192.168.0.35:8009'
# VITE_API_URL = 'http://192.168.0.8:8008'
+# VITE_API_URL = 'http://192.168.0.10:8008'
+# VITE_API_URL = 'http://192.168.0.62:8008'
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..5c98b42
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,2 @@
+# Default ignored files
+/workspace.xml
\ No newline at end of file
diff --git a/.idea/gtqtOut.iml b/.idea/gtqtOut.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/.idea/gtqtOut.iml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module>
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..03d9549
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+<component name="InspectionProjectProfileManager">
+ <profile version="1.0">
+ <option name="myName" value="Project Default" />
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
+ </profile>
+</component>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..28a804d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="JavaScriptSettings">
+ <option name="languageLevel" value="ES6" />
+ </component>
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..8dfb279
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/gtqtOut.iml" filepath="$PROJECT_DIR$/.idea/gtqtOut.iml" />
+ </modules>
+ </component>
+</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>
\ No newline at end of file
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 2197f6a..06f0a82 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -2,7 +2,15 @@
<div class="system-menu-container">
<el-card shadow="hover">
<div class="system-menu-search mb15">
- <el-input size="default" placeholder="请输入菜单名称" style="max-width: 180px"> </el-input>
+ <el-select size="default" v-model="projectId" placeholder="请输入项目名称" style="max-width: 180px">
+ <el-option
+ v-for="item in projectList"
+ :key="item.key"
+ :value="item.id"
+ :label="item.name"
+ >
+ </el-option>
+ </el-select>
<el-button size="default" type="primary" class="ml10">
<el-icon>
<ele-Search />
@@ -77,7 +85,19 @@
const { routesList } = storeToRefs(stores);
const menuDialog = ref();
const state = reactive({
+ projectId:'',
menuData:[],
+ projectList:[
+ {id:'1',name:'基础数据权限管理系统',key:0},
+ {id:'2',name:'系统1',key:1},
+ {id:'3',name:'系统2',key:2},
+ {id:'4',name:'系统3',key:3},
+ {id:'5',name:'系统4',key:4},
+ {id:'6',name:'应急管理系统',key:5},
+ {id:'7',name:'目标责任管理系统',key:6},
+ {id:'8',name:'事故管理系统',key:7},
+ {id:'9',name:'设备综合管控系统',key:8},
+ ],
});
// 获取 vuex 中的路由
const menuTableData = computed(() => {
@@ -85,7 +105,6 @@
});
// 打开新增菜单弹窗
const onOpenMenuDialog = (type: string,value: any) => {
- debugger
menuDialog.value.openDialog(type,value);
};
// 打开编辑菜单弹窗
--
Gitblit v1.9.2