Преглед изворни кода

Merge branch 'dataType' of git.sagacloud.cn:web/adm into dataType

zhangyu пре 3 година
родитељ
комит
f4e8d4f0f6
2 измењених фајлова са 100 додато и 115 уклоњено
  1. 1 1
      src/framework/layout/layout-store.js
  2. 99 114
      src/framework/layout/project.js

+ 1 - 1
src/framework/layout/layout-store.js

@@ -26,7 +26,7 @@ export default {
     },
     },
     projectId: '',
     projectId: '',
     group_code: '',
     group_code: '',
-    projects: project["14"],
+    projects: project["39"],
     breadcrumb: [],
     breadcrumb: [],
     uploaderList: [], //当前上传文件列表
     uploaderList: [], //当前上传文件列表
     secret: "saga123456", //项目密码
     secret: "saga123456", //项目密码

+ 99 - 114
src/framework/layout/project.js

@@ -79,198 +79,187 @@ const project = {
       group_code: "MK"
       group_code: "MK"
     }
     }
   ],
   ],
-  "39": [
-    {
+  '39': [{
+      id: "Pj3702020020",
+      name: "青岛海天APM",
+      pwd: "saga123456",
+      group_code: "GX"
+    }, {
+      id: "Pj4690060001",
+      name: "石梅湾酒店",
+      pwd: "saga123456",
+      group_code: "HR"
+    }, {
+      id: "Pj5001070003",
+      name: "重庆万象城",
+      pwd: "saga123456",
+      group_code: "HR"
+    }, {
       id: "Pj4501030002",
       id: "Pj4501030002",
       name: "南宁万象城",
       name: "南宁万象城",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "HR"
       group_code: "HR"
-    },
-    {
+    }, {
+      id: "Pj3101150008",
+      name: "金砖银行",
+      pwd: "saga123456",
+      group_code: "JZD"
+    }, {
       id: "Pj3702120002",
       id: "Pj3702120002",
       name: "青岛港务局航运中心",
       name: "青岛港务局航运中心",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "QD"
       group_code: "QD"
-    },
-    {
+    }, {
       id: "Pj4403050002",
       id: "Pj4403050002",
       name: "深圳万象天地",
       name: "深圳万象天地",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "HR"
       group_code: "HR"
-    },
-    {
+    }, {
       id: "Pj1101051029",
       id: "Pj1101051029",
       name: "北京万达广场",
       name: "北京万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj0001110001",
       id: "Pj0001110001",
       name: "飞龙商场",
       name: "飞龙商场",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "MK"
+    }, {
       id: "Pj1101050029",
       id: "Pj1101050029",
       name: "东坝万达广场",
       name: "东坝万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj4403070003",
       id: "Pj4403070003",
       name: "深圳龙岗万达广场",
       name: "深圳龙岗万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj4403050019",
       id: "Pj4403050019",
       name: "招商深圳太子广场汇港二期",
       name: "招商深圳太子广场汇港二期",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "ZS"
       group_code: "ZS"
-    },
-    {
+    }, {
       id: "Pj5001120003",
       id: "Pj5001120003",
       name: "香港置地约克北郡",
       name: "香港置地约克北郡",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "XG"
       group_code: "XG"
-    },
-    {
+    }, {
       id: "Pj3201110003",
       id: "Pj3201110003",
       name: "弘阳集团弘云智慧管理平台",
       name: "弘阳集团弘云智慧管理平台",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "HY"
       group_code: "HY"
-    },
-    {
+    }, {
       id: "Pj3702020002",
       id: "Pj3702020002",
       name: "青岛海天中心",
       name: "青岛海天中心",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "GX"
       group_code: "GX"
-    },
-    {
+    }, {
       id: "Pj1101010006",
       id: "Pj1101010006",
       name: "亚投行",
       name: "亚投行",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BT"
       group_code: "BT"
-    },
-    {
+    }, {
       id: "Pj1101050013",
       id: "Pj1101050013",
       name: "BIM测试项目_亚投行",
       name: "BIM测试项目_亚投行",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BT"
       group_code: "BT"
-    },
-    {
+    }, {
       id: "Pj1101080259",
       id: "Pj1101080259",
       name: "博锐尚格北京总部办公楼",
       name: "博锐尚格北京总部办公楼",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj1101150002",
       id: "Pj1101150002",
       name: "华润生命科学园",
       name: "华润生命科学园",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj3101150007",
       id: "Pj3101150007",
       name: "招商上海森兰花园城",
       name: "招商上海森兰花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj5101080004",
       id: "Pj5101080004",
       name: "成都招商花园城",
       name: "成都招商花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj3201130004",
       id: "Pj3201130004",
       name: "招商南京燕子矶花园城",
       name: "招商南京燕子矶花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj3702120001",
       id: "Pj3702120001",
       name: "金融中心",
       name: "金融中心",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj1101051130",
       id: "Pj1101051130",
       name: "万达模型测试项目2",
       name: "万达模型测试项目2",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj0002220001",
       id: "Pj0002220001",
       name: "数字化交付01",
       name: "数字化交付01",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220002",
       id: "Pj0002220002",
       name: "数字化交付02",
       name: "数字化交付02",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220003",
       id: "Pj0002220003",
       name: "数字化交付03",
       name: "数字化交付03",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220004",
       id: "Pj0002220004",
       name: "数字化交付04",
       name: "数字化交付04",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220005",
       id: "Pj0002220005",
       name: "数字化交付05",
       name: "数字化交付05",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220006",
       id: "Pj0002220006",
       name: "数字化交付06",
       name: "数字化交付06",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220007",
       id: "Pj0002220007",
       name: "数字化交付07",
       name: "数字化交付07",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220008",
       id: "Pj0002220008",
       name: "数字化交付08",
       name: "数字化交付08",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220009",
       id: "Pj0002220009",
       name: "数字化交付09",
       name: "数字化交付09",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj0002220010",
       id: "Pj0002220010",
       name: "数字化交付10",
       name: "数字化交付10",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
     }
     }
   ],
   ],
