d0b6096e by joe

修复#32,#40

1 parent 0efb0be0
......@@ -2,8 +2,8 @@ module.exports = {
common: {
Confirm: "確認",
Cancel: "取消",
Male: "男性",
Female: "女",
Male: "先生",
Female: "女",
Sex: "性別",
Age: "年齡",
Birthday: "生日",
......
......@@ -4,8 +4,8 @@ module.exports = {
Cancel: "取消",
Sex: "性别",
Age: "年龄",
Male: "男性",
Female: "女",
Male: "先生",
Female: "女",
Birthday: "生日",
SubmitSuccess: "递交申请成功",
Email: "电邮",
......
......@@ -10,9 +10,9 @@ import {
import {
getObjByListKeyValue
} from '@utils/utils.js'
import {
gotoVHIS
} from '@utils/biz.js'
// import {
// gotoVHIS
// } from '@utils/biz.js'
import VDropdown from '@components/home/dropdown/dropdown.vue'
......@@ -135,7 +135,13 @@ export default {
},
// 点击立即报价
toQuote(){
gotoVHIS(this.locale);
this.$router.push({
path: "/vhis",
query: {
p: "VHIS001"
}
});
// gotoVHIS(this.locale);
}
},
beforeDestroy() {
......
......@@ -3858,22 +3858,22 @@ let moneyNameTcList = [
*
* @param {string} lan 语言
*/
export function gotoVHIS(lan) {
let url = window.global.vhis;
switch (lan) {
case "zh":
url += "?language=zh-cn";
break;
case "en":
url += "?language=en";
break;
default:
url += "?language=zh-hk";
break;
}
url += "&partnerId=PA001&productCode=VHIS001";
window.location.href = url;
}
// export function gotoVHIS(lan) {
// let url = window.global.vhis;
// switch (lan) {
// case "zh":
// url += "?language=zh-cn";
// break;
// case "en":
// url += "?language=en";
// break;
// default:
// url += "?language=zh-hk";
// break;
// }
// url += "&partnerId=PA001&productCode=VHIS001";
// window.location.href = url;
// }
export function getDateYMD(timestamp) {
let day = new Date(timestamp);
......