biz.js
470 Bytes
/**
*
* @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;
}