|
@@ -139,7 +139,7 @@ export default {
|
|
|
// 切换项目
|
|
|
handleCommand(command) {
|
|
|
this.toUrl = "";
|
|
|
- if (this.projectList[command].url !== "/bookShelf") {
|
|
|
+ if (this.projectList[command].url === "/bookCity") {
|
|
|
this.$router.push({
|
|
|
path: this.projectList[command].url,
|
|
|
});
|
|
@@ -181,14 +181,30 @@ export default {
|
|
|
this.headerBorder +
|
|
|
"&&&" +
|
|
|
this.headerBg;
|
|
|
- this.$router.push({
|
|
|
- path: "/" + link,
|
|
|
- query: {
|
|
|
- headerConfig: encodeURIComponent(url),
|
|
|
- type: encodeURIComponent(type),
|
|
|
- id: link === "orgManage" ? this.userMessage.org_id : "",
|
|
|
- },
|
|
|
- });
|
|
|
+ if (link !== "search") {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/" + link,
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ type: encodeURIComponent(type),
|
|
|
+ id: link === "orgManage" ? this.userMessage.org_id : "",
|
|
|
+ },
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ if (this.userMessage) {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/" + link,
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ type: encodeURIComponent(type),
|
|
|
+ id: link === "orgManage" ? this.userMessage.org_id : "",
|
|
|
+ },
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.toUrl = "/" + link;
|
|
|
+ this.loginFlag = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
handleChange(com) {
|
|
|
if (com === "personal") {
|
|
@@ -238,7 +254,7 @@ export default {
|
|
|
font-size: 0;
|
|
|
z-index: 2;
|
|
|
.svg-icon {
|
|
|
- width: 204px;
|
|
|
+ width: 224px;
|
|
|
height: 32px;
|
|
|
color: #ffffff;
|
|
|
}
|