Your Name
2022-06-28 598e6e64a5400f9fab623af4f9202c081917cc22
'lct'
已修改2个文件
已添加6个文件
63 ■■■■■ 文件已修改
.env.development 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/.gitignore 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/gtqtOut.iml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/inspectionProfiles/Project_Default.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/misc.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/modules.xml 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/vcs.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/menu/index.vue 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.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
对比新文件
@@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml
.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>
.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>
.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>
.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>
.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>
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);
        };
        // 打开编辑菜单弹窗