-  "14": [
-    {
-      id: "Pj1101051029",
-      name: "北京万达广场",
-      pwd: "saga123456",
-      group_code: "WD"
-    },
+  '14': [{
+    id: "Pj1101051029",
+    name: "北京万达广场",
+    pwd: "saga123456",
+    group_code: "WD"
+  },
     {
     {
       id: "Pj1101050029",
       id: "Pj1101050029",
-      name: "北京东坝万达广场",
+      name: "东坝万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
     },
     },
@@ -311,122 +300,118 @@ const project = {
       group_code: "ZS"
       group_code: "ZS"
     },
     },
     {
     {
+      id: "Pj3201130004",
+      name: "招商南京燕子矶花园城项目",
+      pwd: "saga123456",
+      group_code: "ZS"
+    },
+    {
+      id: "Pj4403050019",
+      name: "招商IOC广场",
+      pwd: "saga123456",
+      group_code: "ZS"
+    },
+    {
       id: "Pj1101080259",
       id: "Pj1101080259",
       name: "博锐尚格北京总部办公楼",
       name: "博锐尚格北京总部办公楼",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    }
-  ],
-  "18": [
+
+    }],
+  '18': [
     {
     {
       id: "Pj1101051029",
       id: "Pj1101051029",
       name: "北京万达广场",
       name: "北京万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj0001110001",
       id: "Pj0001110001",
       name: "飞龙商场",
       name: "飞龙商场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "MK"
       group_code: "MK"
-    },
-    {
+    }, {
       id: "Pj0001110002",
       id: "Pj0001110002",
       name: "常州常武",
       name: "常州常武",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "MK"
       group_code: "MK"
-    },
-    {
+    }, {
       id: "Pj1101050029",
       id: "Pj1101050029",
       name: "东坝万达广场",
       name: "东坝万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj4403070003",
       id: "Pj4403070003",
       name: "深圳龙岗万达广场",
       name: "深圳龙岗万达广场",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj4403050019",
       id: "Pj4403050019",
       name: "招商深圳太子广场汇港二期",
       name: "招商深圳太子广场汇港二期",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "ZS"
       group_code: "ZS"
-    },
-    {
+    }, {
       id: "Pj5001120003",
       id: "Pj5001120003",
       name: "香港置地约克北郡",
       name: "香港置地约克北郡",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "XG"
       group_code: "XG"
-    },
-    {
+    }, {
       id: "Pj3201110003",
       id: "Pj3201110003",
       name: "弘阳集团弘云智慧管理平台",
       name: "弘阳集团弘云智慧管理平台",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "HY"
       group_code: "HY"
-    },
-    {
+    }, {
       id: "Pj3702020002",
       id: "Pj3702020002",
       name: "青岛海天中心",
       name: "青岛海天中心",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "GX"
       group_code: "GX"
-    },
-    {
+    }, {
       id: "Pj1101010006",
       id: "Pj1101010006",
       name: "亚投行",
       name: "亚投行",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BT"
       group_code: "BT"
-    },
-    {
+    }, {
       id: "Pj1101050013",
       id: "Pj1101050013",
       name: "BIM测试项目_亚投行",
       name: "BIM测试项目_亚投行",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BT"
       group_code: "BT"
-    },
-    {
+    }, {
       id: "Pj1101080259",
       id: "Pj1101080259",
       name: "博锐尚格北京总部办公楼",
       name: "博锐尚格北京总部办公楼",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "BR"
       group_code: "BR"
-    },
-    {
+    }, {
       id: "Pj1101150002",
       id: "Pj1101150002",
       name: "华润生命科学园",
       name: "华润生命科学园",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj3101150007",
       id: "Pj3101150007",
       name: "招商上海森兰花园城",
       name: "招商上海森兰花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj5101080004",
       id: "Pj5101080004",
       name: "成都招商花园城",
       name: "成都招商花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj3201130004",
       id: "Pj3201130004",
       name: "招商南京燕子矶花园城",
       name: "招商南京燕子矶花园城",
       pwd: "saga123456",
       pwd: "saga123456",
-      group_code: "WD"
-    },
-    {
+      group_code: "ZS"
+    }, {
       id: "Pj3702120001",
       id: "Pj3702120001",
       name: "金融中心",
       name: "金融中心",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
-    },
-    {
+    }, {
       id: "Pj1101051130",
       id: "Pj1101051130",
       name: "万达模型测试项目2",
       name: "万达模型测试项目2",
       pwd: "saga123456",
       pwd: "saga123456",
       group_code: "WD"
       group_code: "WD"
     }
     }
   ]
   ]
-};
 
 
-export default project;
+}
+
+export default project