Commit 91953842 by 姜雷

Merge branch 'develop' into 'test'

添加小程序子系统 See merge request !73
parents 893e4dbd 15a06cb2
...@@ -6,6 +6,7 @@ VUE_APP_STATISTICS_MENU_CODE=0044 ...@@ -6,6 +6,7 @@ VUE_APP_STATISTICS_MENU_CODE=0044
VUE_APP_DEVICE_MENU_CODE=0048 VUE_APP_DEVICE_MENU_CODE=0048
VUE_APP_DASHBOARD_CODE=0079 VUE_APP_DASHBOARD_CODE=0079
VUE_APP_CUSTOMER_OPERATE_CODE=0077 VUE_APP_CUSTOMER_OPERATE_CODE=0077
VUE_APP_SMAPRO_CODE=0069
VUE_APP_WHITE_LIST=/login,/404,/401 VUE_APP_WHITE_LIST=/login,/404,/401
VUE_APP_SUBSYSTEM=http://ex-dev-dcxy-static.168cad.top VUE_APP_SUBSYSTEM=http://ex-dev-dcxy-static.168cad.top
VUE_APP_SYSTEM_SERVER_URL=http://ex-dev-dcxy-system-manage.168cad.top VUE_APP_SYSTEM_SERVER_URL=http://ex-dev-dcxy-system-manage.168cad.top
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<script src="<%= VUE_APP_SUBSYSTEM %>/operateManage/lib/operateManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/operateManage/lib/operateManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/statisticsManage/lib/statisticsManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/statisticsManage/lib/statisticsManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/deviceManage/lib/deviceManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/deviceManage/lib/deviceManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/smaproManage/lib/smaproManage.umd.min.js"></script>
<link rel="stylesheet" href="/lib/manageShell.css" /> <link rel="stylesheet" href="/lib/manageShell.css" />
<title>多彩综合管理系统</title> <title>多彩综合管理系统</title>
......
...@@ -78,12 +78,14 @@ export default { ...@@ -78,12 +78,14 @@ export default {
}, },
}, },
data() { data() {
console.log(this.$route);
return { return {
title: '', title: '',
selectedRoute: [], selectedRoute: [],
routerDone: false, routerDone: false,
isInnerPage: false, isInnerPage: false,
showFastLink: true, showFastLink: false,
showSelected: false, showSelected: false,
}; };
}, },
......
...@@ -85,6 +85,17 @@ ...@@ -85,6 +85,17 @@
src="@/assets/images/layout/icon_yunying.png" src="@/assets/images/layout/icon_yunying.png"
/> />
</MenuItem> </MenuItem>
<MenuItem
v-if="smapreManage && smapreManage.length"
menuName="微信端"
:menuList="smapreManage[0].children"
:selectRouteMenu="selectRouteMenu"
>
<img
slot="icon"
src="@/assets/images/layout/icon_quanyetai@2x.png"
/>
</MenuItem>
<!-- <div @click="() => toggleFastLink(false)"> <!-- <div @click="() => toggleFastLink(false)">
<MenuItem menuName="全业态"> <MenuItem menuName="全业态">
<img <img
...@@ -198,14 +209,12 @@ export default { ...@@ -198,14 +209,12 @@ export default {
); );
return item ? formatRouteLink([item]) : null; return item ? formatRouteLink([item]) : null;
}, },
// collectRouteList() { smapreManage() {
// let list = this.collectList.map(item => { let item = this.routers.find(
// let id = item.menuId; menu => menu.menuCode === process.env.VUE_APP_SMAPRO_CODE
// return getFilterMenu(this.routers, id); );
// }); return item ? formatRouteLink([item]) : null;
// list = list.filter(item => !!item); },
// return list ? formatRouteLink(list) : null;
// },
}, },
watch: { watch: {
collectList(val) { collectList(val) {
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<script src="<%= VUE_APP_SUBSYSTEM %>/operateManage/lib/operateManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/operateManage/lib/operateManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/statisticsManage/lib/statisticsManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/statisticsManage/lib/statisticsManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/deviceManage/lib/deviceManage.umd.min.js"></script> <script src="<%= VUE_APP_SUBSYSTEM %>/deviceManage/lib/deviceManage.umd.min.js"></script>
<script src="<%= VUE_APP_SUBSYSTEM %>/smaproManage/lib/smaproManage.umd.min.js"></script>
<script src="https://webapi.amap.com/maps?v=1.4.12&key=dd6103c90f2f17310a8711f2d330a0a6"></script> <script src="https://webapi.amap.com/maps?v=1.4.12&key=dd6103c90f2f17310a8711f2d330a0a6"></script>
<script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script> <script src="https://webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>
......
...@@ -11,6 +11,7 @@ setTimeout(() => { ...@@ -11,6 +11,7 @@ setTimeout(() => {
'operateManage', 'operateManage',
'statisticsManage', 'statisticsManage',
'deviceManage', 'deviceManage',
'smaproManage',
]; ];
routeNameList.map(name => { routeNameList.map(name => {
try { try {
......
...@@ -6,6 +6,7 @@ let routeNameList = [ ...@@ -6,6 +6,7 @@ let routeNameList = [
'operateManage', 'operateManage',
'statisticsManage', 'statisticsManage',
'deviceManage', 'deviceManage',
'smaproManage',
]; ];
routeNameList.map(name => { routeNameList.map(name => {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment