| | |
| | | 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' |
对比新文件 |
| | |
| | | # Default ignored files |
| | | /workspace.xml |
对比新文件 |
| | |
| | | <?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> |
对比新文件 |
| | |
| | | <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> |
对比新文件 |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project version="4"> |
| | | <component name="JavaScriptSettings"> |
| | | <option name="languageLevel" value="ES6" /> |
| | | </component> |
| | | </project> |
对比新文件 |
| | |
| | | <?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> |
对比新文件 |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project version="4"> |
| | | <component name="VcsDirectoryMappings"> |
| | | <mapping directory="$PROJECT_DIR$" vcs="Git" /> |
| | | </component> |
| | | </project> |
| | |
| | | <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 /> |
| | |
| | | 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(() => { |
| | |
| | | }); |
| | | // 打开新增菜单弹窗 |
| | | const onOpenMenuDialog = (type: string,value: any) => { |
| | | debugger |
| | | menuDialog.value.openDialog(type,value); |
| | | }; |
| | | // 打开编辑菜单弹窗 |