Commit dadc615e by tianlonglong

增加停留时长

1 parent 675ca0cb
Showing 36 changed files with 39 additions and 19 deletions
window._serverHost = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com' : window.location.host
window._baseUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/btool/' : `https://${window._serverHost}/btool/`
window._baseImgUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/images/' : `${window.location.origin}/images/`
window._socketUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
window._serverHost = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/' : window.location.host
window._baseUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/btool/' : `https://${window._serverHost}/btool/`
window._baseImgUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/images/' : `${window.location.origin}/images/`
window._socketUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
const log = console.log.bind(console)
.single-image[data-v-777aec6f]{height:300px;width:100%}.itemBox[data-v-777aec6f]{position:relative}.direction[data-v-777aec6f]{font-weight:900;background-color:red;color:#fff}.direction1[data-v-777aec6f]{background-color:green}.direction0[data-v-777aec6f]{background-color:orange}.imgDialoger .el-dialog__body{padding:0 10px;height:700px;overflow:auto}.imgDialoger .el-dialog__header{padding:10px}
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.png"><title>tools</title><script src="config.js"></script><link href="css/chunk-0361d0b6.5b4f64f0.css" rel="prefetch"><link href="css/chunk-150ec2fa.148b09b7.css" rel="prefetch"><link href="css/chunk-1b380c13.5b4f64f0.css" rel="prefetch"><link href="css/chunk-21884c56.19453d34.css" rel="prefetch"><link href="css/chunk-28e98f5e.5b4f64f0.css" rel="prefetch"><link href="css/chunk-345e515a.436ffd71.css" rel="prefetch"><link href="css/chunk-46fd989a.18a9baf6.css" rel="prefetch"><link href="css/chunk-50f27236.32d33c6c.css" rel="prefetch"><link href="css/chunk-5d3f07e9.0c33a0ee.css" rel="prefetch"><link href="css/chunk-6236aa01.6dfcf3dc.css" rel="prefetch"><link href="css/chunk-7160d008.18af0163.css" rel="prefetch"><link href="css/chunk-74700eb0.79bfc701.css" rel="prefetch"><link href="css/chunk-f6efcd8e.5722fa14.css" rel="prefetch"><link href="js/chunk-0361d0b6.4409ff25.js" rel="prefetch"><link href="js/chunk-144c996e.3a228a3e.js" rel="prefetch"><link href="js/chunk-150ec2fa.8b717d0d.js" rel="prefetch"><link href="js/chunk-1b380c13.757b1c6f.js" rel="prefetch"><link href="js/chunk-21884c56.5f1b3d06.js" rel="prefetch"><link href="js/chunk-28e98f5e.5012d40a.js" rel="prefetch"><link href="js/chunk-2d21b108.07b8436b.js" rel="prefetch"><link href="js/chunk-345e515a.cefa4d57.js" rel="prefetch"><link href="js/chunk-46fd989a.8be14a41.js" rel="prefetch"><link href="js/chunk-50f27236.e0a1a00d.js" rel="prefetch"><link href="js/chunk-5d3f07e9.9b89d1fa.js" rel="prefetch"><link href="js/chunk-5dc6092e.71fb9b51.js" rel="prefetch"><link href="js/chunk-619a39b4.fad9ebbd.js" rel="prefetch"><link href="js/chunk-6236aa01.39401447.js" rel="prefetch"><link href="js/chunk-7160d008.1ead3219.js" rel="prefetch"><link href="js/chunk-74700eb0.38111593.js" rel="prefetch"><link href="js/chunk-7cc3643e.232aa0c6.js" rel="prefetch"><link href="js/chunk-e2ba07ae.7609fa1e.js" rel="prefetch"><link href="js/chunk-f6efcd8e.a9f0dbc7.js" rel="prefetch"><link href="css/app.997cda54.css" rel="preload" as="style"><link href="css/chunk-vendors.4472a901.css" rel="preload" as="style"><link href="js/app.ad85f087.js" rel="preload" as="script"><link href="js/chunk-vendors.611f93ab.js" rel="preload" as="script"><link href="css/chunk-vendors.4472a901.css" rel="stylesheet"><link href="css/app.997cda54.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vion-tools doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.611f93ab.js"></script><script src="js/app.ad85f087.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.png"><title>tools</title><script src="config.js"></script><link href="css/chunk-0361d0b6.5b4f64f0.css" rel="prefetch"><link href="css/chunk-150ec2fa.148b09b7.css" rel="prefetch"><link href="css/chunk-1b380c13.5b4f64f0.css" rel="prefetch"><link href="css/chunk-21884c56.19453d34.css" rel="prefetch"><link href="css/chunk-28e98f5e.5b4f64f0.css" rel="prefetch"><link href="css/chunk-345e515a.436ffd71.css" rel="prefetch"><link href="css/chunk-46fd989a.18a9baf6.css" rel="prefetch"><link href="css/chunk-50f27236.32d33c6c.css" rel="prefetch"><link href="css/chunk-5d3f07e9.0c33a0ee.css" rel="prefetch"><link href="css/chunk-6236aa01.6dfcf3dc.css" rel="prefetch"><link href="css/chunk-7160d008.18af0163.css" rel="prefetch"><link href="css/chunk-74700eb0.79bfc701.css" rel="prefetch"><link href="css/chunk-88c7b720.ca702855.css" rel="prefetch"><link href="css/chunk-f6efcd8e.5722fa14.css" rel="prefetch"><link href="js/chunk-0361d0b6.8db98afe.js" rel="prefetch"><link href="js/chunk-144c996e.cf269daf.js" rel="prefetch"><link href="js/chunk-150ec2fa.8b717d0d.js" rel="prefetch"><link href="js/chunk-1b380c13.b546ed4f.js" rel="prefetch"><link href="js/chunk-21884c56.86d9c945.js" rel="prefetch"><link href="js/chunk-28e98f5e.aef449e6.js" rel="prefetch"><link href="js/chunk-2d21b108.07b8436b.js" rel="prefetch"><link href="js/chunk-345e515a.583562b7.js" rel="prefetch"><link href="js/chunk-46fd989a.4a99d8bc.js" rel="prefetch"><link href="js/chunk-50f27236.3ef1caa3.js" rel="prefetch"><link href="js/chunk-5d3f07e9.2a4bfc1b.js" rel="prefetch"><link href="js/chunk-5dc6092e.71fb9b51.js" rel="prefetch"><link href="js/chunk-619a39b4.2a1f46bd.js" rel="prefetch"><link href="js/chunk-6236aa01.afae7344.js" rel="prefetch"><link href="js/chunk-7160d008.1ead3219.js" rel="prefetch"><link href="js/chunk-74700eb0.3129f1ee.js" rel="prefetch"><link href="js/chunk-7cc3643e.2f9598b3.js" rel="prefetch"><link href="js/chunk-88c7b720.00c47895.js" rel="prefetch"><link href="js/chunk-e2ba07ae.2070f343.js" rel="prefetch"><link href="js/chunk-f6efcd8e.a9f0dbc7.js" rel="prefetch"><link href="css/app.997cda54.css" rel="preload" as="style"><link href="css/chunk-vendors.4472a901.css" rel="preload" as="style"><link href="js/app.a3236a94.js" rel="preload" as="script"><link href="js/chunk-vendors.497e55a0.js" rel="preload" as="script"><link href="css/chunk-vendors.4472a901.css" rel="stylesheet"><link href="css/app.997cda54.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vion-tools doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.497e55a0.js"></script><script src="js/app.a3236a94.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0361d0b6"],{2175:function(e,t,a){},3981:function(e,t,a){"use strict";a("2175")},"4df8":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return c["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return c["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return c["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 c["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 l;t["a"]=o},"7f0b":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getStaffResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/staffPool",data:e})}},{key:"getCustomResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/customPool",data:e})}}]),e}()),l=new r;t["a"]=l},b93f:function(e,t,a){"use strict";var u=a("7a23"),n=function(e){return Object(u["M"])("data-v-31a12a94"),e=e(),Object(u["K"])(),e},c={class:"result-wrapper"},r=n((function(){return Object(u["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},o={class:"result-item"},i={class:"result-page"},s=Object(u["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,n,d,f){var p=Object(u["S"])("el-col"),O=Object(u["S"])("el-progress"),j=Object(u["S"])("el-row");return Object(u["J"])(),Object(u["l"])("div",c,[r,Object(u["m"])("div",l,[(Object(u["J"])(!0),Object(u["l"])(u["b"],null,Object(u["Q"])(n.resultList,(function(e){return Object(u["J"])(),Object(u["l"])("div",o,[Object(u["m"])("div",i,[Object(u["m"])("span",null,"总处理条数 : "+Object(u["W"])(e.totalNum)+"条",1)]),Object(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2},{default:Object(u["ib"])((function(){return[s]})),_:1}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["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(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["m"])("span",null,"第"+Object(u["W"])(e.current)+"条/共"+Object(u["W"])(e.curPageSize)+"条",1),Object(u["m"])("span",b,"第"+Object(u["W"])(e.currentPage)+"页/共"+Object(u["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var a=e.data;return{resultList:a}}},p=(a("3981"),a("d959")),O=a.n(p);const j=O()(f,[["render",d],["__scopeId","data-v-31a12a94"]]);t["a"]=j},c9b3:function(e,t,a){"use strict";a.r(t);var u=a("7a23"),n=Object(u["o"])("店员库重建"),c=Object(u["o"])("顾客库重建"),r=Object(u["o"])("开始");function l(e,t,a,l,o,i){var s=Object(u["S"])("a-select"),b=Object(u["S"])("a-form-item"),d=Object(u["S"])("a-select-option"),f=Object(u["S"])("a-date-picker"),p=Object(u["S"])("a-button"),O=Object(u["S"])("a-form"),j=Object(u["S"])("ResultDisplay");return Object(u["J"])(),Object(u["l"])(u["b"],null,[Object(u["p"])(O,{model:l.queryForm,layout:"inline"},{default:Object(u["ib"])((function(){return[Object(u["p"])(b,{label:"集团:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return l.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:l.onAccountChange,options:l.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(u["p"])(b,{label:"广场:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return l.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:l.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(u["p"])(b,{label:"特征重提类型:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return l.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:1},{default:Object(u["ib"])((function(){return[n]})),_:1}),Object(u["p"])(d,{value:2},{default:Object(u["ib"])((function(){return[c]})),_:1})]})),_:1},8,["value"])]})),_:1}),2===l.queryForm.featureRevisitType?(Object(u["J"])(),Object(u["j"])(b,{key:0,label:"选择日期:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(f,{value:l.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return l.queryForm.date=e})},null,8,["value"])]})),_:1})):Object(u["k"])("",!0),Object(u["p"])(b,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{type:"primary",onClick:l.initializeWebSocket},{default:Object(u["ib"])((function(){return[r]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(u["J"])(),Object(u["j"])(j,{data:l.resultList,key:l.resultList},null,8,["data"]))],64)}var o=a("b85c"),i=(a("d3b7"),a("25f0"),a("b0c0"),a("159b"),a("99af"),a("7f0b")),s=a("c1df"),b=a.n(s),d=a("4df8"),f=a("f944"),p=a("c68b"),O=a("b93f"),j={components:{ResultDisplay:O["a"]},setup:function(){var e=void 0,t=Object(u["O"])([]),a=Object(u["O"])([]),n=Object(u["O"])([]),c=Object(u["O"])([]),r=Object(u["O"])([]),l=Object(u["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:b()(b()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),s=function(){O()},O=function(){l.plaza_id=[],n.value=[],d["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(f["a"])(e)){var t,a=Object(o["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},j=function(){l.account_id=[],a.value=[],d["a"].getAccountList().then((function(e){if(Object(f["a"])(e)){var t,u=Object(o["a"])(e);try{for(u.s();!(t=u.n()).done;){var n=t.value;a.value.push({value:n.id,label:n.name})}}catch(c){u.e(c)}finally{u.f()}}}))},v=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},m=function(e){var a=e.dates,u=e.mallIds,n=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,o=e.counter,i={};if(i.dates=a,i.mallIds=u,i.mallNames=n,i.status=c,i.progress=v(r),i.totalNum=0,i.totalPage=0,i.current=0,i.curPageSize=0,i.currentPage=0,i.scheduleType=l,o&&(i.totalNum=o.allDataCount,i.totalPage=o.totalMallDateProduct,i.current=o.dataNum,i.curPageSize=o.totalData,i.currentPage=o.dateMallNum),t.value.length){var s=t.value.some((function(e){return e.scheduleType===l}));s?t.value.forEach((function(e){e.progress=v(r),o&&(e.totalNum=o.allDataCount,e.totalPage=o.totalMallDateProduct,e.current=o.dataNum,e.curPageSize=o.totalData,e.currentPage=o.dateMallNum)})):t.value.push(i),i={}}else t.value.push(i),i={}},y=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/rebuildFeatureLib").concat(l.featureRevisitType)),e.onopen=g,e.onmessage=function(t){var a=JSON.parse(t.data);m(a),1===a.stepCount&&e.close()}},g=function(){var e=Object(u["Y"])(l);switch(e.featureRevisitType){case 1:var t={mallIds:e.plaza_id,scheduleType:"rebuildFeatureLib".concat(e.featureRevisitType)};i["a"].getStaffResult(t);break;case 2:var a={mallIds:e.plaza_id,scheduleType:"rebuildFeatureLib".concat(e.featureRevisitType),startDate:Object(p["b"])(e.date)+" 00:00:00",endDate:Object(p["b"])(e.date)+" 23:59:59"};i["a"].getCustomResult(a);break}},h=function(){j()};return h(),{accountList:a,plazaList:n,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:s,initializeWebSocket:y}}},v=a("d959"),m=a.n(v);const y=m()(j,[["render",l]]);t["default"]=y}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0361d0b6"],{2175:function(e,t,a){},3981:function(e,t,a){"use strict";a("2175")},"4df8":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return c["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return c["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getResidenceList",value:function(e){return c["a"].request({method:"GET",url:"/residence",params:e})}},{key:"getZoneList",value:function(e){return c["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 c["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 l;t["a"]=o},"7f0b":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getStaffResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/staffPool",data:e})}},{key:"getCustomResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/customPool",data:e})}}]),e}()),l=new r;t["a"]=l},b93f:function(e,t,a){"use strict";var u=a("7a23"),n=function(e){return Object(u["M"])("data-v-31a12a94"),e=e(),Object(u["K"])(),e},c={class:"result-wrapper"},r=n((function(){return Object(u["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},o={class:"result-item"},i={class:"result-page"},s=Object(u["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,n,d,f){var p=Object(u["S"])("el-col"),O=Object(u["S"])("el-progress"),j=Object(u["S"])("el-row");return Object(u["J"])(),Object(u["l"])("div",c,[r,Object(u["m"])("div",l,[(Object(u["J"])(!0),Object(u["l"])(u["b"],null,Object(u["Q"])(n.resultList,(function(e){return Object(u["J"])(),Object(u["l"])("div",o,[Object(u["m"])("div",i,[Object(u["m"])("span",null,"总处理条数 : "+Object(u["W"])(e.totalNum)+"条",1)]),Object(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2},{default:Object(u["ib"])((function(){return[s]})),_:1}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["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(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["m"])("span",null,"第"+Object(u["W"])(e.current)+"条/共"+Object(u["W"])(e.curPageSize)+"条",1),Object(u["m"])("span",b,"第"+Object(u["W"])(e.currentPage)+"页/共"+Object(u["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var a=e.data;return{resultList:a}}},p=(a("3981"),a("d959")),O=a.n(p);const j=O()(f,[["render",d],["__scopeId","data-v-31a12a94"]]);t["a"]=j},c9b3:function(e,t,a){"use strict";a.r(t);var u=a("7a23"),n=Object(u["o"])("店员库重建"),c=Object(u["o"])("顾客库重建"),r=Object(u["o"])("开始");function l(e,t,a,l,o,i){var s=Object(u["S"])("a-select"),b=Object(u["S"])("a-form-item"),d=Object(u["S"])("a-select-option"),f=Object(u["S"])("a-date-picker"),p=Object(u["S"])("a-button"),O=Object(u["S"])("a-form"),j=Object(u["S"])("ResultDisplay");return Object(u["J"])(),Object(u["l"])(u["b"],null,[Object(u["p"])(O,{model:l.queryForm,layout:"inline"},{default:Object(u["ib"])((function(){return[Object(u["p"])(b,{label:"集团:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return l.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:l.onAccountChange,options:l.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(u["p"])(b,{label:"广场:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return l.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:l.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(u["p"])(b,{label:"特征重提类型:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(s,{value:l.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return l.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:1},{default:Object(u["ib"])((function(){return[n]})),_:1}),Object(u["p"])(d,{value:2},{default:Object(u["ib"])((function(){return[c]})),_:1})]})),_:1},8,["value"])]})),_:1}),2===l.queryForm.featureRevisitType?(Object(u["J"])(),Object(u["j"])(b,{key:0,label:"选择日期:"},{default:Object(u["ib"])((function(){return[Object(u["p"])(f,{value:l.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return l.queryForm.date=e})},null,8,["value"])]})),_:1})):Object(u["k"])("",!0),Object(u["p"])(b,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{type:"primary",onClick:l.initializeWebSocket},{default:Object(u["ib"])((function(){return[r]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(u["J"])(),Object(u["j"])(j,{data:l.resultList,key:l.resultList},null,8,["data"]))],64)}var o=a("b85c"),i=(a("d3b7"),a("25f0"),a("b0c0"),a("159b"),a("99af"),a("7f0b")),s=a("c1df"),b=a.n(s),d=a("4df8"),f=a("f944"),p=a("c68b"),O=a("b93f"),j={components:{ResultDisplay:O["a"]},setup:function(){var e=void 0,t=Object(u["O"])([]),a=Object(u["O"])([]),n=Object(u["O"])([]),c=Object(u["O"])([]),r=Object(u["O"])([]),l=Object(u["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:b()(b()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),s=function(){O()},O=function(){l.plaza_id=[],n.value=[],d["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(f["a"])(e)){var t,a=Object(o["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},j=function(){l.account_id=[],a.value=[],d["a"].getAccountList().then((function(e){if(Object(f["a"])(e)){var t,u=Object(o["a"])(e);try{for(u.s();!(t=u.n()).done;){var n=t.value;a.value.push({value:n.id,label:n.name})}}catch(c){u.e(c)}finally{u.f()}}}))},v=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},m=function(e){var a=e.dates,u=e.mallIds,n=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,o=e.counter,i={};if(i.dates=a,i.mallIds=u,i.mallNames=n,i.status=c,i.progress=v(r),i.totalNum=0,i.totalPage=0,i.current=0,i.curPageSize=0,i.currentPage=0,i.scheduleType=l,o&&(i.totalNum=o.allDataCount,i.totalPage=o.totalMallDateProduct,i.current=o.dataNum,i.curPageSize=o.totalData,i.currentPage=o.dateMallNum),t.value.length){var s=t.value.some((function(e){return e.scheduleType===l}));s?t.value.forEach((function(e){e.progress=v(r),o&&(e.totalNum=o.allDataCount,e.totalPage=o.totalMallDateProduct,e.current=o.dataNum,e.curPageSize=o.totalData,e.currentPage=o.dateMallNum)})):t.value.push(i),i={}}else t.value.push(i),i={}},y=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/rebuildFeatureLib").concat(l.featureRevisitType)),e.onopen=g,e.onmessage=function(t){var a=JSON.parse(t.data);m(a),1===a.stepCount&&e.close()}},g=function(){var e=Object(u["Y"])(l);switch(e.featureRevisitType){case 1:var t={mallIds:e.plaza_id,scheduleType:"rebuildFeatureLib".concat(e.featureRevisitType)};i["a"].getStaffResult(t);break;case 2:var a={mallIds:e.plaza_id,scheduleType:"rebuildFeatureLib".concat(e.featureRevisitType),startDate:Object(p["b"])(e.date)+" 00:00:00",endDate:Object(p["b"])(e.date)+" 23:59:59"};i["a"].getCustomResult(a);break}},h=function(){j()};return h(),{accountList:a,plazaList:n,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:s,initializeWebSocket:y}}},v=a("d959"),m=a.n(v);const y=m()(j,[["render",l]]);t["default"]=y}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28e98f5e"],{2175:function(e,t,a){},"325e":function(e,t,a){"use strict";a.r(t);var u=a("7a23"),n=Object(u["o"])("人脸+全身照特征"),c=Object(u["o"])("人脸特征"),r=Object(u["o"])("全身照特征"),l=Object(u["o"])("店员特征"),o=Object(u["o"])("开始");function i(e,t,a,i,s,b){var d=Object(u["S"])("a-select"),f=Object(u["S"])("a-form-item"),p=Object(u["S"])("a-select-option"),O=Object(u["S"])("a-date-picker"),j=Object(u["S"])("a-button"),v=Object(u["S"])("a-form"),m=Object(u["S"])("ResultDisplay");return Object(u["J"])(),Object(u["l"])(u["b"],null,[Object(u["p"])(v,{model:i.queryForm,layout:"inline"},{default:Object(u["ib"])((function(){return[Object(u["p"])(f,{label:"集团:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:i.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return i.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:i.onAccountChange,options:i.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(u["p"])(f,{label:"广场:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:i.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return i.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:i.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(u["p"])(f,{label:"特征重提类型:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:i.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return i.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{value:0},{default:Object(u["ib"])((function(){return[n]})),_:1}),Object(u["p"])(p,{value:1},{default:Object(u["ib"])((function(){return[c]})),_:1}),Object(u["p"])(p,{value:2},{default:Object(u["ib"])((function(){return[r]})),_:1}),Object(u["p"])(p,{value:3},{default:Object(u["ib"])((function(){return[l]})),_:1})]})),_:1},8,["value"])]})),_:1}),3!==i.queryForm.featureRevisitType?(Object(u["J"])(),Object(u["j"])(f,{key:0,label:"选择日期:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(O,{value:i.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return i.queryForm.date=e}),style:{width:"280px"}},null,8,["value"])]})),_:1})):Object(u["k"])("",!0),Object(u["p"])(f,{style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(j,{type:"primary",onClick:i.initializeWebSocket},{default:Object(u["ib"])((function(){return[o]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(u["J"])(),Object(u["j"])(m,{data:i.resultList,key:i.resultList},null,8,["data"]))],64)}var s=a("b85c"),b=(a("d3b7"),a("25f0"),a("b0c0"),a("159b"),a("99af"),a("caad"),a("7f0b"),a("c1df")),d=a.n(b),f=a("4df8"),p=a("f944"),O=a("c68b"),j=a("d4ec"),v=a("bee2"),m=a("672a"),y=function(){function e(){Object(j["a"])(this,e)}return Object(v["a"])(e,[{key:"getFeatureResult",value:function(e){return m["a"].request({method:"POST",url:"/mall/feature",data:e})}},{key:"getStaffFeatureResult",value:function(e){return m["a"].request({method:"POST",url:"/mall/staffFeature",data:e})}}]),e}(),g=new y,h=g,_=a("b93f"),T={components:{ResultDisplay:_["a"]},setup:function(){var e=void 0,t=Object(u["O"])([]),a=(Object(u["O"])([]),Object(u["O"])([])),n=Object(u["O"])([]),c=Object(u["O"])([]),r=Object(u["O"])([]),l=Object(u["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:d()(d()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),o=function(){i()},i=function(){l.plaza_id=[],n.value=[],f["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(p["a"])(e)){var t,a=Object(s["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},b=function(){l.account_id=[],a.value=[],f["a"].getAccountList().then((function(e){if(Object(p["a"])(e)){var t,u=Object(s["a"])(e);try{for(u.s();!(t=u.n()).done;){var n=t.value;a.value.push({value:n.id,label:n.name})}}catch(c){u.e(c)}finally{u.f()}}}))},j=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},v=function(e){var a=e.dates,u=e.mallIds,n=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,o=e.counter,i={};if(i.dates=a,i.mallIds=u,i.mallNames=n,i.status=c,i.progress=j(r),i.totalNum=0,i.totalPage=0,i.current=0,i.curPageSize=0,i.currentPage=0,i.scheduleType=l,o&&(i.totalNum=o.allDataCount,i.totalPage=o.totalMallDateProduct,i.current=o.dataNum,i.curPageSize=o.totalData,i.currentPage=o.dateMallNum),t.value.length){var s=t.value.some((function(e){return e.scheduleType===l}));s?t.value.forEach((function(e){e.progress=j(r),o&&(e.totalNum=o.allDataCount,e.totalPage=o.totalMallDateProduct,e.current=o.dataNum,e.curPageSize=o.totalData,e.currentPage=o.dateMallNum)})):t.value.push(i),i={}}else t.value.push(i),i={}},m=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/revisitFeature").concat(l.featureRevisitType)),e.onopen=y,e.onmessage=function(t){var a=JSON.parse(t.data);v(a),1===a.stepCount&&e.close()}},y=function(){var e=Object(u["Y"])(l);if([0,1,2].includes(e.featureRevisitType)){var t={mallIds:e.plaza_id,featureType:e.featureRevisitType,scheduleType:"revisitFeature".concat(e.featureRevisitType),startDate:Object(O["b"])(e.date)+" 00:00:00",endDate:Object(O["b"])(e.date)+" 23:59:59"};h.getFeatureResult(t)}else{var a={mallIds:e.plaza_id,featureType:e.featureRevisitType,scheduleType:"revisitFeature".concat(e.featureRevisitType)};h.getStaffFeatureResult(a)}},g=function(){b()};return g(),{accountList:a,plazaList:n,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:o,initializeWebSocket:m}}},S=a("d959"),z=a.n(S);const P=z()(T,[["render",i]]);t["default"]=P},3981:function(e,t,a){"use strict";a("2175")},"4df8":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return c["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return c["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return c["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 c["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 l;t["a"]=o},"7f0b":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getStaffResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/staffPool",data:e})}},{key:"getCustomResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/customPool",data:e})}}]),e}()),l=new r;t["a"]=l},b93f:function(e,t,a){"use strict";var u=a("7a23"),n=function(e){return Object(u["M"])("data-v-31a12a94"),e=e(),Object(u["K"])(),e},c={class:"result-wrapper"},r=n((function(){return Object(u["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},o={class:"result-item"},i={class:"result-page"},s=Object(u["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,n,d,f){var p=Object(u["S"])("el-col"),O=Object(u["S"])("el-progress"),j=Object(u["S"])("el-row");return Object(u["J"])(),Object(u["l"])("div",c,[r,Object(u["m"])("div",l,[(Object(u["J"])(!0),Object(u["l"])(u["b"],null,Object(u["Q"])(n.resultList,(function(e){return Object(u["J"])(),Object(u["l"])("div",o,[Object(u["m"])("div",i,[Object(u["m"])("span",null,"总处理条数 : "+Object(u["W"])(e.totalNum)+"条",1)]),Object(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2},{default:Object(u["ib"])((function(){return[s]})),_:1}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["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(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["m"])("span",null,"第"+Object(u["W"])(e.current)+"条/共"+Object(u["W"])(e.curPageSize)+"条",1),Object(u["m"])("span",b,"第"+Object(u["W"])(e.currentPage)+"页/共"+Object(u["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var a=e.data;return{resultList:a}}},p=(a("3981"),a("d959")),O=a.n(p);const j=O()(f,[["render",d],["__scopeId","data-v-31a12a94"]]);t["a"]=j}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-28e98f5e"],{2175:function(e,t,a){},"325e":function(e,t,a){"use strict";a.r(t);var u=a("7a23"),n=Object(u["o"])("人脸+全身照特征"),c=Object(u["o"])("人脸特征"),r=Object(u["o"])("全身照特征"),l=Object(u["o"])("店员特征"),i=Object(u["o"])("开始");function o(e,t,a,o,s,b){var d=Object(u["S"])("a-select"),f=Object(u["S"])("a-form-item"),p=Object(u["S"])("a-select-option"),O=Object(u["S"])("a-date-picker"),j=Object(u["S"])("a-button"),v=Object(u["S"])("a-form"),m=Object(u["S"])("ResultDisplay");return Object(u["J"])(),Object(u["l"])(u["b"],null,[Object(u["p"])(v,{model:o.queryForm,layout:"inline"},{default:Object(u["ib"])((function(){return[Object(u["p"])(f,{label:"集团:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:o.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return o.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:o.onAccountChange,options:o.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(u["p"])(f,{label:"广场:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:o.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return o.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:o.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(u["p"])(f,{label:"特征重提类型:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(d,{value:o.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return o.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{value:0},{default:Object(u["ib"])((function(){return[n]})),_:1}),Object(u["p"])(p,{value:1},{default:Object(u["ib"])((function(){return[c]})),_:1}),Object(u["p"])(p,{value:2},{default:Object(u["ib"])((function(){return[r]})),_:1}),Object(u["p"])(p,{value:3},{default:Object(u["ib"])((function(){return[l]})),_:1})]})),_:1},8,["value"])]})),_:1}),3!==o.queryForm.featureRevisitType?(Object(u["J"])(),Object(u["j"])(f,{key:0,label:"选择日期:",style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(O,{value:o.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return o.queryForm.date=e}),style:{width:"280px"}},null,8,["value"])]})),_:1})):Object(u["k"])("",!0),Object(u["p"])(f,{style:{padding:"5px 0"}},{default:Object(u["ib"])((function(){return[Object(u["p"])(j,{type:"primary",onClick:o.initializeWebSocket},{default:Object(u["ib"])((function(){return[i]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(u["J"])(),Object(u["j"])(m,{data:o.resultList,key:o.resultList},null,8,["data"]))],64)}var s=a("b85c"),b=(a("d3b7"),a("25f0"),a("b0c0"),a("159b"),a("99af"),a("caad"),a("7f0b"),a("c1df")),d=a.n(b),f=a("4df8"),p=a("f944"),O=a("c68b"),j=a("d4ec"),v=a("bee2"),m=a("672a"),y=function(){function e(){Object(j["a"])(this,e)}return Object(v["a"])(e,[{key:"getFeatureResult",value:function(e){return m["a"].request({method:"POST",url:"/mall/feature",data:e})}},{key:"getStaffFeatureResult",value:function(e){return m["a"].request({method:"POST",url:"/mall/staffFeature",data:e})}}]),e}(),g=new y,h=g,_=a("b93f"),T={components:{ResultDisplay:_["a"]},setup:function(){var e=void 0,t=Object(u["O"])([]),a=(Object(u["O"])([]),Object(u["O"])([])),n=Object(u["O"])([]),c=Object(u["O"])([]),r=Object(u["O"])([]),l=Object(u["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:d()(d()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),i=function(){o()},o=function(){l.plaza_id=[],n.value=[],f["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(p["a"])(e)){var t,a=Object(s["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},b=function(){l.account_id=[],a.value=[],f["a"].getAccountList().then((function(e){if(Object(p["a"])(e)){var t,u=Object(s["a"])(e);try{for(u.s();!(t=u.n()).done;){var n=t.value;a.value.push({value:n.id,label:n.name})}}catch(c){u.e(c)}finally{u.f()}}}))},j=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},v=function(e){var a=e.dates,u=e.mallIds,n=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,i=e.counter,o={};if(o.dates=a,o.mallIds=u,o.mallNames=n,o.status=c,o.progress=j(r),o.totalNum=0,o.totalPage=0,o.current=0,o.curPageSize=0,o.currentPage=0,o.scheduleType=l,i&&(o.totalNum=i.allDataCount,o.totalPage=i.totalMallDateProduct,o.current=i.dataNum,o.curPageSize=i.totalData,o.currentPage=i.dateMallNum),t.value.length){var s=t.value.some((function(e){return e.scheduleType===l}));s?t.value.forEach((function(e){e.progress=j(r),i&&(e.totalNum=i.allDataCount,e.totalPage=i.totalMallDateProduct,e.current=i.dataNum,e.curPageSize=i.totalData,e.currentPage=i.dateMallNum)})):t.value.push(o),o={}}else t.value.push(o),o={}},m=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/revisitFeature").concat(l.featureRevisitType)),e.onopen=y,e.onmessage=function(t){var a=JSON.parse(t.data);v(a),1===a.stepCount&&e.close()}},y=function(){var e=Object(u["Y"])(l);if([0,1,2].includes(e.featureRevisitType)){var t={mallIds:e.plaza_id,featureType:e.featureRevisitType,scheduleType:"revisitFeature".concat(e.featureRevisitType),startDate:Object(O["b"])(e.date)+" 00:00:00",endDate:Object(O["b"])(e.date)+" 23:59:59"};h.getFeatureResult(t)}else{var a={mallIds:e.plaza_id,featureType:e.featureRevisitType,scheduleType:"revisitFeature".concat(e.featureRevisitType)};h.getStaffFeatureResult(a)}},g=function(){b()};return g(),{accountList:a,plazaList:n,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:i,initializeWebSocket:m}}},S=a("d959"),z=a.n(S);const k=z()(T,[["render",o]]);t["default"]=k},3981:function(e,t,a){"use strict";a("2175")},"4df8":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return c["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return c["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getResidenceList",value:function(e){return c["a"].request({method:"GET",url:"/residence",params:e})}},{key:"getZoneList",value:function(e){return c["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 c["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}(),i=new l;t["a"]=i},"7f0b":function(e,t,a){"use strict";var u=a("d4ec"),n=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(u["a"])(this,e)}return Object(n["a"])(e,[{key:"getStaffResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/staffPool",data:e})}},{key:"getCustomResult",value:function(e){return c["a"].request({method:"POST",url:"/mall/customPool",data:e})}}]),e}()),l=new r;t["a"]=l},b93f:function(e,t,a){"use strict";var u=a("7a23"),n=function(e){return Object(u["M"])("data-v-31a12a94"),e=e(),Object(u["K"])(),e},c={class:"result-wrapper"},r=n((function(){return Object(u["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},i={class:"result-item"},o={class:"result-page"},s=Object(u["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,n,d,f){var p=Object(u["S"])("el-col"),O=Object(u["S"])("el-progress"),j=Object(u["S"])("el-row");return Object(u["J"])(),Object(u["l"])("div",c,[r,Object(u["m"])("div",l,[(Object(u["J"])(!0),Object(u["l"])(u["b"],null,Object(u["Q"])(n.resultList,(function(e){return Object(u["J"])(),Object(u["l"])("div",i,[Object(u["m"])("div",o,[Object(u["m"])("span",null,"总处理条数 : "+Object(u["W"])(e.totalNum)+"条",1)]),Object(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2},{default:Object(u["ib"])((function(){return[s]})),_:1}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["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(u["p"])(j,null,{default:Object(u["ib"])((function(){return[Object(u["p"])(p,{span:2}),Object(u["p"])(p,{span:22},{default:Object(u["ib"])((function(){return[Object(u["m"])("span",null,"第"+Object(u["W"])(e.current)+"条/共"+Object(u["W"])(e.curPageSize)+"条",1),Object(u["m"])("span",b,"第"+Object(u["W"])(e.currentPage)+"页/共"+Object(u["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var a=e.data;return{resultList:a}}},p=(a("3981"),a("d959")),O=a.n(p);const j=O()(f,[["render",d],["__scopeId","data-v-31a12a94"]]);t["a"]=j}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46fd989a"],{"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("d3b7");function a(e,t,n,a,u,i,c){try{var r=e[i](c),o=r.value}catch(l){return void n(l)}r.done?t(o):Promise.resolve(o).then(a,u)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(u,i){var c=e.apply(t,n);function r(e){a(c,u,i,r,o,"next",e)}function o(e){a(c,u,i,r,o,"throw",e)}r(void 0)}))}}},"472d":function(e,t,n){},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),u=n("bee2"),i=n("672a"),c=n("c68b"),r=function(){function e(){Object(a["a"])(this,e)}return Object(u["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(c["a"])(e)})}},{key:"getAccountList",value:function(){return i["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return i["a"].request({method:"GET",url:"/malls",params:Object(c["a"])({accountIds:e.account_id})})}},{key:"getResidenceList",value:function(e){return i["a"].request({method:"GET",url:"/residence",params:e})}},{key:"getZoneList",value:function(e){return i["a"].request({method:"GET",url:"/zones/zoneList",params:Object(c["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return i["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(c["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new r;t["a"]=o},"58f5":function(e,t,n){"use strict";n.r(t);var a=n("7a23"),u=Object(a["o"])("店员"),i=Object(a["o"])("顾客"),c=Object(a["o"])("查询");function r(e,t,n,r,o,l){var d=Object(a["S"])("a-select"),s=Object(a["S"])("a-form-item"),p=Object(a["S"])("a-select-option"),b=Object(a["S"])("a-date-picker"),f=Object(a["S"])("a-time-picker"),O=Object(a["S"])("a-button"),m=Object(a["S"])("a-form"),j=Object(a["S"])("a-table"),v=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(m,{model:r.queryForm,layout:"inline","label-col":{style:{width:"80px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(s,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:r.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return r.queryForm.account_id=e}),style:{width:"280px"},onChange:r.onAccountChange,options:r.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(s,{label:"门店:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:r.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return r.queryForm.plaza_id=e}),style:{width:"280px"},onChange:r.onPlazaChange,options:r.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(s,{label:"监控点名称:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:r.queryForm.gate_id,"onUpdate:value":t[2]||(t[2]=function(e){return r.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:r.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(s,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:r.queryForm.personType,"onUpdate:value":t[3]||(t[3]=function(e){return r.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{value:1},{default:Object(a["ib"])((function(){return[u]})),_:1}),Object(a["p"])(p,{value:0},{default:Object(a["ib"])((function(){return[i]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(s,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(b,{value:r.queryForm.date,"onUpdate:value":t[4]||(t[4]=function(e){return r.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(s,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:r.queryForm.startTime,"onUpdate:value":t[5]||(t[5]=function(e){return r.queryForm.startTime=e}),style:{width:"140px"}},null,8,["value"]),Object(a["p"])(f,{value:r.queryForm.endTime,"onUpdate:value":t[6]||(t[6]=function(e){return r.queryForm.endTime=e}),style:{width:"140px"}},null,8,["value"])]})),_:1}),Object(a["p"])(s,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{type:"primary",onClick:r.confirmSearch,loading:r.isLoading},{default:Object(a["ib"])((function(){return[c]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])(Object(a["p"])(j,{dataSource:r.dataList,columns:r.columns,pagination:!1},null,8,["dataSource","columns"]),[[v,r.isLoading]])],64)}var o=n("1da1"),l=n("b85c"),d=(n("96cf"),n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("c1df")),s=n.n(d),p=n("4df8"),b=n("d4ec"),f=n("bee2"),O=n("672a"),m=n("c68b"),j=function(){function e(){Object(b["a"])(this,e)}return Object(f["a"])(e,[{key:"getMinuteList",value:function(e){return O["a"].request({method:"GET",url:"/faceRecognitions/minute",params:Object(m["a"])(e)})}}]),e}(),v=new j,g=v,h=n("f944"),y=(n("8d44"),n("47ce")),_=[{title:"序号",dataIndex:"index",align:"center",width:100},{title:"统计时间",dataIndex:"dateTime",align:"center"},{title:"进客流",dataIndex:"in",align:"center"},{title:"出客流",dataIndex:"out",align:"center"}],w={components:{PlusOutlined:y["a"],VNodes:function(e,t){var n=t.attrs;return n.vnodes}},setup:function(){var e=Object(a["O"])(!1),t=(Object(a["O"])(!1),Object(a["O"])([])),n=Object(a["O"])([]),u=Object(a["O"])([]),i=Object(a["O"])([]),c=Object(a["O"])([]),r=Object(a["N"])({account_id:[],plaza_id:[],gate_id:[],personType:[1,0],date:s()(s()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:s()("00:00:00","HH:mm:ss"),endTime:s()("23:59:59","HH:mm:ss")}),d=function(){f(),r.gate_id=[],i.value=[]},b=function(){j()},f=function(){r.plaza_id=[],n.value=[],p["a"].getPlazaList({account_id:r.account_id.toString()}).then((function(e){if(Object(h["a"])(e)){var t,a=Object(l["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(i){a.e(i)}finally{a.f()}}}))},O=function(){r.account_id=[],t.value=[],p["a"].getAccountList().then((function(e){if(Object(h["a"])(e)){var n,a=Object(l["a"])(e);try{for(a.s();!(n=a.n()).done;){var u=n.value;t.value.push({value:u.id,label:u.name})}}catch(i){a.e(i)}finally{a.f()}}}))},j=function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r.gate_id=[],i.value=[],p["a"].getGateList({account_id:r.account_id.toString(),plaza_id:r.plaza_id.toString(),type:0}).then((function(e){if(Object(h["a"])(e.data)){var t,n=Object(l["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.gate_id.push(a.id),i.value.push({value:a.id,label:a.name})}}catch(u){n.e(u)}finally{n.f()}}}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=function(){e.value=!0;var t=Object(a["Y"])(r),n=Object(m["a"])({account_id:t.account_id.toString(),plaza_id:t.plaza_id.toString(),gate_id:t.gate_id.toString(),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)});g.getMinuteList(n).then((function(t){e.value=!1,t.forEach((function(e,t){e.index=t+1})),c.value=t}))},y=function(){O()};return y(),{isLoading:e,accountList:t,plazaList:n,zoneList:u,gateList:i,dataList:c,queryForm:r,columns:_,onAccountChange:d,onPlazaChange:b,confirmSearch:v}}},T=(n("e2ca"),n("d959")),q=n.n(T);const L=q()(w,[["render",r],["__scopeId","data-v-3b0fceea"]]);t["default"]=L},"8d44":function(e,t,n){"use strict";var a=n("d4ec"),u=n("bee2"),i=n("672a"),c=(n("c68b"),function(){function e(){Object(a["a"])(this,e)}return Object(u["a"])(e,[{key:"getGateList",value:function(e){return i["a"].request({method:"GET",url:"/gates",params:e})}},{key:"getChannelList",value:function(e){return i["a"].request({method:"GET",url:"/channels",params:e})}},{key:"preview",value:function(e){return i["a"].request({method:"POST",url:"/preview/viewCountData",data:e})}},{key:"repair",value:function(e){return i["a"].request({method:"POST",url:"/preview/updateCountData",data:e})}}]),e}()),r=new c;t["a"]=r},e2ca:function(e,t,n){"use strict";n("472d")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46fd989a"],{"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("d3b7");function a(e,t,n,a,u,c,i){try{var o=e[c](i),r=o.value}catch(l){return void n(l)}o.done?t(r):Promise.resolve(r).then(a,u)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(u,c){var i=e.apply(t,n);function o(e){a(i,u,c,o,r,"next",e)}function r(e){a(i,u,c,o,r,"throw",e)}o(void 0)}))}}},"472d":function(e,t,n){},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),u=n("bee2"),c=n("672a"),i=n("c68b"),o=function(){function e(){Object(a["a"])(this,e)}return Object(u["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(i["a"])(e)})}},{key:"getAccountList",value:function(){return c["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return c["a"].request({method:"GET",url:"/malls",params:Object(i["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return c["a"].request({method:"GET",url:"/zones/zoneList",params:Object(i["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return c["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(i["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),r=new o;t["a"]=r},"58f5":function(e,t,n){"use strict";n.r(t);var a=n("7a23"),u=Object(a["o"])("店员"),c=Object(a["o"])("顾客"),i=Object(a["o"])("查询");function o(e,t,n,o,r,l){var d=Object(a["S"])("a-select"),s=Object(a["S"])("a-form-item"),p=Object(a["S"])("a-select-option"),b=Object(a["S"])("a-date-picker"),f=Object(a["S"])("a-time-picker"),O=Object(a["S"])("a-button"),m=Object(a["S"])("a-form"),j=Object(a["S"])("a-table"),v=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(m,{model:o.queryForm,layout:"inline","label-col":{style:{width:"80px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(s,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:o.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return o.queryForm.account_id=e}),style:{width:"280px"},onChange:o.onAccountChange,options:o.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(s,{label:"门店:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:o.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return o.queryForm.plaza_id=e}),style:{width:"280px"},onChange:o.onPlazaChange,options:o.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(s,{label:"监控点名称:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:o.queryForm.gate_id,"onUpdate:value":t[2]||(t[2]=function(e){return o.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:o.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(s,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(d,{value:o.queryForm.personType,"onUpdate:value":t[3]||(t[3]=function(e){return o.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"280px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{value:1},{default:Object(a["ib"])((function(){return[u]})),_:1}),Object(a["p"])(p,{value:0},{default:Object(a["ib"])((function(){return[c]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(s,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(b,{value:o.queryForm.date,"onUpdate:value":t[4]||(t[4]=function(e){return o.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(s,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:o.queryForm.startTime,"onUpdate:value":t[5]||(t[5]=function(e){return o.queryForm.startTime=e}),style:{width:"140px"}},null,8,["value"]),Object(a["p"])(f,{value:o.queryForm.endTime,"onUpdate:value":t[6]||(t[6]=function(e){return o.queryForm.endTime=e}),style:{width:"140px"}},null,8,["value"])]})),_:1}),Object(a["p"])(s,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{type:"primary",onClick:o.confirmSearch,loading:o.isLoading},{default:Object(a["ib"])((function(){return[i]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])(Object(a["p"])(j,{dataSource:o.dataList,columns:o.columns,pagination:!1},null,8,["dataSource","columns"]),[[v,o.isLoading]])],64)}var r=n("1da1"),l=n("b85c"),d=(n("96cf"),n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("c1df")),s=n.n(d),p=n("4df8"),b=n("d4ec"),f=n("bee2"),O=n("672a"),m=n("c68b"),j=function(){function e(){Object(b["a"])(this,e)}return Object(f["a"])(e,[{key:"getMinuteList",value:function(e){return O["a"].request({method:"GET",url:"/faceRecognitions/minute",params:Object(m["a"])(e)})}}]),e}(),v=new j,g=v,h=n("f944"),y=(n("8d44"),n("47ce")),_=[{title:"序号",dataIndex:"index",align:"center",width:100},{title:"统计时间",dataIndex:"dateTime",align:"center"},{title:"进客流",dataIndex:"in",align:"center"},{title:"出客流",dataIndex:"out",align:"center"}],w={components:{PlusOutlined:y["a"],VNodes:function(e,t){var n=t.attrs;return n.vnodes}},setup:function(){var e=Object(a["O"])(!1),t=(Object(a["O"])(!1),Object(a["O"])([])),n=Object(a["O"])([]),u=Object(a["O"])([]),c=Object(a["O"])([]),i=Object(a["O"])([]),o=Object(a["N"])({account_id:[],plaza_id:[],gate_id:[],personType:[1,0],date:s()(s()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:s()("00:00:00","HH:mm:ss"),endTime:s()("23:59:59","HH:mm:ss")}),d=function(){f(),o.gate_id=[],c.value=[]},b=function(){j()},f=function(){o.plaza_id=[],n.value=[],p["a"].getPlazaList({account_id:o.account_id.toString()}).then((function(e){if(Object(h["a"])(e)){var t,a=Object(l["a"])(e);try{for(a.s();!(t=a.n()).done;){var u=t.value;n.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},O=function(){o.account_id=[],t.value=[],p["a"].getAccountList().then((function(e){if(Object(h["a"])(e)){var n,a=Object(l["a"])(e);try{for(a.s();!(n=a.n()).done;){var u=n.value;t.value.push({value:u.id,label:u.name})}}catch(c){a.e(c)}finally{a.f()}}}))},j=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o.gate_id=[],c.value=[],p["a"].getGateList({account_id:o.account_id.toString(),plaza_id:o.plaza_id.toString(),type:0}).then((function(e){if(Object(h["a"])(e.data)){var t,n=Object(l["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var a=t.value;o.gate_id.push(a.id),c.value.push({value:a.id,label:a.name})}}catch(u){n.e(u)}finally{n.f()}}}));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=function(){e.value=!0;var t=Object(a["Y"])(o),n=Object(m["a"])({account_id:t.account_id.toString(),plaza_id:t.plaza_id.toString(),gate_id:t.gate_id.toString(),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)});g.getMinuteList(n).then((function(t){e.value=!1,t.forEach((function(e,t){e.index=t+1})),i.value=t}))},y=function(){O()};return y(),{isLoading:e,accountList:t,plazaList:n,zoneList:u,gateList:c,dataList:i,queryForm:o,columns:_,onAccountChange:d,onPlazaChange:b,confirmSearch:v}}},T=(n("e2ca"),n("d959")),q=n.n(T);const x=q()(w,[["render",o],["__scopeId","data-v-3b0fceea"]]);t["default"]=x},"8d44":function(e,t,n){"use strict";var a=n("d4ec"),u=n("bee2"),c=n("672a"),i=(n("c68b"),function(){function e(){Object(a["a"])(this,e)}return Object(u["a"])(e,[{key:"getGateList",value:function(e){return c["a"].request({method:"GET",url:"/gates",params:e})}},{key:"getChannelList",value:function(e){return c["a"].request({method:"GET",url:"/channels",params:e})}},{key:"preview",value:function(e){return c["a"].request({method:"POST",url:"/preview/viewCountData",data:e})}},{key:"repair",value:function(e){return c["a"].request({method:"POST",url:"/preview/updateCountData",data:e})}}]),e}()),o=new i;t["a"]=o},e2ca:function(e,t,n){"use strict";n("472d")}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-619a39b4"],{"39fa":function(e,t,c){e.exports=c.p+"img/logo.d09437b8.svg"},"4c7f":function(e,t,c){e.exports=c.p+"img/6.a67f0101.svg"},8440:function(e,t,c){e.exports=c.p+"img/1.5e89075d.svg"},"8c4f":function(e,t,c){e.exports=c.p+"img/4.9a2b892f.svg"},"8e17":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),i={class:"flex-vertical-center",style:{height:"100%"}},a=["src"],r={class:"flex-vertical-center",style:{"font-size":"17px",display:"flex",height:"100%",color:"white","justify-content":"flex-end"}},s={style:{margin:"0 20px"}},l={class:"flex-vertical-center"},u=["src"],b=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据重跑",-1),j={class:"flex-vertical-center"},O=["src"],d=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据修补",-1),p={class:"flex-vertical-center"},f=["src"],o=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征重提",-1),m={class:"flex-vertical-center"},g=["src"],h=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征库重建",-1),y={class:"flex-vertical-center"},x=["src"],v=Object(n["m"])("span",{style:{padding:"0 5px"}},"人员重新比对",-1),k={class:"flex-vertical-center"},w=["src"],_=Object(n["m"])("span",{style:{padding:"0 5px"}},"抓拍聚类",-1),M={class:"flex-vertical-center"},J=["src"],S=Object(n["m"])("span",{style:{padding:"0 5px"}},"设备时间错误校验",-1),C={class:"flex-vertical-center"},D=["src"],Y=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征对比验证",-1),R={class:"flex-vertical-center"},K=["src"],F=Object(n["m"])("span",{style:{padding:"0 5px"}},"抓拍图片对比",-1),H={class:"flex-vertical-center"},P=["src"],W=Object(n["m"])("span",{style:{padding:"0 5px"}},"分钟客流数据",-1),q={class:"flex-vertical-center"},E=["src"],T=Object(n["m"])("span",{style:{padding:"0 5px"}},"系统日志",-1),$={class:"flex-vertical-center"},L=["src"],V=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据重放",-1),z={class:"flex-vertical-center"},A=["src"],I=Object(n["m"])("span",{style:{padding:"0 5px"}},"设备数据重传",-1),U={class:"flex-vertical-center"},B=["src"],G=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征匹配",-1),N={class:"flex-vertical-center"},Q=["src"],X=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征匹配精度",-1),Z={class:"flex-vertical-center"},ee=["src"],te=Object(n["m"])("span",{style:{padding:"0 5px"}},"停留时长检索",-1);function ce(e,t,ce,ne,ie,ae){var re=Object(n["S"])("el-col"),se=Object(n["S"])("el-row"),le=Object(n["S"])("el-header"),ue=Object(n["S"])("a-menu-item"),be=Object(n["S"])("a-menu"),je=Object(n["S"])("el-aside"),Oe=Object(n["S"])("router-view"),de=Object(n["S"])("el-main"),pe=Object(n["S"])("el-container");return Object(n["J"])(),Object(n["j"])(pe,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(le,{style:{background:"black"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(se,{style:{height:"100%"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(re,{span:2},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",i,[Object(n["m"])("img",{src:c("39fa"),style:{height:"auto",width:"210px"}},null,8,a)])]})),_:1}),Object(n["p"])(re,{span:22},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",r,[Object(n["m"])("span",s,Object(n["W"])(e.currentTime),1),Object(n["m"])("span",null,Object(n["W"])(e.getWeek()),1)])]})),_:1})]})),_:1})]})),_:1}),Object(n["p"])(de,{style:{padding:"0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(pe,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(je,{style:{background:"#001529"},width:"190px"},{default:Object(n["ib"])((function(){return[Object(n["p"])(be,{mode:"inline",theme:"dark",selectedKeys:e.selectedKeys,"onUpdate:selectedKeys":t[0]||(t[0]=function(t){return e.selectedKeys=t}),onClick:e.onClick},{default:Object(n["ib"])((function(){return[(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/DataRerun"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",l,[Object(n["m"])("img",{src:c("8440"),style:{height:"auto",width:"20px"}},null,8,u),b])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/DataRepair"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",j,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,O),d])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/FeatureReExtract"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",p,[Object(n["m"])("img",{src:c("dac0"),style:{height:"auto",width:"20px"}},null,8,f),o])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/FeatureLibraryRebuild"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",m,[Object(n["m"])("img",{src:c("8c4f"),style:{height:"auto",width:"20px"}},null,8,g),h])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/PeopleReContrast"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",y,[Object(n["m"])("img",{src:c("ad68"),style:{height:"auto",width:"20px"}},null,8,x),v])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/SnapshotCluster"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",k,[Object(n["m"])("img",{src:c("4c7f"),style:{height:"auto",width:"20px"}},null,8,w),_])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/EquipmentTimeErrorVerification"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",M,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,J),S])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/FeatureComparisonVerification"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",C,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,D),Y])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/ComparisonCapturedPictures"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",R,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,K),F])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/MinutePassenger"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",H,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,P),W])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/SystemLog"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",q,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,E),T])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/DataReplay"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",$,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,L),V])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/equipmentDataRetransmission"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",z,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,A),I])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/Featurematching"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",U,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,B),G])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/FeatureMatchingAccuracy"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",N,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,Q),X])]})),_:1})),(Object(n["J"])(),Object(n["j"])(ue,{key:"/Main/newMenu"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",Z,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,ee),te])]})),_:1}))]})),_:1},8,["selectedKeys","onClick"])]})),_:1}),Object(n["p"])(de,null,{default:Object(n["ib"])((function(){return[(Object(n["J"])(),Object(n["j"])(Oe,{key:e.$route.fullPath}))]})),_:1})]})),_:1})]})),_:1})]})),_:1})}var ne=c("6c02"),ie=c("c1df"),ae=c.n(ie),re=Object(n["q"])({setup:function(){var e=Object(n["r"])(),t=e.proxy,c=Object(n["O"])([t.$root.$route.path]),i=Object(ne["c"])(),a=Object(n["O"])(ae()().format("YYYY-MM-DD HH:mm:ss")),r=function(e){i.push(e)},s=function(){for(var e=[],t=0;t<1e3;t++)e.push(t);return e},l=function(e){var t=e.key;i.push("".concat(t))},u=function(e){var t=ae()(e).day();switch(t){case 1:return"星期一";case 2:return"星期二";case 3:return"星期三";case 4:return"星期四";case 5:return"星期五";case 6:return"星期六";case 0:return"星期天"}},b=function(){setInterval((function(){a.value=ae()().format("YYYY-MM-DD HH:mm:ss")}),1e3)};return b(),{currentTime:a,selectedKeys:c,goto:r,getOpeneds:s,onClick:l,getWeek:u}}}),se=c("d959"),le=c.n(se);const ue=le()(re,[["render",ce]]);t["default"]=ue},a55e:function(e,t,c){e.exports=c.p+"img/7.f67a4edf.svg"},ad68:function(e,t,c){e.exports=c.p+"img/5.c948475e.svg"},dac0:function(e,t,c){e.exports=c.p+"img/3.6d3c3512.svg"},f321:function(e,t,c){e.exports=c.p+"img/2.b1a71fe3.svg"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-619a39b4"],{"39fa":function(e,t,c){e.exports=c.p+"img/logo.d09437b8.svg"},"4c7f":function(e,t,c){e.exports=c.p+"img/6.a67f0101.svg"},8440:function(e,t,c){e.exports=c.p+"img/1.5e89075d.svg"},"8c4f":function(e,t,c){e.exports=c.p+"img/4.9a2b892f.svg"},"8e17":function(e,t,c){"use strict";c.r(t);var n=c("7a23"),i={class:"flex-vertical-center",style:{height:"100%"}},a=["src"],r={class:"flex-vertical-center",style:{"font-size":"17px",display:"flex",height:"100%",color:"white","justify-content":"flex-end"}},s={style:{margin:"0 20px"}},l={class:"flex-vertical-center"},u=["src"],b=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据重跑",-1),j={class:"flex-vertical-center"},O=["src"],d=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据修补",-1),p={class:"flex-vertical-center"},f=["src"],o=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征重提",-1),m={class:"flex-vertical-center"},g=["src"],h=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征库重建",-1),y={class:"flex-vertical-center"},x=["src"],v=Object(n["m"])("span",{style:{padding:"0 5px"}},"人员重新比对",-1),k={class:"flex-vertical-center"},w=["src"],_=Object(n["m"])("span",{style:{padding:"0 5px"}},"抓拍聚类",-1),M={class:"flex-vertical-center"},J=["src"],S=Object(n["m"])("span",{style:{padding:"0 5px"}},"设备时间错误校验",-1),C={class:"flex-vertical-center"},D=["src"],Y=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征对比验证",-1),R={class:"flex-vertical-center"},K=["src"],F=Object(n["m"])("span",{style:{padding:"0 5px"}},"抓拍图片对比",-1),H={class:"flex-vertical-center"},P=["src"],W=Object(n["m"])("span",{style:{padding:"0 5px"}},"分钟客流数据",-1),q={class:"flex-vertical-center"},E=["src"],T=Object(n["m"])("span",{style:{padding:"0 5px"}},"系统日志",-1),$={class:"flex-vertical-center"},L=["src"],V=Object(n["m"])("span",{style:{padding:"0 5px"}},"数据重放",-1),z={class:"flex-vertical-center"},A=["src"],I=Object(n["m"])("span",{style:{padding:"0 5px"}},"设备数据重传",-1),U={class:"flex-vertical-center"},B=["src"],G=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征匹配",-1),N={class:"flex-vertical-center"},Q=["src"],X=Object(n["m"])("span",{style:{padding:"0 5px"}},"特征匹配精度",-1);function Z(e,t,Z,ee,te,ce){var ne=Object(n["S"])("el-col"),ie=Object(n["S"])("el-row"),ae=Object(n["S"])("el-header"),re=Object(n["S"])("a-menu-item"),se=Object(n["S"])("a-menu"),le=Object(n["S"])("el-aside"),ue=Object(n["S"])("router-view"),be=Object(n["S"])("el-main"),je=Object(n["S"])("el-container");return Object(n["J"])(),Object(n["j"])(je,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(ae,{style:{background:"black"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(ie,{style:{height:"100%"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(ne,{span:2},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",i,[Object(n["m"])("img",{src:c("39fa"),style:{height:"auto",width:"210px"}},null,8,a)])]})),_:1}),Object(n["p"])(ne,{span:22},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",r,[Object(n["m"])("span",s,Object(n["W"])(e.currentTime),1),Object(n["m"])("span",null,Object(n["W"])(e.getWeek()),1)])]})),_:1})]})),_:1})]})),_:1}),Object(n["p"])(be,{style:{padding:"0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(je,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(le,{style:{background:"#001529"},width:"190px"},{default:Object(n["ib"])((function(){return[Object(n["p"])(se,{mode:"inline",theme:"dark",selectedKeys:e.selectedKeys,"onUpdate:selectedKeys":t[0]||(t[0]=function(t){return e.selectedKeys=t}),onClick:e.onClick},{default:Object(n["ib"])((function(){return[(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/DataRerun"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",l,[Object(n["m"])("img",{src:c("8440"),style:{height:"auto",width:"20px"}},null,8,u),b])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/DataRepair"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",j,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,O),d])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/FeatureReExtract"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",p,[Object(n["m"])("img",{src:c("dac0"),style:{height:"auto",width:"20px"}},null,8,f),o])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/FeatureLibraryRebuild"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",m,[Object(n["m"])("img",{src:c("8c4f"),style:{height:"auto",width:"20px"}},null,8,g),h])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/PeopleReContrast"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",y,[Object(n["m"])("img",{src:c("ad68"),style:{height:"auto",width:"20px"}},null,8,x),v])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/SnapshotCluster"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",k,[Object(n["m"])("img",{src:c("4c7f"),style:{height:"auto",width:"20px"}},null,8,w),_])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/EquipmentTimeErrorVerification"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",M,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,J),S])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/FeatureComparisonVerification"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",C,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,D),Y])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/ComparisonCapturedPictures"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",R,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,K),F])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/MinutePassenger"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",H,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,P),W])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/SystemLog"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",q,[Object(n["m"])("img",{src:c("a55e"),style:{height:"auto",width:"20px"}},null,8,E),T])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/DataReplay"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",$,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,L),V])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/equipmentDataRetransmission"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",z,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,A),I])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/Featurematching"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",U,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,B),G])]})),_:1})),(Object(n["J"])(),Object(n["j"])(re,{key:"/Main/FeatureMatchingAccuracy"},{default:Object(n["ib"])((function(){return[Object(n["m"])("div",N,[Object(n["m"])("img",{src:c("f321"),style:{height:"auto",width:"20px"}},null,8,Q),X])]})),_:1}))]})),_:1},8,["selectedKeys","onClick"])]})),_:1}),Object(n["p"])(be,null,{default:Object(n["ib"])((function(){return[(Object(n["J"])(),Object(n["j"])(ue,{key:e.$route.fullPath}))]})),_:1})]})),_:1})]})),_:1})]})),_:1})}var ee=c("6c02"),te=c("c1df"),ce=c.n(te),ne=Object(n["q"])({setup:function(){var e=Object(n["r"])(),t=e.proxy,c=Object(n["O"])([t.$root.$route.path]),i=Object(ee["c"])(),a=Object(n["O"])(ce()().format("YYYY-MM-DD HH:mm:ss")),r=function(e){i.push(e)},s=function(){for(var e=[],t=0;t<1e3;t++)e.push(t);return e},l=function(e){var t=e.key;i.push("".concat(t))},u=function(e){var t=ce()(e).day();switch(t){case 1:return"星期一";case 2:return"星期二";case 3:return"星期三";case 4:return"星期四";case 5:return"星期五";case 6:return"星期六";case 0:return"星期天"}},b=function(){setInterval((function(){a.value=ce()().format("YYYY-MM-DD HH:mm:ss")}),1e3)};return b(),{currentTime:a,selectedKeys:c,goto:r,getOpeneds:s,onClick:l,getWeek:u}}}),ie=c("d959"),ae=c.n(ie);const re=ae()(ne,[["render",Z]]);t["default"]=re},a55e:function(e,t,c){e.exports=c.p+"img/7.f67a4edf.svg"},ad68:function(e,t,c){e.exports=c.p+"img/5.c948475e.svg"},dac0:function(e,t,c){e.exports=c.p+"img/3.6d3c3512.svg"},f321:function(e,t,c){e.exports=c.p+"img/2.b1a71fe3.svg"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e2ba07ae"],{"4df8":function(e,t,a){"use strict";var n=a("d4ec"),c=a("bee2"),u=a("672a"),i=a("c68b"),r=function(){function e(){Object(n["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return u["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(i["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(i["a"])({accountIds:e.account_id})})}},{key:"getResidenceList",value:function(e){return u["a"].request({method:"GET",url:"/residence",params:e})}},{key:"getZoneList",value:function(e){return u["a"].request({method:"GET",url:"/zones/zoneList",params:Object(i["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(i["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new r;t["a"]=o},c99e:function(e,t,a){"use strict";a.r(t);var n=a("7a23"),c=Object(n["o"])("查询"),u=Object(n["o"])("执行");function i(e,t,a,i,r,o){var l=Object(n["S"])("a-select"),s=Object(n["S"])("a-form-item"),d=Object(n["S"])("a-date-picker"),b=Object(n["S"])("a-time-picker"),f=Object(n["S"])("a-button"),p=Object(n["S"])("a-form"),m=Object(n["S"])("a-table"),v=Object(n["T"])("loading");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(p,{model:i.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{label:"集团:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:i.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return i.queryForm.account_id=e}),style:{width:"200px"},options:i.accountList,onChange:i.onAccountChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1}),Object(n["p"])(s,{label:"广场:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:i.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return i.queryForm.plaza_id=e}),mode:"multiple",maxTagCount:1,onChange:i.onPlazaChange,style:{width:"200px"},options:i.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(n["p"])(s,{label:"选择设备:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:i.queryForm.device_id,"onUpdate:value":t[2]||(t[2]=function(e){return i.queryForm.device_id=e}),style:{width:"300px"},mode:"multiple",maxTagCount:1,optionFilterProp:"label",options:i.deviceList,"show-search":""},null,8,["value","options"])]})),_:1}),Object(n["p"])(s,{label:"选择日期:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(d,{value:i.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return i.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"150px"}},null,8,["value"])]})),_:1}),Object(n["p"])(s,{label:"选择时间:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(b,{value:i.queryForm.startTime,"onUpdate:value":t[4]||(t[4]=function(e){return i.queryForm.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(n["p"])(b,{value:i.queryForm.endTime,"onUpdate:value":t[5]||(t[5]=function(e){return i.queryForm.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(n["p"])(s,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{type:"primary",onClick:i.confirmSearch,style:{"margin-right":"10px"}},{default:Object(n["ib"])((function(){return[c]})),_:1},8,["onClick"]),Object(n["p"])(f,{type:"primary",onClick:i.implement},{default:Object(n["ib"])((function(){return[u]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(n["jb"])(Object(n["p"])(m,{dataSource:i.deviceList,rowKey:function(e){return e.serialnum},columns:i.columns,pagination:!1},null,8,["dataSource","rowKey","columns"]),[[v,i.isLoading]])],64)}var r=a("b85c"),o=(a("b0c0"),a("d3b7"),a("25f0"),a("159b"),a("c1df")),l=a.n(o),s=a("f944"),d=a("4df8"),b=a("d4ec"),f=a("bee2"),p=a("672a"),m=a("c68b"),v=function(){function e(){Object(b["a"])(this,e)}return Object(f["a"])(e,[{key:"getDeviceList",value:function(e){return p["a"].request({method:"GET",url:"/devices/all",params:Object(m["a"])(e)})}},{key:"getResultresend",value:function(e){return p["a"].request({method:"GET",url:"/devices/resultresend",params:Object(m["a"])(e)})}},{key:"getReboot",value:function(e){return p["a"].request({method:"GET",url:"/devices/reboot",params:Object(m["a"])(e)})}}]),e}(),O=new v,j=O,h=(a("bc3a"),a("3fd4")),y={setup:function(){var e=Object(n["O"])([]),t=Object(n["O"])([]),a=Object(n["O"])([]),c=Object(n["O"])(!1),u=Object(n["O"])([{title:"序号",align:"center",dataIndex:"index"},{title:"IP配置",dataIndex:"localIp",align:"center"},{title:"设备序列号",dataIndex:"serialnum",align:"center"},{title:"数据重传状态",dataIndex:"retransmission",align:"center"},{title:"设备重启状态",dataIndex:"restart",align:"center"}]),i=Object(n["N"])({account_id:"",plaza_id:[],device_id:[],date:l()().format("YYYY-MM-DD"),startTime:l()().format("YYYY-MM-DD 08:00:00"),endTime:l()().format("YYYY-MM-DD 23:59:59")}),o=function(){i.account_id=[],e.value=[],d["a"].getAccountList().then((function(t){if(Object(s["a"])(t)){var a,n=Object(r["a"])(t);try{for(n.s();!(a=n.n()).done;){var c=a.value;e.value.push({value:c.id,label:c.name})}}catch(u){n.e(u)}finally{n.f()}}}))},b=function(){f()},f=function(){i.plaza_id=[],t.value=[],d["a"].getPlazaList({account_id:i.account_id.toString()}).then((function(e){if(Object(s["a"])(e)){var a,n=Object(r["a"])(e);try{for(n.s();!(a=n.n()).done;){var c=a.value;t.value.push({value:c.id,label:c.name})}}catch(u){n.e(u)}finally{n.f()}}}))},p=function(){i.device_id=[],a.value=[],m()},m=function(){var e=Object(n["Y"])(i),t={mallIds:e.plaza_id.toString()};j.getDeviceList(t).then((function(e){if(c.value=!1,Object(s["a"])(e))for(var t=0;t<e.length;t++)e[t].index=t+1,e[t].label=e[t].serialnum+"——"+e[t].localIp,e[t].value=e[t].serialnum,a.value.push(e[t])}))},v=function(){i.device_id=[],a.value=[],c.value=!0,m()},O=function(){if(i.device_id.length<1)return Object(h["a"])({message:"请选择设备",type:"warning"}),!1;a.value.forEach((function(e){i.device_id.forEach((function(t){if(e.serialnum==t&&e.localIp){var n={ip:e.localIp,startTime:l()(i.date).format("YYYY-MM-DD")+" "+l()(i.startTime).format("HH:mm:ss"),endTime:l()(i.date).format("YYYY-MM-DD")+" "+l()(i.endTime).format("HH:mm:ss")};c.value=!0,j.getResultresend(n).then((function(t){c.value=!1,t&&t.success?(e.retransmission="重传成功",j.getReboot({ip:e.localIp}).then((function(t){t&&t.success?e.restart="重启成功":e.restart="重启失败",console.log(a.value)}))):e.retransmission="重传失败"}))}}))}))},y=function(){o()};return y(),{deviceList:a,accountList:e,plazaList:t,columns:u,isLoading:c,queryForm:i,onAccountChange:b,confirmSearch:v,implement:O,onPlazaChange:p}}},g=a("d959"),_=a.n(g);const Y=_()(y,[["render",i]]);t["default"]=Y}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e2ba07ae"],{"4df8":function(e,t,a){"use strict";var n=a("d4ec"),c=a("bee2"),i=a("672a"),u=a("c68b"),o=function(){function e(){Object(n["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(u["a"])(e)})}},{key:"getAccountList",value:function(){return i["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return i["a"].request({method:"GET",url:"/malls",params:Object(u["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return i["a"].request({method:"GET",url:"/zones/zoneList",params:Object(u["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return i["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(u["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),r=new o;t["a"]=r},c99e:function(e,t,a){"use strict";a.r(t);var n=a("7a23"),c=Object(n["o"])("查询"),i=Object(n["o"])("执行");function u(e,t,a,u,o,r){var l=Object(n["S"])("a-select"),d=Object(n["S"])("a-form-item"),s=Object(n["S"])("a-date-picker"),b=Object(n["S"])("a-time-picker"),f=Object(n["S"])("a-button"),p=Object(n["S"])("a-form"),m=Object(n["S"])("a-table"),v=Object(n["T"])("loading");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(p,{model:u.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(n["ib"])((function(){return[Object(n["p"])(d,{label:"集团:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:u.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return u.queryForm.account_id=e}),style:{width:"200px"},options:u.accountList,onChange:u.onAccountChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1}),Object(n["p"])(d,{label:"广场:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:u.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return u.queryForm.plaza_id=e}),mode:"multiple",maxTagCount:1,onChange:u.onPlazaChange,style:{width:"200px"},options:u.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(n["p"])(d,{label:"选择设备:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(l,{value:u.queryForm.device_id,"onUpdate:value":t[2]||(t[2]=function(e){return u.queryForm.device_id=e}),style:{width:"300px"},mode:"multiple",maxTagCount:1,optionFilterProp:"label",options:u.deviceList,"show-search":""},null,8,["value","options"])]})),_:1}),Object(n["p"])(d,{label:"选择日期:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:u.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return u.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"150px"}},null,8,["value"])]})),_:1}),Object(n["p"])(d,{label:"选择时间:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(b,{value:u.queryForm.startTime,"onUpdate:value":t[4]||(t[4]=function(e){return u.queryForm.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(n["p"])(b,{value:u.queryForm.endTime,"onUpdate:value":t[5]||(t[5]=function(e){return u.queryForm.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(n["p"])(d,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{type:"primary",onClick:u.confirmSearch,style:{"margin-right":"10px"}},{default:Object(n["ib"])((function(){return[c]})),_:1},8,["onClick"]),Object(n["p"])(f,{type:"primary",onClick:u.implement},{default:Object(n["ib"])((function(){return[i]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(n["jb"])(Object(n["p"])(m,{dataSource:u.deviceList,rowKey:function(e){return e.serialnum},columns:u.columns,pagination:!1},null,8,["dataSource","rowKey","columns"]),[[v,u.isLoading]])],64)}var o=a("b85c"),r=(a("b0c0"),a("d3b7"),a("25f0"),a("159b"),a("c1df")),l=a.n(r),d=a("f944"),s=a("4df8"),b=a("d4ec"),f=a("bee2"),p=a("672a"),m=a("c68b"),v=function(){function e(){Object(b["a"])(this,e)}return Object(f["a"])(e,[{key:"getDeviceList",value:function(e){return p["a"].request({method:"GET",url:"/devices/all",params:Object(m["a"])(e)})}},{key:"getResultresend",value:function(e){return p["a"].request({method:"GET",url:"/devices/resultresend",params:Object(m["a"])(e)})}},{key:"getReboot",value:function(e){return p["a"].request({method:"GET",url:"/devices/reboot",params:Object(m["a"])(e)})}}]),e}(),O=new v,j=O,h=(a("bc3a"),a("3fd4")),y={setup:function(){var e=Object(n["O"])([]),t=Object(n["O"])([]),a=Object(n["O"])([]),c=Object(n["O"])(!1),i=Object(n["O"])([{title:"序号",align:"center",dataIndex:"index"},{title:"IP配置",dataIndex:"localIp",align:"center"},{title:"设备序列号",dataIndex:"serialnum",align:"center"},{title:"数据重传状态",dataIndex:"retransmission",align:"center"},{title:"设备重启状态",dataIndex:"restart",align:"center"}]),u=Object(n["N"])({account_id:"",plaza_id:[],device_id:[],date:l()().format("YYYY-MM-DD"),startTime:l()().format("YYYY-MM-DD 08:00:00"),endTime:l()().format("YYYY-MM-DD 23:59:59")}),r=function(){u.account_id=[],e.value=[],s["a"].getAccountList().then((function(t){if(Object(d["a"])(t)){var a,n=Object(o["a"])(t);try{for(n.s();!(a=n.n()).done;){var c=a.value;e.value.push({value:c.id,label:c.name})}}catch(i){n.e(i)}finally{n.f()}}}))},b=function(){f()},f=function(){u.plaza_id=[],t.value=[],s["a"].getPlazaList({account_id:u.account_id.toString()}).then((function(e){if(Object(d["a"])(e)){var a,n=Object(o["a"])(e);try{for(n.s();!(a=n.n()).done;){var c=a.value;t.value.push({value:c.id,label:c.name})}}catch(i){n.e(i)}finally{n.f()}}}))},p=function(){u.device_id=[],a.value=[],m()},m=function(){var e=Object(n["Y"])(u),t={mallIds:e.plaza_id.toString()};j.getDeviceList(t).then((function(e){if(c.value=!1,Object(d["a"])(e))for(var t=0;t<e.length;t++)e[t].index=t+1,e[t].label=e[t].serialnum+"——"+e[t].localIp,e[t].value=e[t].serialnum,a.value.push(e[t])}))},v=function(){u.device_id=[],a.value=[],c.value=!0,m()},O=function(){if(u.device_id.length<1)return Object(h["a"])({message:"请选择设备",type:"warning"}),!1;a.value.forEach((function(e){u.device_id.forEach((function(t){if(e.serialnum==t&&e.localIp){var n={ip:e.localIp,startTime:l()(u.date).format("YYYY-MM-DD")+" "+l()(u.startTime).format("HH:mm:ss"),endTime:l()(u.date).format("YYYY-MM-DD")+" "+l()(u.endTime).format("HH:mm:ss")};c.value=!0,j.getResultresend(n).then((function(t){c.value=!1,t&&t.success?(e.retransmission="重传成功",j.getReboot({ip:e.localIp}).then((function(t){t&&t.success?e.restart="重启成功":e.restart="重启失败",console.log(a.value)}))):e.retransmission="重传失败"}))}}))}))},y=function(){r()};return y(),{deviceList:a,accountList:e,plazaList:t,columns:i,isLoading:c,queryForm:u,onAccountChange:b,confirmSearch:v,implement:O,onPlazaChange:p}}},g=a("d959"),_=a.n(g);const Y=_()(y,[["render",u]]);t["default"]=Y}}]);
\ No newline at end of file
window._serverHost = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com' : window.location.host
window._baseUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/btool/' : `https://${window._serverHost}/btool/`
window._baseImgUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/images/' : `${window.location.origin}/images/`
window._socketUrl = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
window._serverHost = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/' : window.location.host
window._baseUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/btool/' : `https://${window._serverHost}/btool/`
window._baseImgUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/images/' : `${window.location.origin}/images/`
window._socketUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
const log = console.log.bind(console)
......@@ -4,7 +4,7 @@ import Cookies from "js-cookie"
import {getTimestampString} from "@/PublicUtil/PublicUtil"
import {ElMessage} from 'element-plus'
// 创建 axios 的一个实例
let baseURL = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? '' : window._baseUrl
let baseURL = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? '' : window._baseUrl
const axiosInstance = axios.create(
{
baseURL: baseURL,
......@@ -14,14 +14,14 @@ const axiosInstance = axios.create(
// 请求拦截器
axiosInstance.interceptors.request.use(
config => {
// Cookies.set('atoken','1c6dab70-9cd7-44e3-b862-70c79f8a7de6')
// Cookies.set('atoken','090afed9-d637-4710-b556-4910eb7f6e15')
if(!Cookies.get('atoken')){
ElMessage({
message: `登录过期,请重新登录`,
type: 'warning'
})
setTimeout(()=>{
let url = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/' : window.location.origin
let url = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/' : window.location.origin
// if(url.includes('36.112.68.214')){
// url = 'http://36.112.68.214:33333/'
// }
......@@ -45,7 +45,7 @@ axiosInstance.interceptors.response.use(
type: 'warning'
})
setTimeout(()=>{
let url = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/' : window.location.origin
let url = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.keliuyun.com/' : window.location.origin
// if(url.includes('36.112.68.214')){
// url = 'http://36.112.68.214:33333/'
// }
......
......@@ -65,6 +65,10 @@ const menuRoute = [
path: 'FeatureMatchingAccuracy',
component: () => import("@/views/FeatureMatchingAccuracy/FeatureMatchingAccuracy.vue")
},
{
path: 'newMenu',
component: () => import("@/views/newMenu/index.vue")
},
]
},
]
......
......@@ -109,6 +109,12 @@
<span style="padding: 0 5px">特征匹配精度</span>
</div>
</a-menu-item>
<a-menu-item :key="'/Main/newMenu'">
<div class="flex-vertical-center">
<img :src="require('./Icons/2.svg')" style="height: auto;width:20px"/>
<span style="padding: 0 5px">停留时长检索</span>
</div>
</a-menu-item>
</a-menu>
</el-aside>
<el-main>
......
......@@ -36,6 +36,15 @@ class SnapshotRecordApi {
}
)
}
getResidenceList(data) {
return axiosInstance.request(
{
method: 'GET',
url: `/residence`,
params:data
}
)
}
getZoneList(data) {
return axiosInstance.request(
......
......@@ -58,7 +58,7 @@ module.exports = {
devServer: {
proxy: {
'/': {
target: 'https://mall.keliuyun.com/btool/',
target: 'https://store.keliuyun.com/btool/',
changeOrigin: true
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!