默认提交
Showing
150 changed files
with
4 additions
and
3 deletions
This diff could not be displayed because it is too large.
sandbox/assets/css/chunk-07ced358.css
0 → 100644
This diff is collapsed.
Click to expand it.
sandbox/assets/css/chunk-15599408.css
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
sandbox/static/css/app.1587033670104.css
0 → 100644
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
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.
sandbox/static/js/app.1587033670104.js
0 → 100644
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-594359dc"],{"7b5f":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page page-clarms"},[i("div",{staticClass:"navigate"},[i("div",{staticClass:"bg"}),i("div",{staticClass:"cont"},[i("span",{staticClass:"tt"},[t._v(t._s(t.$t("clarms.title")))])])]),3==t.step?i("div",{staticClass:"content"},[i("div",{staticClass:"alert"},[i("img",{staticClass:"icon",attrs:{src:s("a164"),alt:""}}),i("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.$t("customService.unauth.baseInfoTip"))+" \n\t\t\t\t"),i("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")])])]):i("div",{staticClass:"content clarms"},[i("div",{staticClass:"clarms-cont"},[t.showModal1?i("clarms-modal-one",{attrs:{type:t.modelType},on:{close:function(e){t.showModal1=!1},toContact:t.cacheData}}):t._e(),t.showModal2?i("clarms-modal-two",{on:{close:function(e){t.showModal2=!1}}}):t._e(),i("div",{staticClass:"mobile-margin"},[1==t.step?[i("clarms-verify-form",{on:{insuredInfoList:t.handleInsuredInfo}})]:t._e(),2==t.step?[i("clarms-material",{ref:"material",attrs:{insuredList:t.customerList,cid:t.cid},on:{showModal:t.handleShowModal}})]:t._e()],2)],1)])])},a=[],o=(s("5ab2"),s("6d57"),s("e10e"),s("cc57"),s("ac9f")),n=s("8876"),c=s("4ec3"),r=s.n(c),l=s("ed0b"),u=s("f664"),d=s("5660"),m=s("2e93"),h=s("6778"),f=s("d192"),p=s("79c3");function g(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function C(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?g(Object(s),!0).forEach((function(e){Object(o["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var v={data:function(){return{step:0,showModal1:!1,showModal2:!1,agress:!1,reservationTypes:[],cid:"",customerList:[],modelType:"1",modalVisiable:!0,cacheCid:6e5}},components:{ClarmsVerifyForm:m["a"],ClarmsMaterial:h["a"],ClarmsModalOne:u["a"],ClarmsModalTwo:d["a"],ModalComp:p["a"],Modal2Comp:f["a"]},computed:C({},Object(n["c"])({userInfo:function(t){return t.userInfo}}),{i18n:function(){return this.$i18n.messages&&this.$i18n.locale?this.$i18n.messages[this.$i18n.locale]:{}}}),methods:{initData:function(){if(this.userInfo&&this.userInfo.name)this.loadCidIfLogin(),sessionStorage.removeItem("clarmsRequestCid"),sessionStorage.removeItem("clarmsRequestCidExpireAt");else{var t=sessionStorage.getItem("clarmsRequestCid"),e=sessionStorage.getItem("clarmsRequestCidExpireAt");t?e&&e>(new Date).getTime()?(sessionStorage.setItem("clarmsRequestCidExpireAt",(new Date).getTime()+this.cacheCid),this.cid=t,this.checkCid()):(sessionStorage.removeItem("clarmsRequestCid"),sessionStorage.removeItem("clarmsRequestCidExpireAt"),this.step=1):this.step=1}},loadCidIfLogin:function(){var t=this,e={sid:this.userInfo.sid};Object(l["c"])({url:r.a.getCidByLogin,sid:!0,data:e}).then((function(e){e?-1==e?(t.customerList=[],t.step=2):(t.cid=e,t.checkCid()):t.step=3})).catch((function(e){t.step=1}))},checkCid:function(){var t=this,e={cid:this.cid};Object(l["c"])({url:r.a.clarmsCustomerList,data:e}).then((function(e){sessionStorage.removeItem("clarmsRequestCid"),e&&(t.customerList=e.insuredInfoList,t.step=2)})).catch((function(e){sessionStorage.removeItem("clarmsRequestCid"),t.step=1}))},handleInsuredInfo:function(t){this.cid=t.cid,sessionStorage.setItem("clarmsRequestCidExpireAt",(new Date).getTime()+this.cacheCid),this.customerList=t.list,this.step=2},handleShowModal:function(t){1==t.action?(this.modelType=t.type,this.showModal1=!0):2==t.action&&(this.showModal2=!0)},gotoInformationPage:function(){var t=this.$route.fullPath;this.$router.push({path:"/infomation/improve",query:{c:t,a:1}})},cacheData:function(){var t=this.$refs["material"];t&&t.cacheData()},logoutAction:function(){this.sid=!1,this.hadQueryCustomerList=!1,this.customerList=[],this.step=1;var t=this.$refs["material"];t&&t.clearCache()},loginAction:function(){this.sid=!1,this.hadQueryCustomerList=!1,this.customerList=[]}},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}},mounted:function(){this.initData()},created:function(){}},b=v,w=(s("c1fb"),s("623f")),I=Object(w["a"])(b,i,a,!1,null,"0e29a78a",null);e["default"]=I.exports},c1fb:function(t,e,s){"use strict";var i=s("d3bb"),a=s.n(i);a.a},d3bb:function(t,e,s){}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-06fc88d4"],{"7b5f":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page page-clarms"},[i("div",{staticClass:"navigate"},[i("div",{staticClass:"bg"}),i("div",{staticClass:"cont"},[i("span",{staticClass:"tt"},[t._v(t._s(t.$t("clarms.title")))])])]),3==t.step?i("div",{staticClass:"content"},[i("div",{staticClass:"alert"},[i("img",{staticClass:"icon",attrs:{src:s("a164"),alt:""}}),i("div",{staticClass:"txt"},[t._v("\n\t\t\t\t"+t._s(t.$t("customService.unauth.baseInfoTip"))+" \n\t\t\t\t"),i("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")])])]):i("div",{staticClass:"content clarms"},[i("div",{staticClass:"clarms-cont"},[t.showModal1?i("clarms-modal-one",{attrs:{type:t.modelType},on:{close:function(e){t.showModal1=!1},toContact:t.cacheData}}):t._e(),t.showModal2?i("clarms-modal-two",{on:{close:function(e){t.showModal2=!1}}}):t._e(),i("div",{staticClass:"mobile-margin"},[1==t.step?[i("clarms-verify-form",{on:{insuredInfoList:t.handleInsuredInfo}})]:t._e(),2==t.step?[i("clarms-material",{ref:"material",attrs:{insuredList:t.customerList,cid:t.cid},on:{showModal:t.handleShowModal}})]:t._e()],2)],1)])])},a=[],o=(s("5ab2"),s("6d57"),s("e10e"),s("cc57"),s("b081")),n=s("8876"),c=s("4ec3"),r=s.n(c),l=s("ed0b"),u=s("f664"),d=s("5660"),m=s("2e93"),h=s("6778"),f=s("d192"),p=s("79c3");function g(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function C(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?g(Object(s),!0).forEach((function(e){Object(o["a"])(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var v={data:function(){return{step:0,showModal1:!1,showModal2:!1,agress:!1,reservationTypes:[],cid:"",customerList:[],modelType:"1",modalVisiable:!0,cacheCid:6e5}},components:{ClarmsVerifyForm:m["a"],ClarmsMaterial:h["a"],ClarmsModalOne:u["a"],ClarmsModalTwo:d["a"],ModalComp:p["a"],Modal2Comp:f["a"]},computed:C({},Object(n["c"])({userInfo:function(t){return t.userInfo}}),{i18n:function(){return this.$i18n.messages&&this.$i18n.locale?this.$i18n.messages[this.$i18n.locale]:{}}}),methods:{initData:function(){if(this.userInfo&&this.userInfo.name)this.loadCidIfLogin(),sessionStorage.removeItem("clarmsRequestCid"),sessionStorage.removeItem("clarmsRequestCidExpireAt");else{var t=sessionStorage.getItem("clarmsRequestCid"),e=sessionStorage.getItem("clarmsRequestCidExpireAt");t?e&&e>(new Date).getTime()?(sessionStorage.setItem("clarmsRequestCidExpireAt",(new Date).getTime()+this.cacheCid),this.cid=t,this.checkCid()):(sessionStorage.removeItem("clarmsRequestCid"),sessionStorage.removeItem("clarmsRequestCidExpireAt"),this.step=1):this.step=1}},loadCidIfLogin:function(){var t=this,e={sid:this.userInfo.sid};Object(l["c"])({url:r.a.getCidByLogin,sid:!0,data:e}).then((function(e){e?-1==e?(t.customerList=[],t.step=2):(t.cid=e,t.checkCid()):t.step=3})).catch((function(e){t.step=1}))},checkCid:function(){var t=this,e={cid:this.cid};Object(l["c"])({url:r.a.clarmsCustomerList,data:e}).then((function(e){sessionStorage.removeItem("clarmsRequestCid"),e&&(t.customerList=e.insuredInfoList,t.step=2)})).catch((function(e){sessionStorage.removeItem("clarmsRequestCid"),t.step=1}))},handleInsuredInfo:function(t){this.cid=t.cid,sessionStorage.setItem("clarmsRequestCidExpireAt",(new Date).getTime()+this.cacheCid),this.customerList=t.list,this.step=2},handleShowModal:function(t){1==t.action?(this.modelType=t.type,this.showModal1=!0):2==t.action&&(this.showModal2=!0)},gotoInformationPage:function(){var t=this.$route.fullPath;this.$router.push({path:"/infomation/improve",query:{c:t,a:1}})},cacheData:function(){var t=this.$refs["material"];t&&t.cacheData()},logoutAction:function(){this.sid=!1,this.hadQueryCustomerList=!1,this.customerList=[],this.step=1;var t=this.$refs["material"];t&&t.clearCache()},loginAction:function(){this.sid=!1,this.hadQueryCustomerList=!1,this.customerList=[]}},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}},mounted:function(){this.initData()},created:function(){}},b=v,w=(s("c1fb"),s("e90a")),I=Object(w["a"])(b,i,a,!1,null,"0e29a78a",null);e["default"]=I.exports},"9a7b":function(t,e,s){},c1fb:function(t,e,s){"use strict";var i=s("9a7b"),a=s.n(i);a.a}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a4924e6"],{"07dd":function(e,t,n){"use strict";var a=n("0fad"),c=n.n(a);c.a},"0fad":function(e,t,n){},"462e":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content"},[n("div",{staticClass:"date-wrap"},[n("date-picker",{model:{value:e.value1,callback:function(t){e.value1=t},expression:"value1"}})],1),n("div",[e._v(e._s(e.value1))])])},c=[],u=(n("4ec3"),n("ed0b"),n("6fd8")),i={data:function(){return{key:"value",value1:""}},components:{DatePicker:u["a"]},methods:{initData:function(){}},mounted:function(){},created:function(){}},d=i,o=(n("07dd"),n("623f")),s=Object(o["a"])(d,a,c,!1,null,"7844d898",null);t["default"]=s.exports}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1146cee4"],{"3f05":function(t,i,s){t.exports=s.p+"assets/img/product3.jpg"},4376:function(t,i,s){},"50f2":function(t,i,s){t.exports=s.p+"assets/img/product_banner_en.jpg"},"54f9":function(t,i,s){t.exports=s.p+"assets/img/product2.jpg"},"56d5":function(t,i,s){"use strict";var c=s("4376"),n=s.n(c);n.a},"6af1":function(t,i,s){t.exports=s.p+"assets/img/product_banner_zh.jpg"},b578:function(t,i,s){t.exports=s.p+"assets/img/product_banner_tc.jpg"},c568:function(t,i,s){t.exports=s.p+"assets/img/product1.jpg"},d154:function(t,i,s){t.exports=s.p+"assets/img/question.jpg"},d43a:function(t,i,s){t.exports=s.p+"assets/img/process.jpg"},ee53:function(t,i,s){"use strict";s.r(i);var c=function(){var t=this,i=t.$createElement,c=t._self._c||i;return c("div",{staticClass:"content"},[c("div",{staticClass:"banner"},[c("img",{staticClass:"banner-img pointer",attrs:{src:s("ef3a")("./product_banner_"+t.locale+".jpg")},on:{click:function(i){return t.toReservation()}}})]),c("div",{staticClass:"box bottom-space"},[c("div",{ref:"ruleBtnGroup",staticClass:"rule-btn-out-group"},[c("div",{staticClass:"rule-btn-group",class:{fix:t.fixTop}},[c("div",{staticClass:"rule-btn",class:{activity:"product"==t.activity},on:{click:function(i){t.activity="product"}}},[c("div",[c("i",{staticClass:"icon-product"}),t._v(" "+t._s(t.$t("product.iconProduct"))+"\n\t\t\t\t\t")]),c("div",{staticClass:"triangle"})]),c("div",{staticClass:"rule-btn",class:{activity:"process"==t.activity},on:{click:function(i){t.activity="process"}}},[c("div",[c("i",{staticClass:"icon-process"}),t._v(" "+t._s(t.$t("product.iconProcess"))+"\n\t\t\t\t\t")]),c("div",{staticClass:"triangle"})]),c("div",{staticClass:"rule-btn",class:{activity:"problem"==t.activity},on:{click:function(i){t.activity="problem"}}},[c("div",[c("i",{staticClass:"icon-problem"}),t._v(" "+t._s(t.$t("product.iconProblem"))+"\n\t\t\t\t\t")]),c("div",{staticClass:"triangle"})])])]),c("div",{staticClass:"blank-pannel"}),c("div",{staticClass:"rule-container",class:{activity:"product"==t.activity}},[c("img",{attrs:{src:s("c568")}}),c("img",{attrs:{src:s("54f9")}}),c("img",{attrs:{src:s("3f05")}})]),c("div",{staticClass:"rule-container",class:{activity:"process"==t.activity}},[c("img",{attrs:{src:s("d43a")}})]),c("div",{staticClass:"rule-container",class:{activity:"problem"==t.activity}},[c("img",{attrs:{src:s("d154")}})])])])},n=[],r=(s("4ec3"),s("ed0b"),{data:function(){return{isFixTop:!1,activity:"product"}},components:{},methods:{initData:function(){},checkBtnGroupFixed:function(){if(this.$refs.ruleBtnGroup){var t=this.$refs.ruleBtnGroup.getBoundingClientRect().top;this.isFixTop=t<0}},toReservation:function(){this.$router.push({path:"/custom/service",query:{q:"m6"}})}},computed:{fixTop:function(){return this.isFixTop},locale:function(){return this.$i18n.locale||"tc"}},mounted:function(){var t=this;window.addEventListener("scroll",(function(){t.checkBtnGroupFixed()}))},created:function(){}}),o=r,e=(s("56d5"),s("623f")),a=Object(e["a"])(o,c,n,!1,null,"70330f7e",null);i["default"]=a.exports},ef3a:function(t,i,s){var c={"./product_banner_en.jpg":"50f2","./product_banner_tc.jpg":"b578","./product_banner_zh.jpg":"6af1"};function n(t){var i=r(t);return s(i)}function r(t){if(!s.o(c,t)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return c[t]}n.keys=function(){return Object.keys(c)},n.resolve=r,t.exports=n,n.id="ef3a"}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1151b060"],{2780:function(n,t,e){},cf4e:function(n,t,e){"use strict";e.r(t);var c=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"content"})},s=[],a={},u=a,i=(e("f206"),e("e90a")),o=Object(i["a"])(u,c,s,!1,null,"0ec108e6",null);t["default"]=o.exports},f206:function(n,t,e){"use strict";var c=e("2780"),s=e.n(c);s.a}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-167bb984"],{"17fa":function(t,e,i){"use strict";var n=i("c971"),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("b081")),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){}}}))},beforeDestroy:function(){},created:function(){}},b=v,y=(i("17fa"),i("e90a")),w=Object(y["a"])(b,n,o,!1,null,"13aff1c1",null);e["default"]=w.exports},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=="},bdfd:function(t,e,i){},c309:function(t,e,i){"use strict";var n=i("bdfd"),o=i.n(n);o.a},c971:function(t,e,i){},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("b081")),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(){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("c309"),i("e90a")),l=Object(f["a"])(h,n,o,!1,null,"48a574a6",null);e["a"]=l.exports}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a3ae473"],{3156:function(n,t,a){"use strict";a.r(t);var c=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"content"})},e=[],s={},u=s,i=(a("f4cf"),a("e90a")),f=Object(i["a"])(u,c,e,!1,null,"a110aac0",null);t["default"]=f.exports},8079:function(n,t,a){},f4cf:function(n,t,a){"use strict";var c=a("8079"),e=a.n(c);e.a}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment