Browse Source

首页

master
lzh 2 years ago
parent
commit
386d282b4d
  1. 89
      yxt-portal-ui/src/views/Home/Home.vue

89
yxt-portal-ui/src/views/Home/Home.vue

@ -208,45 +208,45 @@ export default {
return {
menus: [
{
imgUrl: require('@/assets/home/bIcon1.png'),
title: '业务管理'
imgUrl: require('@/assets/home/bIcon5.png'),
title: '客户中心'
},
{
imgUrl: require('@/assets/home/bIcon6.png'),
title: '数据报表'
},
{
imgUrl: require('@/assets/home/scm.png'),
title: '监管项目'
title: '业务审批'
},
{
imgUrl: require('@/assets/home/bIcon2.png'),
title: '风控管理'
},
{
imgUrl: require('@/assets/home/bIcon3.png'),
title: '审计管理'
},
{
imgUrl: require('@/assets/home/bIcon4.png'),
title: '财务管理'
},
{
imgUrl: require('@/assets/home/bIcon5.png'),
title: '客户中心'
imgUrl: require('@/assets/home/bIcon1.png'),
title: '工作调度'
},
{
imgUrl: require('@/assets/home/bIcon6.png'),
title: '数据报表'
imgUrl: require('@/assets/home/notice.png'),
title: '消息中心'
},
{
imgUrl: require('@/assets/home/bIcon7.png'),
title: '基础信息'
},
{
imgUrl: require('@/assets/home/notice.png'),
title: '消息中心'
title: '组织结构'
},
{
imgUrl: require('@/assets/home/bIcon8.png'),
title: '系统管理'
}
// {
// imgUrl: require('@/assets/home/bIcon3.png'),
// title: ''
// },
// {
// imgUrl: require('@/assets/home/bIcon4.png'),
// title: ''
// },
],
userInfo: {},
orgDept_list: [],
@ -392,40 +392,23 @@ export default {
defaultOrgPathName: this.defaultOrgPathName,
defaultOrgPath: this.defaultOrgPath
}
if (index == '9') {
// this.$router.push({path: '/index'})
const myPopup = window.open('/#/index', '_blank')
} else if (index == '7') {
// let myPopup = window.open('http://127.0.0.1:9531/base/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/base/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/base/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '8') {
// let myPopup = window.open('http://127.0.0.1:9531/message/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/message/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/message/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '1') {
// let myPopup = window.open('http://127.0.0.1:9531/scm/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://122.14.222.186:7003/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI(JSON.stringify(organizationData)), '_blank')
// let myPopup = window.open('http://120.46.172.184/scm/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '4') {
// let myPopup = window.open('http://127.0.0.1:9531/fin/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/fin/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/fin/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '5') {
// let myPopup = window.open('http://127.0.0.1:9531/manage/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/customer/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/manage/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '6') {
// let myPopup = window.open('http://127.0.0.1:9531/manage/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/report/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/manage/#/' + '?token=' + getStorage(), '_blank')
} else if (index == '0') {
// let myPopup = window.open('http://127.0.0.1:9531/buscenter/#/' + '?token=' + getStorage() + '&organizationData=' + encodeURI((JSON.stringify(organizationData))), '_blank')
const myPopup = window.open('http://jianguan.yyundong.com/buscenter/#/' + '?token=' + getStorage(), '_blank')
// let myPopup = window.open('http://120.46.172.184/buscenter/#/' + '?token=' + getStorage(), '_blank')
if (index === 7) {
window.open('/#/index', '_blank')
} else if (index === 0) {
window.open('http://jianguan.yyundong.com/customer/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 1) {
window.open('http://jianguan.yyundong.com/report/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 2) {
window.open('http://jianguan.yyundong.com/business/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 3) {
window.open('http://jianguan.yyundong.com/risk/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 4) {
window.open('http://jianguan.yyundong.com/work/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 5) {
window.open('http://jianguan.yyundong.com/message/#/' + '?token=' + getStorage(), '_blank')
} else if (index === 6) {
window.open('http://jianguan.yyundong.com/organizational/#/' + '?token=' + getStorage(), '_blank')
}
// const page = this.$router.resolve({name: name})
// window.open(page.href,'_blank')
}
}
}

Loading…
Cancel
Save