Files
starRiverProperty/frontend/cwos-portal/static/js/80.f38a23ec57f8c49f1e62.js
T
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
2026-04-27 13:40:23 +08:00

1 line
8.3 KiB
JavaScript

webpackJsonp([80],{"/FNL":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=a("+giH"),i=a("MZdq"),s=(a("9Zzp"),{data:function(){return{imageUrl:"",ajax:e.a,spotImages:["","",""],identifiedImages:["","","","","",""],selectedImg:"0",responseText:"",selectedImgArray:[],faceInfo:{},isShowInfo:!1,loading:!1,proportion:"",boxWidth:"",err:"",resultImgs:[]}},methods:{recognition:function(){var t=this;this.loading=!0;var n={channelCode:"system",spotImages:this.spotImages,identifiedImages:this.identifiedImages.reduce(function(t,n){return n&&t.push(n),t},[])};i.b.bodyRecognition(n).then(function(n){t.loading=!1,t.err=n.message,n.success&&n.data?(t.responseText=n,t.resultImgs=n.data,t.selectedImg="0",t.selectedImgChange("0")):(t.$message.error(n.message),t.responseText=n)}).catch(function(n){t.loading=!1,t.$message.error(t.err)})},selectedImgChange:function(t){var n=this.resultImgs[t];n&&"success"===n.info?this.selectedImgArray=n.faces:this.selectedImgArray=[]}},components:{responseText:a("COE1").a}}),o={render:function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("div",{staticClass:"app-container"},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"14px"}},[t._v("通过上传的图片,解决跨摄像头跨场景下行人的识别与检索。")])]),t._v(" "),a("div",[a("strong",[t._v("需识别图片:")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{"font-size":"12px"}},[t._v("图片支持PNG、JGP、BMP格式,最大支持3MB")])]),t._v(" "),a("div",{staticClass:"simulator-box",staticStyle:{"margin-top":"10px"}},[a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.spotImages[0]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片1")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.spotImages[1]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片2")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.spotImages[2]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片3")])],1)]),t._v(" "),a("div",[a("strong",[t._v("被识别图片:")]),t._v(" "),a("br"),t._v(" "),a("span",{staticStyle:{"font-size":"12px"}},[t._v("图片支持PNG、JGP、BMP格式,最大支持3MB")])]),t._v(" "),a("div",{staticClass:"simulator-box",staticStyle:{"margin-top":"10px"}},[a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[0]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片1")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[1]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片2")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[2]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片3")])],1)]),t._v(" "),a("div",{staticClass:"simulator-box"},[a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[3]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片4")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[4]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片5")])],1),t._v(" "),a("div",{staticClass:"up-box"},[a("new-img-upload",{attrs:{showTips:!1,showButton:!1},on:{upload:function(n){t.identifiedImages[5]=n}}}),t._v(" "),a("span",{staticClass:"up-box-label"},[t._v("图片6")])],1)]),t._v(" "),a("div",{staticStyle:{position:"relative"}},[a("div",{staticClass:"right-box"},[a("el-radio-group",{staticStyle:{"margin-bottom":"30px"},on:{change:t.selectedImgChange},model:{value:t.selectedImg,callback:function(n){t.selectedImg=n},expression:"selectedImg"}},[a("el-radio-button",{attrs:{label:"0"}},[t._v("图片1")]),t._v(" "),a("el-radio-button",{attrs:{label:"1"}},[t._v("图片2")]),t._v(" "),a("el-radio-button",{attrs:{label:"2"}},[t._v("图片3")])],1),t._v(" "),a("div",t._l(t.selectedImgArray,function(t){return a("img",{staticStyle:{height:"210px",width:"160px",padding:"10px"},attrs:{src:t.faceUrl}})}),0)],1)]),t._v(" "),a("div",{staticStyle:{"text-align":"center"}},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:t.recognition}},[t._v("开始识别")])],1)]),t._v(" "),a("response-text",{attrs:{responseText:t.responseText}})],1)},staticRenderFns:[]};var l=a("VU/8")(s,o,!1,function(t){a("IsxE")},"data-v-75083ce2",null);n.default=l.exports},IsxE:function(t,n,a){var e=a("nQHV");"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);a("rjj0")("03b1cb26",e,!0)},nQHV:function(t,n,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\n@media screen and (max-width: 1590px) {\n.up-box[data-v-75083ce2] {\n width: 386px;\n}\n.card-box[data-v-75083ce2] {\n width: 386px;\n}\n.avatar[data-v-75083ce2] {\n max-width: 386px;\n}\n}\n@media screen and (min-width: 1590px) {\n.up-box[data-v-75083ce2] {\n width: 386px;\n}\n.card-box[data-v-75083ce2] {\n width: 386px;\n}\n.avatar[data-v-75083ce2] {\n max-width: 386px;\n}\n}\n.none-data[data-v-75083ce2] {\n font-size: 16px;\n color: #74777c;\n line-height: 308px;\n}\n.up-box-label[data-v-75083ce2] {\n top: 215px;\n left: calc(50% - 19px);\n}\n.card-box[data-v-75083ce2] {\n height: 335px;\n display: inline-block;\n margin-top: 50px;\n text-align: center;\n position: relative;\n background: #f4f5f9;\n padding-top: 13px;\n padding-left: 131px;\n}\n.imageBox[data-v-75083ce2] {\n position: absolute;\n top: 0;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n left: 50%;\n top: 50%;\n}\n.frame[data-v-75083ce2] {\n border: 2px solid #3399ff;\n position: absolute;\n display: none;\n}\n.right-box[data-v-75083ce2] {\n position: absolute;\n left: 520px;\n top: -900px;\n}\n.avatar-uploader .el-upload[data-v-75083ce2] {\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-75083ce2]:hover {\n border-color: #409eff;\n}\n.avatar-uploader-icon[data-v-75083ce2] {\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-75083ce2] {\n vertical-align: middle;\n text-align: center;\n height: 210px;\n width: 160px;\n display: inline-block;\n /* float: left; */\n /* margin-right: 80px;\n margin-top: 50px;\n margin-bottom: 74px; */\n /* display: table-cell; */\n background: #f4f5f9;\n}\n.avatar[data-v-75083ce2] {\n max-height: 335px;\n vertical-align: middle;\n text-align: center;\n margin-top: -2px;\n /* position: absolute; */\n}\n.card-info[data-v-75083ce2] {\n text-align: left;\n position: relative;\n padding-top: 10px;\n}\n.card-info li[data-v-75083ce2] {\n font-size: 14px;\n}\n.card-info li span[data-v-75083ce2] {\n display: inline-block;\n width: 70px;\n text-align: right;\n}\nli[data-v-75083ce2] {\n list-style: none;\n line-height: 40px;\n}\n.simulator-box[data-v-75083ce2] {\n position: relative;\n min-height: 280px;\n width: auto;\n}\n[data-v-75083ce2] .el-upload--picture-card {\n width: 170px;\n height: 170px;\n}\n[data-v-75083ce2] .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-75083ce2] .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-75083ce2] {\n height: 147px;\n width: 110px;\n margin-bottom: 13px;\n margin-right: 24px;\n background: url("+a("gpWv")+") center no-repeat;\n}\n.card-avatar[data-v-75083ce2] {\n display: inline-block;\n position: absolute;\n right: 58px;\n top: 45px;\n}\n.avatar-title[data-v-75083ce2] {\n display: inline-block;\n position: absolute;\n right: 132px;\n top: 10px;\n}\n.card-avatar img[data-v-75083ce2] {\n max-height: 100px;\n max-width: 100px;\n}\n",""])}});