Showing
2 changed files
with
6 additions
and
4 deletions
| ... | @@ -72,7 +72,7 @@ | ... | @@ -72,7 +72,7 @@ |
| 72 | {{ $t("layout.fedexRegister") }} | 72 | {{ $t("layout.fedexRegister") }} |
| 73 | </span> | 73 | </span> |
| 74 | </el-dropdown-item> --> | 74 | </el-dropdown-item> --> |
| 75 | - <el-dropdown-item> | 75 | + <el-dropdown-item @click.native="login('fedexRegisterNumber')"> |
| 76 | <span> | 76 | <span> |
| 77 | {{ $t("layout.registerNumber") }} | 77 | {{ $t("layout.registerNumber") }} |
| 78 | </span> | 78 | </span> |
| ... | @@ -103,7 +103,6 @@ import { mapGetters } from "vuex"; | ... | @@ -103,7 +103,6 @@ import { mapGetters } from "vuex"; |
| 103 | import Breadcrumb from "@/components/Breadcrumb"; | 103 | import Breadcrumb from "@/components/Breadcrumb"; |
| 104 | import TopNav from "@/components/TopNav"; | 104 | import TopNav from "@/components/TopNav"; |
| 105 | import Hamburger from "@/components/Hamburger"; | 105 | import Hamburger from "@/components/Hamburger"; |
| 106 | -import { removeToken } from "@/utils/auth"; | ||
| 107 | 106 | ||
| 108 | export default { | 107 | export default { |
| 109 | components: { | 108 | components: { |
| ... | @@ -175,6 +174,8 @@ export default { | ... | @@ -175,6 +174,8 @@ export default { |
| 175 | this.$emit("login", "create"); | 174 | this.$emit("login", "create"); |
| 176 | } else if (val == "fedexRegister") { | 175 | } else if (val == "fedexRegister") { |
| 177 | this.$emit("login", "fedexRegister"); | 176 | this.$emit("login", "fedexRegister"); |
| 177 | + } else if (val == "fedexRegisterNumber") { | ||
| 178 | + this.$emit("login", "fedexRegisterNumber"); | ||
| 178 | } | 179 | } |
| 179 | }, | 180 | }, |
| 180 | handleLang(val) { | 181 | handleLang(val) { | ... | ... |
| ... | @@ -175,8 +175,9 @@ export default { | ... | @@ -175,8 +175,9 @@ export default { |
| 175 | } else if (val == "reset") { | 175 | } else if (val == "reset") { |
| 176 | this.login = true; | 176 | this.login = true; |
| 177 | this.loginType = "reset"; | 177 | this.loginType = "reset"; |
| 178 | - } else if (val == "fedexRegister") { | 178 | + } else if (val == "fedexRegisterNumber") { |
| 179 | const h = this.$createElement; | 179 | const h = this.$createElement; |
| 180 | + console.log(h); | ||
| 180 | this.$msgbox({ | 181 | this.$msgbox({ |
| 181 | // title:"", | 182 | // title:"", |
| 182 | message: h("p", { style: { margin: "30px 50px 10px 50px" } }, [ | 183 | message: h("p", { style: { margin: "30px 50px 10px 50px" } }, [ |
| ... | @@ -219,7 +220,7 @@ export default { | ... | @@ -219,7 +220,7 @@ export default { |
| 219 | // instance.confirmButtonText = '正在跳轉...'; | 220 | // instance.confirmButtonText = '正在跳轉...'; |
| 220 | // location.href="https://www.fedex.com/fcl/web/jsp/contactInfo.jsp?appName=fclfsm&locale=hk_tc&step3"; | 221 | // location.href="https://www.fedex.com/fcl/web/jsp/contactInfo.jsp?appName=fclfsm&locale=hk_tc&step3"; |
| 221 | window.open( | 222 | window.open( |
| 222 | - "https://www.fedex.com/fcl/web/jsp/contactInfo.jsp?appName=fclfsm&locale=hk_tc&step3", | 223 | + "https://www.fedex.com/fcl/web/jsp/contactInfo.jsp?appName=fclfsm&locale=en_us&step3", |
| 223 | "_self" | 224 | "_self" |
| 224 | ); | 225 | ); |
| 225 | done(); | 226 | done(); | ... | ... |
-
Please register or login to post a comment