100 lines
2.7 KiB
Vue
100 lines
2.7 KiB
Vue
/*
|
|
* @Author: hisense.wuhongjian
|
|
* @Date: 2020-07-07 16:03:23
|
|
* @LastEditors: hisense.liangjunhua
|
|
* @LastEditTime: 2022-06-21 16:58:56
|
|
* @Description: 数据资源参数配置
|
|
*/
|
|
const newLocation = 'qingdao'
|
|
// const newLocation = 'baotou'
|
|
// const newLocation = 'xihaian'
|
|
|
|
// 数据资源数据
|
|
const launchedDataNumObject = {}
|
|
// 导航数据
|
|
const navListManagement = {}
|
|
// qingdao
|
|
if (newLocation === 'qingdao') {
|
|
// 数据资源数据
|
|
launchedDataNumObject.launchedDataNum = [
|
|
{
|
|
num: 10374,
|
|
},
|
|
{
|
|
num: 1080,
|
|
},
|
|
{
|
|
num: 976,
|
|
},
|
|
]
|
|
// 导航数据
|
|
navListManagement.navList = [
|
|
{ name: '共享门户', key: 'home' },
|
|
{ name: '能力集市', key: 'DetailsPageconetent' },
|
|
{ name: '能力云图', key: 'capabilityCloud' },
|
|
{ name: '能力统计', key: 'abilityStatistics' },
|
|
{ name: '开发指南', key: 'developmentGuide' },
|
|
{ name: '需求中心', key: 'demandCenter' },
|
|
// { name: '个人中心', key: 'personalCenter' },
|
|
{ name: '区市站点', key: 'mapTest' },
|
|
// { name: '后台管理', key: 'houtaiguanli' },
|
|
{ name: '赋能案例', key: 'assignCase' },
|
|
]
|
|
}
|
|
// baotou
|
|
else if (newLocation === 'baotou') {
|
|
// 数据资源数据
|
|
launchedDataNumObject.launchedDataNum = [
|
|
{
|
|
num: 10373,
|
|
},
|
|
{
|
|
num: 1080,
|
|
},
|
|
{
|
|
num: 976,
|
|
},
|
|
]
|
|
// 导航数据
|
|
navListManagement.navList = [
|
|
{ name: '共享门户', key: 'home' },
|
|
{ name: '能力集市', key: 'DetailsPageconetent' },
|
|
{ name: '能力云图', key: 'capabilityCloud' },
|
|
{ name: '能力统计', key: 'abilityStatistics' },
|
|
{ name: '开发指南', key: 'developmentGuide' },
|
|
{ name: '需求中心', key: 'demandCenter' },
|
|
// { name: '个人中心', key: 'personalCenter' },
|
|
// { name: '区市站点', key: 'mapTest' },
|
|
// { name: '后台管理', key: 'houtaiguanli' },
|
|
{ name: '赋能案例', key: 'assignCase' },
|
|
]
|
|
}
|
|
// xihaian
|
|
else if (newLocation === 'xihaian') {
|
|
// 数据资源数据
|
|
launchedDataNumObject.launchedDataNum = [
|
|
{
|
|
num: 10372,
|
|
},
|
|
{
|
|
num: 1080,
|
|
},
|
|
{
|
|
num: 976,
|
|
},
|
|
]
|
|
// 导航数据
|
|
navListManagement.navList = [
|
|
{ name: '共享门户', key: 'home' },
|
|
{ name: '能力集市', key: 'DetailsPageconetent' },
|
|
{ name: '能力云图', key: 'capabilityCloud' },
|
|
{ name: '能力统计', key: 'abilityStatistics' },
|
|
{ name: '开发指南', key: 'developmentGuide' },
|
|
{ name: '需求中心', key: 'demandCenter' },
|
|
// { name: '个人中心', key: 'personalCenter' },
|
|
// { name: '区市站点', key: 'mapTest' },
|
|
// { name: '后台管理', key: 'houtaiguanli' },
|
|
{ name: '赋能案例', key: 'assignCase' },
|
|
]
|
|
}
|