feat: There is no way the, AWC

This commit is contained in:
super_liu
2022-04-27 10:17:22 +08:00
parent b302f25605
commit 2933734ed5
2 changed files with 22 additions and 7 deletions
+2 -1
View File
@@ -218,7 +218,8 @@ export default {
&& this.$route.name !== 'StandardSearch' && this.$route.name !== 'phoneIndex'
&& this.$route.name !== 'AdvancedSearchExternal' && this.$route.name !== 'LoginVerifyNoEncryption'
&& this.$route.name !== 'blankPage' && this.$route.name !== 'processedPage'
&& this.$route.name !== 'loginStandDetails' && this.$route.name !== 'error') {
&& this.$route.name !== 'loginStandDetails' && this.$route.name !== 'error'
&& this.$route.name !== 'OtherStandardExternalDetails' && this.$route.name !== 'OtherStandardExternalDetails') {
this.isBoolean = true
} else {
this.isBoolean = false
+20 -6
View File
@@ -109,27 +109,41 @@
_this: this
}, res =>{
if(res){
let routeUrl = this.$router.resolve({
this.$router.push({
name: routerName,
params: {
id: dataId,
pageType: pageType
}
});
window.open(routeUrl.href, "_blank");
})
// let routeUrl = this.$router.resolve({
// name: routerName,
// params: {
// id: dataId,
// pageType: pageType
// }
// });
// this.$router.push(routeUrl.href)
}else{
this.$message.warning('您暂无权限查看')
}
})
}else {
let routeUrl = this.$router.resolve({
// let routeUrl = this.$router.resolve({
// name: routerName,
// params: {
// id: dataId,
// pageType: pageType
// }
// });
this.$router.push({
name: routerName,
params: {
id: dataId,
pageType: pageType
}
});
window.open(routeUrl.href, "_blank");
})
// window.open(routeUrl.href, "_blank");
}
}
}, e => {