fc07e343 by joe

发版

1 parent e41285db
Showing 97 changed files with 15 additions and 5 deletions
......@@ -5,5 +5,6 @@ VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
\ No newline at end of file
VUE_APP_HIDE_VHIS_MODAL_FLAG = 'N'
\ No newline at end of file
......
......@@ -5,5 +5,6 @@ VUE_APP_BASE_URL= 'https://ow.go.qudone.com'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
\ No newline at end of file
VUE_APP_HIDE_VHIS_MODAL_FLAG = 'N'
\ No newline at end of file
......
......@@ -4,5 +4,6 @@ VUE_APP_BASE_URL= ''
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
VUE_APP_ONE_ACCOUNT_CENTER_OFF = true
\ No newline at end of file
VUE_APP_HIDE_VHIS_MODAL_FLAG = 'Y'
\ No newline at end of file
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a1fc8b9"],{"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:{sandbox:"allow-top-navigation",id:"myiframe",width:"100%",height:"100%",scrolling:"yes",frameborder:"0",src:t.outsideUrl}}):t._e()],1)},o=[],s=(i("5ab2"),i("6d57"),i("e10e"),i("ac9f")),r=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(s["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 A(t){var e=JSON.stringify(t),i=m.encrypt(e);return i}m.setPublicKey(d);var v={data:function(){return{key:"value",outsideUrl:"",information:null}},components:{Auth:h["a"]},computed:p({},Object(r["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=window.global.vhis,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}if(t+="&partnerId=PA001&productCode="+e,this.information&&this.information.idType&&this.information.idNo){var 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};t+="&data="+A(n)}this.$set(this,"outsideUrl","");var o=document.getElementById("myiframe");try{o.height=0,o.style.height="0px"}catch(r){}var s=this;setTimeout((function(){console.log("vhis:",t),s.outsideUrl=t}),100)}},watch:{"$route.query.p":function(){this.init()}},mounted:function(){this.init(),window.removeEventListener("message",(function(){})),window.addEventListener("message",(function(t){var e=t.data?t.data.height:null;if(e){var i=document.getElementById("myiframe");try{i.height=e,i.style.height=e+"px"}catch(n){}}}))},created:function(){}},b=v,y=(i("34f2"),i("623f")),w=Object(y["a"])(b,n,o,!1,null,"3d6bd51a",null);e["default"]=w.exports},3107:function(t,e,i){},"34f2":function(t,e,i){"use strict";var n=i("3107"),o=i.n(n);o.a},"6f62":function(t,e,i){},a164:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jZ3TMUiUcRzG8c/7dhLeFtwRwlHDhYOI00EHoZgQUZtDQY4niHC4RENBEkriINnQkHu01pY2nVRLhBZB3apgwRVF0VJR5nDvxd/XV6EeeIf3z/N9/r8H/r/oy1hZSiXUcR4ncAibWMESmqE5TsF1vEUPriUBxzCJCM8xG3K5AL6OGobwKhX8AQ0s4kEyZS2c4BymMJKCy+gP/jdwGoPJVH8DFnA1MYS6jPnU2VdM4Ca6Ywwkne/Zqyj50mrgHc7EqOIZfmUYD9IqqjGKaP0jLGGKMT6j8B8BBXyKsYaK7K53cGOfgFNYj/FCu/9ohuksLmScV9CL5Rz+YBq38BQfA+Nj5FNwHncxh2+dd3Afy9rvvRSYm9oVOzqCh3iP2+zehToe4TVm0IfD6NLeiSt4gy1cxO90QKfKMI7jCb7jJ17iJC5hHD86UJSxzqGOJpe0sJ1l2AEH3EWOEBiFEQAAAABJRU5ErkJggg=="},c309:function(t,e,i){"use strict";var n=i("6f62"),o=i.n(n);o.a},ddb8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAuUlEQVQokZWS0Q3CMAxEXyoWYAV3CRAfZRwYoQzQlgFaYBmQ+IAl4qxiftIqROEDS5Gs050vPhkzw6tuzIxfz6s6r7o3MyoNoQFeGkJHoTQEB4zAXUPYVsATuAFtLkrIR+Bci7xTy4tXNa/aFbB+/p4zs3TaBByAHljHfqhF2tl1ERRE5GSAqrRoUpYDiyCbPgDXUhCrErkWaSNGFFGLnAB+ppEkNaXpOa/aAI+Y89eCifsY3Xf8exofnNjWcJSbj90AAAAASUVORK5CYII="},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._s(t.tips.tit)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoLoginPage}},[t._v(t._s(t.$t("customService.unauth.login")))]),t._v(" \n "+t._s(t.tips.or)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoRegisterPage}},[t._v(t._s(t.$t("customService.unauth.register")))]),t._v("\n "+t._s(t.tips.tail)+"\n ")]),"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._s(t.$t("customService.unauth.baseInfoTip"))+" \n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoInformationPage}},[t._v(t._s(t.$t("customService.unauth.infoBtn")))]),t._v("\n  "+t._s(t.$t("customService.unauth.baseInfoTail"))+"\n ")])])]):t._e(),"suggest"!=t.model?n("div",{staticClass:"empty-line"}):t._e()]):t._e()},o=[],s=(i("5ab2"),i("6d57"),i("e10e"),i("cc57"),i("ac9f")),r=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(s["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(r["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(){},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}}},h=u,f=(i("c309"),i("623f")),l=Object(f["a"])(h,n,o,!1,null,"48a574a6",null);e["a"]=l.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6669576f"],{"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=[],s=(i("5ab2"),i("6d57"),i("e10e"),i("ac9f")),r=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(s["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 A(t){var e=JSON.stringify(t),i=m.encrypt(e);return i}m.setPublicKey(d);var v={data:function(){return{key:"value",outsideUrl:"",information:null}},components:{Auth:h["a"]},computed:p({},Object(r["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=window.global.vhis,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}if(t+="&partnerId=PA001&productCode="+e,this.information&&this.information.idType&&this.information.idNo){var 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};t+="&data="+A(n)}this.$set(this,"outsideUrl","");var o=document.getElementById("myiframe");try{o.height=0,o.style.height="0px"}catch(r){}var s=this;setTimeout((function(){console.log("vhis:",t),s.outsideUrl=t}),100)}},watch:{"$route.query.p":function(){this.init()}},mounted:function(){this.init(),window.removeEventListener("message",(function(){})),window.addEventListener("message",(function(t){var e=t.data?t.data.height:null;if(e){var i=document.getElementById("myiframe");try{i.height=e,i.style.height=e+"px"}catch(n){}}}))},created:function(){}},y=v,b=(i("17fa"),i("623f")),w=Object(b["a"])(y,n,o,!1,null,"13aff1c1",null);e["default"]=w.exports},"6f62":function(t,e,i){},a164:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jZ3TMUiUcRzG8c/7dhLeFtwRwlHDhYOI00EHoZgQUZtDQY4niHC4RENBEkriINnQkHu01pY2nVRLhBZB3apgwRVF0VJR5nDvxd/XV6EeeIf3z/N9/r8H/r/oy1hZSiXUcR4ncAibWMESmqE5TsF1vEUPriUBxzCJCM8xG3K5AL6OGobwKhX8AQ0s4kEyZS2c4BymMJKCy+gP/jdwGoPJVH8DFnA1MYS6jPnU2VdM4Ca6Ywwkne/Zqyj50mrgHc7EqOIZfmUYD9IqqjGKaP0jLGGKMT6j8B8BBXyKsYaK7K53cGOfgFNYj/FCu/9ohuksLmScV9CL5Rz+YBq38BQfA+Nj5FNwHncxh2+dd3Afy9rvvRSYm9oVOzqCh3iP2+zehToe4TVm0IfD6NLeiSt4gy1cxO90QKfKMI7jCb7jJ17iJC5hHD86UJSxzqGOJpe0sJ1l2AEH3EWOEBiFEQAAAABJRU5ErkJggg=="},a3a6:function(t,e,i){},c309:function(t,e,i){"use strict";var n=i("6f62"),o=i.n(n);o.a},ddb8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAuUlEQVQokZWS0Q3CMAxEXyoWYAV3CRAfZRwYoQzQlgFaYBmQ+IAl4qxiftIqROEDS5Gs050vPhkzw6tuzIxfz6s6r7o3MyoNoQFeGkJHoTQEB4zAXUPYVsATuAFtLkrIR+Bci7xTy4tXNa/aFbB+/p4zs3TaBByAHljHfqhF2tl1ERRE5GSAqrRoUpYDiyCbPgDXUhCrErkWaSNGFFGLnAB+ppEkNaXpOa/aAI+Y89eCifsY3Xf8exofnNjWcJSbj90AAAAASUVORK5CYII="},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._s(t.tips.tit)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoLoginPage}},[t._v(t._s(t.$t("customService.unauth.login")))]),t._v(" \n "+t._s(t.tips.or)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoRegisterPage}},[t._v(t._s(t.$t("customService.unauth.register")))]),t._v("\n "+t._s(t.tips.tail)+"\n ")]),"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._s(t.$t("customService.unauth.baseInfoTip"))+" \n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoInformationPage}},[t._v(t._s(t.$t("customService.unauth.infoBtn")))]),t._v("\n  "+t._s(t.$t("customService.unauth.baseInfoTail"))+"\n ")])])]):t._e(),"suggest"!=t.model?n("div",{staticClass:"empty-line"}):t._e()]):t._e()},o=[],s=(i("5ab2"),i("6d57"),i("e10e"),i("cc57"),i("ac9f")),r=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(s["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(r["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(){},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}}},h=u,f=(i("c309"),i("623f")),l=Object(f["a"])(h,n,o,!1,null,"48a574a6",null);e["a"]=l.exports}}]);
\ No newline at end of file
......@@ -85,7 +85,14 @@ export default {
if (this.policyList) {
for (let index = 0; index < this.policyList.length; index++) {
let policy = this.policyList[index];
if (policy.checkFlag == "Y") {
let flag = null;
try {
flag = process.env.VUE_APP_HIDE_VHIS_MODAL_FLAG;
} catch (e) {
}
flag = flag ? flag : "Y";
if (policy.checkFlag == flag) {
// if (policy.checkFlag == "N") { // 体验弹窗
continue;
}
......