提交 75d481c0 authored 作者: CRS's avatar CRS

new

上级 32bc821e
......@@ -67,11 +67,11 @@
<span>评估报告管理</span>
<span class="line"></span>
</p>
<p @click="goOther('http://120.55.57.35:8080/assessment/#/homeDetailcopy')" v-if="this.$store.getters.getUserData.type !== 1">
<p @click="goOther('http://120.55.57.35:8080/assessment/#/Assessment')" v-if="this.$store.getters.getUserData.type !== 1">
<img src="./img/XT.png">
<span>应用系统改造替换</span>
</p>
<p @click="goOther('http://120.55.57.35:8080/assessment/#/homeDetailcopy')" v-if="this.$store.getters.getUserData.type === 1">
<p @click="goOther('http://120.55.57.35:8080/assessment/#/Assessment')" v-if="this.$store.getters.getUserData.type === 1">
<img src="./img/XT.png">
<span>应用系统改造替换</span>
<span class="line"></span>
......@@ -121,11 +121,11 @@ export default {
},
// 跳转到其他页面
goOther(path) {
if (path === 'http://120.55.57.35:8080/assessment/#/homeDetailcopy' && this.$store.getters.getUserData.type === 1) {
let val = 'http://120.55.57.35:8080/assessment/#/homeDetailcopy' + '?username=' + this.$store.getters.getUserData.userName + '&authority=1';
if (path === 'http://120.55.57.35:8080/assessment/#/Assessment' && this.$store.getters.getUserData.type === 1) {
let val = 'http://120.55.57.35:8080/assessment/#/Assessment' + '?username=' + this.$store.getters.getUserData.userName + '&authority=1';
window.open(val);
} else if (path === 'http://120.55.57.35:8080/assessment/#/homeDetailcopy' && this.$store.getters.getUserData.type !== 1) {
let val = 'http://120.55.57.35:8080/assessment/#/homeDetailcopy' + '?username=' + this.$store.getters.getUserData.userName + '&authority=0';
} else if (path === 'http://120.55.57.35:8080/assessment/#/Assessment' && this.$store.getters.getUserData.type !== 1) {
let val = 'http://120.55.57.35:8080/assessment/#/Assessment' + '?username=' + this.$store.getters.getUserData.userName + '&authority=0';
window.open(val);
}
else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论