chunk-5d3f07e9.9b89d1fa.js 10.8 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d3f07e9"],{1148:function(e,t,n){"use strict";var a=n("a691"),c=n("1d80");e.exports=function(e){var t=String(c(this)),n="",u=a(e);if(u<0||u==1/0)throw RangeError("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(t+=t))1&u&&(n+=t);return n}},2175:function(e,t,n){},3981:function(e,t,n){"use strict";n("2175")},"408a":function(e,t,n){var a=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),u=n("672a"),r=n("c68b"),i=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return u["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return u["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return u["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return u["a"].request({method:"GET",url:"/zones/zoneList",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return u["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new i;t["a"]=o},"813f":function(e,t,n){},b680:function(e,t,n){"use strict";var a=n("23e7"),c=n("a691"),u=n("408a"),r=n("1148"),i=n("d039"),o=1..toFixed,l=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},s=function(e,t,n){var a=-1,c=n;while(++a<6)c+=t*e[a],e[a]=c%1e7,c=l(c/1e7)},f=function(e,t){var n=6,a=0;while(--n>=0)a+=e[n],e[n]=l(a/t),a=a%t*1e7},p=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var a=String(e[t]);n=""===n?a:n+r.call("0",7-a.length)+a}return n},O=o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i((function(){o.call({})}));a({target:"Number",proto:!0,forced:O},{toFixed:function(e){var t,n,a,i,o=u(this),l=c(e),O=[0,0,0,0,0,0],j="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(j="-",o=-o),o>1e-21)if(t=d(o*b(2,69,1))-69,n=t<0?o*b(2,-t,1):o/b(2,t,1),n*=4503599627370496,t=52-t,t>0){s(O,0,n),a=l;while(a>=7)s(O,1e7,0),a-=7;s(O,b(10,a,1),0),a=t-1;while(a>=23)f(O,1<<23),a-=23;f(O,1<<a),s(O,1,1),f(O,2),m=p(O)}else s(O,0,n),s(O,1<<-t,0),m=p(O)+r.call("0",l);return l>0?(i=m.length,m=j+(i<=l?"0."+r.call("0",l-i)+m:m.slice(0,i-l)+"."+m.slice(i-l))):m=j+m,m}})},b93f:function(e,t,n){"use strict";var a=n("7a23"),c=function(e){return Object(a["M"])("data-v-31a12a94"),e=e(),Object(a["K"])(),e},u={class:"result-wrapper"},r=c((function(){return Object(a["m"])("div",{class:"result-header"},"结果展示",-1)})),i={class:"scrollbar-wrapper"},o={class:"result-item"},l={class:"result-page"},b=Object(a["o"])(" 执行进度 : "),d={class:"pagination-page"};function s(e,t,n,c,s,f){var p=Object(a["S"])("el-col"),O=Object(a["S"])("el-progress"),j=Object(a["S"])("el-row");return Object(a["J"])(),Object(a["l"])("div",u,[r,Object(a["m"])("div",i,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.resultList,(function(e){return Object(a["J"])(),Object(a["l"])("div",o,[Object(a["m"])("div",l,[Object(a["m"])("span",null,"总处理条数 : "+Object(a["W"])(e.totalNum)+"条",1)]),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{"text-inside":!0,"stroke-width":26,percentage:null===e||void 0===e?void 0:e.progress},null,8,["percentage"])]})),_:2},1024)]})),_:2},1024),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["m"])("span",null,"第"+Object(a["W"])(e.current)+"条/共"+Object(a["W"])(e.curPageSize)+"条",1),Object(a["m"])("span",d,"第"+Object(a["W"])(e.currentPage)+"页/共"+Object(a["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var n=e.data;return{resultList:n}}},p=(n("3981"),n("d959")),O=n.n(p);const j=O()(f,[["render",s],["__scopeId","data-v-31a12a94"]]);t["a"]=j},bafa:function(e,t,n){"use strict";n("813f")},d986:function(e,t,n){"use strict";n.r(t);n("b680");var a=n("7a23"),c=Object(a["o"])("半身照"),u=Object(a["o"])("全身照"),r=Object(a["o"])(" 选择文件 "),i=Object(a["o"])("搜索"),o={class:"itemBox"},l={class:"featureNum"};function b(e,t,n,b,d,s){var f=Object(a["S"])("a-select"),p=Object(a["S"])("a-form-item"),O=Object(a["S"])("a-select-option"),j=Object(a["S"])("el-input-number"),m=Object(a["S"])("a-date-picker"),v=Object(a["S"])("upload-outlined"),g=Object(a["S"])("a-button"),_=Object(a["S"])("a-upload"),h=Object(a["S"])("a-form"),y=Object(a["S"])("el-image"),w=Object(a["S"])("el-col"),F=Object(a["S"])("el-row"),S=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(h,{model:b.queryForm,layout:"inline"},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return b.queryForm.account_id=e}),style:{width:"280px"},onChange:b.onAccountChange,options:b.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(p,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return b.queryForm.plaza_id=e}),style:{width:"280px"},options:b.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(p,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.picType,"onUpdate:value":t[2]||(t[2]=function(e){return b.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{value:"1"},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(O,{value:"2"},{default:Object(a["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(p,{label:"分数:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:b.queryForm.customScore,"onUpdate:modelValue":t[3]||(t[3]=function(e){return b.queryForm.customScore=e})},null,8,["modelValue"])]})),_:1}),Object(a["p"])(p,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(m,{value:b.queryForm.countdate,"onUpdate:value":t[4]||(t[4]=function(e){return b.queryForm.countdate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(p,{label:"选择文件:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{"file-list":b.fileList,"before-upload":b.beforeUpload,multiple:!1,onRemove:b.handleRemove,action:""},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(v),r]})),_:1})]})),_:1},8,["file-list","before-upload","onRemove"]),Object(a["o"])(" "+Object(a["W"])(b.fileName),1)]})),_:1}),Object(a["p"])(p,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:b.queryData},{default:Object(a["ib"])((function(){return[i]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[Object(a["m"])("div",{class:"resultContent",style:Object(a["A"])({height:e.contentHeight+"px"})},[Object(a["p"])(F,{gutter:20},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(b.resultList,(function(e){return Object(a["J"])(),Object(a["j"])(w,{span:3},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",o,[Object(a["m"])("div",null,Object(a["W"])(e.id),1),Object(a["p"])(y,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("p",l,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1)])]})),_:2},1024)})),256))]})),_:1})],4)])),[[S,b.isLoading]])],64)}var d=n("b85c"),s=(n("b0c0"),n("fb6a"),n("a434"),n("d3b7"),n("25f0"),n("159b"),n("3fd4")),f=n("c1df"),p=n.n(f),O=n("4df8"),j=n("f944"),m=(n("c68b"),n("d4ec")),v=n("bee2"),g=n("672a"),_=function(){function e(){Object(m["a"])(this,e)}return Object(v["a"])(e,[{key:"getFindByFeature",value:function(e){return g["a"].request({method:"POST",url:"/feature/findByFeature",data:e})}}]),e}(),h=new _,y=h,w=n("b93f"),F={components:{ResultDisplay:w["a"]},setup:function(){var e=Object(a["O"])([]),t=Object(a["O"])([]),n=Object(a["O"])([]),c=Object(a["O"])(!1),u=Object(a["N"])({account_id:[],plaza_id:[],picType:"1",countdate:p()(p()().format("YYYY-MM-DD"),"YYYY-MM-DD"),customScore:75,feature:""}),r=[],i=Object(a["O"])(""),o=function(e){return i.value=e.name,r.value=e,!1},l=function(e){var t=r.value.indexOf(e),n=r.value.slice();n.splice(t,1),r.value=n},b=function(){f()},f=function(){u.plaza_id=[],n.value=[],O["a"].getPlazaList({account_id:u.account_id.toString()}).then((function(e){if(Object(j["a"])(e)){var t,a=Object(d["a"])(e);try{for(a.s();!(t=a.n()).done;){var c=t.value;n.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},m=function(){u.account_id=[],t.value=[],O["a"].getAccountList().then((function(e){if(Object(j["a"])(e)){var n,a=Object(d["a"])(e);try{for(a.s();!(n=a.n()).done;){var c=n.value;t.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},v=function(){var t=Object(a["Y"])(u);c.value=!0;var n=new FormData;n.append("featureFile",r.value),n.append("plaza_id",t.plaza_id),n.append("pic_type",t.picType),n.append("countdate",p()(t.countdate).format("YYYY-MM-DD")),n.append("ip",window._baseImgUrl),n.append("customScore",t.customScore),y.getFindByFeature(n).then((function(t){200==t.msg_code?t.data&&t.data.length>0&&(t.data.forEach((function(e){e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),e.value=t.data):Object(s["a"])({message:t.msg_info,type:"warning"}),c.value=!1}))},g=function(){m()};return g(),{accountList:t,plazaList:n,resultList:e,fileList:r,queryForm:u,fileName:i,onAccountChange:b,queryData:v,beforeUpload:o,handleRemove:l,isLoading:c}}},S=(n("bafa"),n("d959")),x=n.n(S);const q=x()(F,[["render",b],["__scopeId","data-v-49f179a9"]]);t["default"]=q}}]);