cd2d83c6 by joe

vhis路径修改

1 parent 23b6f530
Showing 79 changed files with 5 additions and 3 deletions
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><link rel=icon href=favicon.ico><link rel=stylesheet href=./css/pure-min.css><link rel=stylesheet href=./css/grids-responsive-min.css><!--[if gt IE 6]>
<![endif]--><title>平安人寿香港</title><link href=assets/css/chunk-0a4924e6.css rel=prefetch><link href=assets/css/chunk-0b58319c.css rel=prefetch><link href=assets/css/chunk-0d9c1a70.css rel=prefetch><link href=assets/css/chunk-0e35f5f2.css rel=prefetch><link href=assets/css/chunk-1091a20c.css rel=prefetch><link href=assets/css/chunk-1146cee4.css rel=prefetch><link href=assets/css/chunk-189d5002.css rel=prefetch><link href=assets/css/chunk-1f8c408c.css rel=prefetch><link href=assets/css/chunk-24aff8aa.css rel=prefetch><link href=assets/css/chunk-28abceb7.css rel=prefetch><link href=assets/css/chunk-28dd9ffc.css rel=prefetch><link href=assets/css/chunk-2c27ad9a.css rel=prefetch><link href=assets/css/chunk-2e015062.css rel=prefetch><link href=assets/css/chunk-36ac8305.css rel=prefetch><link href=assets/css/chunk-46eed7ad.css rel=prefetch><link href=assets/css/chunk-4894a57a.css rel=prefetch><link href=assets/css/chunk-50aaa5b6.css rel=prefetch><link href=assets/css/chunk-53a4010d.css rel=prefetch><link href=assets/css/chunk-594359dc.css rel=prefetch><link href=assets/css/chunk-614284c4.css rel=prefetch><link href=assets/css/chunk-65fdfdf6.css rel=prefetch><link href=assets/css/chunk-668b10d6.css rel=prefetch><link href=assets/css/chunk-6dcb0280.css rel=prefetch><link href=assets/css/chunk-6edd5fa4.css rel=prefetch><link href=assets/css/chunk-72bf0fb0.css rel=prefetch><link href=assets/css/chunk-756c50bb.css rel=prefetch><link href=assets/css/chunk-7bf7e92e.css rel=prefetch><link href=assets/css/chunk-7e57515e.css rel=prefetch><link href=assets/css/chunk-8aeadf42.css rel=prefetch><link href=assets/css/chunk-9c9ab6cc.css rel=prefetch><link href=assets/css/chunk-ad72efba.css rel=prefetch><link href=assets/css/chunk-adf3d75c.css rel=prefetch><link href=assets/css/chunk-b990c410.css rel=prefetch><link href=assets/css/chunk-eb0e9f2c.css rel=prefetch><link href=assets/css/chunk-f01d1f12.css rel=prefetch><link href=assets/css/chunk-f98f23e4.css rel=prefetch><link href=static/css/chunk-0a4924e6.1592293809708.css rel=prefetch><link href=static/css/chunk-0b58319c.1592293809708.css rel=prefetch><link href=static/css/chunk-0d9c1a70.1592293809708.css rel=prefetch><link href=static/css/chunk-0e35f5f2.1592293809708.css rel=prefetch><link href=static/css/chunk-1091a20c.1592293809708.css rel=prefetch><link href=static/css/chunk-1146cee4.1592293809708.css rel=prefetch><link href=static/css/chunk-189d5002.1592293809708.css rel=prefetch><link href=static/css/chunk-1f8c408c.1592293809708.css rel=prefetch><link href=static/css/chunk-24aff8aa.1592293809708.css rel=prefetch><link href=static/css/chunk-28abceb7.1592293809708.css rel=prefetch><link href=static/css/chunk-28dd9ffc.1592293809708.css rel=prefetch><link href=static/css/chunk-2c27ad9a.1592293809708.css rel=prefetch><link href=static/css/chunk-2e015062.1592293809708.css rel=prefetch><link href=static/css/chunk-36ac8305.1592293809708.css rel=prefetch><link href=static/css/chunk-46eed7ad.1592293809708.css rel=prefetch><link href=static/css/chunk-4894a57a.1592293809708.css rel=prefetch><link href=static/css/chunk-50aaa5b6.1592293809708.css rel=prefetch><link href=static/css/chunk-53a4010d.1592293809708.css rel=prefetch><link href=static/css/chunk-594359dc.1592293809708.css rel=prefetch><link href=static/css/chunk-614284c4.1592293809708.css rel=prefetch><link href=static/css/chunk-65fdfdf6.1592293809708.css rel=prefetch><link href=static/css/chunk-668b10d6.1592293809708.css rel=prefetch><link href=static/css/chunk-6dcb0280.1592293809708.css rel=prefetch><link href=static/css/chunk-6edd5fa4.1592293809708.css rel=prefetch><link href=static/css/chunk-72bf0fb0.1592293809708.css rel=prefetch><link href=static/css/chunk-756c50bb.1592293809708.css rel=prefetch><link href=static/css/chunk-7bf7e92e.1592293809708.css rel=prefetch><link href=static/css/chunk-7e57515e.1592293809708.css rel=prefetch><link href=static/css/chunk-8aeadf42.1592293809708.css rel=prefetch><link href=static/css/chunk-9c9ab6cc.1592293809708.css rel=prefetch><link href=static/css/chunk-ad72efba.1592293809708.css rel=prefetch><link href=static/css/chunk-adf3d75c.1592293809708.css rel=prefetch><link href=static/css/chunk-b990c410.1592293809708.css rel=prefetch><link href=static/css/chunk-eb0e9f2c.1592293809708.css rel=prefetch><link href=static/css/chunk-f01d1f12.1592293809708.css rel=prefetch><link href=static/css/chunk-f98f23e4.1592293809708.css rel=prefetch><link href=static/js/chunk-0a4924e6.1592293809708.js rel=prefetch><link href=static/js/chunk-0b58319c.1592293809708.js rel=prefetch><link href=static/js/chunk-0d9c1a70.1592293809708.js rel=prefetch><link href=static/js/chunk-0e35f5f2.1592293809708.js rel=prefetch><link href=static/js/chunk-1091a20c.1592293809708.js rel=prefetch><link href=static/js/chunk-1146cee4.1592293809708.js rel=prefetch><link href=static/js/chunk-189d5002.1592293809708.js rel=prefetch><link href=static/js/chunk-1f8c408c.1592293809708.js rel=prefetch><link href=static/js/chunk-24aff8aa.1592293809708.js rel=prefetch><link href=static/js/chunk-28abceb7.1592293809708.js rel=prefetch><link href=static/js/chunk-28dd9ffc.1592293809708.js rel=prefetch><link href=static/js/chunk-2c27ad9a.1592293809708.js rel=prefetch><link href=static/js/chunk-2e015062.1592293809708.js rel=prefetch><link href=static/js/chunk-36ac8305.1592293809708.js rel=prefetch><link href=static/js/chunk-46eed7ad.1592293809708.js rel=prefetch><link href=static/js/chunk-4894a57a.1592293809708.js rel=prefetch><link href=static/js/chunk-50aaa5b6.1592293809708.js rel=prefetch><link href=static/js/chunk-53a4010d.1592293809708.js rel=prefetch><link href=static/js/chunk-594359dc.1592293809708.js rel=prefetch><link href=static/js/chunk-614284c4.1592293809708.js rel=prefetch><link href=static/js/chunk-65fdfdf6.1592293809708.js rel=prefetch><link href=static/js/chunk-668b10d6.1592293809708.js rel=prefetch><link href=static/js/chunk-6dcb0280.1592293809708.js rel=prefetch><link href=static/js/chunk-6edd5fa4.1592293809708.js rel=prefetch><link href=static/js/chunk-72bf0fb0.1592293809708.js rel=prefetch><link href=static/js/chunk-756c50bb.1592293809708.js rel=prefetch><link href=static/js/chunk-7bf7e92e.1592293809708.js rel=prefetch><link href=static/js/chunk-7e57515e.1592293809708.js rel=prefetch><link href=static/js/chunk-8aeadf42.1592293809708.js rel=prefetch><link href=static/js/chunk-9c9ab6cc.1592293809708.js rel=prefetch><link href=static/js/chunk-ad72efba.1592293809708.js rel=prefetch><link href=static/js/chunk-adf3d75c.1592293809708.js rel=prefetch><link href=static/js/chunk-b990c410.1592293809708.js rel=prefetch><link href=static/js/chunk-eb0e9f2c.1592293809708.js rel=prefetch><link href=static/js/chunk-f01d1f12.1592293809708.js rel=prefetch><link href=static/js/chunk-f98f23e4.1592293809708.js rel=prefetch><link href=assets/css/app.css rel=preload as=style><link href=assets/css/chunk-vendors.css rel=preload as=style><link href=static/css/app.1592293809708.css rel=preload as=style><link href=static/css/chunk-vendors.1592293809708.css rel=preload as=style><link href=static/js/app.1592293809708.js rel=preload as=script><link href=static/js/chunk-vendors.1592293809708.js rel=preload as=script><link href=assets/css/chunk-vendors.css rel=stylesheet><link href=static/css/chunk-vendors.1592293809708.css rel=stylesheet><link href=assets/css/app.css rel=stylesheet><link href=static/css/app.1592293809708.css rel=stylesheet></head><body><noscript><strong>We're sorry but website doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=./js/unionrsa.js></script><script src=static/js/chunk-vendors.1592293809708.js></script><script src=static/js/app.1592293809708.js></script></body></html>
\ No newline at end of file
<![endif]--><title>平安人寿香港</title><link href=assets/css/chunk-0a4924e6.css rel=prefetch><link href=assets/css/chunk-0b58319c.css rel=prefetch><link href=assets/css/chunk-0d9c1a70.css rel=prefetch><link href=assets/css/chunk-0e35f5f2.css rel=prefetch><link href=assets/css/chunk-1091a20c.css rel=prefetch><link href=assets/css/chunk-1146cee4.css rel=prefetch><link href=assets/css/chunk-189d5002.css rel=prefetch><link href=assets/css/chunk-1f8c408c.css rel=prefetch><link href=assets/css/chunk-24aff8aa.css rel=prefetch><link href=assets/css/chunk-28abceb7.css rel=prefetch><link href=assets/css/chunk-28dd9ffc.css rel=prefetch><link href=assets/css/chunk-2c27ad9a.css rel=prefetch><link href=assets/css/chunk-2e015062.css rel=prefetch><link href=assets/css/chunk-36ac8305.css rel=prefetch><link href=assets/css/chunk-46eed7ad.css rel=prefetch><link href=assets/css/chunk-4894a57a.css rel=prefetch><link href=assets/css/chunk-50aaa5b6.css rel=prefetch><link href=assets/css/chunk-53a4010d.css rel=prefetch><link href=assets/css/chunk-594359dc.css rel=prefetch><link href=assets/css/chunk-614284c4.css rel=prefetch><link href=assets/css/chunk-65fdfdf6.css rel=prefetch><link href=assets/css/chunk-668b10d6.css rel=prefetch><link href=assets/css/chunk-6dcb0280.css rel=prefetch><link href=assets/css/chunk-6edd5fa4.css rel=prefetch><link href=assets/css/chunk-72bf0fb0.css rel=prefetch><link href=assets/css/chunk-756c50bb.css rel=prefetch><link href=assets/css/chunk-7bf7e92e.css rel=prefetch><link href=assets/css/chunk-7e57515e.css rel=prefetch><link href=assets/css/chunk-8aeadf42.css rel=prefetch><link href=assets/css/chunk-9c9ab6cc.css rel=prefetch><link href=assets/css/chunk-ad72efba.css rel=prefetch><link href=assets/css/chunk-adf3d75c.css rel=prefetch><link href=assets/css/chunk-b990c410.css rel=prefetch><link href=assets/css/chunk-eb0e9f2c.css rel=prefetch><link href=assets/css/chunk-f01d1f12.css rel=prefetch><link href=assets/css/chunk-f98f23e4.css rel=prefetch><link href=static/css/chunk-0a4924e6.1592357900121.css rel=prefetch><link href=static/css/chunk-0b58319c.1592357900121.css rel=prefetch><link href=static/css/chunk-0d9c1a70.1592357900121.css rel=prefetch><link href=static/css/chunk-0e35f5f2.1592357900121.css rel=prefetch><link href=static/css/chunk-1091a20c.1592357900121.css rel=prefetch><link href=static/css/chunk-1146cee4.1592357900121.css rel=prefetch><link href=static/css/chunk-189d5002.1592357900121.css rel=prefetch><link href=static/css/chunk-1f8c408c.1592357900121.css rel=prefetch><link href=static/css/chunk-24aff8aa.1592357900121.css rel=prefetch><link href=static/css/chunk-28abceb7.1592357900121.css rel=prefetch><link href=static/css/chunk-28dd9ffc.1592357900121.css rel=prefetch><link href=static/css/chunk-2c27ad9a.1592357900121.css rel=prefetch><link href=static/css/chunk-2e015062.1592357900121.css rel=prefetch><link href=static/css/chunk-36ac8305.1592357900121.css rel=prefetch><link href=static/css/chunk-46eed7ad.1592357900121.css rel=prefetch><link href=static/css/chunk-4894a57a.1592357900121.css rel=prefetch><link href=static/css/chunk-50aaa5b6.1592357900121.css rel=prefetch><link href=static/css/chunk-53a4010d.1592357900121.css rel=prefetch><link href=static/css/chunk-594359dc.1592357900121.css rel=prefetch><link href=static/css/chunk-614284c4.1592357900121.css rel=prefetch><link href=static/css/chunk-65fdfdf6.1592357900121.css rel=prefetch><link href=static/css/chunk-668b10d6.1592357900121.css rel=prefetch><link href=static/css/chunk-6dcb0280.1592357900121.css rel=prefetch><link href=static/css/chunk-6edd5fa4.1592357900121.css rel=prefetch><link href=static/css/chunk-72bf0fb0.1592357900121.css rel=prefetch><link href=static/css/chunk-756c50bb.1592357900121.css rel=prefetch><link href=static/css/chunk-7bf7e92e.1592357900121.css rel=prefetch><link href=static/css/chunk-7e57515e.1592357900121.css rel=prefetch><link href=static/css/chunk-8aeadf42.1592357900121.css rel=prefetch><link href=static/css/chunk-9c9ab6cc.1592357900121.css rel=prefetch><link href=static/css/chunk-ad72efba.1592357900121.css rel=prefetch><link href=static/css/chunk-adf3d75c.1592357900121.css rel=prefetch><link href=static/css/chunk-b990c410.1592357900121.css rel=prefetch><link href=static/css/chunk-eb0e9f2c.1592357900121.css rel=prefetch><link href=static/css/chunk-f01d1f12.1592357900121.css rel=prefetch><link href=static/css/chunk-f98f23e4.1592357900121.css rel=prefetch><link href=static/js/chunk-0a4924e6.1592357900121.js rel=prefetch><link href=static/js/chunk-0b58319c.1592357900121.js rel=prefetch><link href=static/js/chunk-0d9c1a70.1592357900121.js rel=prefetch><link href=static/js/chunk-0e35f5f2.1592357900121.js rel=prefetch><link href=static/js/chunk-1091a20c.1592357900121.js rel=prefetch><link href=static/js/chunk-1146cee4.1592357900121.js rel=prefetch><link href=static/js/chunk-189d5002.1592357900121.js rel=prefetch><link href=static/js/chunk-1f8c408c.1592357900121.js rel=prefetch><link href=static/js/chunk-24aff8aa.1592357900121.js rel=prefetch><link href=static/js/chunk-28abceb7.1592357900121.js rel=prefetch><link href=static/js/chunk-28dd9ffc.1592357900121.js rel=prefetch><link href=static/js/chunk-2c27ad9a.1592357900121.js rel=prefetch><link href=static/js/chunk-2e015062.1592357900121.js rel=prefetch><link href=static/js/chunk-36ac8305.1592357900121.js rel=prefetch><link href=static/js/chunk-46eed7ad.1592357900121.js rel=prefetch><link href=static/js/chunk-4894a57a.1592357900121.js rel=prefetch><link href=static/js/chunk-50aaa5b6.1592357900121.js rel=prefetch><link href=static/js/chunk-53a4010d.1592357900121.js rel=prefetch><link href=static/js/chunk-594359dc.1592357900121.js rel=prefetch><link href=static/js/chunk-614284c4.1592357900121.js rel=prefetch><link href=static/js/chunk-65fdfdf6.1592357900121.js rel=prefetch><link href=static/js/chunk-668b10d6.1592357900121.js rel=prefetch><link href=static/js/chunk-6dcb0280.1592357900121.js rel=prefetch><link href=static/js/chunk-6edd5fa4.1592357900121.js rel=prefetch><link href=static/js/chunk-72bf0fb0.1592357900121.js rel=prefetch><link href=static/js/chunk-756c50bb.1592357900121.js rel=prefetch><link href=static/js/chunk-7bf7e92e.1592357900121.js rel=prefetch><link href=static/js/chunk-7e57515e.1592357900121.js rel=prefetch><link href=static/js/chunk-8aeadf42.1592357900121.js rel=prefetch><link href=static/js/chunk-9c9ab6cc.1592357900121.js rel=prefetch><link href=static/js/chunk-ad72efba.1592357900121.js rel=prefetch><link href=static/js/chunk-adf3d75c.1592357900121.js rel=prefetch><link href=static/js/chunk-b990c410.1592357900121.js rel=prefetch><link href=static/js/chunk-eb0e9f2c.1592357900121.js rel=prefetch><link href=static/js/chunk-f01d1f12.1592357900121.js rel=prefetch><link href=static/js/chunk-f98f23e4.1592357900121.js rel=prefetch><link href=assets/css/app.css rel=preload as=style><link href=assets/css/chunk-vendors.css rel=preload as=style><link href=static/css/app.1592357900121.css rel=preload as=style><link href=static/css/chunk-vendors.1592357900121.css rel=preload as=style><link href=static/js/app.1592357900121.js rel=preload as=script><link href=static/js/chunk-vendors.1592357900121.js rel=preload as=script><link href=assets/css/chunk-vendors.css rel=stylesheet><link href=static/css/chunk-vendors.1592357900121.css rel=stylesheet><link href=assets/css/app.css rel=stylesheet><link href=static/css/app.1592357900121.css rel=stylesheet></head><body><noscript><strong>We're sorry but website doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=./js/unionrsa.js></script><script src=static/js/chunk-vendors.1592357900121.js></script><script src=static/js/app.1592357900121.js></script></body></html>
\ No newline at end of file
......
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1091a20c"],{"17fa":function(t,e,i){"use strict";var n=i("a3a6"),o=i.n(n);o.a},"287a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[i("auth",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],on:{onLogout:t.userLogout}}),t.outsideUrl?i("iframe",{attrs:{id:"myiframe",width:"100%",height:"100%",scrolling:"yes",frameborder:"0",src:t.outsideUrl}}):t._e()],1)},o=[],r=(i("5ab2"),i("6d57"),i("e10e"),i("ac9f")),s=i("8876"),a=i("4ec3"),c=i.n(a),u=i("ed0b"),h=i("f72f"),f=i("509f"),l=i.n(f);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var d="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB",m=new l.a;function v(t){var e=JSON.stringify(t),i=m.encrypt(e);return i}m.setPublicKey(d);var b={data:function(){return{key:"value",outsideUrl:"",information:null,iframeSrc:""}},components:{Auth:h["a"]},computed:p({},Object(s["c"])({userInfo:function(t){return t.userInfo}})),methods:{init:function(){var t=this;this.isLogin()&&!this.information?Object(u["c"])({url:c.a.profile,sid:!0}).then((function(e){e&&(t.information=e,t.gotoVhis())})):this.gotoVhis()},userLogout:function(){this.gotoVhis()},isLogin:function(){return this.userInfo&&this.userInfo.sid},gotoVhis:function(){var t=this.currentPath(),e=this.$route.query.p;e=e||"VHIS001";var i=this.$i18n.locale;switch(i){case"zh":t+="?language=zh-cn";break;case"en":t+="?language=en";break;default:t+="?language=zh-hk";break}t+="&partnerId=PA001&productCode="+e;var n=null;if(this.$route.query.d)try{var o=JSON.parse(this.$route.query.d);n=o}catch(r){console.error("paramster 'd' is not a json ",this.$route.query.d)}else this.information&&this.information.idType&&this.information.idNo&&(n={name:this.information.fullName,gender:this.information.sex,birthday:this.information.birthDate,certiType:this.information.policyIdType?this.information.policyIdType:this.information.idType,certiNo:this.information.idNo});console.log("before into vhis, and data = ",n),n&&(t+="&data="+v(n)),this.$set(this,"outsideUrl",t),console.log("vhis:",t)},currentPath:function(){var t=this.iframeSrc?this.iframeSrc:window.global.vhis;return t}},watch:{"$route.query.p":function(){this.init()}},mounted:function(){var t=this;this.init(),this.$root.eventBus.$on("langChange",(function(){try{t.gotoVhis()}catch(e){}}));var e=this;window.removeEventListener("message",(function(){})),window.addEventListener("message",(function(t){var i=t.data?t.data.height:null,n=t.iframeSrc;if(e.iframeSrc=n,console.log("vhis url change : ",e.iframeSrc),i){var o=document.getElementById("myiframe");try{o.height=i,o.style.height=i+"px"}catch(r){}}}))},beforeDestroy:function(){},created:function(){}},y=b,w=(i("17fa"),i("623f")),O=Object(w["a"])(y,n,o,!1,null,"13aff1c1",null);e["default"]=O.exports},"56c3":function(t,e,i){"use strict";var n=i("bae7"),o=i.n(n);o.a},a3a6:function(t,e,i){},bae7:function(t,e,i){},f72f:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showPanel?n("div",[t.showUnAuth?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.tips.tit)+"\n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoLoginPage}},[t._v(t._s(t.$t("customService.unauth.login")))]),t._v("\n\t\t\t\t"+t._s(t.tips.or)+"\n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoRegisterPage}},[t._v(t._s(t.$t("customService.unauth.register")))]),t._v("\n\t\t\t\t"+t._s(t.tips.tail)+"\n\t\t\t")]),"suggest"==t.model?n("img",{staticClass:"pointer close",attrs:{src:i("ddb8"),alt:""},on:{click:function(e){t.showSuggest=!1}}}):t._e()])]):t._e(),t.showProfileInfo?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.$t("customService.unauth.baseInfoTip"))+" \n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoInformationPage}},[t._v(t._s(t.$t("customService.unauth.infoBtn")))]),t._v("\n\t\t\t\t "+t._s(t.$t("customService.unauth.baseInfoTail"))+"\n\t\t\t")])])]):t._e(),"suggest"!=t.model?n("div",{staticClass:"empty-line"}):t._e()]):t._e()},o=[],r=(i("5ab2"),i("6d57"),i("e10e"),i("cc57"),i("ac9f")),s=i("8876");function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={props:{model:{type:String,default:"auth"},checkProfile:{type:Boolean,default:!1},tipModel:{type:String,default:"m3"}},data:function(){return{key:"value",showProfileInfo:!1,showUnAuth:!1,showSuggest:!0,tips:{}}},components:{},computed:c({},Object(s["c"])({userInfo:function(t){return t.userInfo}}),{locale:function(){return this.$i18n.locale||"tc"},i18n:function(){return this.$i18n.messages&&this.$i18n.locale?this.$i18n.messages[this.$i18n.locale]:{}},showPanel:function(){var t="auth"==this.model&&(this.showProfileInfo||this.showUnAuth),e="suggest"==this.model&&this.showSuggest;return t||e}}),methods:{initData:function(){this.tips=this.i18n.customService.unauth[this.tipModel],this.userInfo&&this.userInfo.name?this.loginAction():this.logoutAction()},loginAction:function(){this.showUnAuth=!1,this.checkProfile?1==this.userInfo.hadFullInfo?this.$emit("onLogin",this.userInfo):this.showProfileInfo=!0:this.$emit("onLogin",this.userInfo)},logoutAction:function(){this.showUnAuth=!0,this.showProfileInfo=!1,this.$emit("onLogout",{})},gotoLoginPage:function(){var t=this.$route.path,e="?";for(var i in this.$route.query)t+=e+i+"="+this.$route.query[i],e="&";this.$router.push({path:"/login?callback="+t})},gotoRegisterPage:function(){this.$router.push({path:"/register"})},gotoInformationPage:function(){var t=this.$route.fullPath;this.$router.push({path:"/infomation/improve",query:{c:t,a:1}})},noAuth:function(){this.$store.commit("SET_USER_INFO",null),this.initData(),this.$emit("onLogout",{})}},mounted:function(){this.initData()},created:function(){var t=this;this.$root.eventBus.$on("langChange",(function(){try{t.tips=t.i18n.customService.unauth[t.tipModel]}catch(e){}}))},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}}},h=u,f=(i("56c3"),i("623f")),l=Object(f["a"])(h,n,o,!1,null,"1633fcb9",null);e["a"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1091a20c"],{"17fa":function(t,e,i){"use strict";var n=i("a3a6"),o=i.n(n);o.a},"287a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[i("auth",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],on:{onLogout:t.userLogout}}),t.outsideUrl?i("iframe",{attrs:{id:"myiframe",width:"100%",height:"100%",scrolling:"yes",frameborder:"0",src:t.outsideUrl}}):t._e()],1)},o=[],r=(i("5ab2"),i("6d57"),i("e10e"),i("ac9f")),s=i("8876"),a=i("4ec3"),c=i.n(a),u=i("ed0b"),h=i("f72f"),f=i("509f"),l=i.n(f);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var d="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB",m=new l.a;function v(t){var e=JSON.stringify(t),i=m.encrypt(e);return i}m.setPublicKey(d);var b={data:function(){return{key:"value",outsideUrl:"",information:null,iframeSrc:""}},components:{Auth:h["a"]},computed:p({},Object(s["c"])({userInfo:function(t){return t.userInfo}})),methods:{init:function(){var t=this;this.isLogin()&&!this.information?Object(u["c"])({url:c.a.profile,sid:!0}).then((function(e){e&&(t.information=e,t.gotoVhis())})):this.gotoVhis()},userLogout:function(){this.gotoVhis()},isLogin:function(){return this.userInfo&&this.userInfo.sid},gotoVhis:function(){var t=this.currentPath(),e=this.$route.query.p;e=e||"VHIS001";var i=this.$i18n.locale;switch(i){case"zh":t+="?language=zh-cn";break;case"en":t+="?language=en";break;default:t+="?language=zh-hk";break}t+="&partnerId=PA001&productCode="+e;var n=null;if(this.$route.query.d)try{var o=JSON.parse(this.$route.query.d);n=o}catch(r){console.error("paramster 'd' is not a json ",this.$route.query.d)}else this.information&&this.information.idType&&this.information.idNo&&(n={name:this.information.fullName,gender:this.information.sex,birthday:this.information.birthDate,certiType:this.information.policyIdType?this.information.policyIdType:this.information.idType,certiNo:this.information.idNo});console.log("before into vhis, and data = ",n),n&&(t+="&data="+v(n)),this.$set(this,"outsideUrl",t),console.log("vhis:",t)},currentPath:function(){var t=this.iframeSrc?this.iframeSrc:window.global.vhis;return t}},watch:{"$route.query.p":function(){this.init()}},mounted:function(){var t=this;this.init(),this.$root.eventBus.$on("langChange",(function(){try{t.gotoVhis()}catch(e){}}));var e=this;window.removeEventListener("message",(function(){})),window.addEventListener("message",(function(t){var i=t.data?t.data.height:null,n=t.data?t.data.iframeSrc:null;if(n&&(e.iframeSrc=n),console.log("vhis url change : ",e.iframeSrc),i){var o=document.getElementById("myiframe");try{o.height=i,o.style.height=i+"px"}catch(r){}}}))},beforeDestroy:function(){},created:function(){}},y=b,w=(i("17fa"),i("623f")),O=Object(w["a"])(y,n,o,!1,null,"13aff1c1",null);e["default"]=O.exports},"56c3":function(t,e,i){"use strict";var n=i("bae7"),o=i.n(n);o.a},a3a6:function(t,e,i){},bae7:function(t,e,i){},f72f:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showPanel?n("div",[t.showUnAuth?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.tips.tit)+"\n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoLoginPage}},[t._v(t._s(t.$t("customService.unauth.login")))]),t._v("\n\t\t\t\t"+t._s(t.tips.or)+"\n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoRegisterPage}},[t._v(t._s(t.$t("customService.unauth.register")))]),t._v("\n\t\t\t\t"+t._s(t.tips.tail)+"\n\t\t\t")]),"suggest"==t.model?n("img",{staticClass:"pointer close",attrs:{src:i("ddb8"),alt:""},on:{click:function(e){t.showSuggest=!1}}}):t._e()])]):t._e(),t.showProfileInfo?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.$t("customService.unauth.baseInfoTip"))+" \n\t\t\t\t"),n("span",{staticClass:"pointer btn",on:{click:t.gotoInformationPage}},[t._v(t._s(t.$t("customService.unauth.infoBtn")))]),t._v("\n\t\t\t\t "+t._s(t.$t("customService.unauth.baseInfoTail"))+"\n\t\t\t")])])]):t._e(),"suggest"!=t.model?n("div",{staticClass:"empty-line"}):t._e()]):t._e()},o=[],r=(i("5ab2"),i("6d57"),i("e10e"),i("cc57"),i("ac9f")),s=i("8876");function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){Object(r["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={props:{model:{type:String,default:"auth"},checkProfile:{type:Boolean,default:!1},tipModel:{type:String,default:"m3"}},data:function(){return{key:"value",showProfileInfo:!1,showUnAuth:!1,showSuggest:!0,tips:{}}},components:{},computed:c({},Object(s["c"])({userInfo:function(t){return t.userInfo}}),{locale:function(){return this.$i18n.locale||"tc"},i18n:function(){return this.$i18n.messages&&this.$i18n.locale?this.$i18n.messages[this.$i18n.locale]:{}},showPanel:function(){var t="auth"==this.model&&(this.showProfileInfo||this.showUnAuth),e="suggest"==this.model&&this.showSuggest;return t||e}}),methods:{initData:function(){this.tips=this.i18n.customService.unauth[this.tipModel],this.userInfo&&this.userInfo.name?this.loginAction():this.logoutAction()},loginAction:function(){this.showUnAuth=!1,this.checkProfile?1==this.userInfo.hadFullInfo?this.$emit("onLogin",this.userInfo):this.showProfileInfo=!0:this.$emit("onLogin",this.userInfo)},logoutAction:function(){this.showUnAuth=!0,this.showProfileInfo=!1,this.$emit("onLogout",{})},gotoLoginPage:function(){var t=this.$route.path,e="?";for(var i in this.$route.query)t+=e+i+"="+this.$route.query[i],e="&";this.$router.push({path:"/login?callback="+t})},gotoRegisterPage:function(){this.$router.push({path:"/register"})},gotoInformationPage:function(){var t=this.$route.fullPath;this.$router.push({path:"/infomation/improve",query:{c:t,a:1}})},noAuth:function(){this.$store.commit("SET_USER_INFO",null),this.initData(),this.$emit("onLogout",{})}},mounted:function(){this.initData()},created:function(){var t=this;this.$root.eventBus.$on("langChange",(function(){try{t.tips=t.i18n.customService.unauth[t.tipModel]}catch(e){}}))},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}}},h=u,f=(i("56c3"),i("623f")),l=Object(f["a"])(h,n,o,!1,null,"1633fcb9",null);e["a"]=l.exports}}]);
\ No newline at end of file
......@@ -178,8 +178,10 @@ export default {
window.removeEventListener("message", function () { });
window.addEventListener('message', function (e) {
let height = e.data ? e.data.height : null;
let iframeSrc = e.iframeSrc
let iframeSrc = e.data ? e.data.iframeSrc : null;
if (iframeSrc) {
_this.iframeSrc = iframeSrc;
}
console.log("vhis url change : ", _this.iframeSrc);
if (height) {
......