d0b6096e by joe

修复#32,#40

1 parent 0efb0be0
...@@ -2,8 +2,8 @@ module.exports = { ...@@ -2,8 +2,8 @@ module.exports = {
2 common: { 2 common: {
3 Confirm: "確認", 3 Confirm: "確認",
4 Cancel: "取消", 4 Cancel: "取消",
5 Male: "男性", 5 Male: "先生",
6 Female: "女", 6 Female: "女",
7 Sex: "性別", 7 Sex: "性別",
8 Age: "年齡", 8 Age: "年齡",
9 Birthday: "生日", 9 Birthday: "生日",
......
...@@ -4,8 +4,8 @@ module.exports = { ...@@ -4,8 +4,8 @@ module.exports = {
4 Cancel: "取消", 4 Cancel: "取消",
5 Sex: "性别", 5 Sex: "性别",
6 Age: "年龄", 6 Age: "年龄",
7 Male: "男性", 7 Male: "先生",
8 Female: "女", 8 Female: "女",
9 Birthday: "生日", 9 Birthday: "生日",
10 SubmitSuccess: "递交申请成功", 10 SubmitSuccess: "递交申请成功",
11 Email: "电邮", 11 Email: "电邮",
......
...@@ -10,9 +10,9 @@ import { ...@@ -10,9 +10,9 @@ import {
10 import { 10 import {
11 getObjByListKeyValue 11 getObjByListKeyValue
12 } from '@utils/utils.js' 12 } from '@utils/utils.js'
13 import { 13 // import {
14 gotoVHIS 14 // gotoVHIS
15 } from '@utils/biz.js' 15 // } from '@utils/biz.js'
16 16
17 17
18 import VDropdown from '@components/home/dropdown/dropdown.vue' 18 import VDropdown from '@components/home/dropdown/dropdown.vue'
...@@ -135,7 +135,13 @@ export default { ...@@ -135,7 +135,13 @@ export default {
135 }, 135 },
136 // 点击立即报价 136 // 点击立即报价
137 toQuote(){ 137 toQuote(){
138 gotoVHIS(this.locale); 138 this.$router.push({
139 path: "/vhis",
140 query: {
141 p: "VHIS001"
142 }
143 });
144 // gotoVHIS(this.locale);
139 } 145 }
140 }, 146 },
141 beforeDestroy() { 147 beforeDestroy() {
......
...@@ -3858,22 +3858,22 @@ let moneyNameTcList = [ ...@@ -3858,22 +3858,22 @@ let moneyNameTcList = [
3858 * 3858 *
3859 * @param {string} lan 语言 3859 * @param {string} lan 语言
3860 */ 3860 */
3861 export function gotoVHIS(lan) { 3861 // export function gotoVHIS(lan) {
3862 let url = window.global.vhis; 3862 // let url = window.global.vhis;
3863 switch (lan) { 3863 // switch (lan) {
3864 case "zh": 3864 // case "zh":
3865 url += "?language=zh-cn"; 3865 // url += "?language=zh-cn";
3866 break; 3866 // break;
3867 case "en": 3867 // case "en":
3868 url += "?language=en"; 3868 // url += "?language=en";
3869 break; 3869 // break;
3870 default: 3870 // default:
3871 url += "?language=zh-hk"; 3871 // url += "?language=zh-hk";
3872 break; 3872 // break;
3873 } 3873 // }
3874 url += "&partnerId=PA001&productCode=VHIS001"; 3874 // url += "&partnerId=PA001&productCode=VHIS001";
3875 window.location.href = url; 3875 // window.location.href = url;
3876 } 3876 // }
3877 3877
3878 export function getDateYMD(timestamp) { 3878 export function getDateYMD(timestamp) {
3879 let day = new Date(timestamp); 3879 let day = new Date(timestamp);
......