|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
<input type="text" placeholder="请输入关键词" v-model="keyword"> |
|
|
|
|
<button>搜索</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="wrap"> |
|
|
|
|
<div class="wrap" :class="isHh ? 'isHh' : (isBeta ? '' : 'isOccu')"> |
|
|
|
|
<template v-for="(item,index) in systemList"> |
|
|
|
|
<a class="item" @click="goSubSystem(index)" :key="index" v-if="!keyword || item.name.includes(keyword)"> |
|
|
|
|
<img :src="item.imgSrc" alt=""> |
|
|
|
@ -20,7 +20,9 @@ export default { |
|
|
|
|
name: 'backstage', |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
host: location.host.includes('liuwanr.cn') ? 'http://www.liuwanr.cn/' : 'http://www.occupationlab.com/', |
|
|
|
|
host: this.$config.host, |
|
|
|
|
isHh: this.$config.isHh, |
|
|
|
|
isBeta: this.$config.isBeta, |
|
|
|
|
keyword: '', |
|
|
|
|
searchTimer: null, |
|
|
|
|
schoolId: this.$store.state.schoolId, |
|
|
|
@ -28,7 +30,20 @@ export default { |
|
|
|
|
userId: this.$store.state.userId, |
|
|
|
|
name: this.$store.state.name, |
|
|
|
|
roleId: this.$store.state.accountRole, |
|
|
|
|
systemList: [{ |
|
|
|
|
systemList: this.$config.isHh ? [{ |
|
|
|
|
imgSrc: require('../../assets/img/station1.png'), |
|
|
|
|
name: '智信云Python程序设计<br>教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station2.png'), |
|
|
|
|
name: '智信云经济金融建模<br>实验教学系统' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
imgSrc: require('../../assets/img/station8.png'), |
|
|
|
|
name: '智信云金融随机过程<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station9.png'), |
|
|
|
|
name: '智信云量化投资策略建模<br>实验教学系统' |
|
|
|
|
}] : (this.$config.isBeta ? [{ |
|
|
|
|
imgSrc: require('../../assets/img/station1.png'), |
|
|
|
|
name: 'Python程序设计<br>教学系统' |
|
|
|
|
},{ |
|
|
|
@ -37,8 +52,7 @@ export default { |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station3.png'), |
|
|
|
|
name: 'Python可视化<br>实验教学系统' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station8.png'), |
|
|
|
|
name: '金融随机过程<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
@ -47,22 +61,20 @@ export default { |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station10.png'), |
|
|
|
|
name: '大数据分析<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station11.png'), |
|
|
|
|
name: 'Python数据清洗<br>教学实验系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station12.png'), |
|
|
|
|
name: 'Python数据采集(爬虫)<br>教学实验系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station4.png'), |
|
|
|
|
name: '数字货币交易' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
imgSrc: require('../../assets/img/station6.png'), |
|
|
|
|
name: '担保实训教学系统' |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// imgSrc: require('../../assets/img/station11.png'), |
|
|
|
|
// name: 'Python数据清洗<br>教学实验系统' |
|
|
|
|
// },{ |
|
|
|
|
// imgSrc: require('../../assets/img/station12.png'), |
|
|
|
|
// name: 'Python数据采集(爬虫)<br>教学实验系统' |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// imgSrc: require('../../assets/img/station4.png'), |
|
|
|
|
// name: '数字货币交易' |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// imgSrc: require('../../assets/img/station6.png'), |
|
|
|
|
// name: '担保实训教学系统' |
|
|
|
|
// }, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// { |
|
|
|
@ -73,17 +85,27 @@ export default { |
|
|
|
|
// imgSrc: require('../../assets/img/station7.png'), |
|
|
|
|
// name: '投资银行实验教学系统' |
|
|
|
|
// }, |
|
|
|
|
] |
|
|
|
|
] : [{ |
|
|
|
|
imgSrc: require('../../assets/img/station1.png'), |
|
|
|
|
name: 'Python程序设计<br>教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station2.png'), |
|
|
|
|
name: '经济金融建模<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station3.png'), |
|
|
|
|
name: 'Python可视化<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station8.png'), |
|
|
|
|
name: '金融随机过程<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station9.png'), |
|
|
|
|
name: '量化投资策略建模<br>实验教学系统' |
|
|
|
|
},{ |
|
|
|
|
imgSrc: require('../../assets/img/station10.png'), |
|
|
|
|
name: '大数据分析<br>实验教学系统' |
|
|
|
|
}]) |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
// watch: { |
|
|
|
|
// keyword: function(val) { |
|
|
|
|
// clearTimeout(this.searchTimer) |
|
|
|
|
// this.searchTimer = setTimeout(() => { |
|
|
|
|
// this.initData() |
|
|
|
|
// },500) |
|
|
|
|
// } |
|
|
|
|
// }, |
|
|
|
|
mounted() { |
|
|
|
|
this.getToken() |
|
|
|
|
}, |
|
|
|
@ -95,25 +117,21 @@ export default { |
|
|
|
|
let userName = window.btoa(encodeURIComponent(this.name)) |
|
|
|
|
if(type == 0){ |
|
|
|
|
href = `${host}pyTrials/#/` |
|
|
|
|
// href = 'http://192.168.31.154:8080/' |
|
|
|
|
if(process.env.NODE_ENV === 'development') href = 'http://192.168.31.154:8080/' |
|
|
|
|
}else if(type == 1){ |
|
|
|
|
href = `${host}pyFinance/#/` |
|
|
|
|
// href = 'http://192.168.31.154:8083/' |
|
|
|
|
}else if(type == 2){ |
|
|
|
|
href = `${host}pyProjects/#/` |
|
|
|
|
href = this.isHh ? `${host}pyRandom/#/` : `${host}pyProjects/#/` |
|
|
|
|
}else if(type == 3){ |
|
|
|
|
href = `${host}pyRandom/#/` |
|
|
|
|
// href = 'http://192.168.31.154:8083/' |
|
|
|
|
href = this.isHh ? `${host}pyQuantification/#/` : `${host}pyRandom/#/` |
|
|
|
|
}else if(type == 4){ |
|
|
|
|
href = `${host}pyQuantification/#/` |
|
|
|
|
// href = 'http://192.168.31.154:8084/' |
|
|
|
|
}else if(type == 5){ |
|
|
|
|
href = `${host}pyAnalysis/#/` |
|
|
|
|
}else if(type == 6){ |
|
|
|
|
href = `${host}pyDataclean/#/` |
|
|
|
|
}else if(type == 7){ |
|
|
|
|
href = `${host}pyAcquisition/#/` |
|
|
|
|
// href = 'http://192.168.31.154:8084/' |
|
|
|
|
}else if(type == 8){ |
|
|
|
|
window.open(`http://121.37.29.24:80/yyyflogin?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=3989a0ad671849b99dcbdcc208782333&caseId=9681f86902314b10bc752909121f9ab9&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=7ff5d4715b114b7398b6f26c20fac460`) |
|
|
|
|
}else if(type == 9){ |
|
|
|
@ -153,7 +171,7 @@ export default { |
|
|
|
|
.search{ |
|
|
|
|
position: relative; |
|
|
|
|
width: 30%; |
|
|
|
|
margin: 100px auto 100px; |
|
|
|
|
margin: 100px auto 150px; |
|
|
|
|
border-radius: 30px; |
|
|
|
|
border: 1px solid #9076FF; |
|
|
|
|
border-right: 0; |
|
|
|
@ -190,8 +208,7 @@ export default { |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
|
|
.item{ |
|
|
|
|
// width: 16%; |
|
|
|
|
width: 30%; |
|
|
|
|
width: 16%; |
|
|
|
|
margin: 20px; |
|
|
|
|
text-align: center; |
|
|
|
|
cursor: pointer; |
|
|
|
@ -209,5 +226,15 @@ export default { |
|
|
|
|
color: #333; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.isHh{ |
|
|
|
|
.item{ |
|
|
|
|
width: 21%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.isOccu{ |
|
|
|
|
.item{ |
|
|
|
|
width: 30%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |