@xysfe/actui 1.9.95 → 1.9.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/GoldCert/index.js +1 -1
- package/es/GoldInsureNotice/index.js +1 -1
- package/es/index.js +1 -1
- package/lib/GoldCert/index.js +1 -1
- package/lib/GoldInsureNotice/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/es/GoldCert/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png"),require("@xysfe/actui/es/assets/img/close-icon.png"),require("@xysfe/actui/es/assets/img/right-arrow.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/Loading/index.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/assets/img/photo.png","@xysfe/actui/es/assets/img/close-icon.png","@xysfe/actui/es/assets/img/right-arrow.png"],e):"object"==typeof exports?exports.GoldCert=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png"),require("@xysfe/actui/es/assets/img/close-icon.png"),require("@xysfe/actui/es/assets/img/right-arrow.png")):t.GoldCert=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/common/popup.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/Loading/index.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/GoldElement/index.js"],t["@xysfe/actui/es/assets/img/photo.png"],t["@xysfe/actui/es/assets/img/close-icon.png"],t["@xysfe/actui/es/assets/img/right-arrow.png"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r,o,s,a,c,u,l,f){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2156)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var i=n(27)("wks"),r=n(24),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},10:function(t,e,n){var i=n(0),r=n(2),o=n(17),s=n(5),a=n(8),c=function(t,e,n){var u,l,f,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,x=p?r:r[e]||(r[e]={}),_=x.prototype,g=p?i:h?i[e]:(i[e]||{}).prototype;p&&(n=e);for(u in n)(l=!d&&g&&void 0!==g[u])&&a(x,u)||(f=l?g[u]:n[u],x[u]=p&&"function"!=typeof g[u]?n[u]:m&&l?o(f,i):y&&g[u]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((x.virtual||(x.virtual={}))[u]=f,t&c.R&&_&&!_[u]&&s(_,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},113:function(t,e){t.exports=r},12:function(t,e,n){var i=n(31),r=n(15);t.exports=function(t){return i(r(t))}},1231:function(t,e,n){"use strict";var i=n(84),r=n.n(i),o=n(68),s=n.n(o),a=n(66),c=n.n(a),u=n(2159),l=n(35),f=n.n(l),d=n(2163),p=n(560),h=n.n(p),v=n(148),m=n.n(v),y=n(113),x=n.n(y),_=n(201),g=n.n(_),b=n(38),T=(n.n(b),n(2167)),w=n(98),C=n.n(w),S=[19,25,26,27,28,29,30,32,33];e.a={name:"ActGoldCert",components:{photo:u.a,relateVerifyPhoto:d.a,ActGoldLayer:m.a,ActPopup:x.a,ActLoading:g.a},mixins:[f.a],props:{certDetail:{type:Array,default:function(){return[]}},certTitle:{type:String,default:""},buyId:{type:String,default:""},taskId:{type:String,default:""},taskFlag:{type:Number,default:1},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["album","camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},ocrApplyVerifyUrl:{type:String,default:"/offlineBuy/ocrApplyVerify"},hasSubmit:{type:Boolean,default:!1},ext:{type:Object,default:function(){}},showOcrFailDialog:{type:Boolean,default:!1},idValidFailConfirmText:{type:String,default:"去修改"},specialCertTypePicText:{type:Object,default:function(){return{}}}},computed:{extraZindex:function(){return 2+~~this.zIndex},certDetailInfo:function(){return this.certDetailData||this.certDetail},hasSubmitInfo:function(){return Object(b.isUndefined)(this.hasSubmitData)?this.hasSubmit:this.hasSubmitData},canSubmit:function(){if(this.hasSubmitInfo)return!1;for(var t=0;t<this.module.length;t++)for(var e=this.module[t],n=e.certPic,i=0;i<n.length;i++){var r=n[i],o=[19,25].includes(Number(e.certType))&&r.ext.relationType&&1==~~r.ext.relationType.isOption;if(!(r.urls&&r.urls.length||o))return!1}return!0},preShowMessage:function(){return this.certTitle||this.certDetail&&this.certDetail[0]&&this.certDetail[0].task_content||""}},data:function(){return{relateCertTypes:S,module:[],bodyOverflowOrigin:null,certDetailData:null,hasSubmitData:void 0,exampleVisible:!1,curExample:{},isLoadingShow:!1,certDataChanged:!1}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this.initPage()},methods:{setData:function(t){var e=t.certDetail,n=t.hasSubmit;this.certDetailData=e||[],this.hasSubmitData=n,this.initPage()},hasDataChanged:function(){return this.certDataChanged},initPage:function(){var t=this,e=[],n=this.certDetailInfo;if(n&&Object(b.isArray)(n))for(var i=0;i<n.length;i++)!function(i){var r=n[i],o=r.id,s=r.cert_belong,a=r.entity_cname,c=r.owner_cname,u=r.entity_cert_type,l=r.entity_cert,f=r.ocr_auth_id,d=r.ocr_result,p=r.up_state,h=r.side,v=r.ext,m=r.urls,y=e.find(function(t){return t.certName===r.entity_cname&&t.certNum===r.entity_cert&&t.certType===r.entity_cert_type}),x=t.getPicText({certType:u,side:h}),_=!(!m||!m.length)&&(t.hasSubmitInfo?3==~~p:1!=~~p),g="",b="";if(T.f[p])g=T.f[p].text,b=T.f[p].status;else if(T.e[d]){var w=T.e[d][u]||T.e[d].default;g=w.text,b=w.status}var C={id:o,side:h,ext:v,urls:m,text:x,state:p,ocrResult:d,ocrAuthId:f,canReUplaod:_,stateText:g,stateIcon:b};if(y){if(2==~~h&&v&&1==~~v.idTypeValidShow){var S;y.elements=y.elements||[];var j=t.getValidElems(v);(S=y.elements).push.apply(S,j)}1==~~h?y.certPic.unshift(C):y.certPic.push(C)}else{var I="",P=c?"("+c+")":"";I=19==~~u?v&&v.title||"请上传投保人"+P+"与被保险人("+a+")关系证明":25==~~u?v&&v.title||"请上传被保险人"+P+"与指定受益人("+a+")关系证明":32==~~u?v&&v.title||"请上传被保险人"+P+"与监护人("+a+")关系证明":[22,26,27].includes(+u)?"请上传"+T.c[u]+"照片":[33].includes(+u)?"请上传"+T.a[s]+"("+a+")"+T.c[u]:"请上传"+T.a[s]+"("+a+")"+T.c[u]+"照片";var O={certBelong:s,certName:a,certType:u,certNum:l,title:I,certPic:[C]};if(2==~~h&&v&&1==~~v.idTypeValidShow){var k;O.elements=O.elements||[];var V=t.getValidElems(v);(k=O.elements).push.apply(k,V)}e.push(O)}}(i);var r=[];e.forEach(function(t){var e=t.certBelong;r[+e]?r[e].push(t):r[e]=[t]}),r.forEach(function(t){t&&t.sort(function(t,e){return T.b.findIndex(function(e){return e===+t.certType})-T.b.findIndex(function(t){return t===+e.certType})})});var o=r.flat(),s=o.findIndex(function(t){return 22==+t.certType});if(s>-1){var a=o[s];o.splice(s,1),o.push(a)}this.module=o},getValidElems:function(t){var e=t.idValidStartTime,n=t.idValidEndTime,i=t.idValidType,r=(new Date).getFullYear(),o=r-50,s=((new Date).getMonth()+1+"").padStart(2,"0"),a=((new Date).getDate()+"").padStart(2,"0"),c=o+s+a;return[{key:"idValidType",name:"证件有效期",defaultValue:i||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],type:"5",defaultRemind:"请选择投保人证件有效期",display:1},{key:"idValidStartTime",name:"证件有效起期",defaultValue:e||r-10+s+a,attributeValues:[{max:r+s+a,conMax:1,min:c,conMin:1}],type:"7",defaultRemind:"请选择",display:1},{key:"idValidEndTime",name:"证件有效止期",defaultValue:n||r+10+s+a,attributeValues:[{max:r+50+s+a,conMax:1,min:r+s+a,conMin:1}],type:"7",defaultRemind:"请选择",display:1}]},getPicText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.certType,n=t.side,i=T.d;this.specialCertTypePicText&&Object(b.isObject)(this.specialCertTypePicText)&&(i=c()({},i,this.specialCertTypePicText));var r=i[e];if(r)return r[n];var o=T.c[e];return 1==~~n?22==~~e?o+"卡号面":31==+e?"护照首页":o+"正面":2==~~n?22==~~e?o+"非卡号面":31==+e?"护照签证页":o+"反面":void 0},resetFile:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.subModule,n=t.id,i=e.certPic.find(function(t){return t.id===n});if(this.hasSubmitInfo&&3!=~~i.state)return void this.showToast("已提交,不可删除更换");i.urls=[],i.stateText=""},chooseFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.subModule,i=e.id,r=this.appId||"",o=n.certPic.find(function(t){return t.id===i});if(this.hasSubmitInfo&&3!=~~o.state)return void this.showToast("已提交,不可再次上传");var a={buyId:this.buyId,taskId:this.taskId,upCertId:i,side:o.side,name:n.certName||""},u=c()(a,this.ext);h.a.ocr({sourceType:this.sourceType,appId:r,url:"/file/upCertPic",ext:u,beforeUpload:function(e){return t.showToast("上传中,请稍等...",0),s.a.resolve(e)},complete:function(){t.hideToast()}}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.ret,a=e.data,c=e.errmsg;if(0===Number(r)){var u=a||{},l=u.dataBase,f=u.localId,d=u.picurl,p=u.pic_id,h=u.idValidStartTime,v=u.idValidEndTime,m=u.idValidType,y=u.ocr_auth_id,x=u.ocr_result,_=u.go_submit,g=d||l||f;if(o.ocrAuthId=y,o.ocrResult=x,[1,2].includes(~~x)){o.urls=[{url:g,pic_id:p}];var b=T.c[n.certType];if(T.e[x]){var w=T.e[x][b]||T.e[x].default;o.stateText=w.text,o.stateIcon=w.status}o.canReUplaod=!t.hasSubmitInfo;var C=+_?"提交":"人工审核",j={1:b+"识别失败,请重新上传",2:b+"照片中的姓名/证件号与填写投保信息填写的信息不一致。请重新上传"};return 22==~~n.certType&&(j[2]="上传的"+b+"信息与投保信息填写的不一致,请重新上传"),void t.showDialog({dialogType:2,dialogData:[j[x],"请确认上传的照片边框完整,字体清晰,亮度均匀。若确认照片无误,您也可以选择【"+C+"】"],confirmbtnText:C,cancelbtnText:"重新上传",onConfirm:function(){t.ocrVerify(o.ocrAuthId,_).then(function(e){T.f[e.up_state]&&(o.stateText=T.f[e.up_state].text,o.stateIcon=T.f[e.up_state].status),o.state=e.up_state,o.canReUplaod=t.hasSubmitInfo?3==~~e.up_state:1!=~~e.up_state,t.showToast("已提交人工审核,预计在24小时内完成审核。请短信留意审核结果")}).catch(function(e){t.showToast(e)})},onCancel:function(){o.state=0,t.chooseFile({subModule:n,id:i})}})}if(o.state=4,o.canReUplaod=!t.hasSubmitInfo,o.stateText="",o.stateIcon="",o&&o.ext&&1===Number(o.ext.idTypeValidShow)&&2===Number(o.side)){(n.elements||[]).forEach(function(t){"idValidStartTime"===t.key&&(t.defaultValue=h),"idValidEndTime"===t.key&&(t.defaultValue=v,t.display=~~m),"idValidType"===t.key&&(t.defaultValue=m)})}if(S.includes(Number(n.certType)))return void o.urls.push({url:g,pic_id:p});o.urls=[{url:g,pic_id:p}]}else{if(!(t.showOcrFailDialog&&a&&a.detail_err&&a.detail_err.codes))return s.a.reject({errmsg:c});var I=a.detail_err.codes,P=a.detail_err.grayFlag;["id_valid_start_neq","id_valid_end_neq"].includes(I)?2===Number(P)?t.toOcrFail({code:I,certType:n.certType,name:n.certName||""}):t.dontMatchOcrCertIdvalidDate({id:i,curSubModulePic:o,errDetail:a.detail_err}):t.toOcrFail({code:I,certType:n.certType,name:n.certName||""})}}).catch(function(e){t.hideToast();var n=Object(b.getErrmsg)(e),i=e&&Object(b.isObject)(e)&&e.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:i?["系统异常,操作失败,请重试"]:[n],confirmbtnText:i?"我知道了":"重新上传",onConfirm:function(){i&&location.reload()}})})},ocrVerify:function(t,e){var n={ocr_auth_id:t};return e&&(n.is_submit=1),C()(this.ocrApplyVerifyUrl,n).then(function(t){var e=t.data;return 0==~~e.ret?s.a.resolve(e.data):s.a.reject(e.errmsg)}).catch(function(t){return s.a.reject(t)})},deleteFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.urls,i=e.index,r=e.id,o=e.picId;if(this.hasSubmitInfo)return void this.showToast("已提交不可删除");var a={buyId:this.buyId,taskId:this.taskId,upCertId:r,opType:1,picId:o};C()("/file/upCertPic",a).then(function(t){var e=t.data;if(0!=~~e.ret)return s.a.reject(e.errmsg);n.splice(i,1)}).catch(function(e){t.showToast(e)})},checkUpcert:function(){var t=this;return new s.a(function(e,n){if(t.hasSubmitInfo)return n("已提交,不可再次提交");for(var i={},r=0;r<t.module.length;r++)for(var o=t.module[r],s=o.certPic,a=0;a<s.length;a++){var c=s[a],u=[19,25].includes(Number(o.certType))&&c.ext.relationType&&1==~~c.ext.relationType.isOption;if(!(c.urls&&c.urls.length||u))return n("还有图片未上传");if(t.relateCertTypes.includes(+o.certType)&&c.ext&&c.ext.uploadMin&&(!c.urls||c.urls.length<+c.ext.uploadMin))return n(o.title.substring(3)+"最少上传张数为"+c.ext.uploadMin+",请补齐");if(3==~~c.state)return n("有图片人工审核不通过,请重新上传再提交");if(0==~~c.state)return n(1==~~c.ocrResult?"有图片ocr识别失败,请重新上传再提交":2==~~c.ocrResult?"有图片ocr比对失败,请重新上传再提交":"有图片还未上传成功,请重新上传再提交");if(2==~~c.side&&c.ext&&1==~~c.ext.idTypeValidShow){var l="",f="",d="",p=o.elements||[];p.forEach(function(t){"idValidType"===t.key&&(l=t.defaultValue),"idValidStartTime"===t.key&&(f=t.defaultValue),"idValidEndTime"===t.key&&(d=t.defaultValue)}),i[c.id]={idValidType:l,idValidStartTime:f,idValidEndTime:d}}}e(i)})},submitTaskUpcert:function(){var t=this;this.checkUpcert().then(function(e){t.$emit("completed",e)}).catch(function(e){t.showToast(e)})},cancel:function(){this.hide(),this.$emit("cancel")},changeValue:function(t){var e=t.elements,n=t.element,i=t.key,r=t.value;t.site;if(n.defaultValue=r,"idValidType"===i){var o=e.find(function(t){return"idValidEndTime"===t.key});o&&(o.display=Number(r))}},dontMatchOcrCertIdvalidDate:function(t){var e=this,n=t.id,i=t.errDetail,o=t.curSubModulePic,s=void 0,a=void 0,c=void 0,u=void 0;1===this.taskFlag?(s=2,a="取消",c="确认无误",u=["证件影像件的有效期与投保信息填写的不一致,请确认您的证件有效期是否如下,若非如下有效期,您也可以通过投保单的“修改信息”入口修改该证件的有效期。","证件有效期起期: "+i.ocr_idvalid_start_date,"证件有效期止期: "+i.ocr_idvalid_end_date]):(s=1,c="我知道了",u=["证件影像件的有效期与投保信息填写的不一致,因该单已完成核保,无法再修改投保信息中对应的证件有效期,请返回投保单取消投保单后重新投保。"]),o.urls=[{url:i.pic_url,pic_id:0}],o.state=0,o.canReUplaod=!this.hasSubmitInfo,o.stateText="证件有效期与投保信息填写不一致",o.stateIcon="fail",this.showDialog({dialogType:s,dialogData:u,confirmbtnText:c,cancelbtnText:a,onCancel:function(){},onConfirm:function(){1===e.taskFlag&&(e.showLoading(),C()("/offlineBuy/submitModifyValidDate",r()({buyId:e.buyId,taskId:e.taskId,upCertId:n,detail_err:i},e.ext)).then(function(t){var n=t.data;e.hideLoading(),0==~~n.ret?(o.urls=[{url:i.pic_url,pic_id:n.data.pic_id}],o.state=4,o.canReUplaod=!e.hasSubmitInfo,o.stateText="",o.stateIcon="",e.certDataChanged=!0):e.showToast(n.errmsg)}).catch(function(t){e.hideLoading(),e.showToast(t)}))}})},toOcrFail:function(t){var e=this,n=t.code,i=t.certType,r=t.name,o=[],s="",a="重新上传";"ocr_fail"===n?(s=""+r+T.c[i]+"识别失败,请重新上传",o=['<p style="text-align:center;">'+T.c[i]+"识别失败,请重新上传</p>","请按要求上传证件,并确保上传的证件边框完整、字迹清晰、亮度均匀。","若确认照片无误,您也可以选择咨询客服"]):["name_neq","id_neq"].includes(n)?(s=""+r+T.c[i]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。",o=[T.c[i]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。","若确认照片无误,您也可以选择咨询客服。"]):["id_valid_start_neq","id_valid_end_neq"].includes(n)?(a=this.idValidFailConfirmText,s=""+r+T.c[i]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。",o=[T.c[i]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。"]):["sex_neq","birth_neq"].includes(n)&&(a="去修改",s=""+r+T.c[i]+"照片中的性别或出生日期与填写投保信息填写的不一致,请前往修改投保信息。",o=[T.c[i]+"照片中的性别或出生日期与填写投保信息填写的不一致,请前往修改投保信息。"]),this.showDialog({dialogType:2,dialogData:o,confirmbtnText:a,cancelbtnText:"咨询客服",onCancel:function(){window.XYSConsultV3&&window.XYSConsultV3.genConsultUrl({scene:"ocr",businessParam:{productTitle:"",errorWriting:s,tpl:"ocrfailed"}}).then(function(t){location.href=t})},onConfirm:function(){"去修改"===a&&e.$emit("amlOcrFailToModify")}})},showDialog:function(t){var e=t.dialogType,n=void 0===e?1:e,i=t.dialogTitle,r=void 0===i?"":i,o=t.dialogData,s=t.cancelbtnText,a=void 0===s?"取消":s,c=t.confirmbtnText,u=void 0===c?"确定":c,l=t.onConfirm,f=void 0===l?function(){}:l,d=t.onCancel,p=void 0===d?function(){}:d,h=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:r,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(n),cancelButtonText:a,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){h&&h.remove(),f()},onCancel:function(){h&&h.remove(),p()}});h.show()},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},showLoading:function(){this.isLoadingShow=!0},hideLoading:function(){this.isLoadingShow=!1},error:function(t){this.$emit("error",t)},preview:function(t){var e=t.list,n=t.index;this.imagePreview?this.imagePreview.setData(e,n):this.imagePreview=this.$createImagePreview({images:e,start:n,zIndex:this.zIndex}),this.imagePreview.show()},previewExample:function(t,e){var n=t.map(function(t){return{url:t}});this.preview({list:n,index:e})},showExampleLayer:function(t){this.curExample=t,this.$refs.exampleLayer.show()},hideExampleLayer:function(){this.$refs.exampleLayer.hide(),this.curExample={}},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},beforeDestroy:function(){this.resetBodyOverflow()}},watch:{isVisible:function(t){t?this.certDataChanged=!1:this.resetBodyOverflow()}}}},1232:function(t,e,n){"use strict";var i=n(857),r=n.n(i);e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},zIndex:{type:Number,default:100}},components:{ActGoldElement:r.a},methods:{preview:function(t){var e={list:[{url:t}],index:0};this.$emit("preview",e)},chooseFile:function(t){this.$emit("chooseFile",{subModule:this.photoInfo,id:t.id})},deleteFile:function(t){this.$emit("deleteFile",{subModule:this.photoInfo,id:t.id})},changeValue:function(t,e){var n=e.key,i=e.value,r=e.site,o={elements:this.photoInfo.elements,element:t,key:n,value:i,site:r};this.$emit("changeValue",o)}}}},1233:function(t,e){t.exports=u},1234:function(t,e,n){"use strict";e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},hasSubmit:{type:Boolean,default:!1}},computed:{picsUrl:function(){return this.photoInfo.certPic[0].urls},ext:function(){return this.photoInfo.certPic[0].ext||{}},canUpload:function(){var t=this.ext.relationType&&Number(this.ext.relationType.uploadMax)||this.ext.uploadMax;return!t||t>this.picsUrl.length},desc:function(){var t=this.ext.desc||this.ext.relationType&&this.ext.relationType.desc,e=[19,25,32].includes(+this.photoInfo.certType)?["1、出生证明;","2、居民户口簿索引页,若没有户口簿索引页,则传户口簿户主页、投保人本人页、被保险人本人页;","3、居委会、村委会、派出所开具的关系证明。"]:[];return t&&"string"==typeof t&&(t=[t]),t||e},title:function(){return this.ext.relationType&&this.ext.relationType.title||this.photoInfo.title||"关系证明"},examples:function(){return this.ext.examples||null}},methods:{preview:function(t){var e=this.picsUrl.map(function(t){return{url:t.url}}),n={list:e,index:t};this.$emit("preview",n)},chooseFile:function(){var t={subModule:this.photoInfo,id:this.photoInfo.certPic[0].id};this.$emit("chooseFile",t)},deleteFile:function(t,e){var n={urls:this.photoInfo.certPic[0].urls||[],index:t,picId:e,id:this.photoInfo.certPic[0].id};this.$emit("deleteFile",n)},showExampleLayer:function(){this.$emit("showExampleLayer",this.examples)}}}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},148:function(t,e){t.exports=o},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},17:function(t,e,n){var i=n(20);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var i=n(27)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},201:function(t,e){t.exports=s},21:function(t,e,n){var i=n(6),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},2156:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(22),r=n.n(i),o=n(2157);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldCert=r()(o.a,t)},e.default=o.a},2157:function(t,e,n){"use strict";function i(t){a||n(2158)}var r=n(1231),o=n(2168),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-14ac88b2",null);u.options.__file="src\\components\\GoldCert\\src\\index.vue",e.a=u.exports},2158:function(t,e){},2159:function(t,e,n){"use strict";function i(t){a||n(2160)}var r=n(1232),o=n(2161),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-1242ee12",null);u.options.__file="src\\components\\GoldCert\\src\\photo.vue",e.a=u.exports},2160:function(t,e){},2161:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[i("div",{staticClass:"title"},[i("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.photoInfo.title||"")+"\n ")]),t._v(" "),i("div",{staticClass:"line"})]),t._v(" "),22==~~t.photoInfo.certType?i("div",{staticClass:"bank_intro"},[i("p",{staticClass:"bank_num"},[t._v("\n 银行卡号:"+t._s(t.photoInfo.certNum)+"\n ")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),i("div",{staticClass:"photo"},t._l(t.photoInfo.certPic,function(e,r){return i("div",{key:r,staticClass:"photo_item"},[i("div",{staticClass:"photo_img_wrap",class:{id_human:0==~~t.photoInfo.certType&&1==~~e.side,id_emblem:0==~~t.photoInfo.certType&&2==~~e.side},on:{click:function(n){return t.chooseFile(e)}}},[e.urls&&e.urls.length?i("div",{staticClass:"photo_img_body",on:{click:function(n){return n.stopPropagation(),t.preview(e.urls[0].url)}}},[i("img",{staticClass:"photo_img",attrs:{src:e.urls[0].url,alt:""}})]):[i("img",{staticClass:"photo_icon",attrs:{src:n(1233),alt:""}}),t._v(" "),i("span",{staticClass:"photo_text"},[t._v("\n "+t._s(e.text)+"\n ")])],t._v(" "),e.canReUplaod&&e.urls&&e.urls.length?i("div",{staticClass:"repeat_upload",on:{click:function(n){return n.stopPropagation(),t.deleteFile(e)}}},[i("img",{attrs:{src:n(2162),alt:""}})]):t._e()],2),t._v(" "),e.stateText?i("div",{staticClass:"photo_status"},[i("i",{staticClass:"photo_status_icon",class:e.stateIcon}),t._v(" "),i("span",{staticClass:"photo_status_text"},[t._v(t._s(e.stateText))])]):t._e()])}),0),t._v(" "),t.photoInfo.elements&&t.photoInfo.elements.length?t._l(t.photoInfo.elements,function(e,n){return i("act-gold-element",{key:n,attrs:{element:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{change:function(n){for(var i=arguments.length,r=Array(i);i--;)r[i]=arguments[i];return t.changeValue.apply(void 0,[e].concat(r))}}})}):t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tips"},[n("i",{staticClass:"tips_icon"}),t._v(" "),n("span",{staticClass:"tips_text"},[t._v("\n 请核对银行卡号与上传银行卡影像是否一致\n ")])])}];i._withStripped=!0},2162:function(t,e){t.exports=l},2163:function(t,e,n){"use strict";function i(t){a||n(2164)}var r=n(1234),o=n(2165),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-8ae90600",null);u.options.__file="src\\components\\GoldCert\\src\\relateVerifyPhoto.vue",e.a=u.exports},2164:function(t,e){},2165:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[i("div",{staticClass:"title"},[i("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.examples?i("div",{staticClass:"example-btn",on:{click:t.showExampleLayer}},[i("div",{staticClass:"text",style:{color:t.brandColor}},[t._v("示例")]),t._v(" "),i("img",{attrs:{src:n(2166)}})]):t._e()]),t._v(" "),i("div",{staticClass:"intro"},t._l(t.desc,function(e,n){return i("div",{key:n},[i("div",{staticStyle:{"white-space":"pre-line"},domProps:{innerHTML:t._s(e)}})])}),0),t._v(" "),i("div",{staticClass:"photo"},[t.canUpload?i("div",{staticClass:"photo_img photo_upload",on:{click:t.chooseFile}},[i("img",{staticClass:"photo_icon",attrs:{src:n(1233)}})]):t._e(),t._v(" "),t._l(t.picsUrl,function(e,n){return i("div",{key:n,staticClass:"photo_img",on:{click:function(e){return e.stopPropagation(),t.preview(n)}}},[i("img",{attrs:{src:e.url}}),t._v(" "),t.hasSubmit?t._e():i("div",{staticClass:"delete",on:{click:function(i){return i.stopPropagation(),t.deleteFile(n,e.pic_id)}}},[t._v("\n 删除\n ")])])})],2)])},r=[];i._withStripped=!0},2166:function(t,e){t.exports=f},2167:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return a}),n.d(e,"e",function(){return c});var i={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",18:"港澳台居民居住证",19:"投保人与被保险人关系证明",20:"外国人永久居留身份证",21:"半身照",22:"银行卡",23:"港澳居民来往内地通行证",24:"台湾居民来往内地通行证",25:"被保险人与受益人关系证明",26:"人身保险投保提示书",27:"销售人员投保问卷",28:"保单信息页",29:"保险计划页",30:"核保结论页",31:"非中国大陆护照",32:"监护人与被保险人关系证明",33:"签字动作照片"},r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,18,20,23,24,31,14,15,16,17,19,32,25,21,22,33,27,26,28,29,30],o={1:"投保人",2:"被保险人",3:"受益人",4:"代理人",5:"监护人",6:"付款人",7:"机主"},s={0:{1:"身份证人像面",2:"身份证国徽面"},6:{1:"本人页",2:"户主页"}},a={1:{text:"人工审核中,预计最快1小时内完成,可联系客服/投保顾问加急",status:"process"},2:{text:"人工审核通过",status:"success"},3:{text:"人工审核不通过",status:"fail"}},c={1:{default:{text:"OCR识别失败,请重新上传",status:"fail"}},2:{22:{text:"上传的银行卡信息与投保信息填写的不一致,请重新上传",status:"fail"},default:{text:"识别出的姓名/身份证号与填写的投保信息不一致,请重新上传",status:"fail"}}}},2168:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-cert",style:{"z-index":t.zIndex},on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"act-cert-body"},[t.preShowMessage?n("div",{staticClass:"act-cert-title"},[t._v(t._s(t.preShowMessage))]):t._e(),t._v(" "),t._l(t.module,function(e,i){return[t.relateCertTypes.includes(~~e.certType)?n("relateVerifyPhoto",{key:e.id,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,hasSubmit:t.hasSubmitInfo},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.deleteFile,changeValue:t.changeValue,showExampleLayer:t.showExampleLayer}}):n("photo",{key:i,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.resetFile,changeValue:t.changeValue}})]})],2),t._v(" "),n("div",{staticClass:"act-cert-footer iphonex_padding"},[n("div",{staticClass:"btns"},[n("div",{staticClass:"back",on:{click:t.cancel}},[t._v("\n 返回\n ")]),t._v(" "),n("div",{staticClass:"submit",class:{disable:!t.canSubmit},style:{background:this.brandColor?this.brandColor:"linear-gradient(270deg, #F05A4B 0%, #FC7468 100%)"},on:{click:t.submitTaskUpcert}},[t._v("\n 立即上传\n ")])])]),t._v(" "),n("act-gold-layer",{ref:"exampleLayer",attrs:{visible:t.exampleVisible,title:t.curExample.title,center:!1,zIndex:101},on:{close:t.hideExampleLayer}},[n("div",{staticClass:"example-box"},[t.curExample.imagList?n("div",{staticClass:"example-content"},t._l(t.curExample.imagList,function(e,i){return n("div",{key:i,staticClass:"example-list"},[n("p",[t._v(t._s(e.title))]),t._v(" "),n("div",{staticClass:"photos"},t._l(e.imags,function(i,r){return n("div",{key:r,staticClass:"photo_img",style:{background:"no-repeat url("+i+") #f5f5f5 center/contain"},on:{click:function(){return t.previewExample(e.imags,r)}}})}),0)])}),0):t._e()])]),t._v(" "),n("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isLoadingShow,expression:"isLoadingShow"}],attrs:{mask:!0,center:!0,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()}}},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:t.isLoadingShow,expression:"isLoadingShow"}],attrs:{type:"cir2",color:t.brandColor}})],1)],1)])},r=[];i._withStripped=!0},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},25:function(t,e,n){var i=n(9).f,r=n(8),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var i=n(41),r=n(28);t.exports=Object.keys||function(t){return i(t,r)}},27:function(t,e,n){var i=n(2),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var i=n(15);t.exports=function(t){return Object(i(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},32:function(t,e,n){var i=n(16),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},35:function(t,n){t.exports=e},36:function(t,e,n){"use strict";var i=n(18),r=n(10),o=n(52),s=n(5),a=n(11),c=n(56),u=n(25),l=n(58),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,m,y){c(n,e,h);var x,_,g,b=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w="values"==v,C=!1,S=t.prototype,j=S[f]||S["@@iterator"]||v&&S[v],I=j||b(v),P=v?w?b("entries"):I:void 0,O="Array"==e?S.entries||j:j;if(O&&(g=l(O.call(new t)))!==Object.prototype&&g.next&&(u(g,T,!0),i||"function"==typeof g[f]||s(g,f,p)),w&&j&&"values"!==j.name&&(C=!0,I=function(){return j.call(this)}),i&&!y||!d&&!C&&S[f]||s(S,f,I),a[e]=I,a[T]=p,v)if(x={values:w?I:b("values"),keys:m?I:b("keys"),entries:P},y)for(_ in x)_ in S||o(S,_,x[_]);else r(r.P+r.F*(d||C),e,x);return x}},38:function(t,e){t.exports=n},39:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},4:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},41:function(t,e,n){var i=n(8),r=n(12),o=n(45)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,u=[];for(n in a)n!=s&&i(a,n)&&u.push(n);for(;e.length>c;)i(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},42:function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},43:function(t,e,n){var i=n(14),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},44:function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=r(e),this.reject=r(n)}var r=n(20);t.exports.f=function(t){return new i(t)}},45:function(t,e,n){var i=n(12),r=n(32),o=n(46);t.exports=function(t){return function(e,n,s){var a,c=i(e),u=r(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},46:function(t,e,n){var i=n(16),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},48:function(t,e,n){"use strict";var i=n(55)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},49:function(t,e){e.f={}.propertyIsEnumerable},5:function(t,e,n){var i=n(9),r=n(23);t.exports=n(3)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var i=n(4),r=n(57),o=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),i=o.length;for(e.style.display="none",n(42).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:r(n,e)}},51:function(t,e,n){n(60);for(var i=n(0),r=n(5),o=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=i[u],f=l&&l.prototype;f&&!f[s]&&r(f,s,u),o[u]=o.Array}},52:function(t,e,n){t.exports=n(5)},53:function(t,e,n){var i=n(43),r=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},54:function(t,e){e.f=Object.getOwnPropertySymbols},55:function(t,e,n){var i=n(16),r=n(15);t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},56:function(t,e,n){"use strict";var i=n(50),r=n(23),o=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},560:function(t,e){t.exports=a},57:function(t,e,n){var i=n(9),r=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,c=0;a>c;)i.f(t,n=s[c++],e[n]);return t}},58:function(t,e,n){var i=n(8),r=n(29),o=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){"use strict";var i=n(61),r=n(59),o=n(11),s=n(12);t.exports=n(36)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},61:function(t,e){t.exports=function(){}},62:function(t,e,n){var i=n(4),r=n(20),o=n(1)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},63:function(t,e,n){var i,r,o,s=n(17),a=n(92),c=n(42),u=n(21),l=n(0),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,y={},x=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){x.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},p=function(t){delete y[t]},"process"==n(14)(f)?i=function(t){f.nextTick(s(x,t,1))}:v&&v.now?i=function(t){v.now(s(x,t,1))}:h?(r=new h,o=r.port2,r.port1.onmessage=_,i=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):i="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),x.call(t)}}:function(t){setTimeout(s(x,t,1),0)}),t.exports={set:d,clear:p}},64:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},65:function(t,e,n){var i=n(4),r=n(6),o=n(44);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},66:function(t,e,n){t.exports={default:n(72),__esModule:!0}},68:function(t,e,n){t.exports={default:n(90),__esModule:!0}},7:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId=o);var l;if(s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=i},71:function(t,e){},72:function(t,e,n){n(73),t.exports=n(2).Object.assign},73:function(t,e,n){var i=n(10);i(i.S+i.F,"Object",{assign:n(74)})},74:function(t,e,n){"use strict";var i=n(3),r=n(26),o=n(54),s=n(49),a=n(29),c=n(31),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=o.f,d=s.f;u>l;)for(var p,h=c(arguments[l++]),v=f?r(h).concat(f(h)):r(h),m=v.length,y=0;m>y;)p=v[y++],i&&!d.call(h,p)||(n[p]=h[p]);return n}:u},76:function(t,e,n){var i=n(4);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},77:function(t,e,n){var i=n(11),r=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},79:function(t,e,n){var i=n(17),r=n(76),o=n(77),s=n(4),a=n(32),c=n(53),u={},l={},e=t.exports=function(t,e,n,f,d){var p,h,v,m,y=d?function(){return t}:c(t),x=i(n,f,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=a(t.length);p>_;_++)if((m=e?x(s(h=t[_])[0],h[1]):x(t[_]))===u||m===l)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=r(v,x,h.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},81:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},82:function(t,e,n){var i=n(5);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},83:function(t,e,n){"use strict";var i=n(0),r=n(2),o=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},84:function(t,e,n){"use strict";e.__esModule=!0;var i=n(66),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},857:function(t,e){t.exports=c},9:function(t,e,n){var i=n(4),r=n(40),o=n(39),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){n(71),n(48),n(51),n(91),n(95),n(96),t.exports=n(2).Promise},91:function(t,e,n){"use strict";var i,r,o,s,a=n(18),c=n(0),u=n(17),l=n(43),f=n(10),d=n(6),p=n(20),h=n(81),v=n(79),m=n(62),y=n(63).set,x=n(93)(),_=n(44),g=n(64),b=n(94),T=n(65),w=c.TypeError,C=c.process,S=C&&C.versions,j=S&&S.v8||"",I=c.Promise,P="process"==l(C),O=function(){},k=r=_.f,V=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==j.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;x(function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=r?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(r||(2==t._h&&D(t),t._h=1),!0===a?n=i:(l&&l.enter(),n=a(i),l&&(l.exit(),s=!0)),n===e.promise?u(w("Promise-chain cycle")):(o=E(n))?o.call(n,c,u):c(n)):u(i)}catch(t){l&&!s&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){y.call(c,function(){var e,n,i,r=t._v,o=M(t);if(o&&(e=g(function(){P?C.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=P||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){y.call(c,function(){var e;P?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=E(t))?x(function(){var i={_w:n,_d:!1};try{e.call(t,u(N,i,1),u(A,i,1))}catch(t){A.call(i,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};V||(I=function(t){h(this,I,"Promise","_h"),p(t),i.call(this);try{t(u(N,this,1),u(A,this,1))}catch(t){A.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(82)(I.prototype,{then:function(t,e){var n=k(m(this,I));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=u(N,t,1),this.reject=u(A,t,1)},_.f=k=function(t){return t===I||t===s?new o(t):r(t)}),f(f.G+f.W+f.F*!V,{Promise:I}),n(25)(I,"Promise"),n(83)("Promise"),s=n(2).Promise,f(f.S+f.F*!V,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!V),"Promise",{resolve:function(t){return T(a&&this===s?I:this,t)}}),f(f.S+f.F*!(V&&n(80)(function(t){I.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=k(e),i=n.resolve,r=n.reject,o=g(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=k(e),i=n.reject,r=g(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},92:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},93:function(t,e,n){var i=n(0),r=n(63).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var i,r;for(c&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){r.call(i,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},94:function(t,e,n){var i=n(0),r=i.navigator;t.exports=r&&r.userAgent||""},95:function(t,e,n){"use strict";var i=n(10),r=n(2),o=n(0),s=n(62),a=n(65);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},96:function(t,e,n){"use strict";var i=n(10),r=n(44),o=n(64);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},98:function(t,e){t.exports=i}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png"),require("@xysfe/actui/es/assets/img/close-icon.png"),require("@xysfe/actui/es/assets/img/right-arrow.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/Loading/index.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/assets/img/photo.png","@xysfe/actui/es/assets/img/close-icon.png","@xysfe/actui/es/assets/img/right-arrow.png"],e):"object"==typeof exports?exports.GoldCert=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png"),require("@xysfe/actui/es/assets/img/close-icon.png"),require("@xysfe/actui/es/assets/img/right-arrow.png")):t.GoldCert=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/common/popup.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/Loading/index.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/GoldElement/index.js"],t["@xysfe/actui/es/assets/img/photo.png"],t["@xysfe/actui/es/assets/img/close-icon.png"],t["@xysfe/actui/es/assets/img/right-arrow.png"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r,o,s,a,c,u,l,f){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2156)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var i=n(27)("wks"),r=n(24),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},10:function(t,e,n){var i=n(0),r=n(2),o=n(17),s=n(5),a=n(8),c=function(t,e,n){var u,l,f,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,x=p?r:r[e]||(r[e]={}),_=x.prototype,g=p?i:h?i[e]:(i[e]||{}).prototype;p&&(n=e);for(u in n)(l=!d&&g&&void 0!==g[u])&&a(x,u)||(f=l?g[u]:n[u],x[u]=p&&"function"!=typeof g[u]?n[u]:m&&l?o(f,i):y&&g[u]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((x.virtual||(x.virtual={}))[u]=f,t&c.R&&_&&!_[u]&&s(_,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},113:function(t,e){t.exports=r},12:function(t,e,n){var i=n(31),r=n(15);t.exports=function(t){return i(r(t))}},1231:function(t,e,n){"use strict";var i=n(84),r=n.n(i),o=n(68),s=n.n(o),a=n(66),c=n.n(a),u=n(2159),l=n(35),f=n.n(l),d=n(2163),p=n(560),h=n.n(p),v=n(148),m=n.n(v),y=n(113),x=n.n(y),_=n(201),g=n.n(_),b=n(38),T=(n.n(b),n(2167)),w=n(98),C=n.n(w),S=[19,25,26,27,28,29,30,32,33];e.a={name:"ActGoldCert",components:{photo:u.a,relateVerifyPhoto:d.a,ActGoldLayer:m.a,ActPopup:x.a,ActLoading:g.a},mixins:[f.a],props:{certDetail:{type:Array,default:function(){return[]}},certTitle:{type:String,default:""},buyId:{type:String,default:""},taskId:{type:String,default:""},taskFlag:{type:Number,default:1},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["album","camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},ocrApplyVerifyUrl:{type:String,default:"/offlineBuy/ocrApplyVerify"},hasSubmit:{type:Boolean,default:!1},ext:{type:Object,default:function(){}},showOcrFailDialog:{type:Boolean,default:!1},idValidFailConfirmText:{type:String,default:"去修改"},specialCertTypePicText:{type:Object,default:function(){return{}}}},computed:{extraZindex:function(){return 2+~~this.zIndex},certDetailInfo:function(){return this.certDetailData||this.certDetail},hasSubmitInfo:function(){return Object(b.isUndefined)(this.hasSubmitData)?this.hasSubmit:this.hasSubmitData},canSubmit:function(){if(this.hasSubmitInfo)return!1;for(var t=0;t<this.module.length;t++)for(var e=this.module[t],n=e.certPic,i=0;i<n.length;i++){var r=n[i],o=[19,25].includes(Number(e.certType))&&r.ext.relationType&&1==~~r.ext.relationType.isOption;if(!(r.urls&&r.urls.length||o))return!1}return!0},preShowMessage:function(){return this.certTitle||this.certDetail&&this.certDetail[0]&&this.certDetail[0].task_content||""}},data:function(){return{relateCertTypes:S,module:[],bodyOverflowOrigin:null,certDetailData:null,hasSubmitData:void 0,exampleVisible:!1,curExample:{},isLoadingShow:!1,certDataChanged:!1}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this.initPage()},methods:{setData:function(t){var e=t.certDetail,n=t.hasSubmit;this.certDetailData=e||[],this.hasSubmitData=n,this.initPage()},hasDataChanged:function(){return this.certDataChanged},initPage:function(){var t=this,e=[],n=this.certDetailInfo;if(n&&Object(b.isArray)(n))for(var i=0;i<n.length;i++)!function(i){var r=n[i],o=r.id,s=r.cert_belong,a=r.entity_cname,c=r.owner_cname,u=r.entity_cert_type,l=r.entity_cert,f=r.ocr_auth_id,d=r.ocr_result,p=r.up_state,h=r.side,v=r.ext,m=r.urls,y=e.find(function(t){return t.certName===r.entity_cname&&t.certNum===r.entity_cert&&t.certType===r.entity_cert_type}),x=t.getPicText({certType:u,side:h}),_=!(!m||!m.length)&&(t.hasSubmitInfo?3==~~p:1!=~~p),g="",b="";if(T.f[p])g=T.f[p].text,b=T.f[p].status;else if(T.e[d]){var w=T.e[d][u]||T.e[d].default;g=w.text,b=w.status}var C={id:o,side:h,ext:v,urls:m,text:x,state:p,ocrResult:d,ocrAuthId:f,canReUplaod:_,stateText:g,stateIcon:b};if(y){if(2==~~h&&v&&1==~~v.idTypeValidShow){var S;y.elements=y.elements||[];var j=t.getValidElems(v);(S=y.elements).push.apply(S,j)}1==~~h?y.certPic.unshift(C):y.certPic.push(C)}else{var I="",P=c?"("+c+")":"";I=19==~~u?v&&v.title||"请上传投保人"+P+"与被保险人("+a+")关系证明":25==~~u?v&&v.title||"请上传被保险人"+P+"与指定受益人("+a+")关系证明":32==~~u?v&&v.title||"请上传被保险人"+P+"与监护人("+a+")关系证明":[22,26,27].includes(+u)?"请上传"+T.c[u]+"照片":[33].includes(+u)?"请上传"+T.a[s]+"("+a+")"+T.c[u]:"请上传"+T.a[s]+"("+a+")"+T.c[u]+"照片";var O={certBelong:s,certName:a,certType:u,certNum:l,title:I,certPic:[C]};if(2==~~h&&v&&1==~~v.idTypeValidShow){var k;O.elements=O.elements||[];var V=t.getValidElems(v);(k=O.elements).push.apply(k,V)}e.push(O)}}(i);var r=[];e.forEach(function(t){var e=t.certBelong;r[+e]?r[e].push(t):r[e]=[t]}),r.forEach(function(t){t&&t.sort(function(t,e){return T.b.findIndex(function(e){return e===+t.certType})-T.b.findIndex(function(t){return t===+e.certType})})});var o=r.flat(),s=o.findIndex(function(t){return 22==+t.certType});if(s>-1){var a=o[s];o.splice(s,1),o.push(a)}this.module=o},getValidElems:function(t){var e=t.idValidStartTime,n=t.idValidEndTime,i=t.idValidType,r=(new Date).getFullYear(),o=r-50,s=((new Date).getMonth()+1+"").padStart(2,"0"),a=((new Date).getDate()+"").padStart(2,"0"),c=o+s+a;return[{key:"idValidType",name:"证件有效期",defaultValue:i||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],type:"5",defaultRemind:"请选择投保人证件有效期",display:1},{key:"idValidStartTime",name:"证件有效起期",defaultValue:e||r-10+s+a,attributeValues:[{max:r+s+a,conMax:1,min:c,conMin:1}],type:"7",defaultRemind:"请选择",display:1},{key:"idValidEndTime",name:"证件有效止期",defaultValue:n||r+10+s+a,attributeValues:[{max:r+50+s+a,conMax:1,min:r+s+a,conMin:1}],type:"7",defaultRemind:"请选择",display:1}]},getPicText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.certType,n=t.side,i=T.d;if(this.specialCertTypePicText&&Object(b.isObject)(this.specialCertTypePicText))for(var r in this.specialCertTypePicText)this.specialCertTypePicText.hasOwnProperty(r)&&(i[r]=c()({},i[r],this.specialCertTypePicText[r]));var o=i[e];if(o)return o[n];var s=T.c[e];return 1==~~n?22==~~e?s+"卡号面":31==+e?"护照首页":s+"正面":2==~~n?22==~~e?s+"非卡号面":31==+e?"护照签证页":s+"反面":void 0},resetFile:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.subModule,n=t.id,i=e.certPic.find(function(t){return t.id===n});if(this.hasSubmitInfo&&3!=~~i.state)return void this.showToast("已提交,不可删除更换");i.urls=[],i.stateText=""},chooseFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.subModule,i=e.id,r=this.appId||"",o=n.certPic.find(function(t){return t.id===i});if(this.hasSubmitInfo&&3!=~~o.state)return void this.showToast("已提交,不可再次上传");var a={buyId:this.buyId,taskId:this.taskId,upCertId:i,side:o.side,name:n.certName||""},u=c()(a,this.ext);h.a.ocr({sourceType:this.sourceType,appId:r,url:"/file/upCertPic",ext:u,beforeUpload:function(e){return t.showToast("上传中,请稍等...",0),s.a.resolve(e)},complete:function(){t.hideToast()}}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.ret,a=e.data,c=e.errmsg;if(0===Number(r)){var u=a||{},l=u.dataBase,f=u.localId,d=u.picurl,p=u.pic_id,h=u.idValidStartTime,v=u.idValidEndTime,m=u.idValidType,y=u.ocr_auth_id,x=u.ocr_result,_=u.go_submit,g=d||l||f;if(o.ocrAuthId=y,o.ocrResult=x,[1,2].includes(~~x)){o.urls=[{url:g,pic_id:p}];var b=T.c[n.certType];if(T.e[x]){var w=T.e[x][b]||T.e[x].default;o.stateText=w.text,o.stateIcon=w.status}o.canReUplaod=!t.hasSubmitInfo;var C=+_?"提交":"人工审核",j={1:b+"识别失败,请重新上传",2:b+"照片中的姓名/证件号与填写投保信息填写的信息不一致。请重新上传"};return 22==~~n.certType&&(j[2]="上传的"+b+"信息与投保信息填写的不一致,请重新上传"),void t.showDialog({dialogType:2,dialogData:[j[x],"请确认上传的照片边框完整,字体清晰,亮度均匀。若确认照片无误,您也可以选择【"+C+"】"],confirmbtnText:C,cancelbtnText:"重新上传",onConfirm:function(){t.ocrVerify(o.ocrAuthId,_).then(function(e){T.f[e.up_state]&&(o.stateText=T.f[e.up_state].text,o.stateIcon=T.f[e.up_state].status),o.state=e.up_state,o.canReUplaod=t.hasSubmitInfo?3==~~e.up_state:1!=~~e.up_state,t.showToast("已提交人工审核,预计在24小时内完成审核。请短信留意审核结果")}).catch(function(e){t.showToast(e)})},onCancel:function(){o.state=0,t.chooseFile({subModule:n,id:i})}})}if(o.state=4,o.canReUplaod=!t.hasSubmitInfo,o.stateText="",o.stateIcon="",o&&o.ext&&1===Number(o.ext.idTypeValidShow)&&2===Number(o.side)){(n.elements||[]).forEach(function(t){"idValidStartTime"===t.key&&(t.defaultValue=h),"idValidEndTime"===t.key&&(t.defaultValue=v,t.display=~~m),"idValidType"===t.key&&(t.defaultValue=m)})}if(S.includes(Number(n.certType)))return void o.urls.push({url:g,pic_id:p});o.urls=[{url:g,pic_id:p}]}else{if(!(t.showOcrFailDialog&&a&&a.detail_err&&a.detail_err.codes))return s.a.reject({errmsg:c});var I=a.detail_err.codes,P=a.detail_err.grayFlag;["id_valid_start_neq","id_valid_end_neq"].includes(I)?2===Number(P)?t.toOcrFail({code:I,certType:n.certType,name:n.certName||""}):t.dontMatchOcrCertIdvalidDate({id:i,curSubModulePic:o,errDetail:a.detail_err}):t.toOcrFail({code:I,certType:n.certType,name:n.certName||""})}}).catch(function(e){t.hideToast();var n=Object(b.getErrmsg)(e),i=e&&Object(b.isObject)(e)&&e.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:i?["系统异常,操作失败,请重试"]:[n],confirmbtnText:i?"我知道了":"重新上传",onConfirm:function(){i&&location.reload()}})})},ocrVerify:function(t,e){var n={ocr_auth_id:t};return e&&(n.is_submit=1),C()(this.ocrApplyVerifyUrl,n).then(function(t){var e=t.data;return 0==~~e.ret?s.a.resolve(e.data):s.a.reject(e.errmsg)}).catch(function(t){return s.a.reject(t)})},deleteFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.urls,i=e.index,r=e.id,o=e.picId;if(this.hasSubmitInfo)return void this.showToast("已提交不可删除");var a={buyId:this.buyId,taskId:this.taskId,upCertId:r,opType:1,picId:o};C()("/file/upCertPic",a).then(function(t){var e=t.data;if(0!=~~e.ret)return s.a.reject(e.errmsg);n.splice(i,1)}).catch(function(e){t.showToast(e)})},checkUpcert:function(){var t=this;return new s.a(function(e,n){if(t.hasSubmitInfo)return n("已提交,不可再次提交");for(var i={},r=0;r<t.module.length;r++)for(var o=t.module[r],s=o.certPic,a=0;a<s.length;a++){var c=s[a],u=[19,25].includes(Number(o.certType))&&c.ext.relationType&&1==~~c.ext.relationType.isOption;if(!(c.urls&&c.urls.length||u))return n("还有图片未上传");if(t.relateCertTypes.includes(+o.certType)&&c.ext&&c.ext.uploadMin&&(!c.urls||c.urls.length<+c.ext.uploadMin))return n(o.title.substring(3)+"最少上传张数为"+c.ext.uploadMin+",请补齐");if(3==~~c.state)return n("有图片人工审核不通过,请重新上传再提交");if(0==~~c.state)return n(1==~~c.ocrResult?"有图片ocr识别失败,请重新上传再提交":2==~~c.ocrResult?"有图片ocr比对失败,请重新上传再提交":"有图片还未上传成功,请重新上传再提交");if(2==~~c.side&&c.ext&&1==~~c.ext.idTypeValidShow){var l="",f="",d="",p=o.elements||[];p.forEach(function(t){"idValidType"===t.key&&(l=t.defaultValue),"idValidStartTime"===t.key&&(f=t.defaultValue),"idValidEndTime"===t.key&&(d=t.defaultValue)}),i[c.id]={idValidType:l,idValidStartTime:f,idValidEndTime:d}}}e(i)})},submitTaskUpcert:function(){var t=this;this.checkUpcert().then(function(e){t.$emit("completed",e)}).catch(function(e){t.showToast(e)})},cancel:function(){this.hide(),this.$emit("cancel")},changeValue:function(t){var e=t.elements,n=t.element,i=t.key,r=t.value;t.site;if(n.defaultValue=r,"idValidType"===i){var o=e.find(function(t){return"idValidEndTime"===t.key});o&&(o.display=Number(r))}},dontMatchOcrCertIdvalidDate:function(t){var e=this,n=t.id,i=t.errDetail,o=t.curSubModulePic,s=void 0,a=void 0,c=void 0,u=void 0;1===this.taskFlag?(s=2,a="取消",c="确认无误",u=["证件影像件的有效期与投保信息填写的不一致,请确认您的证件有效期是否如下,若非如下有效期,您也可以通过投保单的“修改信息”入口修改该证件的有效期。","证件有效期起期: "+i.ocr_idvalid_start_date,"证件有效期止期: "+i.ocr_idvalid_end_date]):(s=1,c="我知道了",u=["证件影像件的有效期与投保信息填写的不一致,因该单已完成核保,无法再修改投保信息中对应的证件有效期,请返回投保单取消投保单后重新投保。"]),o.urls=[{url:i.pic_url,pic_id:0}],o.state=0,o.canReUplaod=!this.hasSubmitInfo,o.stateText="证件有效期与投保信息填写不一致",o.stateIcon="fail",this.showDialog({dialogType:s,dialogData:u,confirmbtnText:c,cancelbtnText:a,onCancel:function(){},onConfirm:function(){1===e.taskFlag&&(e.showLoading(),C()("/offlineBuy/submitModifyValidDate",r()({buyId:e.buyId,taskId:e.taskId,upCertId:n,detail_err:i},e.ext)).then(function(t){var n=t.data;e.hideLoading(),0==~~n.ret?(o.urls=[{url:i.pic_url,pic_id:n.data.pic_id}],o.state=4,o.canReUplaod=!e.hasSubmitInfo,o.stateText="",o.stateIcon="",e.certDataChanged=!0):e.showToast(n.errmsg)}).catch(function(t){e.hideLoading(),e.showToast(t)}))}})},toOcrFail:function(t){var e=this,n=t.code,i=t.certType,r=t.name,o=[],s="",a="重新上传";"ocr_fail"===n?(s=""+r+T.c[i]+"识别失败,请重新上传",o=['<p style="text-align:center;">'+T.c[i]+"识别失败,请重新上传</p>","请按要求上传证件,并确保上传的证件边框完整、字迹清晰、亮度均匀。","若确认照片无误,您也可以选择咨询客服"]):["name_neq","id_neq"].includes(n)?(s=""+r+T.c[i]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。",o=[T.c[i]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。","若确认照片无误,您也可以选择咨询客服。"]):["id_valid_start_neq","id_valid_end_neq"].includes(n)?(a=this.idValidFailConfirmText,s=""+r+T.c[i]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。",o=[T.c[i]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。"]):["sex_neq","birth_neq"].includes(n)&&(a="去修改",s=""+r+T.c[i]+"照片中的性别或出生日期与填写投保信息填写的不一致,请前往修改投保信息。",o=[T.c[i]+"照片中的性别或出生日期与填写投保信息填写的不一致,请前往修改投保信息。"]),this.showDialog({dialogType:2,dialogData:o,confirmbtnText:a,cancelbtnText:"咨询客服",onCancel:function(){window.XYSConsultV3&&window.XYSConsultV3.genConsultUrl({scene:"ocr",businessParam:{productTitle:"",errorWriting:s,tpl:"ocrfailed"}}).then(function(t){location.href=t})},onConfirm:function(){"去修改"===a&&e.$emit("amlOcrFailToModify")}})},showDialog:function(t){var e=t.dialogType,n=void 0===e?1:e,i=t.dialogTitle,r=void 0===i?"":i,o=t.dialogData,s=t.cancelbtnText,a=void 0===s?"取消":s,c=t.confirmbtnText,u=void 0===c?"确定":c,l=t.onConfirm,f=void 0===l?function(){}:l,d=t.onCancel,p=void 0===d?function(){}:d,h=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:r,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(n),cancelButtonText:a,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){h&&h.remove(),f()},onCancel:function(){h&&h.remove(),p()}});h.show()},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},showLoading:function(){this.isLoadingShow=!0},hideLoading:function(){this.isLoadingShow=!1},error:function(t){this.$emit("error",t)},preview:function(t){var e=t.list,n=t.index;this.imagePreview?this.imagePreview.setData(e,n):this.imagePreview=this.$createImagePreview({images:e,start:n,zIndex:this.zIndex}),this.imagePreview.show()},previewExample:function(t,e){var n=t.map(function(t){return{url:t}});this.preview({list:n,index:e})},showExampleLayer:function(t){this.curExample=t,this.$refs.exampleLayer.show()},hideExampleLayer:function(){this.$refs.exampleLayer.hide(),this.curExample={}},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},beforeDestroy:function(){this.resetBodyOverflow()}},watch:{isVisible:function(t){t?this.certDataChanged=!1:this.resetBodyOverflow()}}}},1232:function(t,e,n){"use strict";var i=n(857),r=n.n(i);e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},zIndex:{type:Number,default:100}},components:{ActGoldElement:r.a},methods:{preview:function(t){var e={list:[{url:t}],index:0};this.$emit("preview",e)},chooseFile:function(t){this.$emit("chooseFile",{subModule:this.photoInfo,id:t.id})},deleteFile:function(t){this.$emit("deleteFile",{subModule:this.photoInfo,id:t.id})},changeValue:function(t,e){var n=e.key,i=e.value,r=e.site,o={elements:this.photoInfo.elements,element:t,key:n,value:i,site:r};this.$emit("changeValue",o)}}}},1233:function(t,e){t.exports=u},1234:function(t,e,n){"use strict";e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},hasSubmit:{type:Boolean,default:!1}},computed:{picsUrl:function(){return this.photoInfo.certPic[0].urls},ext:function(){return this.photoInfo.certPic[0].ext||{}},canUpload:function(){var t=this.ext.relationType&&Number(this.ext.relationType.uploadMax)||this.ext.uploadMax;return!t||t>this.picsUrl.length},desc:function(){var t=this.ext.desc||this.ext.relationType&&this.ext.relationType.desc,e=[19,25,32].includes(+this.photoInfo.certType)?["1、出生证明;","2、居民户口簿索引页,若没有户口簿索引页,则传户口簿户主页、投保人本人页、被保险人本人页;","3、居委会、村委会、派出所开具的关系证明。"]:[];return t&&"string"==typeof t&&(t=[t]),t||e},title:function(){return this.ext.relationType&&this.ext.relationType.title||this.photoInfo.title||"关系证明"},examples:function(){return this.ext.examples||null}},methods:{preview:function(t){var e=this.picsUrl.map(function(t){return{url:t.url}}),n={list:e,index:t};this.$emit("preview",n)},chooseFile:function(){var t={subModule:this.photoInfo,id:this.photoInfo.certPic[0].id};this.$emit("chooseFile",t)},deleteFile:function(t,e){var n={urls:this.photoInfo.certPic[0].urls||[],index:t,picId:e,id:this.photoInfo.certPic[0].id};this.$emit("deleteFile",n)},showExampleLayer:function(){this.$emit("showExampleLayer",this.examples)}}}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},148:function(t,e){t.exports=o},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},17:function(t,e,n){var i=n(20);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var i=n(27)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},201:function(t,e){t.exports=s},21:function(t,e,n){var i=n(6),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},2156:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(22),r=n.n(i),o=n(2157);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldCert=r()(o.a,t)},e.default=o.a},2157:function(t,e,n){"use strict";function i(t){a||n(2158)}var r=n(1231),o=n(2168),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-14ac88b2",null);u.options.__file="src\\components\\GoldCert\\src\\index.vue",e.a=u.exports},2158:function(t,e){},2159:function(t,e,n){"use strict";function i(t){a||n(2160)}var r=n(1232),o=n(2161),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-1242ee12",null);u.options.__file="src\\components\\GoldCert\\src\\photo.vue",e.a=u.exports},2160:function(t,e){},2161:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[i("div",{staticClass:"title"},[i("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.photoInfo.title||"")+"\n ")]),t._v(" "),i("div",{staticClass:"line"})]),t._v(" "),22==~~t.photoInfo.certType?i("div",{staticClass:"bank_intro"},[i("p",{staticClass:"bank_num"},[t._v("\n 银行卡号:"+t._s(t.photoInfo.certNum)+"\n ")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),i("div",{staticClass:"photo"},t._l(t.photoInfo.certPic,function(e,r){return i("div",{key:r,staticClass:"photo_item"},[i("div",{staticClass:"photo_img_wrap",class:{id_human:0==~~t.photoInfo.certType&&1==~~e.side,id_emblem:0==~~t.photoInfo.certType&&2==~~e.side},on:{click:function(n){return t.chooseFile(e)}}},[e.urls&&e.urls.length?i("div",{staticClass:"photo_img_body",on:{click:function(n){return n.stopPropagation(),t.preview(e.urls[0].url)}}},[i("img",{staticClass:"photo_img",attrs:{src:e.urls[0].url,alt:""}})]):[i("img",{staticClass:"photo_icon",attrs:{src:n(1233),alt:""}}),t._v(" "),i("span",{staticClass:"photo_text"},[t._v("\n "+t._s(e.text)+"\n ")])],t._v(" "),e.canReUplaod&&e.urls&&e.urls.length?i("div",{staticClass:"repeat_upload",on:{click:function(n){return n.stopPropagation(),t.deleteFile(e)}}},[i("img",{attrs:{src:n(2162),alt:""}})]):t._e()],2),t._v(" "),e.stateText?i("div",{staticClass:"photo_status"},[i("i",{staticClass:"photo_status_icon",class:e.stateIcon}),t._v(" "),i("span",{staticClass:"photo_status_text"},[t._v(t._s(e.stateText))])]):t._e()])}),0),t._v(" "),t.photoInfo.elements&&t.photoInfo.elements.length?t._l(t.photoInfo.elements,function(e,n){return i("act-gold-element",{key:n,attrs:{element:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{change:function(n){for(var i=arguments.length,r=Array(i);i--;)r[i]=arguments[i];return t.changeValue.apply(void 0,[e].concat(r))}}})}):t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tips"},[n("i",{staticClass:"tips_icon"}),t._v(" "),n("span",{staticClass:"tips_text"},[t._v("\n 请核对银行卡号与上传银行卡影像是否一致\n ")])])}];i._withStripped=!0},2162:function(t,e){t.exports=l},2163:function(t,e,n){"use strict";function i(t){a||n(2164)}var r=n(1234),o=n(2165),s=n(7),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-8ae90600",null);u.options.__file="src\\components\\GoldCert\\src\\relateVerifyPhoto.vue",e.a=u.exports},2164:function(t,e){},2165:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[i("div",{staticClass:"title"},[i("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.examples?i("div",{staticClass:"example-btn",on:{click:t.showExampleLayer}},[i("div",{staticClass:"text",style:{color:t.brandColor}},[t._v("示例")]),t._v(" "),i("img",{attrs:{src:n(2166)}})]):t._e()]),t._v(" "),i("div",{staticClass:"intro"},t._l(t.desc,function(e,n){return i("div",{key:n},[i("div",{staticStyle:{"white-space":"pre-line"},domProps:{innerHTML:t._s(e)}})])}),0),t._v(" "),i("div",{staticClass:"photo"},[t.canUpload?i("div",{staticClass:"photo_img photo_upload",on:{click:t.chooseFile}},[i("img",{staticClass:"photo_icon",attrs:{src:n(1233)}})]):t._e(),t._v(" "),t._l(t.picsUrl,function(e,n){return i("div",{key:n,staticClass:"photo_img",on:{click:function(e){return e.stopPropagation(),t.preview(n)}}},[i("img",{attrs:{src:e.url}}),t._v(" "),t.hasSubmit?t._e():i("div",{staticClass:"delete",on:{click:function(i){return i.stopPropagation(),t.deleteFile(n,e.pic_id)}}},[t._v("\n 删除\n ")])])})],2)])},r=[];i._withStripped=!0},2166:function(t,e){t.exports=f},2167:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"d",function(){return s}),n.d(e,"f",function(){return a}),n.d(e,"e",function(){return c});var i={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",18:"港澳台居民居住证",19:"投保人与被保险人关系证明",20:"外国人永久居留身份证",21:"半身照",22:"银行卡",23:"港澳居民来往内地通行证",24:"台湾居民来往内地通行证",25:"被保险人与受益人关系证明",26:"人身保险投保提示书",27:"销售人员投保问卷",28:"保单信息页",29:"保险计划页",30:"核保结论页",31:"非中国大陆护照",32:"监护人与被保险人关系证明",33:"签字动作照片"},r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,18,20,23,24,31,14,15,16,17,19,32,25,21,22,33,27,26,28,29,30],o={1:"投保人",2:"被保险人",3:"受益人",4:"代理人",5:"监护人",6:"付款人",7:"机主"},s={0:{1:"身份证人像面",2:"身份证国徽面"},6:{1:"本人页",2:"户主页",3:"户口本首页"}},a={1:{text:"人工审核中,预计最快1小时内完成,可联系客服/投保顾问加急",status:"process"},2:{text:"人工审核通过",status:"success"},3:{text:"人工审核不通过",status:"fail"}},c={1:{default:{text:"OCR识别失败,请重新上传",status:"fail"}},2:{22:{text:"上传的银行卡信息与投保信息填写的不一致,请重新上传",status:"fail"},default:{text:"识别出的姓名/身份证号与填写的投保信息不一致,请重新上传",status:"fail"}}}},2168:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-cert",style:{"z-index":t.zIndex},on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"act-cert-body"},[t.preShowMessage?n("div",{staticClass:"act-cert-title"},[t._v(t._s(t.preShowMessage))]):t._e(),t._v(" "),t._l(t.module,function(e,i){return[t.relateCertTypes.includes(~~e.certType)?n("relateVerifyPhoto",{key:e.id,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,hasSubmit:t.hasSubmitInfo},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.deleteFile,changeValue:t.changeValue,showExampleLayer:t.showExampleLayer}}):n("photo",{key:i,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.resetFile,changeValue:t.changeValue}})]})],2),t._v(" "),n("div",{staticClass:"act-cert-footer iphonex_padding"},[n("div",{staticClass:"btns"},[n("div",{staticClass:"back",on:{click:t.cancel}},[t._v("\n 返回\n ")]),t._v(" "),n("div",{staticClass:"submit",class:{disable:!t.canSubmit},style:{background:this.brandColor?this.brandColor:"linear-gradient(270deg, #F05A4B 0%, #FC7468 100%)"},on:{click:t.submitTaskUpcert}},[t._v("\n 立即上传\n ")])])]),t._v(" "),n("act-gold-layer",{ref:"exampleLayer",attrs:{visible:t.exampleVisible,title:t.curExample.title,center:!1,zIndex:101},on:{close:t.hideExampleLayer}},[n("div",{staticClass:"example-box"},[t.curExample.imagList?n("div",{staticClass:"example-content"},t._l(t.curExample.imagList,function(e,i){return n("div",{key:i,staticClass:"example-list"},[n("p",[t._v(t._s(e.title))]),t._v(" "),n("div",{staticClass:"photos"},t._l(e.imags,function(i,r){return n("div",{key:r,staticClass:"photo_img",style:{background:"no-repeat url("+i+") #f5f5f5 center/contain"},on:{click:function(){return t.previewExample(e.imags,r)}}})}),0)])}),0):t._e()])]),t._v(" "),n("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isLoadingShow,expression:"isLoadingShow"}],attrs:{mask:!0,center:!0,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()}}},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:t.isLoadingShow,expression:"isLoadingShow"}],attrs:{type:"cir2",color:t.brandColor}})],1)],1)])},r=[];i._withStripped=!0},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},25:function(t,e,n){var i=n(9).f,r=n(8),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var i=n(41),r=n(28);t.exports=Object.keys||function(t){return i(t,r)}},27:function(t,e,n){var i=n(2),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var i=n(15);t.exports=function(t){return Object(i(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},32:function(t,e,n){var i=n(16),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},35:function(t,n){t.exports=e},36:function(t,e,n){"use strict";var i=n(18),r=n(10),o=n(52),s=n(5),a=n(11),c=n(56),u=n(25),l=n(58),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,m,y){c(n,e,h);var x,_,g,b=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w="values"==v,C=!1,S=t.prototype,j=S[f]||S["@@iterator"]||v&&S[v],I=j||b(v),P=v?w?b("entries"):I:void 0,O="Array"==e?S.entries||j:j;if(O&&(g=l(O.call(new t)))!==Object.prototype&&g.next&&(u(g,T,!0),i||"function"==typeof g[f]||s(g,f,p)),w&&j&&"values"!==j.name&&(C=!0,I=function(){return j.call(this)}),i&&!y||!d&&!C&&S[f]||s(S,f,I),a[e]=I,a[T]=p,v)if(x={values:w?I:b("values"),keys:m?I:b("keys"),entries:P},y)for(_ in x)_ in S||o(S,_,x[_]);else r(r.P+r.F*(d||C),e,x);return x}},38:function(t,e){t.exports=n},39:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},4:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},41:function(t,e,n){var i=n(8),r=n(12),o=n(45)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,u=[];for(n in a)n!=s&&i(a,n)&&u.push(n);for(;e.length>c;)i(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},42:function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},43:function(t,e,n){var i=n(14),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},44:function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=r(e),this.reject=r(n)}var r=n(20);t.exports.f=function(t){return new i(t)}},45:function(t,e,n){var i=n(12),r=n(32),o=n(46);t.exports=function(t){return function(e,n,s){var a,c=i(e),u=r(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},46:function(t,e,n){var i=n(16),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},48:function(t,e,n){"use strict";var i=n(55)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},49:function(t,e){e.f={}.propertyIsEnumerable},5:function(t,e,n){var i=n(9),r=n(23);t.exports=n(3)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var i=n(4),r=n(57),o=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),i=o.length;for(e.style.display="none",n(42).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:r(n,e)}},51:function(t,e,n){n(60);for(var i=n(0),r=n(5),o=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=i[u],f=l&&l.prototype;f&&!f[s]&&r(f,s,u),o[u]=o.Array}},52:function(t,e,n){t.exports=n(5)},53:function(t,e,n){var i=n(43),r=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},54:function(t,e){e.f=Object.getOwnPropertySymbols},55:function(t,e,n){var i=n(16),r=n(15);t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},56:function(t,e,n){"use strict";var i=n(50),r=n(23),o=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},560:function(t,e){t.exports=a},57:function(t,e,n){var i=n(9),r=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,c=0;a>c;)i.f(t,n=s[c++],e[n]);return t}},58:function(t,e,n){var i=n(8),r=n(29),o=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},59:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){"use strict";var i=n(61),r=n(59),o=n(11),s=n(12);t.exports=n(36)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},61:function(t,e){t.exports=function(){}},62:function(t,e,n){var i=n(4),r=n(20),o=n(1)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},63:function(t,e,n){var i,r,o,s=n(17),a=n(92),c=n(42),u=n(21),l=n(0),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,y={},x=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){x.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},p=function(t){delete y[t]},"process"==n(14)(f)?i=function(t){f.nextTick(s(x,t,1))}:v&&v.now?i=function(t){v.now(s(x,t,1))}:h?(r=new h,o=r.port2,r.port1.onmessage=_,i=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):i="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),x.call(t)}}:function(t){setTimeout(s(x,t,1),0)}),t.exports={set:d,clear:p}},64:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},65:function(t,e,n){var i=n(4),r=n(6),o=n(44);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},66:function(t,e,n){t.exports={default:n(72),__esModule:!0}},68:function(t,e,n){t.exports={default:n(90),__esModule:!0}},7:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId=o);var l;if(s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=i},71:function(t,e){},72:function(t,e,n){n(73),t.exports=n(2).Object.assign},73:function(t,e,n){var i=n(10);i(i.S+i.F,"Object",{assign:n(74)})},74:function(t,e,n){"use strict";var i=n(3),r=n(26),o=n(54),s=n(49),a=n(29),c=n(31),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=o.f,d=s.f;u>l;)for(var p,h=c(arguments[l++]),v=f?r(h).concat(f(h)):r(h),m=v.length,y=0;m>y;)p=v[y++],i&&!d.call(h,p)||(n[p]=h[p]);return n}:u},76:function(t,e,n){var i=n(4);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},77:function(t,e,n){var i=n(11),r=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},79:function(t,e,n){var i=n(17),r=n(76),o=n(77),s=n(4),a=n(32),c=n(53),u={},l={},e=t.exports=function(t,e,n,f,d){var p,h,v,m,y=d?function(){return t}:c(t),x=i(n,f,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=a(t.length);p>_;_++)if((m=e?x(s(h=t[_])[0],h[1]):x(t[_]))===u||m===l)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=r(v,x,h.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},81:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},82:function(t,e,n){var i=n(5);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},83:function(t,e,n){"use strict";var i=n(0),r=n(2),o=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},84:function(t,e,n){"use strict";e.__esModule=!0;var i=n(66),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},857:function(t,e){t.exports=c},9:function(t,e,n){var i=n(4),r=n(40),o=n(39),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){n(71),n(48),n(51),n(91),n(95),n(96),t.exports=n(2).Promise},91:function(t,e,n){"use strict";var i,r,o,s,a=n(18),c=n(0),u=n(17),l=n(43),f=n(10),d=n(6),p=n(20),h=n(81),v=n(79),m=n(62),y=n(63).set,x=n(93)(),_=n(44),g=n(64),b=n(94),T=n(65),w=c.TypeError,C=c.process,S=C&&C.versions,j=S&&S.v8||"",I=c.Promise,P="process"==l(C),O=function(){},k=r=_.f,V=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==j.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;x(function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=r?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(r||(2==t._h&&D(t),t._h=1),!0===a?n=i:(l&&l.enter(),n=a(i),l&&(l.exit(),s=!0)),n===e.promise?u(w("Promise-chain cycle")):(o=E(n))?o.call(n,c,u):c(n)):u(i)}catch(t){l&&!s&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){y.call(c,function(){var e,n,i,r=t._v,o=M(t);if(o&&(e=g(function(){P?C.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=P||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){y.call(c,function(){var e;P?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=E(t))?x(function(){var i={_w:n,_d:!1};try{e.call(t,u(N,i,1),u(A,i,1))}catch(t){A.call(i,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};V||(I=function(t){h(this,I,"Promise","_h"),p(t),i.call(this);try{t(u(N,this,1),u(A,this,1))}catch(t){A.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(82)(I.prototype,{then:function(t,e){var n=k(m(this,I));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=u(N,t,1),this.reject=u(A,t,1)},_.f=k=function(t){return t===I||t===s?new o(t):r(t)}),f(f.G+f.W+f.F*!V,{Promise:I}),n(25)(I,"Promise"),n(83)("Promise"),s=n(2).Promise,f(f.S+f.F*!V,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!V),"Promise",{resolve:function(t){return T(a&&this===s?I:this,t)}}),f(f.S+f.F*!(V&&n(80)(function(t){I.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=k(e),i=n.resolve,r=n.reject,o=g(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=k(e),i=n.reject,r=g(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},92:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},93:function(t,e,n){var i=n(0),r=n(63).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var i,r;for(c&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){r.call(i,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},94:function(t,e,n){var i=n(0),r=i.navigator;t.exports=r&&r.userAgent||""},95:function(t,e,n){"use strict";var i=n(10),r=n(2),o=n(0),s=n(62),a=n(65);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},96:function(t,e,n){"use strict";var i=n(10),r=n(44),o=n(64);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},98:function(t,e){t.exports=i}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/GoldDialog/index.js"),require("@xysfe/actui/es/Toast/index.js"),require("@xysfe/actui/es/DocPop/index.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js"),require("@xysfe/actui/es/GoldDocLayer/index.js"),require("@xysfe/actui/es/assets/img/qa.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/GoldDialog/index.js","@xysfe/actui/es/Toast/index.js","@xysfe/actui/es/DocPop/index.js","@xysfe/actui/es/assets/common/scrollZoom/index.js","@xysfe/actui/es/GoldDocLayer/index.js","@xysfe/actui/es/assets/img/qa.png"],e):"object"==typeof exports?exports.GoldInsureNotice=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/GoldDialog/index.js"),require("@xysfe/actui/es/Toast/index.js"),require("@xysfe/actui/es/DocPop/index.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js"),require("@xysfe/actui/es/GoldDocLayer/index.js"),require("@xysfe/actui/es/assets/img/qa.png")):t.GoldInsureNotice=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/GoldDialog/index.js"],t["@xysfe/actui/es/Toast/index.js"],t["@xysfe/actui/es/DocPop/index.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"],t["@xysfe/actui/es/GoldDocLayer/index.js"],t["@xysfe/actui/es/assets/img/qa.png"])}("undefined"!=typeof self?self:this,function(t,e,i,n,s,o,r,a,c,l){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1660)}({103:function(t,e,i){t.exports={default:i(107),__esModule:!0}},107:function(t,e,i){var n=i(2),s=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},1106:function(t,e,i){"use strict";var n=i(103),s=i.n(n),o=i(805),r=i.n(o),a=i(1663),c=i(1672),l=i(38),h=(i.n(l),i(22)),u=i.n(h),d=i(557),f=i.n(d),p=i(558),m=i.n(p),v={file:1,health:2,img:3,healthNotice:4};e.a={name:"ActGoldInsureNotice",components:{ActGoldDialog:f.a,Toast:m.a},data:function(){return{noticeTitle:"健康告知",offlineTips:""}},props:{text:{type:String,default:"更多请查看"},groupId:{type:[Number,String],default:""},productId:{type:[Number,String],default:""},docInfo:{type:Object,default:function(){return{}}},health:{type:Object,default:function(){return null}},denyCarrers:{type:[Array,Object],default:function(){return null}},policy:{type:[String,Object],default:""},textColor:{type:String,default:"#666"},textFontSize:{type:[Number,String],default:13},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},healthFiles:{type:Object,default:function(){return{}}},noticesData:{type:Object,default:null},premiumData:{type:Array,default:function(){return null}},premiumTitle:{type:String,default:function(){return"费率表"}},showOther:{type:Boolean,default:!1},isMobileModel:{type:Boolean,default:!1}},computed:{docFile:function(){var t=this;if(!this.docInfo)return{terms:[],inform:[],otherdocs:[]};var e=JSON.parse(s()(this.docInfo));return e.needknow&&e.needknow.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=needknow&index="+i+"#/detail")}),e.terms&&e.terms.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=term&index="+i+"#/detail")}),e.inform&&e.inform.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=inform&index="+i+"#/detail")}),e.otherdocs&&this.showOther&&e.otherdocs.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=otherdocs&index="+i+"#/detail")}),e},formatPremiumData:function(){var t=this;return this.premiumData?(this.premiumData.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=premium&index="+i+"#/detail")}),this.premiumData):null},termsAndInform:function(){return this.docFile.terms.concat(this.docFile.inform)},denyCarrerList:function(){return this.getDenyCarrerList(this.denyCarrers)},healthTitle:function(){var t="";return this.health&&(this.health.title?t=this.health.title:this.health.noticeType>0?t=2===Number(this.health.noticeType)?this.denyCarrerList.length?"旅游及职业告知":"旅游告知":this.denyCarrerList.length?"健康及职业告知":"健康告知":this.denyCarrerList.length&&(t=2===Number(this.health.noticeType)?"旅游告知":"职业工种告知")),t},noticeFiles:function(){var t=[];if(this.docFile&&(this.docFile.needknow&&this.docFile.needknow.length&&t.push({title:"更多投保须知",track:"detail_noticemore",type:v.file,data:this.docFile.needknow}),(this.docFile.inform&&this.docFile.inform.length||this.docFile.terms&&this.docFile.terms.length)&&t.push({title:"保险条款及告知",track:"detail_term",type:v.file,data:this.termsAndInform}),this.docFile.otherdocs&&this.docFile.otherdocs.length&&this.showOther&&this.docFile.otherdocs.forEach(function(e,i){t.push({title:e.title,track:"detail_others",type:v.file,data:[e]})})),this.health&&((this.health.list&&this.health.list.length)>0||this.denyCarrerList&&this.denyCarrerList.length>0||this.health.tourism)&&t.push({title:this.healthTitle,track:"detail_health",type:v.health}),this.isShowNotice&&t.push({title:this.noticesData.noticesEndpointTitle||"健康告知",track:"detail_health",type:v.healthNotice}),this.policy){var e=[],i=this.policy.url;i&&("string"==typeof i&&(e=[i]),Array.isArray(i)&&(e=i)),t.push({title:this.policy.desc||"电子保单样本",track:"detail_epolicy",type:v.file,data:[{type:this.policy.type||2,urls:e}]})}return this.formatPremiumData&&t.push({title:this.premiumTitle,track:"detail_fee",type:v.file,data:this.formatPremiumData}),t},fontSize:function(){return Object(l.formatFontSize)(this.textFontSize)},openInWindow:function(){return!this.isMobileModel&&(!l.ua.isMobile&&!l.ua.isWx)},isShowNotice:function(){return!!(this.noticesData&&this.noticesData.notices&&1===this.noticesData.notices.length&&this.noticesData.notices[0].health&&1===this.noticesData.notices[0].health.length)}},methods:{onClick:function(t){var e=this;t.type===v.file?(this.docPop&&this.docPop.remove(),this.docPop=this.createDocPop({title:t.title,docData:t.data,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show()):t.type===v.img?(this.imagePieview?this.imagePieview.setData([t.data],0):this.imagePieview=this.$createImagePreview({images:[t.data],zoom:!0,zIndex:this.zIndex,opacity:1}),this.imagePieview.show()):t.type===v.health?(this.healthPop&&this.healthPop.remove(),this.healthPop=this.createHealthComponent({title:this.healthTitle,health:this.health,healthFiles:this.healthFiles,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show()):t.type===v.healthNotice&&(this.healthNoticePop&&this.healthNoticePop.remove(),this.healthNoticePop=this.createHealthNoticeComponent({title:this.noticeTitle,noticesData:this.noticesData,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex,onViewOfflineTips:function(t){e.offlineTips=t,e.$refs.tipsDialog.show()},onHandleToast:function(){e.$refs.offlineToast.show("无法操作")}}).show())},getDenyCarrerList:function(t){var e=[];if(!Object(l.isObject)(t))return e;var i=[],n=[],s={},o={};for(var r in t)for(var a in t[r])s[t[r][a].c1]?s[t[r][a].c1].push(t[r][a].c3):(s[t[r][a].c1]=[t[r][a].c3],i.push(t[r][a].c1)),o[t[r][a].c2]?o[t[r][a].c2].push(t[r][a].c3):(o[t[r][a].c2]=[t[r][a].c3],n.push(t[r][a].c2));var c=void 0,h=void 0;n.length<25?(c=n,h=o):(c=i,h=s);for(var u=void 0,d=c.length-1,f=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<f;p++)u={list:[],tipsList:[]},3*p<=d&&(u.list.push({content:c[3*p],index:3*p}),u.tipsList.push({content:h[c[3*p]].join(","),index:3*p})),3*p+1<=d?(u.list.push({content:c[3*p+1],index:3*p+1}),u.tipsList.push({content:h[c[3*p+1]].join(","),index:3*p+1})):u.list.push({}),3*p+2<=d?(u.list.push({content:c[3*p+2],index:3*p+2}),u.tipsList.push({content:h[c[3*p+2]].join(","),index:3*p+2})):u.list.push({}),e.push(u);return e}},created:function(){this.createDocPop=u()(r.a,this.constructor),this.createHealthComponent=u()(a.a,this.constructor),this.createHealthNoticeComponent=u()(c.a,this.constructor)}}},1107:function(t,e,i){"use strict";var n=i(1108),s=i.n(n),o=i(1109),r=i(1111),a=i(1113),c=i(35),l=i.n(c),h=i(806),u=i.n(h),d=i(38),f=(i.n(d),i(111)),p=i.n(f);e.a={name:"Health",mixins:[l.a],data:function(){return{activeIndex:0,showHealthFile:!1,healthFile:null,termsInfo:null}},props:{title:{type:String,default:""},health:{type:Object,default:function(){return null}},denyCarrerList:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},healthFiles:{type:Object,default:function(){return{}}}},computed:{hasHealth:function(){return this.health&&this.health.list&&this.health.list.length>0},layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],i={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(i),this.termsInfo=e},openUrl:function(t){d.ua.isMobile||d.ua.isWx?location.href=t:window.open(t,"_blank")}},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)}},components:{ActGoldDocLayer:s.a,HealthTips:o.a,HealthContent:r.a,DenyCarrer:a.a,ActScrollZoom:u.a,scroll:p.a}}},1108:function(t,e){t.exports=c},1109:function(t,e,i){"use strict";function n(t){a||i(1665)}var s=i(1110),o=i(1666),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-88e4dba8",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\tips.vue",e.a=l.exports},111:function(t,e){t.exports=n},1110:function(t,e,i){"use strict";e.a={props:{item:{type:Object,default:function(){return{}}}},computed:{humanCheckState:function(){var t=Number(this.item.human_check_type);return!isNaN(t)&&0!==t},autoCheckState:function(){var t=Number(this.item.auto_check_type);return!isNaN(t)&&0!==t}}}},1111:function(t,e,i){"use strict";function n(t){a||i(1667)}var s=i(1112),o=i(1668),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-2550ecb5",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\content.vue",e.a=l.exports},1112:function(t,e,i){"use strict";e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;document.querySelectorAll(".act-health-cntt a").forEach(function(e){e.addEventListener("click",function(){var i=e.getAttribute("data-id");if(!i)return!1;t.$emit("openHealthFile",i)})})}}},1113:function(t,e,i){"use strict";function n(t){a||i(1669)}var s=i(1114),o=i(1670),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-2467bbeb",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\denyCarrer.vue",e.a=l.exports},1114:function(t,e,i){"use strict";e.a={data:function(){return{tipsLine:-1,tipsIndex:-1}},props:{denyCarrerList:{type:Array,default:function(){return[]}}},methods:{isSelected:function(t,e){return t===this.tipsLine&&e===this.tipsIndex},onClick:function(t,e){this.tipsLine===t&&this.tipsIndex===e||(this.tipsLine=t,this.tipsIndex=e,this.$emit("select",{line:t,index:e}))}}}},1115:function(t,e,i){"use strict";var n=i(1108),s=i.n(n),o=i(35),r=i.n(o),a=i(111),c=i.n(a),l=i(1111),h=i(1109),u=i(1113),d=i(1674),f=i(38),p=(i.n(f),i(806)),m=i.n(p);e.a={name:"HealthNotice",mixins:[r.a],props:{title:{type:String,default:""},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},noticesData:{type:Object,default:null}},data:function(){return{activeIndex:0,showHealthFile:!1,termsInfo:null,headerActiveIndex:0,notice_mode:0,health:null,denyCarrerList:null,tourism:null,appNotice:{health:"",tourism:"",denyCarrerList:""},insuranceNotice:{health:"",tourism:"",denyCarrerList:""},healthFiles:null,healthFile:null,noticeHeaderOptions:[{belong:1,text:"投保人健康告知"},{belong:1,text:"被保险人健康告知"}]}},computed:{layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},selHeader:function(t){0===t&&(this.health=this.appNotice.health,this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList),1===t&&(this.health=this.insuranceNotice.health,this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList),this.headerActiveIndex=t,this.activeIndex=0,this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],i={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(i),this.termsInfo=e},openUrl:function(t){f.ua.isMobile||f.ua.isWx?location.href=t:window.open(t,"_blank")},getDenyCarrerList:function(t){var e=[];if(!Object(f.isObject)(t))return e;var i=[],n=[],s={},o={};for(var r in t)for(var a in t[r])s[t[r][a].c1]?s[t[r][a].c1].push(t[r][a].c3):(s[t[r][a].c1]=[t[r][a].c3],i.push(t[r][a].c1)),o[t[r][a].c2]?o[t[r][a].c2].push(t[r][a].c3):(o[t[r][a].c2]=[t[r][a].c3],n.push(t[r][a].c2));var c=void 0,l=void 0;n.length<25?(c=n,l=o):(c=i,l=s);for(var h=void 0,u=c.length-1,d=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<d;p++)h={list:[],tipsList:[]},3*p<=u&&(h.list.push({content:c[3*p],index:3*p}),h.tipsList.push({content:l[c[3*p]].join(","),index:3*p})),3*p+1<=u?(h.list.push({content:c[3*p+1],index:3*p+1}),h.tipsList.push({content:l[c[3*p+1]].join(","),index:3*p+1})):h.list.push({}),3*p+2<=u?(h.list.push({content:c[3*p+2],index:3*p+2}),h.tipsList.push({content:l[c[3*p+2]].join(","),index:3*p+2})):h.list.push({}),e.push(h);return e},viewOfflineTips:function(t){this.$emit("viewOfflineTips",t)}},components:{ActGoldDocLayer:s.a,HealthContent:l.a,HealthTips:h.a,DenyCarrer:u.a,ActScrollZoom:m.a,scroll:c.a,offlineHealth:d.a},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)},noticesData:{handler:function(t){if(t&&Object(f.isObject)(t.noticeFiles)&&(this.healthFiles=t.noticeFiles),t&&1==+t.notice_mode){if(this.notice_mode=+t.notice_mode,t.notices.length&&t.notices[0].health.length){var e=t.notices[0].health,i={list:[]};e.forEach(function(e){var n={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:!1};i.list.push(n)}),this.health=i}this.tourism=Object(f.isObject)(t.notices[0].tourism)&&t.notices[0].tourism.content,this.denyCarrerList=Object(f.isObject)(t.notices[0].careersDenied)&&this.getDenyCarrerList(t.notices[0].careersDenied.content)||[]}if(t&&(2==+t.notice_mode||3==+t.notice_mode)&&(this.notice_mode=+t.notice_mode,t.notices.length)){var n=t.notices.find(function(t){return 1==+t.entity_belong}),s=t.notices.find(function(t){return 2==+t.entity_belong});if(n){if(n.health.length){var o={list:[]};n.health.forEach(function(e){var i={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};o.list.push(i)}),this.appNotice.health=o,s&&(this.health=o)}this.appNotice.tourism=Object(f.isObject)(n.tourism)&&n.tourism.content,this.appNotice.denyCarrerList=Object(f.isObject)(n.careersDenied)&&this.getDenyCarrerList(n.careersDenied.content)||[],this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList}if(s){if(s.health.length){var r={list:[]};s.health.forEach(function(e){var i={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};r.list.push(i)}),this.insuranceNotice.health=r,n||(this.health=r)}this.insuranceNotice.tourism=Object(f.isObject)(s.tourism)&&s.tourism.content,this.insuranceNotice.denyCarrerList=Object(f.isObject)(s.careersDenied)&&this.getDenyCarrerList(s.careersDenied.content)||[],n||(this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList)}}},immediate:!0}}}},1116:function(t,e,i){"use strict";var n=i(38);i.n(n);e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}},brandColor:{type:String,default:"#8c7fee"}},data:function(){return{tips:""}},computed:{bgColor:function(){return"linear-gradient(90deg, "+this.genRgba(this.brandColor,.4)+" 0%, "+this.genRgba(this.brandColor,.8)+" 100%);"}},methods:{genRgba:function(t,e){var i=Object(n.hexToRgb)(t||"#8c7fee",e||.1);return function(t){var e=t.replace(/rgba?\(/,"").replace(/\)/,"").replace(/[\s+]/g,"").split(","),i=parseFloat(e[3]||1),n=Math.floor(i*parseInt(e[0])+255*(1-i)),s=Math.floor(i*parseInt(e[1])+255*(1-i)),o=Math.floor(i*parseInt(e[2])+255*(1-i));return"#"+("0"+n.toString(16)).slice(-2)+("0"+s.toString(16)).slice(-2)+("0"+o.toString(16)).slice(-2)}(i)},viewTips:function(t){this.$emit("viewOfflineTips",t)},handleToast:function(){this.$emit("handleToast")}}}},1660:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(22),s=i.n(n),o=i(1661);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldInsureNotice=s()(o.a,t)},e.default=o.a},1661:function(t,e,i){"use strict";function n(t){a||i(1662)}var s=i(1106),o=i(1679),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-19593780",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\index.vue",e.a=l.exports},1662:function(t,e){},1663:function(t,e,i){"use strict";function n(t){a||i(1664)}var s=i(1107),o=i(1671),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-37ff6850",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\health.vue",e.a=l.exports},1664:function(t,e){},1665:function(t,e){},1666:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.humanCheckState||t.autoCheckState?i("div",{staticClass:"act-health-tip"},[i("div",{staticClass:"act-health-tip-cntt"},[t.humanCheckState&&t.autoCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持智能核保和人工核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t.autoCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持智能核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t.humanCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持人工核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t._e()])]):t._e()},s=[];n._withStripped=!0},1667:function(t,e){},1668:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"act-health-box"},[i("div",{staticClass:"act-health-tit"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.item.content?i("div",{ref:"content",staticClass:"act-health-cntt",domProps:{innerHTML:t._s(t.item.content)}}):t.item.info?t._l(t.item.info,function(e,n){return i("div",{key:"health"+n,ref:"content",refInFor:!0,staticClass:"act-health-cntt",domProps:{innerHTML:t._s(e.content)}})}):t.item.healthContent?t._l(t.item.healthContent,function(e,n){return i("div",{key:"health"+n,ref:"content",refInFor:!0,staticClass:"act-health-cntt",domProps:{innerHTML:t._s(e.text)}})}):t._e()],2)},s=[];n._withStripped=!0},1669:function(t,e){},1670:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.denyCarrerList&&t.denyCarrerList.length>0?i("div",{staticClass:"act-health-carrer-box"},[i("div",{staticClass:"act-health-box"},[i("div",{staticClass:"act-health-tit"},[t._v("\n 职业工种告知\n ")]),t._v(" "),i("div",{staticClass:"act-health-txt"},[t._v("\n 被保险人是否正在从事以下行业(点击分类名可查看详情):\n ")]),t._v(" "),i("div",{staticClass:"act-health-carrer"},t._l(t.denyCarrerList,function(e,n){return i("div",{key:n,staticClass:"act-health-carrer-line"},[i("div",{staticClass:"act-health-carrer-list"},t._l(e.list,function(e,s){return i("div",{key:s,staticClass:"act-health-carrer-li",style:{visibility:e.content?"":"hidden"},on:{click:function(i){return i.stopPropagation(),t.onClick(n,e.index)}}},[i("div",{staticClass:"act-health-carrer-li-txt",attrs:{"data-line":n,"data-index":e.index}},[t._v("\n "+t._s(e.content)+"\n ")])])}),0),t._v(" "),i("div",{staticClass:"act-health-carrer-tips"},t._l(e.tipsList,function(e,s){return i("div",{key:s,staticClass:"act-health-carrer-tips-item",class:{active:t.isSelected(n,e.index)}},[i("div",{staticClass:"act-health-carrer-tips-txt"},[t._v("\n "+t._s(e.content)+"\n ")])])}),0)])}),0)])]):t._e()},s=[];n._withStripped=!0},1671:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-gold-doc-layer",{ref:"doclayer",attrs:{visible:t.isVisible,title:t.layerTitle,zIndex:t.zIndex},on:{close:t.hide}},[t.showHealthFile?i("a",{staticClass:"act-picker-back",attrs:{slot:"headerLeft",href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.goBack.apply(null,arguments)}},slot:"headerLeft"}):t._e(),t._v(" "),t.showHealthFile?[i("act-scroll-zoom",{ref:"scrollZoom",staticClass:"act-doc-content",attrs:{termsInfo:t.termsInfo,brandColor:t.brandColor,docIndex:0}})]:[i("div",{staticClass:"act-health-layer"},[t.hasHealth?[t.health.list.length>1?i("div",{staticClass:"act-health-nav",class:{"flex-content":t.health.list.length<3},attrs:{slot:"header"},slot:"header"},[i("scroll",{attrs:{direction:"horizontal"}},t._l(t.health.list,function(e,n){return i("div",{key:n,staticClass:"act-health-nav-item",class:{active:t.isSelected(n)},style:{color:t.isSelected(n)?t.brandColor:""},on:{click:function(e){return e.stopPropagation(),t.changeVer(n)}}},[t._v("\n "+t._s(e.notice_name||e.ver)+"\n "),i("i",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(i)"}],style:{"background-color":t.brandColor}})])}),0)],1):t._e(),t._v(" "),t._l(t.health.list,function(e,n){return[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(k)"}],key:"health"+n,staticClass:"act-health-container"},[i("health-tips",{attrs:{item:e}}),t._v(" "),i("health-content",{attrs:{title:e.notice_name||e.ver||"健康告知",item:e},on:{openHealthFile:t.openHealthFile}})],1)]})]:t._e(),t._v(" "),t.health&&t.health.tourism?i("health-content",{attrs:{title:"旅游告知",item:t.health.tourism},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),i("deny-carrer",{attrs:{denyCarrerList:t.denyCarrerList},on:{select:t.carrerSelect}})],2)]],2)},s=[];n._withStripped=!0},1672:function(t,e,i){"use strict";function n(t){a||i(1673)}var s=i(1115),o=i(1678),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-bb3ef570",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\healthNotice.vue",e.a=l.exports},1673:function(t,e){},1674:function(t,e,i){"use strict";function n(t){a||i(1675)}var s=i(1116),o=i(1676),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-ba6bdf4a",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\offlineHealth.vue",e.a=l.exports},1675:function(t,e){},1676:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"offline-health-box"},[n("div",{staticClass:"health-tit"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t._l(t.item.healthContent,function(e,s){return n("div",{key:s,staticClass:"offline-health-item"},[n("div",{staticClass:"title"},[n("div",{staticClass:"index",style:"box-shadow: 0px 3px 6px 0px "+t.genRgba(t.brandColor)+";background: "+t.bgColor},[t._v("\n "+t._s(s+1)+"\n ")]),t._v(" "),n("div",{staticClass:"text"},[t._v("\n "+t._s(e.text)+"\n "),e.question_tips?n("img",{attrs:{src:i(1677),alt:""},on:{click:function(i){return t.viewTips(e.question_tips)}}}):t._e()])]),t._v(" "),n("div",{staticClass:"content-box"},[[1,2,5].includes(+e.question_type)?n("div",{staticClass:"grain-box"},t._l(e.answers,function(e,i){return n("div",{key:i,staticClass:"item",on:{click:t.handleToast}},[t._v("\n "+t._s(e.value)+"\n ")])}),0):t._e(),t._v(" "),3==+e.question_type?n("div",{staticClass:"fill-box"},t._l(e.answers,function(e,i){return n("div",{key:i,staticClass:"item"},[n("div",{staticClass:"til"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("div",{staticClass:"content",on:{click:t.handleToast}},[t._v("\n 请输入\n ")])])}),0):t._e(),t._v(" "),4==+e.question_type?n("div",{staticClass:"pure-fill-box",on:{click:t.handleToast}},[t._v("\n 请填写\n ")]):t._e()])])})],2)},s=[];n._withStripped=!0},1677:function(t,e){t.exports=l},1678:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-gold-doc-layer",{ref:"doclayer",attrs:{visible:t.isVisible,title:t.layerTitle,zIndex:t.zIndex},on:{close:t.hide}},[t.showHealthFile?i("a",{staticClass:"act-picker-back",attrs:{slot:"headerLeft",href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.goBack.apply(null,arguments)}},slot:"headerLeft"}):t._e(),t._v(" "),t.showHealthFile?[i("act-scroll-zoom",{ref:"scrollZoom",staticClass:"act-doc-content",attrs:{termsInfo:t.termsInfo,brandColor:t.brandColor,docIndex:0}})]:[t.appNotice.health&&t.insuranceNotice.health?[2===t.notice_mode||3===t.notice_mode?i("div",{staticClass:"act-notice-header"},t._l(t.noticeHeaderOptions,function(e,n){return i("div",{key:n,staticClass:"item",style:"color: "+(t.headerActiveIndex===n?t.brandColor||"#8c7fee":"#333333")+";font-size: "+(t.headerActiveIndex===n?"17px":"15px"),on:{click:function(e){return t.selHeader(n)}}},[t._v("\n "+t._s(e.text)+"\n ")])}),0):t._e()]:t._e(),t._v(" "),i("div",{staticClass:"act-health-layer"},[t.health?[t.health.list.length>1?i("div",{staticClass:"act-health-nav",class:{"flex-content":t.health.list.length<3},attrs:{slot:"header"},slot:"header"},[i("scroll",{attrs:{direction:"horizontal"}},t._l(t.health.list,function(e,n){return i("div",{key:n,staticClass:"act-health-nav-item",class:{active:t.isSelected(n)},style:{color:t.isSelected(n)?t.brandColor:""},on:{click:function(e){return e.stopPropagation(),t.changeVer(n)}}},[t._v("\n "+t._s(e.notice_name||e.ver)+"\n "),i("i",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(i)"}],style:{"background-color":t.brandColor}})])}),0)],1):t._e(),t._v(" "),t._l(t.health.list,function(e,n){return[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(k)"}],key:"health"+n,staticClass:"act-health-container"},[i("health-tips",{attrs:{item:e}}),t._v(" "),e.healthContent&&!e.isOffline?i("health-content",{attrs:{title:e.notice_name||e.ver||"健康告知",item:e},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),e.healthContent&&e.isOffline?i("offline-health",{attrs:{title:e.notice_name||e.ver||"健康告知",brandColor:t.brandColor,item:e},on:{viewOfflineTips:t.viewOfflineTips,handleToast:function(e){return t.$emit("handleToast")}}}):t._e()],1)]})]:t._e(),t._v(" "),t.tourism?i("health-content",{attrs:{title:"旅游告知",item:{content:t.tourism}},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),i("deny-carrer",{attrs:{denyCarrerList:t.denyCarrerList},on:{select:t.carrerSelect}})],2)]],2)},s=[];n._withStripped=!0},1679:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"act-gold-insure-notice"},[i("div",{staticClass:"act-gold-insure-notice-text",style:{color:t.textColor,"font-size":t.fontSize}},[i("span",{domProps:{innerHTML:t._s(t.text)}}),t._v(" "),t._l(t.noticeFiles,function(e,n){return[n==t.noticeFiles.length-1&&0!=n?i("span",{key:n+"span"},[t._v("和")]):0!=n?i("span",{key:n+"span"},[t._v("、")]):t._e(),t._v(" "),e.track?i("a",{key:n+"a",staticClass:"act-gold-insure-notice-item",style:{color:t.brandColor},attrs:{"data-track":e.track},on:{click:function(i){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")]):i("a",{key:n+"a",staticClass:"act-gold-insure-notice-item",style:{color:t.brandColor},attrs:{"data-track":e.track||""},on:{click:function(i){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")])]})],2),t._v(" "),i("act-gold-dialog",{ref:"tipsDialog",attrs:{maskClosable:!0,title:"提示",zIndex:t.zIndex+1,content:t.offlineTips,buttonType:"sticky",showConfirmButton:"",confirmButtonColor:t.brandColor||"#8c7fee",confirmButtonText:"确认"}}),t._v(" "),i("Toast",{ref:"offlineToast"})],1)},s=[];n._withStripped=!0},2:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},22:function(e,i){e.exports=t},35:function(t,i){t.exports=e},38:function(t,e){t.exports=i},557:function(t,e){t.exports=s},558:function(t,e){t.exports=o},7:function(t,e,i){"use strict";function n(t,e,i,n,s,o,r,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o);var h;if(r?(h=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=h):s&&(h=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),h)if(l.functional){l._injectStyles=h;var u=l.render;l.render=function(t,e){return h.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,h):[h]}return{exports:t,options:l}}e.a=n},805:function(t,e){t.exports=r},806:function(t,e){t.exports=a}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/GoldDialog/index.js"),require("@xysfe/actui/es/Toast/index.js"),require("@xysfe/actui/es/DocPop/index.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js"),require("@xysfe/actui/es/GoldDocLayer/index.js"),require("@xysfe/actui/es/assets/img/qa.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/GoldDialog/index.js","@xysfe/actui/es/Toast/index.js","@xysfe/actui/es/DocPop/index.js","@xysfe/actui/es/assets/common/scrollZoom/index.js","@xysfe/actui/es/GoldDocLayer/index.js","@xysfe/actui/es/assets/img/qa.png"],e):"object"==typeof exports?exports.GoldInsureNotice=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/GoldDialog/index.js"),require("@xysfe/actui/es/Toast/index.js"),require("@xysfe/actui/es/DocPop/index.js"),require("@xysfe/actui/es/assets/common/scrollZoom/index.js"),require("@xysfe/actui/es/GoldDocLayer/index.js"),require("@xysfe/actui/es/assets/img/qa.png")):t.GoldInsureNotice=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/GoldDialog/index.js"],t["@xysfe/actui/es/Toast/index.js"],t["@xysfe/actui/es/DocPop/index.js"],t["@xysfe/actui/es/assets/common/scrollZoom/index.js"],t["@xysfe/actui/es/GoldDocLayer/index.js"],t["@xysfe/actui/es/assets/img/qa.png"])}("undefined"!=typeof self?self:this,function(t,e,i,n,s,o,r,a,c,l){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1660)}({103:function(t,e,i){t.exports={default:i(107),__esModule:!0}},107:function(t,e,i){var n=i(2),s=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return s.stringify.apply(s,arguments)}},1106:function(t,e,i){"use strict";var n=i(103),s=i.n(n),o=i(805),r=i.n(o),a=i(1663),c=i(1672),l=i(38),h=(i.n(l),i(22)),u=i.n(h),d=i(557),f=i.n(d),p=i(558),m=i.n(p),v={file:1,health:2,img:3,healthNotice:4};e.a={name:"ActGoldInsureNotice",components:{ActGoldDialog:f.a,Toast:m.a},data:function(){return{noticeTitle:"健康告知",offlineTips:""}},props:{text:{type:String,default:"更多请查看"},groupId:{type:[Number,String],default:""},productId:{type:[Number,String],default:""},docInfo:{type:Object,default:function(){return{}}},health:{type:Object,default:function(){return null}},denyCarrers:{type:[Array,Object],default:function(){return null}},policy:{type:[String,Object],default:""},textColor:{type:String,default:"#666"},textFontSize:{type:[Number,String],default:13},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},healthFiles:{type:Object,default:function(){return{}}},noticesData:{type:Object,default:null},premiumData:{type:Array,default:function(){return null}},premiumTitle:{type:String,default:function(){return"费率表"}},showOther:{type:Boolean,default:!1},showProductExplanation:{type:Boolean,default:!0},isMobileModel:{type:Boolean,default:!1}},computed:{docFile:function(){var t=this;if(!this.docInfo)return{terms:[],inform:[],otherdocs:[]};var e=JSON.parse(s()(this.docInfo));e.needknow&&e.needknow.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=needknow&index="+i+"#/detail")}),e.terms&&e.terms.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=term&index="+i+"#/detail")}),e.inform&&e.inform.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=inform&index="+i+"#/detail")}),e.otherbiz&&e.otherbiz.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=otherbiz&index="+i+"#/detail")});var i=[],n=[];return e.otherdocs&&e.otherdocs.length&&e.otherdocs.forEach(function(e,s){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=otherdocs&index="+s+"#/detail"),e.file_type&&11===Number(e.file_type)?i.push(e):n.push(e)}),e.productExplanationDocs=i,e.remainOtherDocs=n,e},formatPremiumData:function(){var t=this;return this.premiumData?(this.premiumData.forEach(function(e,i){e.src||(e.src=location.protocol+"//"+location.host+"/insurance/termList?productid="+t.productId+"&groupid="+t.groupId+"&action=premium&index="+i+"#/detail")}),this.premiumData):null},termsAndInform:function(){var t=this.docFile.terms.concat(this.docFile.inform);return this.showProductExplanation&&(t=t.concat(this.docFile.productExplanationDocs)),t},denyCarrerList:function(){return this.getDenyCarrerList(this.denyCarrers)},healthTitle:function(){var t="";return this.health&&(this.health.title?t=this.health.title:this.health.noticeType>0?t=2===Number(this.health.noticeType)?this.denyCarrerList.length?"旅游及职业告知":"旅游告知":this.denyCarrerList.length?"健康及职业告知":"健康告知":this.denyCarrerList.length&&(t=2===Number(this.health.noticeType)?"旅游告知":"职业工种告知")),t},noticeFiles:function(){var t=[];if(this.docFile){if(this.docFile.needknow&&this.docFile.needknow.length&&t.push({title:"更多投保须知",track:"detail_noticemore",type:v.file,data:this.docFile.needknow}),this.termsAndInform&&this.termsAndInform.length&&t.push({title:"保险条款及告知",track:"detail_term",type:v.file,data:this.termsAndInform}),this.docFile.otherbiz&&this.docFile.otherbiz.length){var e=[];this.docFile.otherbiz.forEach(function(t){t.file_type&&30===Number(t.file_type)&&e.push(t)}),e.length&&t.push({title:"其他产品资料",track:"detail_others",type:v.file,data:e})}this.docFile.remainOtherDocs.length&&this.showOther&&this.docFile.remainOtherDocs.forEach(function(e){t.push({title:e.title,track:"detail_others",type:v.file,data:[e]})})}if(this.health&&((this.health.list&&this.health.list.length)>0||this.denyCarrerList&&this.denyCarrerList.length>0||this.health.tourism)&&t.push({title:this.healthTitle,track:"detail_health",type:v.health}),this.isShowNotice&&t.push({title:this.noticesData.noticesEndpointTitle||"健康告知",track:"detail_health",type:v.healthNotice}),this.policy){var i=[],n=this.policy.url;n&&("string"==typeof n&&(i=[n]),Array.isArray(n)&&(i=n)),t.push({title:this.policy.desc||"电子保单样本",track:"detail_epolicy",type:v.file,data:[{type:this.policy.type||2,urls:i}]})}return this.formatPremiumData&&t.push({title:this.premiumTitle,track:"detail_fee",type:v.file,data:this.formatPremiumData}),t},fontSize:function(){return Object(l.formatFontSize)(this.textFontSize)},openInWindow:function(){return!this.isMobileModel&&(!l.ua.isMobile&&!l.ua.isWx)},isShowNotice:function(){return!!(this.noticesData&&this.noticesData.notices&&1===this.noticesData.notices.length&&this.noticesData.notices[0].health&&1===this.noticesData.notices[0].health.length)}},methods:{onClick:function(t){var e=this;t.type===v.file?(this.docPop&&this.docPop.remove(),this.docPop=this.createDocPop({title:t.title,docData:t.data,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show()):t.type===v.img?(this.imagePieview?this.imagePieview.setData([t.data],0):this.imagePieview=this.$createImagePreview({images:[t.data],zoom:!0,zIndex:this.zIndex,opacity:1}),this.imagePieview.show()):t.type===v.health?(this.healthPop&&this.healthPop.remove(),this.healthPop=this.createHealthComponent({title:this.healthTitle,health:this.health,healthFiles:this.healthFiles,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex}).show()):t.type===v.healthNotice&&(this.healthNoticePop&&this.healthNoticePop.remove(),this.healthNoticePop=this.createHealthNoticeComponent({title:this.noticeTitle,noticesData:this.noticesData,denyCarrerList:this.denyCarrerList,brandColor:this.brandColor,openInWindow:this.openInWindow,zIndex:this.zIndex,onViewOfflineTips:function(t){e.offlineTips=t,e.$refs.tipsDialog.show()},onHandleToast:function(){e.$refs.offlineToast.show("无法操作")}}).show())},getDenyCarrerList:function(t){var e=[];if(!Object(l.isObject)(t))return e;var i=[],n=[],s={},o={};for(var r in t)for(var a in t[r])s[t[r][a].c1]?s[t[r][a].c1].push(t[r][a].c3):(s[t[r][a].c1]=[t[r][a].c3],i.push(t[r][a].c1)),o[t[r][a].c2]?o[t[r][a].c2].push(t[r][a].c3):(o[t[r][a].c2]=[t[r][a].c3],n.push(t[r][a].c2));var c=void 0,h=void 0;n.length<25?(c=n,h=o):(c=i,h=s);for(var u=void 0,d=c.length-1,f=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<f;p++)u={list:[],tipsList:[]},3*p<=d&&(u.list.push({content:c[3*p],index:3*p}),u.tipsList.push({content:h[c[3*p]].join(","),index:3*p})),3*p+1<=d?(u.list.push({content:c[3*p+1],index:3*p+1}),u.tipsList.push({content:h[c[3*p+1]].join(","),index:3*p+1})):u.list.push({}),3*p+2<=d?(u.list.push({content:c[3*p+2],index:3*p+2}),u.tipsList.push({content:h[c[3*p+2]].join(","),index:3*p+2})):u.list.push({}),e.push(u);return e}},created:function(){this.createDocPop=u()(r.a,this.constructor),this.createHealthComponent=u()(a.a,this.constructor),this.createHealthNoticeComponent=u()(c.a,this.constructor)}}},1107:function(t,e,i){"use strict";var n=i(1108),s=i.n(n),o=i(1109),r=i(1111),a=i(1113),c=i(35),l=i.n(c),h=i(806),u=i.n(h),d=i(38),f=(i.n(d),i(111)),p=i.n(f);e.a={name:"Health",mixins:[l.a],data:function(){return{activeIndex:0,showHealthFile:!1,healthFile:null,termsInfo:null}},props:{title:{type:String,default:""},health:{type:Object,default:function(){return null}},denyCarrerList:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},healthFiles:{type:Object,default:function(){return{}}}},computed:{hasHealth:function(){return this.health&&this.health.list&&this.health.list.length>0},layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],i={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(i),this.termsInfo=e},openUrl:function(t){d.ua.isMobile||d.ua.isWx?location.href=t:window.open(t,"_blank")}},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)}},components:{ActGoldDocLayer:s.a,HealthTips:o.a,HealthContent:r.a,DenyCarrer:a.a,ActScrollZoom:u.a,scroll:p.a}}},1108:function(t,e){t.exports=c},1109:function(t,e,i){"use strict";function n(t){a||i(1665)}var s=i(1110),o=i(1666),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-88e4dba8",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\tips.vue",e.a=l.exports},111:function(t,e){t.exports=n},1110:function(t,e,i){"use strict";e.a={props:{item:{type:Object,default:function(){return{}}}},computed:{humanCheckState:function(){var t=Number(this.item.human_check_type);return!isNaN(t)&&0!==t},autoCheckState:function(){var t=Number(this.item.auto_check_type);return!isNaN(t)&&0!==t}}}},1111:function(t,e,i){"use strict";function n(t){a||i(1667)}var s=i(1112),o=i(1668),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-2550ecb5",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\content.vue",e.a=l.exports},1112:function(t,e,i){"use strict";e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}}},mounted:function(){var t=this;document.querySelectorAll(".act-health-cntt a").forEach(function(e){e.addEventListener("click",function(){var i=e.getAttribute("data-id");if(!i)return!1;t.$emit("openHealthFile",i)})})}}},1113:function(t,e,i){"use strict";function n(t){a||i(1669)}var s=i(1114),o=i(1670),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-2467bbeb",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\denyCarrer.vue",e.a=l.exports},1114:function(t,e,i){"use strict";e.a={data:function(){return{tipsLine:-1,tipsIndex:-1}},props:{denyCarrerList:{type:Array,default:function(){return[]}}},methods:{isSelected:function(t,e){return t===this.tipsLine&&e===this.tipsIndex},onClick:function(t,e){this.tipsLine===t&&this.tipsIndex===e||(this.tipsLine=t,this.tipsIndex=e,this.$emit("select",{line:t,index:e}))}}}},1115:function(t,e,i){"use strict";var n=i(1108),s=i.n(n),o=i(35),r=i.n(o),a=i(111),c=i.n(a),l=i(1111),h=i(1109),u=i(1113),d=i(1674),f=i(38),p=(i.n(f),i(806)),m=i.n(p);e.a={name:"HealthNotice",mixins:[r.a],props:{title:{type:String,default:""},brandColor:{type:String,default:"#8c7fee"},zIndex:{type:[String,Number],default:999},openInWindow:{type:Boolean,default:!1},noticesData:{type:Object,default:null}},data:function(){return{activeIndex:0,showHealthFile:!1,termsInfo:null,headerActiveIndex:0,notice_mode:0,health:null,denyCarrerList:null,tourism:null,appNotice:{health:"",tourism:"",denyCarrerList:""},insuranceNotice:{health:"",tourism:"",denyCarrerList:""},healthFiles:null,healthFile:null,noticeHeaderOptions:[{belong:1,text:"投保人健康告知"},{belong:1,text:"被保险人健康告知"}]}},computed:{layerTitle:function(){return this.showHealthFile&&this.healthFile&&this.healthFile.title?this.healthFile.title:this.title}},methods:{isSelected:function(t){return t===this.activeIndex},changeVer:function(t){this.activeIndex=t,this.$refs.doclayer.refreshScroll()},carrerSelect:function(){this.$refs.doclayer.refreshScroll()},selHeader:function(t){0===t&&(this.health=this.appNotice.health,this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList),1===t&&(this.health=this.insuranceNotice.health,this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList),this.headerActiveIndex=t,this.activeIndex=0,this.$refs.doclayer.refreshScroll()},openHealthFile:function(t){var e=this.healthFiles[t];if(!e)return!1;this.healthFile=e,this.reset(e),this.showDoc(0)},goBack:function(){this.showHealthFile=!1},showDoc:function(t){var e=this;if(this.openInWindow&&this.healthFile&&this.healthFile.src)return void this.openUrl(this.healthFile.src);this.showHealthFile=!0,this.index=t,this.$nextTick(function(){e.$refs.scrollZoom.showDoc(t)})},reset:function(t){var e=[],i={type:Number(t.type),title:t.title,urls:t.urls,souceFile:t.src,init:!1,classObject:{"scroll-pdf":!1,"scroll-word":!1},myScroll:null,styleImg:{height:"auto"},freeScroll:!0,scrollbar:{fade:!0,interactive:!0},bounce:{bottom:!1,left:!1,right:!1,top:!1},zoom:!0,listenScrollInit:!0,listenScrollEnd:!1,listenZoomEnd:!1,listenScroll:!1,mouseWheel:!0,currentScale:1,scrollY:0,cWidth:0,cHeight:0,liTag:null,wordHtml:""};e.push(i),this.termsInfo=e},openUrl:function(t){f.ua.isMobile||f.ua.isWx?location.href=t:window.open(t,"_blank")},getDenyCarrerList:function(t){var e=[];if(!Object(f.isObject)(t))return e;var i=[],n=[],s={},o={};for(var r in t)for(var a in t[r])s[t[r][a].c1]?s[t[r][a].c1].push(t[r][a].c3):(s[t[r][a].c1]=[t[r][a].c3],i.push(t[r][a].c1)),o[t[r][a].c2]?o[t[r][a].c2].push(t[r][a].c3):(o[t[r][a].c2]=[t[r][a].c3],n.push(t[r][a].c2));var c=void 0,l=void 0;n.length<25?(c=n,l=o):(c=i,l=s);for(var h=void 0,u=c.length-1,d=parseInt(c.length/3)+(c.length%3>0?1:0),p=0;p<d;p++)h={list:[],tipsList:[]},3*p<=u&&(h.list.push({content:c[3*p],index:3*p}),h.tipsList.push({content:l[c[3*p]].join(","),index:3*p})),3*p+1<=u?(h.list.push({content:c[3*p+1],index:3*p+1}),h.tipsList.push({content:l[c[3*p+1]].join(","),index:3*p+1})):h.list.push({}),3*p+2<=u?(h.list.push({content:c[3*p+2],index:3*p+2}),h.tipsList.push({content:l[c[3*p+2]].join(","),index:3*p+2})):h.list.push({}),e.push(h);return e},viewOfflineTips:function(t){this.$emit("viewOfflineTips",t)}},components:{ActGoldDocLayer:s.a,HealthContent:l.a,HealthTips:h.a,DenyCarrer:u.a,ActScrollZoom:m.a,scroll:c.a,offlineHealth:d.a},watch:{showHealthFile:function(){this.$refs.doclayer.scrollToTop()},isVisible:function(t,e){t&&!e&&(this.showHealthFile=!1)},noticesData:{handler:function(t){if(t&&Object(f.isObject)(t.noticeFiles)&&(this.healthFiles=t.noticeFiles),t&&1==+t.notice_mode){if(this.notice_mode=+t.notice_mode,t.notices.length&&t.notices[0].health.length){var e=t.notices[0].health,i={list:[]};e.forEach(function(e){var n={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:!1};i.list.push(n)}),this.health=i}this.tourism=Object(f.isObject)(t.notices[0].tourism)&&t.notices[0].tourism.content,this.denyCarrerList=Object(f.isObject)(t.notices[0].careersDenied)&&this.getDenyCarrerList(t.notices[0].careersDenied.content)||[]}if(t&&(2==+t.notice_mode||3==+t.notice_mode)&&(this.notice_mode=+t.notice_mode,t.notices.length)){var n=t.notices.find(function(t){return 1==+t.entity_belong}),s=t.notices.find(function(t){return 2==+t.entity_belong});if(n){if(n.health.length){var o={list:[]};n.health.forEach(function(e){var i={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};o.list.push(i)}),this.appNotice.health=o,s&&(this.health=o)}this.appNotice.tourism=Object(f.isObject)(n.tourism)&&n.tourism.content,this.appNotice.denyCarrerList=Object(f.isObject)(n.careersDenied)&&this.getDenyCarrerList(n.careersDenied.content)||[],this.tourism=this.appNotice.tourism,this.denyCarrerList=this.appNotice.denyCarrerList}if(s){if(s.health.length){var r={list:[]};s.health.forEach(function(e){var i={notice_name:e.notice_name,human_check_type:t.has_human_check,auto_check_type:t.has_auto_check,healthContent:e.content,isOffline:3==+t.notice_mode};r.list.push(i)}),this.insuranceNotice.health=r,n||(this.health=r)}this.insuranceNotice.tourism=Object(f.isObject)(s.tourism)&&s.tourism.content,this.insuranceNotice.denyCarrerList=Object(f.isObject)(s.careersDenied)&&this.getDenyCarrerList(s.careersDenied.content)||[],n||(this.tourism=this.insuranceNotice.tourism,this.denyCarrerList=this.insuranceNotice.denyCarrerList)}}},immediate:!0}}}},1116:function(t,e,i){"use strict";var n=i(38);i.n(n);e.a={props:{title:{type:String,default:""},item:{type:Object,default:function(){return{}}},brandColor:{type:String,default:"#8c7fee"}},data:function(){return{tips:""}},computed:{bgColor:function(){return"linear-gradient(90deg, "+this.genRgba(this.brandColor,.4)+" 0%, "+this.genRgba(this.brandColor,.8)+" 100%);"}},methods:{genRgba:function(t,e){var i=Object(n.hexToRgb)(t||"#8c7fee",e||.1);return function(t){var e=t.replace(/rgba?\(/,"").replace(/\)/,"").replace(/[\s+]/g,"").split(","),i=parseFloat(e[3]||1),n=Math.floor(i*parseInt(e[0])+255*(1-i)),s=Math.floor(i*parseInt(e[1])+255*(1-i)),o=Math.floor(i*parseInt(e[2])+255*(1-i));return"#"+("0"+n.toString(16)).slice(-2)+("0"+s.toString(16)).slice(-2)+("0"+o.toString(16)).slice(-2)}(i)},viewTips:function(t){this.$emit("viewOfflineTips",t)},handleToast:function(){this.$emit("handleToast")}}}},1660:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(22),s=i.n(n),o=i(1661);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldInsureNotice=s()(o.a,t)},e.default=o.a},1661:function(t,e,i){"use strict";function n(t){a||i(1662)}var s=i(1106),o=i(1679),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-19593780",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\index.vue",e.a=l.exports},1662:function(t,e){},1663:function(t,e,i){"use strict";function n(t){a||i(1664)}var s=i(1107),o=i(1671),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-37ff6850",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\health.vue",e.a=l.exports},1664:function(t,e){},1665:function(t,e){},1666:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.humanCheckState||t.autoCheckState?i("div",{staticClass:"act-health-tip"},[i("div",{staticClass:"act-health-tip-cntt"},[t.humanCheckState&&t.autoCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持智能核保和人工核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t.autoCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持智能核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t.humanCheckState?i("p",[t._v("\n 本产品"),i("b",[t._v("支持人工核保")]),t._v(",如果您对某些健康状况不确认,可在健康告知页面进行核保。\n ")]):t._e()])]):t._e()},s=[];n._withStripped=!0},1667:function(t,e){},1668:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"act-health-box"},[i("div",{staticClass:"act-health-tit"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.item.content?i("div",{ref:"content",staticClass:"act-health-cntt",domProps:{innerHTML:t._s(t.item.content)}}):t.item.info?t._l(t.item.info,function(e,n){return i("div",{key:"health"+n,ref:"content",refInFor:!0,staticClass:"act-health-cntt",domProps:{innerHTML:t._s(e.content)}})}):t.item.healthContent?t._l(t.item.healthContent,function(e,n){return i("div",{key:"health"+n,ref:"content",refInFor:!0,staticClass:"act-health-cntt",domProps:{innerHTML:t._s(e.text)}})}):t._e()],2)},s=[];n._withStripped=!0},1669:function(t,e){},1670:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.denyCarrerList&&t.denyCarrerList.length>0?i("div",{staticClass:"act-health-carrer-box"},[i("div",{staticClass:"act-health-box"},[i("div",{staticClass:"act-health-tit"},[t._v("\n 职业工种告知\n ")]),t._v(" "),i("div",{staticClass:"act-health-txt"},[t._v("\n 被保险人是否正在从事以下行业(点击分类名可查看详情):\n ")]),t._v(" "),i("div",{staticClass:"act-health-carrer"},t._l(t.denyCarrerList,function(e,n){return i("div",{key:n,staticClass:"act-health-carrer-line"},[i("div",{staticClass:"act-health-carrer-list"},t._l(e.list,function(e,s){return i("div",{key:s,staticClass:"act-health-carrer-li",style:{visibility:e.content?"":"hidden"},on:{click:function(i){return i.stopPropagation(),t.onClick(n,e.index)}}},[i("div",{staticClass:"act-health-carrer-li-txt",attrs:{"data-line":n,"data-index":e.index}},[t._v("\n "+t._s(e.content)+"\n ")])])}),0),t._v(" "),i("div",{staticClass:"act-health-carrer-tips"},t._l(e.tipsList,function(e,s){return i("div",{key:s,staticClass:"act-health-carrer-tips-item",class:{active:t.isSelected(n,e.index)}},[i("div",{staticClass:"act-health-carrer-tips-txt"},[t._v("\n "+t._s(e.content)+"\n ")])])}),0)])}),0)])]):t._e()},s=[];n._withStripped=!0},1671:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-gold-doc-layer",{ref:"doclayer",attrs:{visible:t.isVisible,title:t.layerTitle,zIndex:t.zIndex},on:{close:t.hide}},[t.showHealthFile?i("a",{staticClass:"act-picker-back",attrs:{slot:"headerLeft",href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.goBack.apply(null,arguments)}},slot:"headerLeft"}):t._e(),t._v(" "),t.showHealthFile?[i("act-scroll-zoom",{ref:"scrollZoom",staticClass:"act-doc-content",attrs:{termsInfo:t.termsInfo,brandColor:t.brandColor,docIndex:0}})]:[i("div",{staticClass:"act-health-layer"},[t.hasHealth?[t.health.list.length>1?i("div",{staticClass:"act-health-nav",class:{"flex-content":t.health.list.length<3},attrs:{slot:"header"},slot:"header"},[i("scroll",{attrs:{direction:"horizontal"}},t._l(t.health.list,function(e,n){return i("div",{key:n,staticClass:"act-health-nav-item",class:{active:t.isSelected(n)},style:{color:t.isSelected(n)?t.brandColor:""},on:{click:function(e){return e.stopPropagation(),t.changeVer(n)}}},[t._v("\n "+t._s(e.notice_name||e.ver)+"\n "),i("i",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(i)"}],style:{"background-color":t.brandColor}})])}),0)],1):t._e(),t._v(" "),t._l(t.health.list,function(e,n){return[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(k)"}],key:"health"+n,staticClass:"act-health-container"},[i("health-tips",{attrs:{item:e}}),t._v(" "),i("health-content",{attrs:{title:e.notice_name||e.ver||"健康告知",item:e},on:{openHealthFile:t.openHealthFile}})],1)]})]:t._e(),t._v(" "),t.health&&t.health.tourism?i("health-content",{attrs:{title:"旅游告知",item:t.health.tourism},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),i("deny-carrer",{attrs:{denyCarrerList:t.denyCarrerList},on:{select:t.carrerSelect}})],2)]],2)},s=[];n._withStripped=!0},1672:function(t,e,i){"use strict";function n(t){a||i(1673)}var s=i(1115),o=i(1678),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-bb3ef570",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\healthNotice.vue",e.a=l.exports},1673:function(t,e){},1674:function(t,e,i){"use strict";function n(t){a||i(1675)}var s=i(1116),o=i(1676),r=i(7),a=!1,c=n,l=Object(r.a)(s.a,o.a,o.b,!1,c,"data-v-ba6bdf4a",null);l.options.__file="src\\components\\GoldInsureNotice\\src\\components\\offlineHealth.vue",e.a=l.exports},1675:function(t,e){},1676:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"offline-health-box"},[n("div",{staticClass:"health-tit"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t._l(t.item.healthContent,function(e,s){return n("div",{key:s,staticClass:"offline-health-item"},[n("div",{staticClass:"title"},[n("div",{staticClass:"index",style:"box-shadow: 0px 3px 6px 0px "+t.genRgba(t.brandColor)+";background: "+t.bgColor},[t._v("\n "+t._s(s+1)+"\n ")]),t._v(" "),n("div",{staticClass:"text"},[t._v("\n "+t._s(e.text)+"\n "),e.question_tips?n("img",{attrs:{src:i(1677),alt:""},on:{click:function(i){return t.viewTips(e.question_tips)}}}):t._e()])]),t._v(" "),n("div",{staticClass:"content-box"},[[1,2,5].includes(+e.question_type)?n("div",{staticClass:"grain-box"},t._l(e.answers,function(e,i){return n("div",{key:i,staticClass:"item",on:{click:t.handleToast}},[t._v("\n "+t._s(e.value)+"\n ")])}),0):t._e(),t._v(" "),3==+e.question_type?n("div",{staticClass:"fill-box"},t._l(e.answers,function(e,i){return n("div",{key:i,staticClass:"item"},[n("div",{staticClass:"til"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),n("div",{staticClass:"content",on:{click:t.handleToast}},[t._v("\n 请输入\n ")])])}),0):t._e(),t._v(" "),4==+e.question_type?n("div",{staticClass:"pure-fill-box",on:{click:t.handleToast}},[t._v("\n 请填写\n ")]):t._e()])])})],2)},s=[];n._withStripped=!0},1677:function(t,e){t.exports=l},1678:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("act-gold-doc-layer",{ref:"doclayer",attrs:{visible:t.isVisible,title:t.layerTitle,zIndex:t.zIndex},on:{close:t.hide}},[t.showHealthFile?i("a",{staticClass:"act-picker-back",attrs:{slot:"headerLeft",href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.goBack.apply(null,arguments)}},slot:"headerLeft"}):t._e(),t._v(" "),t.showHealthFile?[i("act-scroll-zoom",{ref:"scrollZoom",staticClass:"act-doc-content",attrs:{termsInfo:t.termsInfo,brandColor:t.brandColor,docIndex:0}})]:[t.appNotice.health&&t.insuranceNotice.health?[2===t.notice_mode||3===t.notice_mode?i("div",{staticClass:"act-notice-header"},t._l(t.noticeHeaderOptions,function(e,n){return i("div",{key:n,staticClass:"item",style:"color: "+(t.headerActiveIndex===n?t.brandColor||"#8c7fee":"#333333")+";font-size: "+(t.headerActiveIndex===n?"17px":"15px"),on:{click:function(e){return t.selHeader(n)}}},[t._v("\n "+t._s(e.text)+"\n ")])}),0):t._e()]:t._e(),t._v(" "),i("div",{staticClass:"act-health-layer"},[t.health?[t.health.list.length>1?i("div",{staticClass:"act-health-nav",class:{"flex-content":t.health.list.length<3},attrs:{slot:"header"},slot:"header"},[i("scroll",{attrs:{direction:"horizontal"}},t._l(t.health.list,function(e,n){return i("div",{key:n,staticClass:"act-health-nav-item",class:{active:t.isSelected(n)},style:{color:t.isSelected(n)?t.brandColor:""},on:{click:function(e){return e.stopPropagation(),t.changeVer(n)}}},[t._v("\n "+t._s(e.notice_name||e.ver)+"\n "),i("i",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(i)"}],style:{"background-color":t.brandColor}})])}),0)],1):t._e(),t._v(" "),t._l(t.health.list,function(e,n){return[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isSelected(n),expression:"isSelected(k)"}],key:"health"+n,staticClass:"act-health-container"},[i("health-tips",{attrs:{item:e}}),t._v(" "),e.healthContent&&!e.isOffline?i("health-content",{attrs:{title:e.notice_name||e.ver||"健康告知",item:e},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),e.healthContent&&e.isOffline?i("offline-health",{attrs:{title:e.notice_name||e.ver||"健康告知",brandColor:t.brandColor,item:e},on:{viewOfflineTips:t.viewOfflineTips,handleToast:function(e){return t.$emit("handleToast")}}}):t._e()],1)]})]:t._e(),t._v(" "),t.tourism?i("health-content",{attrs:{title:"旅游告知",item:{content:t.tourism}},on:{openHealthFile:t.openHealthFile}}):t._e(),t._v(" "),i("deny-carrer",{attrs:{denyCarrerList:t.denyCarrerList},on:{select:t.carrerSelect}})],2)]],2)},s=[];n._withStripped=!0},1679:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return s});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"act-gold-insure-notice"},[i("div",{staticClass:"act-gold-insure-notice-text",style:{color:t.textColor,"font-size":t.fontSize}},[i("span",{domProps:{innerHTML:t._s(t.text)}}),t._v(" "),t._l(t.noticeFiles,function(e,n){return[n==t.noticeFiles.length-1&&0!=n?i("span",{key:n+"span"},[t._v("和")]):0!=n?i("span",{key:n+"span"},[t._v("、")]):t._e(),t._v(" "),e.track?i("a",{key:n+"a",staticClass:"act-gold-insure-notice-item",style:{color:t.brandColor},attrs:{"data-track":e.track},on:{click:function(i){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")]):i("a",{key:n+"a",staticClass:"act-gold-insure-notice-item",style:{color:t.brandColor},attrs:{"data-track":e.track||""},on:{click:function(i){return t.onClick(e)}}},[t._v("《"+t._s(e.title)+"》")])]})],2),t._v(" "),i("act-gold-dialog",{ref:"tipsDialog",attrs:{maskClosable:!0,title:"提示",zIndex:t.zIndex+1,content:t.offlineTips,buttonType:"sticky",showConfirmButton:"",confirmButtonColor:t.brandColor||"#8c7fee",confirmButtonText:"确认"}}),t._v(" "),i("Toast",{ref:"offlineToast"})],1)},s=[];n._withStripped=!0},2:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},22:function(e,i){e.exports=t},35:function(t,i){t.exports=e},38:function(t,e){t.exports=i},557:function(t,e){t.exports=s},558:function(t,e){t.exports=o},7:function(t,e,i){"use strict";function n(t,e,i,n,s,o,r,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var l="function"==typeof t?t.options:t;e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o);var h;if(r?(h=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=h):s&&(h=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),h)if(l.functional){l._injectStyles=h;var u=l.render;l.render=function(t,e){return h.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,h):[h]}return{exports:t,options:l}}e.a=n},805:function(t,e){t.exports=r},806:function(t,e){t.exports=a}})});
|