diff --git a/examples/router/axios.js b/examples/router/axios.js index 3de7dde8..902eba3f 100644 --- a/examples/router/axios.js +++ b/examples/router/axios.js @@ -10,6 +10,8 @@ instance.defaults.baseURL = baseURLs[process.env.NODE_ENV] instance.interceptors.request.use(config => { if (config.url.startsWith("/node")) { config.baseURL = "/ns" + } else if (/\/project\/grid/.test(location.pathname)) { + config.baseURL = "/grid" } else if (/\/project\/sass/.test(location.pathname)) { config.baseURL = "/saas" } else if (/\/xiushan/.test(location.pathname)) { diff --git a/project/grid/AppBuildManage/AppBuildManage.vue b/project/grid/AppBuildManage/AppBuildManage.vue new file mode 100644 index 00000000..a2d05ee0 --- /dev/null +++ b/project/grid/AppBuildManage/AppBuildManage.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/project/grid/AppBuildManage/components/Add.vue b/project/grid/AppBuildManage/components/Add.vue new file mode 100644 index 00000000..5f1ec682 --- /dev/null +++ b/project/grid/AppBuildManage/components/Add.vue @@ -0,0 +1,402 @@ + + + + + diff --git a/project/grid/AppBuildManage/components/BuildMsg.vue b/project/grid/AppBuildManage/components/BuildMsg.vue new file mode 100644 index 00000000..1bf7a318 --- /dev/null +++ b/project/grid/AppBuildManage/components/BuildMsg.vue @@ -0,0 +1,750 @@ + + + + + diff --git a/project/grid/AppBuildManage/components/List.vue b/project/grid/AppBuildManage/components/List.vue new file mode 100644 index 00000000..42a87865 --- /dev/null +++ b/project/grid/AppBuildManage/components/List.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/project/grid/AppBuildMap/AppBuildMap.vue b/project/grid/AppBuildMap/AppBuildMap.vue new file mode 100644 index 00000000..33572f37 --- /dev/null +++ b/project/grid/AppBuildMap/AppBuildMap.vue @@ -0,0 +1,1252 @@ + + + + + diff --git a/project/grid/AppBuildMap/buildingStatistics.vue b/project/grid/AppBuildMap/buildingStatistics.vue new file mode 100644 index 00000000..00209001 --- /dev/null +++ b/project/grid/AppBuildMap/buildingStatistics.vue @@ -0,0 +1,443 @@ + + + + + diff --git a/project/grid/AppBuildMap/buildingToolBar.vue b/project/grid/AppBuildMap/buildingToolBar.vue new file mode 100644 index 00000000..65c09252 --- /dev/null +++ b/project/grid/AppBuildMap/buildingToolBar.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/project/grid/AppBuildMap/toolBar/buildingInfo.vue b/project/grid/AppBuildMap/toolBar/buildingInfo.vue new file mode 100644 index 00000000..887b8712 --- /dev/null +++ b/project/grid/AppBuildMap/toolBar/buildingInfo.vue @@ -0,0 +1,239 @@ + + + + + diff --git a/project/grid/AppBuildMap/toolBar/communityOverview.vue b/project/grid/AppBuildMap/toolBar/communityOverview.vue new file mode 100644 index 00000000..b4a92afe --- /dev/null +++ b/project/grid/AppBuildMap/toolBar/communityOverview.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/project/grid/AppBuildMap/toolBar/nearbyGCS.vue b/project/grid/AppBuildMap/toolBar/nearbyGCS.vue new file mode 100644 index 00000000..a68e67f5 --- /dev/null +++ b/project/grid/AppBuildMap/toolBar/nearbyGCS.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/project/grid/AppBuildMap/toolBar/recentEvents.vue b/project/grid/AppBuildMap/toolBar/recentEvents.vue new file mode 100644 index 00000000..abee470b --- /dev/null +++ b/project/grid/AppBuildMap/toolBar/recentEvents.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/project/grid/AppCommunityManage/AppCommunityManage.vue b/project/grid/AppCommunityManage/AppCommunityManage.vue new file mode 100644 index 00000000..b062126b --- /dev/null +++ b/project/grid/AppCommunityManage/AppCommunityManage.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/project/grid/AppCommunityManage/components/Add.vue b/project/grid/AppCommunityManage/components/Add.vue new file mode 100644 index 00000000..fcaf118d --- /dev/null +++ b/project/grid/AppCommunityManage/components/Add.vue @@ -0,0 +1,283 @@ + + + + + diff --git a/project/grid/AppCommunityManage/components/List.vue b/project/grid/AppCommunityManage/components/List.vue new file mode 100644 index 00000000..b0399ef3 --- /dev/null +++ b/project/grid/AppCommunityManage/components/List.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/project/grid/AppGridBlock/AppGridBlock.vue b/project/grid/AppGridBlock/AppGridBlock.vue new file mode 100644 index 00000000..5eb35620 --- /dev/null +++ b/project/grid/AppGridBlock/AppGridBlock.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/project/grid/AppGridBlock/components/add.vue b/project/grid/AppGridBlock/components/add.vue new file mode 100644 index 00000000..7a7a15bc --- /dev/null +++ b/project/grid/AppGridBlock/components/add.vue @@ -0,0 +1,580 @@ + + + + + diff --git a/project/grid/AppGridBlock/components/list.vue b/project/grid/AppGridBlock/components/list.vue new file mode 100644 index 00000000..3209908c --- /dev/null +++ b/project/grid/AppGridBlock/components/list.vue @@ -0,0 +1,696 @@ + + + + + diff --git a/project/grid/AppGridBlock/index.js b/project/grid/AppGridBlock/index.js new file mode 100644 index 00000000..99041895 --- /dev/null +++ b/project/grid/AppGridBlock/index.js @@ -0,0 +1,6 @@ +import component from './AppGridBlock.vue' + +component.install = function (Vue) { + Vue.component(component.name, component) +} +export default component \ No newline at end of file diff --git a/project/grid/AppGridMap/AppGridMap.vue b/project/grid/AppGridMap/AppGridMap.vue new file mode 100644 index 00000000..c6918b54 --- /dev/null +++ b/project/grid/AppGridMap/AppGridMap.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/project/grid/AppGridMap/components/list.vue b/project/grid/AppGridMap/components/list.vue new file mode 100644 index 00000000..a5c42451 --- /dev/null +++ b/project/grid/AppGridMap/components/list.vue @@ -0,0 +1,669 @@ + + + + + diff --git a/project/grid/AppGridMember/AppGridMember.vue b/project/grid/AppGridMember/AppGridMember.vue new file mode 100644 index 00000000..d01cffbc --- /dev/null +++ b/project/grid/AppGridMember/AppGridMember.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/project/grid/AppGridMember/components/ApplyAdd.vue b/project/grid/AppGridMember/components/ApplyAdd.vue new file mode 100644 index 00000000..c2906b86 --- /dev/null +++ b/project/grid/AppGridMember/components/ApplyAdd.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/project/grid/AppGridMember/components/ApplyDetail.vue b/project/grid/AppGridMember/components/ApplyDetail.vue new file mode 100644 index 00000000..e50a258a --- /dev/null +++ b/project/grid/AppGridMember/components/ApplyDetail.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/project/grid/AppGridMember/components/ApplyList.vue b/project/grid/AppGridMember/components/ApplyList.vue new file mode 100644 index 00000000..ef3a43fd --- /dev/null +++ b/project/grid/AppGridMember/components/ApplyList.vue @@ -0,0 +1,179 @@ + + + + + \ No newline at end of file diff --git a/project/grid/AppGridMember/components/Family.vue b/project/grid/AppGridMember/components/Family.vue new file mode 100644 index 00000000..0d5285f1 --- /dev/null +++ b/project/grid/AppGridMember/components/Family.vue @@ -0,0 +1,258 @@ + + + + + diff --git a/project/grid/AppGridMember/components/MonitorUser.vue b/project/grid/AppGridMember/components/MonitorUser.vue new file mode 100644 index 00000000..0c1b57e7 --- /dev/null +++ b/project/grid/AppGridMember/components/MonitorUser.vue @@ -0,0 +1,503 @@ + + + + + diff --git a/project/grid/AppGridMember/components/add.vue b/project/grid/AppGridMember/components/add.vue new file mode 100644 index 00000000..d3d6fd90 --- /dev/null +++ b/project/grid/AppGridMember/components/add.vue @@ -0,0 +1,543 @@ + + + + + diff --git a/project/grid/AppGridMember/components/list.vue b/project/grid/AppGridMember/components/list.vue new file mode 100644 index 00000000..5083f1a1 --- /dev/null +++ b/project/grid/AppGridMember/components/list.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/project/grid/AppHomesteadManagement/AppHomesteadManagement.vue b/project/grid/AppHomesteadManagement/AppHomesteadManagement.vue new file mode 100644 index 00000000..b910a093 --- /dev/null +++ b/project/grid/AppHomesteadManagement/AppHomesteadManagement.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/project/grid/AppHomesteadManagement/components/Add.vue b/project/grid/AppHomesteadManagement/components/Add.vue new file mode 100644 index 00000000..016be73b --- /dev/null +++ b/project/grid/AppHomesteadManagement/components/Add.vue @@ -0,0 +1,475 @@ + + + + + diff --git a/project/grid/AppHomesteadManagement/components/List.vue b/project/grid/AppHomesteadManagement/components/List.vue new file mode 100644 index 00000000..ee6976ec --- /dev/null +++ b/project/grid/AppHomesteadManagement/components/List.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/project/grid/AppHouseMap/AppHouseMap.vue b/project/grid/AppHouseMap/AppHouseMap.vue new file mode 100644 index 00000000..ae0f5173 --- /dev/null +++ b/project/grid/AppHouseMap/AppHouseMap.vue @@ -0,0 +1,1344 @@ + + + + + diff --git a/project/grid/AppHouseMap/AppPopulationDV.vue b/project/grid/AppHouseMap/AppPopulationDV.vue new file mode 100644 index 00000000..3b5283f0 --- /dev/null +++ b/project/grid/AppHouseMap/AppPopulationDV.vue @@ -0,0 +1,1429 @@ + + + + + diff --git a/project/grid/AppHouseMap/buildingStatistics.vue b/project/grid/AppHouseMap/buildingStatistics.vue new file mode 100644 index 00000000..281b70aa --- /dev/null +++ b/project/grid/AppHouseMap/buildingStatistics.vue @@ -0,0 +1,443 @@ + + + + + diff --git a/project/grid/AppHouseMap/buildingToolBar.vue b/project/grid/AppHouseMap/buildingToolBar.vue new file mode 100644 index 00000000..65c09252 --- /dev/null +++ b/project/grid/AppHouseMap/buildingToolBar.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/project/grid/AppHouseMap/toolBar/buildingInfo.vue b/project/grid/AppHouseMap/toolBar/buildingInfo.vue new file mode 100644 index 00000000..887b8712 --- /dev/null +++ b/project/grid/AppHouseMap/toolBar/buildingInfo.vue @@ -0,0 +1,239 @@ + + + + + diff --git a/project/grid/AppHouseMap/toolBar/communityOverview.vue b/project/grid/AppHouseMap/toolBar/communityOverview.vue new file mode 100644 index 00000000..b4a92afe --- /dev/null +++ b/project/grid/AppHouseMap/toolBar/communityOverview.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/project/grid/AppHouseMap/toolBar/nearbyGCS.vue b/project/grid/AppHouseMap/toolBar/nearbyGCS.vue new file mode 100644 index 00000000..a68e67f5 --- /dev/null +++ b/project/grid/AppHouseMap/toolBar/nearbyGCS.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/project/grid/AppHouseMap/toolBar/recentEvents.vue b/project/grid/AppHouseMap/toolBar/recentEvents.vue new file mode 100644 index 00000000..abee470b --- /dev/null +++ b/project/grid/AppHouseMap/toolBar/recentEvents.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index 09a2e08e..c87ba5e5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -103,6 +103,14 @@ module.exports = { //地址重写 '^/xsjr': '/' } + }, + '/grid': { + target: 'http://192.168.1.87:12307', + changeOrigin: true, + pathRewrite: { + //地址重写 + '^/grid': '/' + } } }, disableHostCheck: true