Browse Source

集团首页修改样式

fujunwen 4 years ago
parent
commit
b8ea881ed6
2 changed files with 5 additions and 1 deletions
  1. 2 1
      public/systemConf.js
  2. 3 0
      src/store/index.js

+ 2 - 1
public/systemConf.js

@@ -39,7 +39,8 @@ var __systemConf = {
         /**
          * 后期维护,将需要显示项目资料,查看图纸的广场ID,加入到showLookPic_projectData数组中
          */
-        showLookPic_projectData: ['1002026'],
+        // showLookPic_projectData: ['1002026'],
+        showLookPic_projectData: [],
         // 本系统 八大系统 与 数字化移交系统中的专业对应关系
         /**
          * 后期维护,与产品经理商量好对应规则后,进行修改该配置文件

+ 3 - 0
src/store/index.js

@@ -9,6 +9,8 @@ Vue.use(Vuex)
 export default new Vuex.Store({
     state: {
         // 阿里云环境,开发环境使用 admin:liujiandong ,测试环境,生产环境使用null
+        // ssoToken: ['aly_dev', 'serve'].includes(process.env.NODE_ENV) ?  window.location.href.includes('ct')? 'admin:chentao22' :'admin:liujiandong' : null,
+        // ssoToken: ['aly_dev', 'serve'].includes(process.env.NODE_ENV) ?  window.location.href.includes('zy')? 'admin:zhangyang12' :'admin:liujiandong' : null,
         ssoToken: ['aly_dev', 'serve'].includes(process.env.NODE_ENV) ? 'admin:liujiandong' : null,
         // ssoToken: '',
         // ssoToken: null,
@@ -70,6 +72,7 @@ export default new Vuex.Store({
         isrequestAuth: (state) => state.isrequestAuth,
         permissions: (state) => state.permissions,
         floorObj: (state) => state.floorObj,
+        userInfo: (state) => state.userInfo,
     },
     mutations: {
         SETPLAZENAME(state, data) {