chunk-f6efcd8e.a9f0dbc7.js
48 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f6efcd8e"],{"11e3":function(e,t,n){"use strict";n("1753")},1753:function(e,t,n){},"1f7b":function(e,t,n){"use strict";n("8cda")},"6d28":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),i=n("672a"),l=n("c68b"),u=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getPersonContrastList",value:function(e){return i["a"].request({method:"GET",url:"/feature/personContrasts",params:Object(l["a"])(e)})}},{key:"getAllPersonContrastList",value:function(e){return i["a"].request({method:"GET",url:"/feature/allPersonContrast",params:Object(l["a"])(e)})}},{key:"getNewPersonContrastList",value:function(e){return i["a"].request({method:"GET",url:"/feature/newPersonContrast",params:Object(l["a"])(e)})}},{key:"updateImage",value:function(e){return i["a"].request({method:"PUT",url:"/faceRecognitions",data:Object(l["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"8cda":function(e,t,n){},d73e:function(e,t,n){"use strict";n("f1fb")},e199:function(e,t,n){"use strict";n.r(t);var a=n("7a23"),c=Object(a["o"])(" 抓拍记录 "),i=Object(a["o"])(" 聚类结果 "),l={key:0},u={key:1};function o(e,t,n,o,r,b){var d=Object(a["S"])("a-menu-item"),s=Object(a["S"])("a-menu"),p=Object(a["S"])("SnapshotRecord"),O=Object(a["S"])("ClusterResult");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(s,{selectedKeys:o.currentMenu,"onUpdate:selectedKeys":t[0]||(t[0]=function(e){return o.currentMenu=e}),mode:"horizontal"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(),Object(a["j"])(d,{key:"抓拍记录"},{default:Object(a["ib"])((function(){return[c]})),_:1})),(Object(a["J"])(),Object(a["j"])(d,{key:"聚类结果"},{default:Object(a["ib"])((function(){return[i]})),_:1}))]})),_:1},8,["selectedKeys"]),"抓拍记录"===o.currentMenu[0]?(Object(a["J"])(),Object(a["l"])("div",l,[Object(a["p"])(p)])):Object(a["k"])("",!0),"聚类结果"===o.currentMenu[0]?(Object(a["J"])(),Object(a["l"])("div",u,[Object(a["p"])(O)])):Object(a["k"])("",!0)],64)}var r=Object(a["o"])("全场"),b=Object(a["o"])("广场出入口"),d=Object(a["o"])("楼层出入口"),s=Object(a["o"])("店铺出入口"),p=Object(a["o"])("其他"),O=Object(a["o"])("进"),j=Object(a["o"])("出"),f=Object(a["o"])("横穿"),m=Object(a["o"])("半身照"),g=Object(a["o"])("全身照"),v=Object(a["o"])("店员"),_=Object(a["o"])("顾客"),y=Object(a["o"])("未知"),h=Object(a["o"])("查询"),w=Object(a["o"])("特征对比验证"),C=["onClick"],k={style:{}},x=["onClick"],z=["onClick"];function S(e,t,n,c,i,l){var u=Object(a["S"])("a-select"),o=Object(a["S"])("a-form-item"),S=Object(a["S"])("a-select-option"),T=Object(a["S"])("a-date-picker"),F=Object(a["S"])("a-time-picker"),L=Object(a["S"])("a-button"),D=Object(a["S"])("a-form"),q=Object(a["S"])("el-image"),P=Object(a["S"])("el-col"),I=Object(a["S"])("el-row"),U=Object(a["S"])("a-pagination"),J=Object(a["S"])("DetailDialog"),W=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(D,{model:c.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(o,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return c.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onAccountChange,options:c.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return c.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onPlazaChange,options:c.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"出入类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.type,"onUpdate:value":t[2]||(t[2]=function(e){return c.queryForm.type=e}),style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(S,{value:0},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(S,{value:1},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(S,{value:2},{default:Object(a["ib"])((function(){return[d]})),_:1}),Object(a["p"])(S,{value:3},{default:Object(a["ib"])((function(){return[s]})),_:1}),Object(a["p"])(S,{value:4},{default:Object(a["ib"])((function(){return[p]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"区域信息:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.zone_id,"onUpdate:value":t[3]||(t[3]=function(e){return c.queryForm.zone_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onZoneChange,options:c.zoneList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"监控点:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.gate_id,"onUpdate:value":t[4]||(t[4]=function(e){return c.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:c.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(o,{label:"方向:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.direction,"onUpdate:value":t[5]||(t[5]=function(e){return c.queryForm.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(S,{value:1},{default:Object(a["ib"])((function(){return[O]})),_:1}),Object(a["p"])(S,{value:-1},{default:Object(a["ib"])((function(){return[j]})),_:1}),Object(a["p"])(S,{value:0},{default:Object(a["ib"])((function(){return[f]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.picType,"onUpdate:value":t[6]||(t[6]=function(e){return c.queryForm.picType=e}),style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(S,{value:1},{default:Object(a["ib"])((function(){return[m]})),_:1}),Object(a["p"])(S,{value:2},{default:Object(a["ib"])((function(){return[g]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.personType,"onUpdate:value":t[7]||(t[7]=function(e){return c.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(S,{value:1},{default:Object(a["ib"])((function(){return[v]})),_:1}),Object(a["p"])(S,{value:0},{default:Object(a["ib"])((function(){return[_]})),_:1}),Object(a["p"])(S,{value:-99},{default:Object(a["ib"])((function(){return[y]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(T,{value:c.queryForm.date,"onUpdate:value":t[8]||(t[8]=function(e){return c.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(o,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(F,{value:c.queryForm.startTime,"onUpdate:value":t[9]||(t[9]=function(e){return c.queryForm.startTime=e}),style:{width:"140px"}},null,8,["value"]),Object(a["p"])(F,{value:c.queryForm.endTime,"onUpdate:value":t[10]||(t[10]=function(e){return c.queryForm.endTime=e}),style:{width:"140px"}},null,8,["value"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(L,{type:"primary",onClick:c.clickSearch,loading:c.isLoading},{default:Object(a["ib"])((function(){return[h]})),_:1},8,["onClick","loading"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(L,{type:"primary",onClick:c.comparativeFun},{default:Object(a["ib"])((function(){return[w]})),_: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:c.contentHeight+"px"})},[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.pagedTableDataList,(function(e){return Object(a["J"])(),Object(a["j"])(I,null,{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(e,(function(e){return Object(a["J"])(),Object(a["j"])(P,{span:3},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{style:{margin:"0 5px",cursor:"pointer"},onClick:function(t){return c.handleClick(e)},class:Object(a["z"])(c.currentItemId==e.id?"actived":"")},[Object(a["m"])("div",k,[Object(a["m"])("span",{onClick:function(t){return c.downloadTrajectoryFile(e.track_url)},class:"downBtn"}," 轨迹 ",8,x),Object(a["m"])("span",{onClick:function(t){return c.downloadFile(e.features_url)},class:"downBtn downBtn1"}," 特征 ",8,z)]),Object(a["p"])(q,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":0==e.person_type?"顾客":"未知"),1),Object(a["m"])("div",null,"性别:"+Object(a["W"])(c.formatGender(e.gender))+"("+Object(a["W"])(e.age)+")",1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,C)]})),_:2},1024)})),256))]})),_:2},1024)})),256))],4),Object(a["p"])(U,{current:c.pageNum,"onUpdate:current":t[11]||(t[11]=function(e){return c.pageNum=e}),pageSize:c.pageSize,"onUpdate:pageSize":t[12]||(t[12]=function(e){return c.pageSize=e}),total:c.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["24","48","96","192"],onChange:c.onPageNumChange,onShowSizeChange:c.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])])),[[W,c.isLoading]]),Object(a["p"])(J,{ref:"DetailDialogRef"},null,512)],64)}var T=n("b85c"),F=(n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("4df8")),L=n("f944"),D=n("c1df"),q=n.n(D),P=n("c68b"),I=n("3fd4"),U=n("19e3"),J={components:{DetailDialog:U["a"]},setup:function(){var e=Object(a["O"])(1),t=Object(a["O"])(24),n=Object(a["O"])(),c=Object(a["O"])(!1),i=Object(a["O"])([]),l=Object(a["O"])([]),u=Object(a["O"])([]),o=Object(a["O"])([]),r=Object(a["O"])([]),b=Object(a["O"])(),d=Object(a["O"])(),s=Object(a["O"])({}),p=Object(a["O"])(),O=Object(a["h"])((function(){return Object(P["d"])(i.value,8)})),j=Object(a["N"])({account_id:[],plaza_id:[],zone_id:[],gate_id:[],type:0,direction:[1,-1,0],picType:2,personType:[1,0],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss")}),f=Object(a["O"])({});window.localStorage.getItem("searchCondition")&&(f.value=JSON.parse(window.localStorage.getItem("searchCondition")),j.type=f.value.type,j.zone_id=f.value.zone_id,j.gate_id=f.value.gate_id,j.direction=f.value.direction,j.picType=f.value.picType,j.date=f.value.date,j.startTime=f.value.startTime,j.endTime=f.value.endTime);var m=function(t){e.value=t,x()},g=function(n,a){e.value=1,t.value=a,x()},v=function(){h(1)},_=function(){w(),C()},y=function(){C()},h=function(e){j.plaza_id=[],u.value=[],F["a"].getPlazaList({account_id:j.account_id.toString()}).then((function(t){if(Object(L["a"])(t)){var n,a=Object(T["a"])(t);try{for(a.s();!(n=a.n()).done;){var c=n.value;u.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}u.value.length&&(!e&&f.value.plaza_id&&f.value.plaza_id.length>0?j.plaza_id=f.value.plaza_id:j.plaza_id.push(u.value[0].value),w(1),C(1),x())}}))},w=function(e){j.zone_id=[],o.value=[],F["a"].getZoneList({account_id:j.account_id.toString(),plaza_id:j.plaza_id.toString()}).then((function(t){if(Object(L["a"])(t)){var n,a=Object(T["a"])(t);try{for(a.s();!(n=a.n()).done;){var c=n.value;o.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}o.value.length&&e&&f.value.zone_id&&f.value.zone_id.length>0?j.zone_id=f.value.zone_id:j.zone_id=[]}}))},C=function(e){r.value=[],F["a"].getGateList({account_id:j.account_id.toString(),plaza_id:j.plaza_id.toString(),zone_id:j.zone_id.toString(),type:j.type}).then((function(t){if(Object(L["a"])(t.data)){var n,a=Object(T["a"])(t.data);try{for(a.s();!(n=a.n()).done;){var c=n.value;r.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}r.value.length&&e&&f.value.gate_id&&f.value.gate_id.length>0?j.gate_id=f.value.gate_id:j.gate_id=[]}}))},k=function(){j.account_id=[],l.value=[],F["a"].getAccountList().then((function(e){if(Object(L["a"])(e)){var t,n=Object(T["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;l.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}l.value.length&&(f.value.account_id&&f.value.account_id.length>0?j.account_id=f.value.account_id:j.account_id.push(l.value[0].value),h())}}))},x=function(){c.value=!0;var l=Object(a["Y"])(j),u=Object(P["a"])({account_id:l.account_id.toString(),type:l.type,plaza_id:l.plaza_id.toString(),zone_id:l.zone_id.toString(),gate_id:l.gate_id.toString(),direction:l.direction.toString(),picType:l.picType,personType:l.personType.toString(),startTime:Object(P["b"])(l.date)+" "+Object(P["c"])(l.startTime),endTime:Object(P["b"])(l.date)+" "+Object(P["c"])(l.endTime),page:e.value-1,pageSize:t.value}),o=Object(P["a"])({account_id:l.account_id,type:l.type,plaza_id:l.plaza_id,zone_id:l.zone_id,gate_id:l.gate_id,direction:l.direction,picType:l.picType,personType:l.personType,date:l.date,startTime:Object(P["b"])(l.date)+" "+Object(P["c"])(l.startTime),endTime:Object(P["b"])(l.date)+" "+Object(P["c"])(l.endTime)});window.localStorage.setItem("searchCondition",JSON.stringify(o)),F["a"].getSnapshotRecordList(u).then((function(e){c.value=!1,e.data.persons.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url),e.track_url&&(e.track_url=window._baseImgUrl+e.track_url)})),i.value=e.data.persons,n.value=e.data.pageNum,document.getElementsByClassName("resultContent")[0].scrollTop=0}))},z=function(e){switch(e){case 1:return"男";case-1:return"未知";case 0:return"女";default:break}},S=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},D=function(e){window.open(e)},U=function(e){window.open(e)},J=function(e){d.value=e.id,s.value=e},W=function(){if(s.value=={})return Object(I["a"])({message:"请选择图片进行对比验证",type:"warning"}),!1;if(s.value.picture_url){var e=Object(a["Y"])(j),t={plaza_id:s.value.mall_id,pic_type:e.picType,pic_id:s.value.id,ip:window._baseImgUrl,countdate:Object(P["b"])(e.date)};p.value.initDialog(s.value,t)}else Object(I["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"})},N=function(){e.value=1,x()},Y=Object(a["O"])(0),B=function(){k(),Y.value=window.innerHeight-310};return B(),{isLoading:c,pageNum:e,pageSize:t,total:n,currobj:s,accountList:l,plazaList:u,zoneList:o,gateList:r,pagedTableDataList:O,currentItemId:d,contentHeight:Y,queryForm:j,onPageNumChange:m,onPageSizeChange:g,onAccountChange:v,onPlazaChange:_,onZoneChange:y,confirmSearch:x,formatDirection:S,downloadFile:D,downloadTrajectoryFile:U,handleClick:J,comparativeFun:W,formatGender:z,clickSearch:N,DetailDialogRef:p,imgModelRef:b}}},W=(n("ecbf"),n("d959")),N=n.n(W);const Y=N()(J,[["render",S],["__scopeId","data-v-791a2411"]]);var B=Y,M={class:"containter"},R=Object(a["o"])("全场"),E=Object(a["o"])("广场出入口"),H=Object(a["o"])("楼层出入口"),A=Object(a["o"])("店铺出入口"),V=Object(a["o"])("其他"),Q=Object(a["o"])("进"),G=Object(a["o"])("出"),Z=Object(a["o"])("横穿"),K=Object(a["o"])("半身照"),X=Object(a["o"])("全身照"),$=Object(a["o"])("店员"),ee=Object(a["o"])("顾客"),te=Object(a["o"])("未知"),ne=Object(a["o"])(" 至 "),ae=Object(a["o"])("查询"),ce=Object(a["o"])("特征对比"),ie=Object(a["o"])("单张特征对比"),le=Object(a["o"])("店员特征对比"),ue={class:"boxInfo"},oe={class:"iconExpand"},re={class:"iconExpand"},be=["onClick"],de=["onClick"],se={style:{}},pe=["onClick"],Oe=["onClick"];function je(e,t,n,c,i,l){var u=Object(a["S"])("a-select"),o=Object(a["S"])("a-form-item"),r=Object(a["S"])("a-select-option"),b=Object(a["S"])("a-date-picker"),d=Object(a["S"])("a-time-picker"),s=Object(a["S"])("a-input"),p=Object(a["S"])("a-button"),O=Object(a["S"])("a-form"),j=Object(a["S"])("el-checkbox"),f=Object(a["S"])("el-image"),m=Object(a["S"])("el-col"),g=Object(a["S"])("el-row"),v=Object(a["S"])("a-pagination"),_=Object(a["S"])("DetailDialog"),y=Object(a["S"])("DetailDialogComparison"),h=Object(a["S"])("singleImgComparisonDialog"),w=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["m"])("div",M,[Object(a["p"])(O,{model:c.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(o,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return c.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onAccountChange,options:c.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return c.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onPlazaChange,options:c.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"出入类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.type,"onUpdate:value":t[2]||(t[2]=function(e){return c.queryForm.type=e}),style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(r,{value:0},{default:Object(a["ib"])((function(){return[R]})),_:1}),Object(a["p"])(r,{value:1},{default:Object(a["ib"])((function(){return[E]})),_:1}),Object(a["p"])(r,{value:2},{default:Object(a["ib"])((function(){return[H]})),_:1}),Object(a["p"])(r,{value:3},{default:Object(a["ib"])((function(){return[A]})),_:1}),Object(a["p"])(r,{value:4},{default:Object(a["ib"])((function(){return[V]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"区域信息:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.zone_id,"onUpdate:value":t[3]||(t[3]=function(e){return c.queryForm.zone_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:c.onZoneChange,options:c.zoneList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(o,{label:"监控点:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.gate_id,"onUpdate:value":t[4]||(t[4]=function(e){return c.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:c.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(o,{label:"方向:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.direction,"onUpdate:value":t[5]||(t[5]=function(e){return c.queryForm.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(r,{value:1},{default:Object(a["ib"])((function(){return[Q]})),_:1}),Object(a["p"])(r,{value:-1},{default:Object(a["ib"])((function(){return[G]})),_:1}),Object(a["p"])(r,{value:0},{default:Object(a["ib"])((function(){return[Z]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.picType,"onUpdate:value":t[6]||(t[6]=function(e){return c.queryForm.picType=e}),style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(r,{value:1},{default:Object(a["ib"])((function(){return[K]})),_:1}),Object(a["p"])(r,{value:2},{default:Object(a["ib"])((function(){return[X]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{value:c.queryForm.personType,"onUpdate:value":t[7]||(t[7]=function(e){return c.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(r,{value:1},{default:Object(a["ib"])((function(){return[$]})),_:1}),Object(a["p"])(r,{value:0},{default:Object(a["ib"])((function(){return[ee]})),_:1}),Object(a["p"])(r,{value:-99},{default:Object(a["ib"])((function(){return[te]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(o,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(b,{value:c.queryForm.date,"onUpdate:value":t[8]||(t[8]=function(e){return c.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(o,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:c.queryForm.startTime,"onUpdate:value":t[9]||(t[9]=function(e){return c.queryForm.startTime=e}),style:{width:"140px"}},null,8,["value"]),Object(a["p"])(d,{value:c.queryForm.endTime,"onUpdate:value":t[10]||(t[10]=function(e){return c.queryForm.endTime=e}),style:{width:"140px"}},null,8,["value"])]})),_:1}),Object(a["p"])(o,{label:"图片数量:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(s,{value:c.queryForm.minPic,"onUpdate:value":t[11]||(t[11]=function(e){return c.queryForm.minPic=e}),style:{width:"129px"}},null,8,["value"]),ne,Object(a["p"])(s,{value:c.queryForm.maxPic,"onUpdate:value":t[12]||(t[12]=function(e){return c.queryForm.maxPic=e}),style:{width:"129px"}},null,8,["value"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{type:"primary",onClick:c.clickSearch,loading:c.isLoading},{default:Object(a["ib"])((function(){return[ae]})),_:1},8,["onClick","loading"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{type:"primary",onClick:c.comparativeFun},{default:Object(a["ib"])((function(){return[ce]})),_:1},8,["onClick"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{type:"primary",onClick:c.singleComparativeFun},{default:Object(a["ib"])((function(){return[ie]})),_:1},8,["onClick"])]})),_:1}),Object(a["p"])(o,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{type:"primary",onClick:c.clerkComparativeFun},{default:Object(a["ib"])((function(){return[le]})),_: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:c.contentHeight+"px"})},[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.dataList,(function(e){return Object(a["J"])(),Object(a["l"])("div",{class:Object(a["z"])(["classBox",e.expand?"expand":""])},[Object(a["m"])("div",{class:Object(a["z"])(e.checked?"checked":"")},[Object(a["m"])("div",ue,[Object(a["jb"])(Object(a["m"])("span",oe,"▶",512),[[a["fb"],!e.expand]]),Object(a["jb"])(Object(a["m"])("span",re,"▼",512),[[a["fb"],e.expand]]),Object(a["m"])("span",{class:"expandWord",onClick:function(t){return c.expandChange(e)}},Object(a["W"])(e.expand?"收起":"展开"),9,be),Object(a["p"])(j,{class:"checkBox",modelValue:e.checked,"onUpdate:modelValue":function(t){return e.checked=t},onChange:function(t){return c.checkChange(e)}},null,8,["modelValue","onUpdate:modelValue","onChange"]),Object(a["o"])(" 人id:"+Object(a["W"])(" "+e.person_unid)+" 图片数量:"+Object(a["W"])(e.perrsonList.length),1)]),(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.getPagedList(e.perrsonList,8),(function(e){return Object(a["J"])(),Object(a["j"])(g,null,{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(e,(function(e){return Object(a["J"])(),Object(a["j"])(m,{span:3},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{style:{margin:"0 5px"},onClick:function(t){return c.handleClick(e)},class:Object(a["z"])(c.currentItemId==e.id?"actived":"")},[Object(a["m"])("div",se,[Object(a["m"])("span",{onClick:function(t){return c.downloadTrajectoryFile(e.track_url)},class:"downBtn"}," 轨迹 ",8,pe),Object(a["m"])("span",{onClick:function(t){return c.downloadFile(e.features_url)},class:"downBtn downBtn1"}," 特征 ",8,Oe)]),Object(a["p"])(f,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":0==e.person_type?"顾客":"未知"),1),Object(a["m"])("div",null,"性别:"+Object(a["W"])(c.formatGender(e.gender))+"("+Object(a["W"])(e.age)+")",1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,de)]})),_:2},1024)})),256))]})),_:2},1024)})),256))],2)],2)})),256))],4),Object(a["p"])(v,{current:c.pageNum,"onUpdate:current":t[13]||(t[13]=function(e){return c.pageNum=e}),pageSize:c.pageSize,"onUpdate:pageSize":t[14]||(t[14]=function(e){return c.pageSize=e}),total:c.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20","40","80"],onChange:c.onPageNumChange,onShowSizeChange:c.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])])),[[w,c.isLoading]])]),Object(a["p"])(_,{ref:"DetailDialogRef"},null,512),Object(a["p"])(y,{ref:"DetailDialogComparisonRef"},null,512),Object(a["p"])(h,{ref:"singleImgComparisonRef"},null,512)],64)}var fe=n("6efa"),me=(n("b680"),{style:{margin:"0 5px"},class:"itemBox"}),ge={class:"rowBox"},ve={class:"singleBox"},_e={key:0,class:"title"},ye={style:{"margin-left":"5px"}},he={style:{"margin-left":"25px"}},we=["onClick"],Ce=["onClick"],ke={style:{margin:"0 5px"},class:"itemBox"},xe=["onClick"],ze=["onClick"],Se={class:"featureNum"},Te=Object(a["o"])("返回");function Fe(e,t,n,c,i,l){var u=Object(a["S"])("el-image"),o=Object(a["S"])("a-col"),r=Object(a["S"])("a-row"),b=Object(a["S"])("a-button"),d=Object(a["S"])("a-modal"),s=Object(a["S"])("imgDialog"),p=Object(a["S"])("imgOtherDialog"),O=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(d,{title:"特征对比",visible:c.isVisible,"onUpdate:visible":t[2]||(t[2]=function(e){return c.isVisible=e}),width:"1500px",class:"detail-modal",style:{top:"50px"},"body-style":{padding:"10px 20px"}},{footer:Object(a["ib"])((function(){return[Object(a["p"])(b,{onClick:c.onCancel},{default:Object(a["ib"])((function(){return[Te]})),_:1},8,["onClick"])]})),default:Object(a["ib"])((function(){return[Object(a["m"])("div",null,[Object(a["p"])(r,{gutter:[16,16]},{default:Object(a["ib"])((function(){return[Object(a["p"])(o,{span:4},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",me,[Object(a["p"])(u,{src:c.detailData.picture_url,fit:"fill",class:"single-image",onClick:t[0]||(t[0]=function(e){return c.clickItem(c.detailData)})},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:t[1]||(t[1]=function(e){return c.downloadFile(c.detailData,e)})}),Object(a["m"])("div",null,"时间:"+Object(a["W"])(c.detailData.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==c.detailData.person_type?"店员":"顾客"),1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+c.detailData.direction])},"方向:"+Object(a["W"])(c.formatDirection(c.detailData.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(c.detailData.gate_name),1)])]})),_:1}),Object(a["p"])(o,{span:20},{default:Object(a["ib"])((function(){return[Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",ge,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.comparisonNewList,(function(e){return Object(a["J"])(),Object(a["l"])("div",ve,[e.data.length?(Object(a["J"])(),Object(a["l"])("p",_e,[Object(a["m"])("span",ye,Object(a["W"])(e.data[0].person_unid),1),Object(a["m"])("span",he,"共"+Object(a["W"])(e.data.length)+"张",1),1==e.show?(Object(a["J"])(),Object(a["l"])("span",{key:0,class:"shrink",onClick:function(t){return c.changeShowFun(e,2)}},"收起",8,we)):(Object(a["J"])(),Object(a["l"])("span",{key:1,class:"shrink",onClick:function(t){return c.changeShowFun(e,1)}},"展开",8,Ce))])):Object(a["k"])("",!0),Object(a["jb"])(Object(a["p"])(r,{class:"rowAllBox"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(e.data,(function(e,t){return Object(a["J"])(),Object(a["j"])(o,{class:"colItem",span:4,key:t},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",ke,[Object(a["p"])(u,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return c.clickItem(e)}},null,8,["src","onClick"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return c.downloadFile(e,t)}},null,8,xe),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return c.openImage(e,t)}},null,8,ze),Object(a["m"])("p",Se,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":"顾客"),1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)])]})),_:2},1024)})),128))]})),_:2},1536),[[a["fb"],1==e.show]])])})),256))])),[[O,c.isLoadingTop]])]})),_:1})]})),_:1})])]})),_:1},8,["visible"]),Object(a["p"])(s,{ref:"imgModelRef"},null,512),Object(a["p"])(p,{ref:"imgOtherDialogRef"},null,512)],64)}n("ac1f"),n("1276");var Le=n("6e63"),De=n("5c11"),qe=n("3cad"),Pe={components:{imgDialog:De["a"],imgOtherDialog:qe["a"]},setup:function(){var e=Object(a["O"])(!1),t=Object(a["O"])(!1),n=Object(a["O"])(!1),c=Object(a["O"])({}),i=Object(a["O"])([]),l=Object(a["O"])([]),u=Object(a["O"])([]),o=Object(a["O"])([]),r=Object(a["O"])(),b=Object(a["O"])();Object(a["gb"])(u,(function(e,t){o.value=[],e.forEach((function(e){o.value.push({show:1,data:e})}))}),{deep:!0});var d=function(n,a){c.value=n,e.value=!0,u.value=[],a.dataList.forEach((function(e){t.value=!0;var n={mall_id:a.mall_id,picType:a.picType,pic_id:a.pic_id,countdate:a.countdate,personList:e.perrsonList};Le["a"].getPersonContrastList(n).then((function(e){t.value=!1,e.data&&Object(L["a"])(e.data.personList)&&e.data.personList.length>0&&u.value.push(e.data.personList)}))}))},s=function(e,t){e.show=t},p=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},O=function(){e.value=!1},j=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):ElMessage({message:"该图片没有特征",type:"warning"})},f=function(e,t){if(t.stopPropagation(),e.features_url){var n=e.picture_url;b.value.initDialog(n.split("0.jpg")[0]+"1.jpg")}else ElMessage({message:"该图片没有特征",type:"warning"})},m=function(e){fe["a"].getBodyPoint({feature_url:e.features_url}).then((function(t){r.value.initDialog(e.picture_url,t.data)}))};return{isVisible:e,detailData:c,onCancel:O,dataListLeft:i,dataListRight:l,initDialog:d,formatDirection:p,isLoadingTop:t,isLoadingBottom:n,downloadFile:j,comparisonList:u,comparisonNewList:o,changeShowFun:s,clickItem:m,imgModelRef:r,openImage:f,imgOtherDialogRef:b}}};n("11e3");const Ie=N()(Pe,[["render",Fe],["__scopeId","data-v-7790fe02"]]);var Ue=Ie,Je=function(e){return Object(a["M"])("data-v-0635cb30"),e=e(),Object(a["K"])(),e},We={class:"title"},Ne=Je((function(){return Object(a["m"])("span",{class:"name"},"现在聚类",-1)})),Ye={class:"id"},Be={class:"num"},Me=["onClick"],Re=["onClick"],Ee={class:"featureNum"},He={class:"title"},Ae=Je((function(){return Object(a["m"])("span",{class:"name"},"特征比对",-1)})),Ve={class:"num"},Qe=["onClick"],Ge=["onClick"],Ze={class:"featureNum"},Ke={class:"title"},Xe=Je((function(){return Object(a["m"])("span",{class:"name"},"重提特征后比对",-1)})),$e=Object(a["o"])("重提特征比对"),et={class:"num"},tt=["onClick"],nt=["onClick"],at={class:"featureNum"},ct=Object(a["o"])("返回");function it(e,t,n,c,i,l){var u=Object(a["S"])("el-image"),o=Object(a["S"])("el-col"),r=Object(a["S"])("a-empty"),b=Object(a["S"])("el-row"),d=Object(a["S"])("a-button"),s=Object(a["S"])("a-modal"),p=Object(a["S"])("imgDialog"),O=Object(a["S"])("imgOtherDialog"),j=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[c.isVisible?(Object(a["J"])(),Object(a["j"])(s,{key:0,title:"单张图片特征对比",visible:c.isVisible,"onUpdate:visible":t[0]||(t[0]=function(e){return c.isVisible=e}),width:"1600px",height:"90%",class:"detail-modal"},{footer:Object(a["ib"])((function(){return[Object(a["p"])(d,{onClick:c.onCancel},{default:Object(a["ib"])((function(){return[ct]})),_:1},8,["onClick"])]})),default:Object(a["ib"])((function(){return[Object(a["p"])(b,{gutter:20},{default:Object(a["ib"])((function(){return[Object(a["jb"])((Object(a["J"])(),Object(a["j"])(o,{span:8,class:"imgBox1"},{default:Object(a["ib"])((function(){return[Object(a["m"])("p",We,[Ne,Object(a["m"])("span",Ye,Object(a["W"])(c.detailData.person_unid),1),Object(a["m"])("span",Be,Object(a["W"])(c.featureList.length)+"张",1)]),Object(a["p"])(b,{gutter:10,class:"imgBox1_top"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(o,{span:8,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return c.clickItem(e)}},null,8,["src","onClick"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return c.downloadFile(e,t)}},null,8,Me),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return c.openImage(e,t)}},null,8,Re),Object(a["m"])("p",Ee,Object(a["W"])(e.featureNum.toFixed(2)),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":"顾客"),1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==c.featureList.length?(Object(a["J"])(),Object(a["j"])(r,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1})),[[j,c.isLoading]]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(o,{span:8,class:"imgBox1"},{default:Object(a["ib"])((function(){return[Object(a["m"])("p",He,[Ae,Object(a["m"])("span",Ve,Object(a["W"])(c.comparisonList.length)+"张",1)]),Object(a["p"])(b,{gutter:10,class:"imgBox1_top"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.comparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(o,{span:8,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return c.clickItem(e)}},null,8,["src","onClick"]),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return c.openImage(e,t)}},null,8,Qe),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return c.downloadFile(e,t)}},null,8,Ge),Object(a["m"])("p",Ze,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":"顾客"),1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==c.comparisonList.length?(Object(a["J"])(),Object(a["j"])(r,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1})),[[j,c.isLoading1]]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(o,{span:8,class:"imgBox1"},{default:Object(a["ib"])((function(){return[Object(a["m"])("p",Ke,[Xe,Object(a["p"])(d,{class:"id",type:"primary",onClick:c.reComparisonFeature},{default:Object(a["ib"])((function(){return[$e]})),_:1},8,["onClick"]),Object(a["m"])("span",et,Object(a["W"])(c.reComparisonList.length)+"张",1)]),Object(a["p"])(b,{gutter:10,class:"imgBox1_top"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.reComparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(o,{span:8,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(u,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return c.clickItem(e)}},null,8,["src","onClick"]),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return c.openImage(e,t)}},null,8,tt),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return c.downloadFile(e,t)}},null,8,nt),Object(a["m"])("p",at,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":"顾客"),1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==c.reComparisonList.length?(Object(a["J"])(),Object(a["j"])(r,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1})),[[j,c.isLoading2]])]})),_:1})]})),_:1},8,["visible"])):Object(a["k"])("",!0),Object(a["p"])(p,{ref:"imgModelRef"},null,512),Object(a["p"])(O,{ref:"imgOtherDialogRef"},null,512)],64)}var lt=n("6d28"),ut={components:{imgDialog:De["a"],imgOtherDialog:qe["a"]},setup:function(){var e=Object(a["O"])(!1),t=Object(a["O"])(!1),n=Object(a["O"])(!1),c=Object(a["O"])(!1),i=Object(a["O"])({}),l=Object(a["O"])([]),u=Object(a["O"])(),o=Object(a["O"])(),r=Object(a["O"])([]),b=Object(a["O"])([]),d=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}};Object(a["gb"])([l],(function(e,t){}),{deep:!0});var s=function(a){t.value=!0,n.value=!0,c.value=!1,i.value=a,l.value=[],b.value=[],lt["a"].getPersonContrastList(a).then((function(e){t.value=!1,e.data&&Object(L["a"])(e.data.personList)&&(e.data.personList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),l.value=e.data.personList)})),r.value=[],lt["a"].getAllPersonContrastList(a).then((function(e){n.value=!1,Object(L["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),r.value=e.data)})),e.value=!0},p=function(e){fe["a"].getBodyPoint({feature_url:e.features_url}).then((function(t){u.value.initDialog(e.picture_url,t.data)}))},O=function(){c.value=!0,b.value=[],lt["a"].getNewPersonContrastList(i.value).then((function(e){c.value=!1,Object(L["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),b.value=e.data)}))},j=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):ElMessage({message:"该图片没有特征",type:"warning"})},f=function(e,t){if(t.stopPropagation(),e.features_url){var n=e.picture_url;o.value.initDialog(n.split("0.jpg")[0]+"1.jpg")}else ElMessage({message:"该图片没有特征",type:"warning"})},m=function(){e.value=!1};return{isVisible:e,onCancel:m,initDialog:s,isLoading:t,isLoading1:n,isLoading2:c,detailData:i,featureList:l,formatDirection:d,downloadFile:j,clickItem:p,imgModelRef:u,comparisonList:r,reComparisonList:b,reComparisonFeature:O,openImage:f,imgOtherDialogRef:o}}};n("1f7b");const ot=N()(ut,[["render",it],["__scopeId","data-v-0635cb30"]]);var rt=ot,bt={components:{DetailDialog:U["a"],DetailDialogComparison:Ue,singleImgComparisonDialog:rt},setup:function(){var e=Object(a["O"])(1),t=Object(a["O"])(10),n=Object(a["O"])(),c=Object(a["O"])(!1),i=Object(a["O"])({}),l=Object(a["O"])(),u=Object(a["O"])([]),o=Object(a["O"])([]),r=Object(a["O"])([]),b=Object(a["O"])([]),d=Object(a["O"])([]),s=Object(a["h"])((function(){return Object(P["d"])(u.value,8)})),p=Object(a["O"])(),O=Object(a["O"])(),j=Object(a["O"])(),f=Object(a["N"])({account_id:[],plaza_id:[],zone_id:[],gate_id:[],type:0,direction:[1,-1,0],picType:2,personType:[1,0],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss"),minPic:0,maxPic:100}),m=Object(a["O"])({});window.localStorage.getItem("searchCondition")&&(m.value=JSON.parse(window.localStorage.getItem("searchCondition")),f.type=m.value.type,f.zone_id=m.value.zone_id,f.gate_id=m.value.gate_id,f.direction=m.value.direction,f.picType=m.value.picType,f.date=m.value.date,f.startTime=m.value.startTime,f.endTime=m.value.endTime,f.minPic=m.value.minPic||0,f.maxPic=m.value.maxPic||100);var g=function(t){e.value=t,S()},v=function(n,a){e.value=1,t.value=a,S()},_=function(){w(1)},y=function(){C(),k()},h=function(){k()},w=function(e){f.plaza_id=[],r.value=[],fe["a"].getPlazaList({account_id:f.account_id.toString()}).then((function(t){if(Object(L["a"])(t)){var n,a=Object(T["a"])(t);try{for(a.s();!(n=a.n()).done;){var c=n.value;r.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}r.value.length>0&&(!e&&m.value.plaza_id&&m.value.plaza_id.length>0?f.plaza_id=m.value.plaza_id:f.plaza_id.push(r.value[0].value),C(1),k(1),S())}}))},C=function(e){b.value=[],fe["a"].getZoneList({account_id:f.account_id.toString(),plaza_id:f.plaza_id.toString()}).then((function(t){if(Object(L["a"])(t)){var n,a=Object(T["a"])(t);try{for(a.s();!(n=a.n()).done;){var c=n.value;b.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}b.value.length&&e&&m.value.zone_id&&m.value.zone_id.length>0?f.zone_id=m.value.zone_id:f.zone_id=[]}}))},k=function(e){d.value=[],fe["a"].getGateList({account_id:f.account_id.toString(),plaza_id:f.plaza_id.toString(),zone_id:f.zone_id.toString(),type:f.type}).then((function(t){if(Object(L["a"])(t.data)){var n,a=Object(T["a"])(t.data);try{for(a.s();!(n=a.n()).done;){var c=n.value;d.value.push({value:c.id,label:c.name})}}catch(i){a.e(i)}finally{a.f()}d.value.length&&e&&m.value.gate_id&&m.value.gate_id.length>0?f.gate_id=m.value.gate_id:f.gate_id=[]}}))},x=function(){f.account_id=[],o.value=[],fe["a"].getAccountList().then((function(e){if(Object(L["a"])(e)){var t,n=Object(T["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;o.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}o.value.length&&(m.value.account_id&&m.value.account_id.length>0?f.account_id=m.value.account_id:f.account_id.push(o.value[0].value),w())}}))},z=function(){e.value=1,S()},S=function(){c.value=!0;var i=Object(a["Y"])(f),l=Object(P["a"])({account_id:i.account_id.toString(),type:i.type,plaza_id:i.plaza_id.toString(),zone_id:i.zone_id.toString(),gate_id:i.gate_id.toString(),direction:i.direction.toString(),picType:i.picType,personType:i.personType.toString(),startTime:Object(P["b"])(i.date)+" "+Object(P["c"])(i.startTime),endTime:Object(P["b"])(i.date)+" "+Object(P["c"])(i.endTime),minPic:i.minPic,maxPic:i.maxPic,page:e.value-1,pageSize:t.value}),o=Object(P["a"])({account_id:i.account_id,type:i.type,plaza_id:i.plaza_id,zone_id:i.zone_id,gate_id:i.gate_id,direction:i.direction,picType:i.picType,personType:i.personType,date:i.date,minPic:i.minPic,maxPic:i.maxPic,startTime:Object(P["b"])(i.date)+" "+Object(P["c"])(i.startTime),endTime:Object(P["b"])(i.date)+" "+Object(P["c"])(i.endTime)});window.localStorage.setItem("searchCondition",JSON.stringify(o)),fe["a"].getClusterResultList(l).then((function(e){c.value=!1,U(e.data.persons),e.data.persons.forEach((function(e){e.checked=!1,e.expand=!1,e.perrsonList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url),e.track_url&&(e.track_url=window._baseImgUrl+e.track_url)}))})),u.value=e.data.persons,n.value=e.data.pageNum,document.getElementsByClassName("resultContent")[0].scrollTop=0}))},F=function(e){switch(e){case 1:return"男";case-1:return"未知";case 0:return"女";default:break}},D=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},U=function(e){e.sort((function(e,t){return t.perrsonList.length-e.perrsonList.length}))},J=function(e){window.open(e)},W=function(e){window.open(e)},N=function(e){l.value=e.id,i.value=e},Y=function(e){console.log(e)},B=function(e){u.value.forEach((function(t){e.person_unid==t.person_unid&&(t.expand=!t.expand)}))},M=function(){var e=Object(a["Y"])(f);if(i.value.id)if(i.value.picture_url){var t={mall_id:i.value.mall_id,picType:e.picType,pic_id:i.value.id,countdate:Object(P["b"])(e.date),dataList:[]};u.value.forEach((function(e){e.checked&&1==e.checked&&t.dataList.push(e)})),t.dataList&&t.dataList.length>0?O.value.initDialog(i.value,t):Object(I["a"])({message:"请选择聚类图片",type:"warning"})}else Object(I["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"});else Object(I["a"])({message:"请选择图片",type:"warning"})},R=function(){if(i.value.id)if(i.value.picture_url){var e=Object(a["Y"])(f),t={person_unid:i.value.person_unid,pic_type:e.picType,countdate:Object(P["b"])(e.date),pic_id:i.value.id,ip:window._baseImgUrl,plaza_id:i.value.mall_id};j.value.initDialog(t)}else Object(I["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"});else Object(I["a"])({message:"请选择图片",type:"warning"})},E=function(){var e=Object(a["Y"])(f);if(i.value.id)if(i.value.picture_url){var t={plaza_id:i.value.mall_id,pic_type:e.picType,pic_id:i.value.id,ip:window._baseImgUrl,countdate:Object(P["b"])(e.date)};p.value.initDialog(i.value,t)}else Object(I["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"});else Object(I["a"])({message:"请选择图片进行对比",type:"warning"})},H=Object(a["O"])(0),A=function(){x(),H.value=window.innerHeight-310};return A(),{isLoading:c,pageNum:e,pageSize:t,total:n,currentItemId:l,currobj:i,accountList:o,plazaList:r,zoneList:b,gateList:d,pagedTableDataList:s,dataList:u,contentHeight:H,queryForm:f,onPageNumChange:g,onPageSizeChange:v,onAccountChange:_,onPlazaChange:y,onZoneChange:h,confirmSearch:S,formatDirection:D,downloadFile:J,getPagedList:P["d"],handleClick:N,comparativeFun:M,checkChange:Y,expandChange:B,clerkComparativeFun:E,singleComparativeFun:R,formatGender:F,downloadTrajectoryFile:W,clickSearch:z,DetailDialogRef:p,DetailDialogComparisonRef:O,singleImgComparisonRef:j}}};n("d73e");const dt=N()(bt,[["render",je],["__scopeId","data-v-3b151c27"]]);var st=dt,pt={components:{SnapshotRecord:B,ClusterResult:st},setup:function(){var e=Object(a["O"])(["抓拍记录"]);return{currentMenu:e}}};const Ot=N()(pt,[["render",o]]);t["default"]=Ot},e489:function(e,t,n){},ecbf:function(e,t,n){"use strict";n("e489")},f1fb:function(e,t,n){}}]);