Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d0b6096e
authored
2020-05-26 14:14:34 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复#32,#40
1 parent
0efb0be0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
24 deletions
src/common/lang/tc.js
src/common/lang/zh.js
src/components/home/header/header.js
src/utils/biz.js
src/common/lang/tc.js
View file @
d0b6096
...
...
@@ -2,8 +2,8 @@ module.exports = {
common
:
{
Confirm
:
"確認"
,
Cancel
:
"取消"
,
Male
:
"
男性
"
,
Female
:
"女
性
"
,
Male
:
"
先生
"
,
Female
:
"女
士
"
,
Sex
:
"性別"
,
Age
:
"年齡"
,
Birthday
:
"生日"
,
...
...
src/common/lang/zh.js
View file @
d0b6096
...
...
@@ -4,8 +4,8 @@ module.exports = {
Cancel
:
"取消"
,
Sex
:
"性别"
,
Age
:
"年龄"
,
Male
:
"
男性
"
,
Female
:
"女
性
"
,
Male
:
"
先生
"
,
Female
:
"女
士
"
,
Birthday
:
"生日"
,
SubmitSuccess
:
"递交申请成功"
,
Email
:
"电邮"
,
...
...
src/components/home/header/header.js
View file @
d0b6096
...
...
@@ -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
()
{
...
...
src/utils/biz.js
View file @
d0b6096
...
...
@@ -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
);
...
...
Please
register
or
sign in
to post a comment