| .env.development | ●●●●● patch | view | raw | blame | history | |
| .idea/.gitignore | ●●●●● patch | view | raw | blame | history | |
| .idea/gtqtOut.iml | ●●●●● patch | view | raw | blame | history | |
| .idea/inspectionProfiles/Project_Default.xml | ●●●●● patch | view | raw | blame | history | |
| .idea/misc.xml | ●●●●● patch | view | raw | blame | history | |
| .idea/modules.xml | ●●●●● patch | view | raw | blame | history | |
| .idea/vcs.xml | ●●●●● patch | view | raw | blame | history | |
| src/views/system/menu/index.vue | ●●●●● patch | view | raw | blame | history |
.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' .idea/.gitignore
New file @@ -0,0 +1,2 @@ # Default ignored files /workspace.xml .idea/gtqtOut.iml
New file @@ -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> .idea/inspectionProfiles/Project_Default.xml
New file @@ -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> .idea/misc.xml
New file @@ -0,0 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="JavaScriptSettings"> <option name="languageLevel" value="ES6" /> </component> </project> .idea/modules.xml
New file @@ -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> .idea/vcs.xml
New file @@ -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> 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); }; // 打开编辑菜单弹窗