chunk-7160d008.1ead3219.js 27.3 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7160d008"],{"0b50":function(e,t,n){"use strict";n("a535")},"28ae":function(e,t,n){},"89bd":function(e,t,n){"use strict";n("28ae")},a535:function(e,t,n){},f897:function(e,t,n){"use strict";n.r(t);var a=n("7a23"),i=Object(a["o"])("全场"),c=Object(a["o"])("广场出入口"),l=Object(a["o"])("楼层出入口"),o=Object(a["o"])("店铺出入口"),u=Object(a["o"])("其他"),r=Object(a["o"])("进"),b=Object(a["o"])("出"),d=Object(a["o"])("横穿"),p=Object(a["o"])("半身照"),s=Object(a["o"])("全身照"),O=Object(a["o"])("店员"),j=Object(a["o"])("顾客"),f=Object(a["o"])("至 "),g=Object(a["o"])("查询"),m=["onDragstart"],v={class:"imgbox1"},_={class:"btns"},y=Object(a["o"])("特征对比"),h=Object(a["o"])("店员特征对比"),L={class:"comparsionBox"},w={key:0},x=Object(a["o"])(),C={style:{float:"right"}},T=["onClick"],S=["onClick"],D=["onClick"],k={class:"comparsionBox",style:{"margin-top":"15px"}},z={key:0},F=Object(a["o"])(),P={style:{float:"right"}},I=["onClick"],J=["onClick"],q=["onClick"];function R(e,t,n,R,W,U){var Y=Object(a["S"])("a-select"),N=Object(a["S"])("a-form-item"),B=Object(a["S"])("a-select-option"),E=Object(a["S"])("a-date-picker"),M=Object(a["S"])("a-time-picker"),Q=Object(a["S"])("a-input-number"),A=Object(a["S"])("a-button"),H=Object(a["S"])("a-form"),V=Object(a["S"])("el-image"),Z=Object(a["S"])("a-col"),G=Object(a["S"])("a-row"),K=Object(a["S"])("a-pagination"),X=Object(a["S"])("a-empty"),$=Object(a["S"])("DetailDialog"),ee=Object(a["S"])("DetailDialogComparison"),te=Object(a["S"])("imgOtherDialog"),ne=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(G,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(Z,{span:14},{default:Object(a["ib"])((function(){return[Object(a["p"])(H,{model:R.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(N,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return R.queryForm.account_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:R.onAccountChange,options:R.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(N,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return R.queryForm.plaza_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:R.onPlazaChange,options:R.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(N,{label:"出入类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.type,"onUpdate:value":t[2]||(t[2]=function(e){return R.queryForm.type=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(B,{value:0},{default:Object(a["ib"])((function(){return[i]})),_:1}),Object(a["p"])(B,{value:1},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(B,{value:2},{default:Object(a["ib"])((function(){return[l]})),_:1}),Object(a["p"])(B,{value:3},{default:Object(a["ib"])((function(){return[o]})),_:1}),Object(a["p"])(B,{value:4},{default:Object(a["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),0==R.queryForm.type||3==R.queryForm.type?(Object(a["J"])(),Object(a["j"])(N,{key:0,label:"区域信息:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.zone_id,"onUpdate:value":t[3]||(t[3]=function(e){return R.queryForm.zone_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:R.onZoneChange,options:R.zoneList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1})):Object(a["k"])("",!0),Object(a["p"])(N,{label:"监控点:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.gate_id,"onUpdate:value":t[4]||(t[4]=function(e){return R.queryForm.gate_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,options:R.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(N,{label:"方向:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.direction,"onUpdate:value":t[5]||(t[5]=function(e){return R.queryForm.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(B,{value:1},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(B,{value:-1},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(B,{value:0},{default:Object(a["ib"])((function(){return[d]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(N,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.picType,"onUpdate:value":t[6]||(t[6]=function(e){return R.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(B,{value:1},{default:Object(a["ib"])((function(){return[p]})),_:1}),Object(a["p"])(B,{value:2},{default:Object(a["ib"])((function(){return[s]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(N,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Y,{value:R.queryForm.personType,"onUpdate:value":t[7]||(t[7]=function(e){return R.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(B,{value:1},{default:Object(a["ib"])((function(){return[O]})),_:1}),Object(a["p"])(B,{value:0},{default:Object(a["ib"])((function(){return[j]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(N,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(E,{value:R.queryForm.date,"onUpdate:value":t[8]||(t[8]=function(e){return R.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"230px"}},null,8,["value"])]})),_:1}),Object(a["p"])(N,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(M,{value:R.queryForm.startTime,"onUpdate:value":t[9]||(t[9]=function(e){return R.queryForm.startTime=e}),style:{width:"120px"}},null,8,["value"]),Object(a["p"])(M,{value:R.queryForm.endTime,"onUpdate:value":t[10]||(t[10]=function(e){return R.queryForm.endTime=e}),style:{width:"120px"}},null,8,["value"])]})),_:1}),Object(a["p"])(N,{label:"图片数量:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(Q,{value:R.queryForm.minPic,"onUpdate:value":t[11]||(t[11]=function(e){return R.queryForm.minPic=e}),min:0,style:{width:"100px"}},null,8,["value"]),f,Object(a["p"])(Q,{value:R.queryForm.maxPic,"onUpdate:value":t[12]||(t[12]=function(e){return R.queryForm.maxPic=e}),min:0,style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(a["p"])(N,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(A,{type:"primary",onClick:R.clickSearch,loading:R.isLoading},{default:Object(a["ib"])((function(){return[g]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(R.pagedTableDataList,(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,t){return Object(a["J"])(),Object(a["j"])(Z,{class:"colItem",span:4},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{style:{margin:"0 5px"},draggable:"true",onDragstart:function(t){return R.dragStart(e,t)}},[Object(a["p"])(V,{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"])(R.formatPersonType(e.personType)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],40,m)]})),_:2},1024)})),256))]})),_:2},1024)})),256)),Object(a["p"])(K,{current:R.pageNum,"onUpdate:current":t[13]||(t[13]=function(e){return R.pageNum=e}),pageSize:R.pageSize,"onUpdate:pageSize":t[14]||(t[14]=function(e){return R.pageSize=e}),total:R.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20"],onChange:R.onPageNumChange,onShowSizeChange:R.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])])),[[ne,R.isLoading]])]})),_:1}),Object(a["p"])(Z,{span:10},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",v,[Object(a["m"])("div",_,[Object(a["p"])(A,{type:"primary",onClick:R.featureComparison},{default:Object(a["ib"])((function(){return[y]})),_:1},8,["onClick"]),Object(a["p"])(A,{type:"primary",onClick:R.shoperFeatureComparison},{default:Object(a["ib"])((function(){return[h]})),_:1},8,["onClick"])]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",L,[R.boxListLeft.length>0?(Object(a["J"])(),Object(a["l"])("p",w,[Object(a["m"])("span",null,Object(a["W"])(R.boxListLeft[0].person_unid),1),x,Object(a["m"])("span",C,"共"+Object(a["W"])(R.boxListLeft.length)+"张",1)])):Object(a["k"])("",!0),Object(a["p"])(G,{onDragenter:t[15]||(t[15]=function(e){return R.dragEnter(e)}),onDragleave:t[16]||(t[16]=function(e){return R.dragLeave(e)}),onDrop:t[17]||(t[17]=function(e){return R.dropLeft(e)}),onDragover:t[18]||(t[18]=function(e){return R.allowDrop(e)})},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(R.boxListLeft,(function(e){return Object(a["J"])(),Object(a["j"])(Z,{span:6},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{class:Object(a["z"])(["itemBox",e.id==R.currentItemId?"actived":""]),onClick:function(t){return R.clickItem(e)}},[Object(a["p"])(V,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return R.downloadFile(e,t)}},null,8,S),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return R.openImage(e,t)}},null,8,D),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(R.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,T)]})),_:2},1024)})),256)),0==R.boxListLeft.length?(Object(a["J"])(),Object(a["j"])(X,{key:0,description:"拖拽图片到此处"})):Object(a["k"])("",!0)]})),_:1})])),[[ne,R.isLoadingComparison]]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",k,[R.boxListRight.length>0?(Object(a["J"])(),Object(a["l"])("p",z,[Object(a["m"])("span",null,Object(a["W"])(R.boxListRight[0].person_unid),1),F,Object(a["m"])("span",P,"共"+Object(a["W"])(R.boxListRight.length)+"张",1)])):Object(a["k"])("",!0),Object(a["p"])(G,{onDragenter:t[19]||(t[19]=function(e){return R.dragEnter(e)}),onDragleave:t[20]||(t[20]=function(e){return R.dragLeave(e)}),onDrop:t[21]||(t[21]=function(e){return R.dropRight(e)}),onDragover:t[22]||(t[22]=function(e){return R.allowDrop(e)})},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(R.boxListRight,(function(e){return Object(a["J"])(),Object(a["j"])(Z,{span:6},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{class:Object(a["z"])(["itemBox",e.id==R.currentItemId?"actived":""]),onClick:function(t){return R.clickItem(e)}},[Object(a["p"])(V,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return R.downloadFile(e,t)}},null,8,J),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return R.openImage(e,t)}},null,8,q),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(R.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,I)]})),_:2},1024)})),256)),0==R.boxListRight.length?(Object(a["J"])(),Object(a["j"])(X,{key:0,description:"拖拽图片到此处"})):Object(a["k"])("",!0)]})),_:1})])),[[ne,R.isLoadingComparisonRight]])])]})),_:1})]})),_:1}),Object(a["p"])($,{ref:"DetailDialogRef"},null,512),Object(a["p"])(ee,{ref:"DetailDialogComparisonRef"},null,512),Object(a["p"])(te,{ref:"imgOtherDialogRef"},null,512)],64)}var W=n("b85c"),U=(n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("ac1f"),n("1276"),n("6e63")),Y=n("4df8"),N=n("f944"),B=n("c1df"),E=n.n(B),M=n("c68b"),Q=n("3fd4"),A=n("19e3"),H=(n("b680"),{style:{margin:"0 5px"},class:"itemBox"}),V={class:"rowBox"},Z={key:0},G=Object(a["o"])(" 上方 "),K={key:0,style:{"margin-left":"25px"}},X={key:1,style:{float:"right","margin-right":"25px"}},$={style:{margin:"0 5px"},class:"itemBox"},ee=["onClick"],te=["onClick"],ne={class:"featureNum"},ae={class:"rowBox"},ie={key:0},ce=Object(a["o"])(" 下方 "),le={key:0,style:{"margin-left":"25px"}},oe={key:1,style:{float:"right","margin-right":"25px"}},ue={style:{margin:"0 5px"},class:"itemBox"},re=["onClick"],be=["onClick"],de={class:"featureNum"},pe=Object(a["o"])("返回");function se(e,t,n,i,c,l){var o=Object(a["S"])("el-image"),u=Object(a["S"])("a-col"),r=Object(a["S"])("a-row"),b=Object(a["S"])("a-button"),d=Object(a["S"])("a-modal"),p=Object(a["S"])("imgOtherDialog"),s=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(d,{title:"特征对比",visible:i.isVisible,"onUpdate:visible":t[1]||(t[1]=function(e){return i.isVisible=e}),width:"1500px",style:{top:"50px"},class:"detail-modal"},{footer:Object(a["ib"])((function(){return[Object(a["p"])(b,{onClick:i.onCancel},{default:Object(a["ib"])((function(){return[pe]})),_: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"])(u,{span:4},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",H,[Object(a["p"])(o,{src:i.detailData.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:t[0]||(t[0]=function(e){return i.downloadFile(i.detailData,e)})}),Object(a["m"])("div",null,"时间:"+Object(a["W"])(i.detailData.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(i.formatDirection(i.detailData.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(i.detailData.gate_name),1)])]})),_:1}),Object(a["p"])(u,{span:20},{default:Object(a["ib"])((function(){return[Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",V,[i.dataListLeft?(Object(a["J"])(),Object(a["l"])("p",Z,[G,i.dataListLeft.length?(Object(a["J"])(),Object(a["l"])("span",K,Object(a["W"])(i.dataListLeft[0].person_unid),1)):Object(a["k"])("",!0),i.dataListLeft.length?(Object(a["J"])(),Object(a["l"])("span",X,"共"+Object(a["W"])(i.dataListLeft.length)+"张",1)):Object(a["k"])("",!0)])):Object(a["k"])("",!0),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"])(i.dataListLeft,(function(e,t){return Object(a["J"])(),Object(a["j"])(u,{class:"colItem",span:4,key:t},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",$,[Object(a["p"])(o,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return i.downloadFile(e,t)}},null,8,ee),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return i.openImage(e,t)}},null,8,te),Object(a["m"])("p",ne,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"])(i.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)])]})),_:2},1024)})),128))]})),_:1})])),[[s,i.isLoadingTop]]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",ae,[i.dataListRight?(Object(a["J"])(),Object(a["l"])("p",ie,[ce,i.dataListRight.length?(Object(a["J"])(),Object(a["l"])("span",le,Object(a["W"])(i.dataListRight[0].person_unid),1)):Object(a["k"])("",!0),i.dataListRight.length?(Object(a["J"])(),Object(a["l"])("span",oe,"共"+Object(a["W"])(i.dataListRight.length)+"张",1)):Object(a["k"])("",!0)])):Object(a["k"])("",!0),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"])(i.dataListRight,(function(e,t){return Object(a["J"])(),Object(a["j"])(u,{class:"colItem",span:4,key:t},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",ue,[Object(a["p"])(o,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return i.downloadFile(e,t)}},null,8,re),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return i.openImage(e,t)}},null,8,be),Object(a["m"])("p",de,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"])(i.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)])]})),_:2},1024)})),128))]})),_:1})])),[[s,i.isLoadingBottom]])]})),_:1})]})),_:1})])]})),_:1},8,["visible"]),Object(a["p"])(p,{ref:"imgOtherDialogRef"},null,512)],64)}var Oe=n("3cad"),je={components:{imgOtherDialog:Oe["a"]},setup:function(){var e=Object(a["O"])(!1),t=Object(a["O"])(!1),n=Object(a["O"])(!1),i=Object(a["O"])({}),c=Object(a["O"])([]),l=Object(a["O"])([]),o=Object(a["O"])(),u=function(a,o){if(i.value=a,e.value=!0,c.value=[],l.value=[],o.persionlistLeft.length>0){t.value=!0;var u={mall_id:o.mall_id,picType:o.picType,pic_id:o.pic_id,countdate:o.countdate,personList:o.persionlistLeft};U["a"].getPersonContrastList(u).then((function(e){t.value=!1,e.data&&Object(N["a"])(e.data.personList)&&e.data.personList.length>0&&(c.value=e.data.personList,console.log(e.data))}))}if(o.persionlistRight.length>0){n.value=!0;var r={mall_id:o.mall_id,picType:o.picType,pic_id:o.pic_id,countdate:o.countdate,personList:o.persionlistRight};U["a"].getPersonContrastList(r).then((function(e){n.value=!1,e.data&&Object(N["a"])(e.data.personList)&&e.data.personList.length>0&&(l.value=e.data.personList)}))}},r=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},b=function(){e.value=!1},d=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):ElMessage({message:"该图片没有特征",type:"warning"})},p=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"})};return{isVisible:e,detailData:i,onCancel:b,dataListLeft:c,dataListRight:l,initDialog:u,formatDirection:r,isLoadingTop:t,isLoadingBottom:n,downloadFile:d,openImage:p,imgOtherDialogRef:o}}},fe=(n("0b50"),n("d959")),ge=n.n(fe);const me=ge()(je,[["render",se],["__scopeId","data-v-03898e5e"]]);var ve=me,_e={components:{DetailDialog:A["a"],DetailDialogComparison:ve,imgOtherDialog:Oe["a"]},setup:function(){var e=Object(a["O"])(1),t=Object(a["O"])(10),n=Object(a["O"])(),i=Object(a["O"])(!1),c=Object(a["O"])(!1),l=Object(a["O"])(!1),o=Object(a["O"])([]),u=Object(a["O"])([]),r=Object(a["O"])([]),b=Object(a["O"])([]),d=Object(a["O"])([]),p=Object(a["O"])(),s=Object(a["O"])(),O=Object(a["O"])(),j=Object(a["h"])((function(){return Object(M["d"])(o.value,10)})),f=Object(a["N"])({account_id:[],plaza_id:[],zone_id:[],gate_id:[],type:0,direction:[1,-1,0],picType:2,personType:[1,0],date:E()(E()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:E()("00:00:00","HH:mm:ss"),endTime:E()("23:59:59","HH:mm:ss"),minPic:"",maxPic:""}),g=Object(a["O"])({});window.localStorage.getItem("searchCondition")&&(g.value=JSON.parse(window.localStorage.getItem("searchCondition")),f.type=g.value.type,f.zone_id=g.value.zone_id,f.gate_id=g.value.gate_id,f.direction=g.value.direction,f.picType=g.value.picType,f.date=g.value.date,f.startTime=g.value.startTime,f.endTime=g.value.endTime,f.minPic=g.value.minPic||0,f.maxPic=g.value.maxPic||100);var m=function(t){e.value=t,S()},v=function(n,a){e.value=1,t.value=a,S()},_=function(){L(1)},y=function(){w(),x()},h=function(){x()},L=function(e){f.plaza_id=[],r.value=[],Y["a"].getPlazaList({account_id:f.account_id.toString()}).then((function(t){if(Object(N["a"])(t)){var n,a=Object(W["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;r.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}r.value.length>0&&(!e&&g.value.plaza_id&&g.value.plaza_id.length>0?f.plaza_id=g.value.plaza_id:f.plaza_id.push(r.value[0].value),w(1),x(1),S())}}))},w=function(e){b.value=[],Y["a"].getZoneList({account_id:f.account_id.toString(),plaza_id:f.plaza_id.toString()}).then((function(t){if(Object(N["a"])(t)){var n,a=Object(W["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;b.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}b.value.length&&e&&g.value.zone_id&&g.value.zone_id.length>0?f.zone_id=g.value.zone_id:f.zone_id=[]}}))},x=function(e){d.value=[],Y["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(N["a"])(t.data)){var n,a=Object(W["a"])(t.data);try{for(a.s();!(n=a.n()).done;){var i=n.value;d.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}d.value.length&&e&&g.value.gate_id&&g.value.gate_id.length>0?f.gate_id=g.value.gate_id:f.gate_id=[]}}))},C=function(){f.account_id=[],u.value=[],Y["a"].getAccountList().then((function(e){if(Object(N["a"])(e)){var t,n=Object(W["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;u.value.push({value:a.id,label:a.name})}}catch(i){n.e(i)}finally{n.f()}u.value.length&&(g.value.account_id&&g.value.account_id.length>0?f.account_id=g.value.account_id:f.account_id.push(u.value[0].value),L())}}))},T=function(){e.value=1,S()},S=function(){var c=Object(a["Y"])(f);if(c.minPic>c.maxPic)Object(Q["a"])({message:"请输入正确的图片数量范围",type:"warning"});else{i.value=!0;var l=Object(M["a"])({account_id:c.account_id.toString(),type:c.type,plaza_id:c.plaza_id.toString(),zone_id:c.zone_id.toString(),gate_id:c.gate_id.toString(),direction:c.direction.toString(),picType:c.picType,personType:c.personType.toString(),startTime:Object(M["b"])(c.date)+" "+Object(M["c"])(c.startTime),endTime:Object(M["b"])(c.date)+" "+Object(M["c"])(c.endTime),minPic:c.minPic,maxPic:c.maxPic,page:e.value-1,pageSize:t.value}),u=Object(M["a"])({account_id:c.account_id,type:c.type,plaza_id:c.plaza_id,zone_id:c.zone_id,gate_id:c.gate_id,direction:c.direction,picType:c.picType,personType:c.personType,date:c.date,minPic:c.minPic,maxPic:c.maxPic,startTime:Object(M["b"])(c.date)+" "+Object(M["c"])(c.startTime),endTime:Object(M["b"])(c.date)+" "+Object(M["c"])(c.endTime)});window.localStorage.setItem("searchCondition",JSON.stringify(u)),U["a"].getPersonGroupList(l).then((function(e){i.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)})),o.value=e.data.persons,n.value=e.data.pageNum}))}},D=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},k=function(e){switch(e){case 1:return"店员";case 0:return"顾客";default:break}},z=function(){C()},F=Object(a["O"])({}),P=Object(a["O"])({}),I=Object(a["O"])([]),J=Object(a["O"])([]),q=Object(a["O"])(),R=function(e,t){F.value=e},B=function(e){console.log("进入")},A=function(e){console.log("出去")},H=function(e){e.preventDefault()},V=Object(a["O"])({}),Z=function(e){V.value=e,q.value=e.id},G=function(e){e.preventDefault(),P.value=F.value,c.value=!0,I.value=[];var t=Object(a["Y"])(f),n={account_id:t.account_id.toString(),plaza_id:t.plaza_id.toString(),zone_id:t.zone_id.toString(),gate_id:t.gate_id.toString(),type:t.type,direction:t.direction.toString(),picType:t.picType,personType:t.personType.toString(),startTime:Object(M["b"])(t.date)+" "+Object(M["c"])(t.startTime),endTime:Object(M["b"])(t.date)+" "+Object(M["c"])(t.endTime),person_unid:P.value.person_unid};U["a"].getPersonsDetailList(n).then((function(e){c.value=!1,200==e.msg_code&&Object(N["a"])(e.data.personList)&&e.data.personList.length>0&&(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)})),I.value=e.data.personList)}))},K=function(e){e.preventDefault(),J.value=[],P.value=F.value;var t=Object(a["Y"])(f);l.value=!0;var n={account_id:t.account_id.toString(),plaza_id:t.plaza_id.toString(),zone_id:t.zone_id.toString(),gate_id:t.gate_id.toString(),type:t.type,direction:t.direction.toString(),picType:t.picType,personType:t.personType.toString(),startTime:Object(M["b"])(t.date)+" "+Object(M["c"])(t.startTime),endTime:Object(M["b"])(t.date)+" "+Object(M["c"])(t.endTime),person_unid:P.value.person_unid};U["a"].getPersonsDetailList(n).then((function(e){l.value=!1,200==e.msg_code&&Object(N["a"])(e.data.personList)&&e.data.personList.length>0&&(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)})),J.value=e.data.personList)}))},X=function(){var e=Object(a["Y"])(f);if(V.value.id)if(V.value.picture_url){var t={mall_id:V.value.mall_id,picType:e.picType,pic_id:V.value.id,countdate:Object(M["b"])(e.date)};t.persionlistLeft=I.value,t.persionlistRight=J.value,s.value.initDialog(V.value,t)}else Object(Q["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"});else Object(Q["a"])({message:"请选择拖拽的图片",type:"warning"})},$=function(){var e=Object(a["Y"])(f);if(V.value.id)if(V.value.picture_url){var t={plaza_id:V.value.mall_id,pic_type:e.picType,pic_id:V.value.id,ip:window._baseImgUrl,countdate:Object(M["b"])(e.date)};p.value.initDialog(V.value,t)}else Object(Q["a"])({message:"该图片没有特征,请选择有效的图片",type:"warning"});else Object(Q["a"])({message:"请选择拖拽的图片",type:"warning"})},ee=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):Object(Q["a"])({message:"该图片没有特征",type:"warning"})},te=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 Object(Q["a"])({message:"该图片没有特征",type:"warning"})};return z(),{isLoading:i,pageNum:e,pageSize:t,total:n,isLoadingComparison:c,isLoadingComparisonRight:l,currentItemId:q,accountList:u,plazaList:r,zoneList:b,gateList:d,pagedTableDataList:j,boxListLeft:I,boxListRight:J,queryForm:f,onPageNumChange:m,onPageSizeChange:v,onAccountChange:_,onPlazaChange:y,onZoneChange:h,confirmSearch:S,clickSearch:T,formatDirection:D,formatPersonType:k,dragStart:R,dragEnter:B,dragLeave:A,allowDrop:H,dropLeft:G,dropRight:K,featureComparison:X,shoperFeatureComparison:$,clickItem:Z,downloadFile:ee,openImage:te,DetailDialogRef:p,DetailDialogComparisonRef:s,imgOtherDialogRef:O}}};n("89bd");const ye=ge()(_e,[["render",R],["__scopeId","data-v-19563c87"]]);t["default"]=ye}}]);