Skip to content
  • 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
Switch branch/tag
  • pingan-life-index-pro
  • src
  • utils
  • biz.js
  • joe's avatar
    1 · 90a1c4d5
    90a1c4d5 Browse Directory
    joe committed 2019-12-11 11:11:30 +0800
biz.js 470 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
 * 
 * @param {string} lan 语言
 */
export function gotoVHIS(lan) {
    let url = "https://icpois-stg1.pingan.com/vhis/insurIndex";
    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;
}