Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/68.0574ec998fe0fd63db57.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
7.1 KiB
JavaScript

webpackJsonp([68],{F6ge:function(n,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=t("Dd8w"),i=t.n(e),o=t("MZdq"),d=(t("9Zzp"),t("mBCk")),s=t("COE1"),r={mixins:[d.a],data:function(){return{formatTips:"图片支持jpg、jpeg、png、bmp、jfif 格式,像素4000*3000以内,最大支持3MB",tips:'上传身份证正面 <span style="color:red;">或</span>国徽面',idCardUrl:"",responseText:"",idCardInfo:{},idCardBackInfo:{},isShowInfo:!1,isShowBackInfo:!1}},created:function(){},methods:{upload:function(n){var a=this,t={channelCode:"system",image:n,getFace:1};o.b.idCardInfo(t).then(function(n){n.data&&n.success?(1==n.data.type?(a.isShowInfo=!0,a.isShowBackInfo=!1,a.idCardInfo=i()({face:{}},n.data)):(a.isShowBackInfo=!0,a.isShowInfo=!1,a.idCardBackInfo=n.data),a.responseText=n):(a.isShowInfo=!1,a.isShowBackInfo=!1,a.$message.error(n.message),a.responseText=n)})}},components:{responseText:s.a}},p={render:function(){var n=this,a=n.$createElement,t=n._self._c||a;return t("div",{staticClass:"app-container"},[t("el-card",{attrs:{shadow:"hover"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",{staticStyle:{"font-size":"14px"}},[n._v("上传身份证正面/反面照片,识别身份证信息")])]),n._v(" "),t("div",{staticClass:"simulator-box"},[t("div",{staticClass:"up-box",staticStyle:{position:"relative"}},[t("img-upload",{attrs:{buttonText:"上传图片",tips:n.tips,formatTip:n.formatTips,fileSize:3},on:{upload:n.upload}})],1),n._v(" "),t("span",{staticClass:"result-tip-text"},[n._v("识别结果")]),n._v(" "),t("div",{staticClass:"card-box"},[n.isShowInfo?t("ul",{staticClass:"card-info"},[t("li",{staticClass:"card-avatar"},[t("img",{attrs:{src:"data:image/jpeg;base64,"+n.idCardInfo.face.image,alt:""}})]),n._v(" "),t("li",[n._v("\n 姓名:\n "),t("span",[n._v(n._s(n.idCardInfo.name))])]),n._v(" "),t("li",[n._v("\n 性别:\n "),t("span",{staticStyle:{"margin-right":"54px"}},[n._v(n._s(n.idCardInfo.sex))]),n._v("民族:\n "),t("span",[n._v(n._s(n.idCardInfo.folk))])]),n._v(" "),t("li",[n._v("\n 出生:\n "),t("span",[n._v(n._s(n.idCardInfo.birthday))])]),n._v(" "),t("li",{staticStyle:{"word-wrap":"break-word"}},[t("div",{staticStyle:{display:"inline-block",float:"left"}},[n._v("住址:")]),n._v(" "),t("div",{staticStyle:{display:"inline-block",position:"relative",left:"13px","padding-top":"10px","line-height":"23px",width:"81%",color:"#3399ff"}},[n._v("\n "+n._s(n.idCardInfo.address)+"\n ")])]),n._v(" "),t("li",[n._v("\n 公民身份证号码:\n "),t("span",[n._v(n._s(n.idCardInfo.cardno))])])]):n._e(),n._v(" "),n.isShowBackInfo?t("ul",{staticClass:"card-info"},[t("li",{staticStyle:{"text-align":"center","font-size":"18px","margin-top":"20px"}},[n._v("中华人民共和国")]),n._v(" "),t("li",{staticStyle:{"text-align":"center","font-size":"22px","margin-bottom":"30px"}},[n._v("\n 居  民  身  份  证\n ")]),n._v(" "),t("li",{staticClass:"two-li"},[n._v("\n 签发机关:\n "),t("span",[n._v(n._s(n.idCardBackInfo.authority))])]),n._v(" "),t("li",{staticClass:"two-li"},[n._v("\n 有效期限:\n "),t("span",[n._v(n._s(n.idCardBackInfo.validdate1+"-"+n.idCardBackInfo.validdate2))])])]):n._e(),n._v(" "),n.isShowInfo||n.isShowBackInfo?n._e():t("span",{staticClass:"none-data"},[n._v("暂无数据")])])])]),n._v(" "),t("response-text",{attrs:{responseText:n.responseText}})],1)},staticRenderFns:[]};var l=t("VU/8")(r,p,!1,function(n){t("Ks/o")},"data-v-ce9f5f86",null);a.default=l.exports},"Ks/o":function(n,a,t){var e=t("p/H2");"string"==typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);t("rjj0")("6af2bfdc",e,!0)},"p/H2":function(n,a,t){(n.exports=t("FZ+f")(!1)).push([n.i,"\n@media screen and (max-width: 1590px) {\n.up-box[data-v-ce9f5f86] {\n width: 386px;\n}\n.card-box[data-v-ce9f5f86] {\n width: 386px;\n}\n.avatar[data-v-ce9f5f86] {\n max-width: 386px;\n}\n.two-li[data-v-ce9f5f86] {\n margin-left: 40px;\n}\n}\n@media screen and (min-width: 1590px) {\n.up-box[data-v-ce9f5f86] {\n width: 486px;\n}\n.card-box[data-v-ce9f5f86] {\n width: 486px;\n}\n.avatar[data-v-ce9f5f86] {\n max-width: 486px;\n}\n.two-li[data-v-ce9f5f86] {\n margin-left: 80px;\n}\n}\n.none-data[data-v-ce9f5f86] {\n font-size: 16px;\n color: #74777c;\n line-height: 308px;\n}\n.card-box[data-v-ce9f5f86] {\n height: 355px;\n display: inline-block;\n margin-top: 80px;\n text-align: center;\n position: relative;\n background: #f4f5f9;\n padding: 0 0 0 15px;\n overflow-y: auto;\n margin-left: -65px;\n}\n.avatar-uploader .el-upload[data-v-ce9f5f86] {\n border: 1px dashed #aaa;\n border-radius: 6px;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n}\n.avatar-uploader .el-upload[data-v-ce9f5f86]:hover {\n border-color: #409eff;\n}\n.avatar-uploader-icon[data-v-ce9f5f86] {\n border: 1px dashed #aaa;\n font-size: 28px;\n color: #8c939d;\n width: 178px;\n height: 178px;\n line-height: 178px;\n text-align: center;\n display: none;\n}\n.up-box[data-v-ce9f5f86] {\n text-align: center;\n line-height: 335px;\n height: 335px;\n display: block;\n float: left;\n margin-right: 80px;\n margin-top: 80px;\n margin-bottom: 74px;\n display: table-cell;\n background: #f4f5f9;\n}\n.avatar[data-v-ce9f5f86] {\n max-height: 335px;\n vertical-align: middle;\n text-align: center;\n margin-top: -5px;\n}\n.card-info[data-v-ce9f5f86] {\n margin-top: 30px;\n text-align: left;\n position: relative;\n padding-left: 20px;\n height: 281px;\n border-radius: 6px;\n border: 1px dashed #3399ff;\n padding-top: 22px;\n width: calc(100% - 15px);\n}\n.card-info li[data-v-ce9f5f86] {\n font-size: 14px;\n line-height: 47px;\n}\n.card-info li span[data-v-ce9f5f86] {\n color: #3399ff;\n font-size: 14px;\n margin-left: 8px;\n}\nli[data-v-ce9f5f86] {\n list-style: none;\n line-height: 30px;\n}\n.simulator-box[data-v-ce9f5f86] {\n position: relative;\n min-height: 280px;\n width: 1500px;\n}\n.simulator-box .result-tip-text[data-v-ce9f5f86] {\n padding-left: 5px;\n border-left: 4px solid #3399FF;\n display: inline-block;\n float: left;\n height: 18px;\n line-height: 18px;\n font-size: 14px;\n margin-top: 40px;\n}\n[data-v-ce9f5f86] .el-upload--picture-card {\n width: 170px;\n height: 170px;\n}\n[data-v-ce9f5f86] .el-upload-list--picture-card .el-upload-list__item {\n width: 170px;\n height: 170px;\n text-align: center;\n vertical-align: middle;\n}\n[data-v-ce9f5f86] .el-upload-list--picture-card .el-upload-list__item-thumbnail {\n max-width: 170px;\n max-height: 170px;\n width: auto;\n height: auto;\n}\n.default-frame[data-v-ce9f5f86] {\n height: 147px;\n width: 110px;\n margin-bottom: 13px;\n margin-right: 24px;\n background: url("+t("gpWv")+") center no-repeat;\n}\n.card-avatar[data-v-ce9f5f86] {\n display: inline-block;\n position: absolute;\n right: 23px;\n top: 25px;\n}\n.card-avatar img[data-v-ce9f5f86] {\n max-height: 110px;\n max-width: 110px;\n}\n",""])}});