Commit dadc615e by tianlonglong

增加停留时长

1 parent 675ca0cb
Showing 36 changed files with 432 additions and 27 deletions
window._serverHost = ['localhost', '192.168.1.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com' : window.location.host window._serverHost = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.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._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.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/images/' : `${window.location.origin}/images/` 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.28'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/` window._socketUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
const log = console.log.bind(console) 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 \ 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 \ 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 \ No newline at end of file
(function(e){function n(n){for(var t,a,u=n[0],f=n[1],o=n[2],d=0,b=[];d<u.length;d++)a=u[d],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&b.push(r[a][0]),r[a]=0;for(t in f)Object.prototype.hasOwnProperty.call(f,t)&&(e[t]=f[t]);i&&i(n);while(b.length)b.shift()();return s.push.apply(s,o||[]),c()}function c(){for(var e,n=0;n<s.length;n++){for(var c=s[n],t=!0,a=1;a<c.length;a++){var u=c[a];0!==r[u]&&(t=!1)}t&&(s.splice(n--,1),e=f(f.s=c[0]))}return e}var t={},a={app:0},r={app:0},s=[];function u(e){return f.p+"js/"+({}[e]||e)+"."+{"chunk-144c996e":"cf269daf","chunk-0361d0b6":"8db98afe","chunk-150ec2fa":"8b717d0d","chunk-1b380c13":"b546ed4f","chunk-21884c56":"86d9c945","chunk-28e98f5e":"aef449e6","chunk-345e515a":"583562b7","chunk-46fd989a":"4a99d8bc","chunk-50f27236":"3ef1caa3","chunk-5d3f07e9":"2a4bfc1b","chunk-5dc6092e":"71fb9b51","chunk-6236aa01":"afae7344","chunk-7160d008":"1ead3219","chunk-f6efcd8e":"a9f0dbc7","chunk-74700eb0":"3129f1ee","chunk-7cc3643e":"2f9598b3","chunk-88c7b720":"00c47895","chunk-e2ba07ae":"2070f343","chunk-2d21b108":"07b8436b","chunk-619a39b4":"2a1f46bd"}[e]+".js"}function f(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(e){var n=[],c={"chunk-0361d0b6":1,"chunk-150ec2fa":1,"chunk-1b380c13":1,"chunk-21884c56":1,"chunk-28e98f5e":1,"chunk-345e515a":1,"chunk-46fd989a":1,"chunk-50f27236":1,"chunk-5d3f07e9":1,"chunk-6236aa01":1,"chunk-7160d008":1,"chunk-f6efcd8e":1,"chunk-74700eb0":1,"chunk-88c7b720":1};a[e]?n.push(a[e]):0!==a[e]&&c[e]&&n.push(a[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-144c996e":"31d6cfe0","chunk-0361d0b6":"5b4f64f0","chunk-150ec2fa":"148b09b7","chunk-1b380c13":"5b4f64f0","chunk-21884c56":"19453d34","chunk-28e98f5e":"5b4f64f0","chunk-345e515a":"436ffd71","chunk-46fd989a":"18a9baf6","chunk-50f27236":"32d33c6c","chunk-5d3f07e9":"0c33a0ee","chunk-5dc6092e":"31d6cfe0","chunk-6236aa01":"6dfcf3dc","chunk-7160d008":"18af0163","chunk-f6efcd8e":"5722fa14","chunk-74700eb0":"79bfc701","chunk-7cc3643e":"31d6cfe0","chunk-88c7b720":"ca702855","chunk-e2ba07ae":"31d6cfe0","chunk-2d21b108":"31d6cfe0","chunk-619a39b4":"31d6cfe0"}[e]+".css",r=f.p+t,s=document.getElementsByTagName("link"),u=0;u<s.length;u++){var o=s[u],d=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(d===t||d===r))return n()}var b=document.getElementsByTagName("style");for(u=0;u<b.length;u++){o=b[u],d=o.getAttribute("data-href");if(d===t||d===r)return n()}var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onload=n,i.onerror=function(n){var t=n&&n.target&&n.target.src||r,s=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=t,delete a[e],i.parentNode.removeChild(i),c(s)},i.href=r;var h=document.getElementsByTagName("head")[0];h.appendChild(i)})).then((function(){a[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var s=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=s);var o,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=u(e);var b=new Error;o=function(n){d.onerror=d.onload=null,clearTimeout(i);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;b.message="Loading chunk "+e+" failed.\n("+t+": "+a+")",b.name="ChunkLoadError",b.type=t,b.request=a,c[1](b)}r[e]=void 0}};var i=setTimeout((function(){o({type:"timeout",target:d})}),12e4);d.onerror=d.onload=o,document.head.appendChild(d)}return Promise.all(n)},f.m=e,f.c=t,f.d=function(e,n,c){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,n){if(1&n&&(e=f(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)f.d(c,t,function(n){return e[n]}.bind(null,t));return c},f.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="",f.oe=function(e){throw console.error(e),e};var o=window["webpackJsonp"]=window["webpackJsonp"]||[],d=o.push.bind(o);o.push=n,o=o.slice();for(var b=0;b<o.length;b++)n(o[b]);var i=d;s.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"3ac7":function(e,n,c){},"435a":function(e,n,c){"use strict";c("3ac7")},4678:function(e,n,c){var t={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var n=r(e);return c(n)}function r(e){if(!c.o(t,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t[e]}a.keys=function(){return Object.keys(t)},a.resolve=r,e.exports=a,a.id="4678"},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("7a23"),a={id:"app"};function r(e,n,c,r,s,u){var f=Object(t["S"])("router-view"),o=Object(t["S"])("a-config-provider");return Object(t["J"])(),Object(t["j"])(o,{locale:s.zh_CN},{default:Object(t["ib"])((function(){return[Object(t["m"])("div",a,[Object(t["p"])(f)])]})),_:1},8,["locale"])}var s=c("677e"),u=c.n(s),f={data:function(){return{zh_CN:u.a}}},o=(c("435a"),c("d959")),d=c.n(o);const b=d()(f,[["render",r]]);var i=b,h=c("f23d"),l=(c("202f"),c("b463")),j=c("a18c"),k=c("5502"),p=Object(k["a"])({state:{accessedRouteList:[]},mutations:{setAccessedRouteList:function(e,n){e.accessedRouteList=n}}}),m=c("3fd4"),g=(c("7dd6"),c("3ef0")),v=c.n(g),y=function(e){e.use(m["c"],{locale:v.a})},P=Object(t["i"])(i);y(P),P.use(p),P.use(l["a"]),P.use(j["a"]),P.use(h["a"]),P.mount("#app")},a18c:function(e,n,c){"use strict";c("d3b7"),c("3ca3"),c("ddb0"),c("99af");var t=c("6c02"),a=[{path:"/Main",component:function(){return c.e("chunk-619a39b4").then(c.bind(null,"8e17"))},children:[{path:"DataRerun",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-74700eb0")]).then(c.bind(null,"489d"))}},{path:"DataRepair",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-345e515a")]).then(c.bind(null,"01f8"))}},{path:"FeatureReExtract",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-28e98f5e")]).then(c.bind(null,"325e"))}},{path:"FeatureLibraryRebuild",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-0361d0b6")]).then(c.bind(null,"c9b3"))}},{path:"PeopleReContrast",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-1b380c13")]).then(c.bind(null,"4734"))}},{path:"SnapshotCluster",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-6236aa01"),c.e("chunk-f6efcd8e")]).then(c.bind(null,"e199"))}},{path:"EquipmentTimeErrorVerification",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-5dc6092e")]).then(c.bind(null,"147c"))}},{path:"FeatureComparisonVerification",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-50f27236")]).then(c.bind(null,"aa5f"))}},{path:"ComparisonCapturedPictures",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-6236aa01"),c.e("chunk-7160d008")]).then(c.bind(null,"f897"))}},{path:"MinutePassenger",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-46fd989a")]).then(c.bind(null,"58f5"))}},{path:"SystemLog",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-150ec2fa")]).then(c.bind(null,"1d4a"))}},{path:"DataReplay",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-7cc3643e")]).then(c.bind(null,"356a"))}},{path:"Featurematching",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-5d3f07e9")]).then(c.bind(null,"d986"))}},{path:"equipmentDataRetransmission",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-e2ba07ae")]).then(c.bind(null,"c99e"))}},{path:"FeatureMatchingAccuracy",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-21884c56")]).then(c.bind(null,"59fe"))}},{path:"newMenu",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-88c7b720")]).then(c.bind(null,"73e0"))}}]}],r=[{path:"/",redirect:"/Main/DataRerun"},{path:"/test",component:function(){return c.e("chunk-2d21b108").then(c.bind(null,"bdd4"))}}].concat(a),s=Object(t["a"])({history:Object(t["b"])(),routes:r});n["a"]=s}});
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var t,a,u=n[0],f=n[1],o=n[2],d=0,i=[];d<u.length;d++)a=u[d],Object.prototype.hasOwnProperty.call(r,a)&&r[a]&&i.push(r[a][0]),r[a]=0;for(t in f)Object.prototype.hasOwnProperty.call(f,t)&&(e[t]=f[t]);b&&b(n);while(i.length)i.shift()();return s.push.apply(s,o||[]),c()}function c(){for(var e,n=0;n<s.length;n++){for(var c=s[n],t=!0,a=1;a<c.length;a++){var u=c[a];0!==r[u]&&(t=!1)}t&&(s.splice(n--,1),e=f(f.s=c[0]))}return e}var t={},a={app:0},r={app:0},s=[];function u(e){return f.p+"js/"+({}[e]||e)+"."+{"chunk-144c996e":"3a228a3e","chunk-0361d0b6":"4409ff25","chunk-150ec2fa":"8b717d0d","chunk-1b380c13":"757b1c6f","chunk-21884c56":"5f1b3d06","chunk-28e98f5e":"5012d40a","chunk-345e515a":"cefa4d57","chunk-46fd989a":"8be14a41","chunk-50f27236":"e0a1a00d","chunk-5d3f07e9":"9b89d1fa","chunk-5dc6092e":"71fb9b51","chunk-6236aa01":"39401447","chunk-7160d008":"1ead3219","chunk-f6efcd8e":"a9f0dbc7","chunk-74700eb0":"38111593","chunk-7cc3643e":"232aa0c6","chunk-e2ba07ae":"7609fa1e","chunk-2d21b108":"07b8436b","chunk-619a39b4":"fad9ebbd"}[e]+".js"}function f(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,f),c.l=!0,c.exports}f.e=function(e){var n=[],c={"chunk-0361d0b6":1,"chunk-150ec2fa":1,"chunk-1b380c13":1,"chunk-21884c56":1,"chunk-28e98f5e":1,"chunk-345e515a":1,"chunk-46fd989a":1,"chunk-50f27236":1,"chunk-5d3f07e9":1,"chunk-6236aa01":1,"chunk-7160d008":1,"chunk-f6efcd8e":1,"chunk-74700eb0":1};a[e]?n.push(a[e]):0!==a[e]&&c[e]&&n.push(a[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-144c996e":"31d6cfe0","chunk-0361d0b6":"5b4f64f0","chunk-150ec2fa":"148b09b7","chunk-1b380c13":"5b4f64f0","chunk-21884c56":"19453d34","chunk-28e98f5e":"5b4f64f0","chunk-345e515a":"436ffd71","chunk-46fd989a":"18a9baf6","chunk-50f27236":"32d33c6c","chunk-5d3f07e9":"0c33a0ee","chunk-5dc6092e":"31d6cfe0","chunk-6236aa01":"6dfcf3dc","chunk-7160d008":"18af0163","chunk-f6efcd8e":"5722fa14","chunk-74700eb0":"79bfc701","chunk-7cc3643e":"31d6cfe0","chunk-e2ba07ae":"31d6cfe0","chunk-2d21b108":"31d6cfe0","chunk-619a39b4":"31d6cfe0"}[e]+".css",r=f.p+t,s=document.getElementsByTagName("link"),u=0;u<s.length;u++){var o=s[u],d=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(d===t||d===r))return n()}var i=document.getElementsByTagName("style");for(u=0;u<i.length;u++){o=i[u],d=o.getAttribute("data-href");if(d===t||d===r)return n()}var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.onload=n,b.onerror=function(n){var t=n&&n.target&&n.target.src||r,s=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=t,delete a[e],b.parentNode.removeChild(b),c(s)},b.href=r;var h=document.getElementsByTagName("head")[0];h.appendChild(b)})).then((function(){a[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var s=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=s);var o,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=u(e);var i=new Error;o=function(n){d.onerror=d.onload=null,clearTimeout(b);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;i.message="Loading chunk "+e+" failed.\n("+t+": "+a+")",i.name="ChunkLoadError",i.type=t,i.request=a,c[1](i)}r[e]=void 0}};var b=setTimeout((function(){o({type:"timeout",target:d})}),12e4);d.onerror=d.onload=o,document.head.appendChild(d)}return Promise.all(n)},f.m=e,f.c=t,f.d=function(e,n,c){f.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,n){if(1&n&&(e=f(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(f.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)f.d(c,t,function(n){return e[n]}.bind(null,t));return c},f.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(n,"a",n),n},f.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},f.p="",f.oe=function(e){throw console.error(e),e};var o=window["webpackJsonp"]=window["webpackJsonp"]||[],d=o.push.bind(o);o.push=n,o=o.slice();for(var i=0;i<o.length;i++)n(o[i]);var b=d;s.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"3ac7":function(e,n,c){},"435a":function(e,n,c){"use strict";c("3ac7")},4678:function(e,n,c){var t={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var n=r(e);return c(n)}function r(e){if(!c.o(t,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t[e]}a.keys=function(){return Object.keys(t)},a.resolve=r,e.exports=a,a.id="4678"},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("7a23"),a={id:"app"};function r(e,n,c,r,s,u){var f=Object(t["S"])("router-view"),o=Object(t["S"])("a-config-provider");return Object(t["J"])(),Object(t["j"])(o,{locale:s.zh_CN},{default:Object(t["ib"])((function(){return[Object(t["m"])("div",a,[Object(t["p"])(f)])]})),_:1},8,["locale"])}var s=c("677e"),u=c.n(s),f={data:function(){return{zh_CN:u.a}}},o=(c("435a"),c("d959")),d=c.n(o);const i=d()(f,[["render",r]]);var b=i,h=c("f23d"),l=(c("202f"),c("b463")),j=c("a18c"),k=c("5502"),p=Object(k["a"])({state:{accessedRouteList:[]},mutations:{setAccessedRouteList:function(e,n){e.accessedRouteList=n}}}),m=c("3fd4"),g=(c("7dd6"),c("3ef0")),v=c.n(g),y=function(e){e.use(m["c"],{locale:v.a})},P=Object(t["i"])(b);y(P),P.use(p),P.use(l["a"]),P.use(j["a"]),P.use(h["a"]),P.mount("#app")},a18c:function(e,n,c){"use strict";c("d3b7"),c("3ca3"),c("ddb0"),c("99af");var t=c("6c02"),a=[{path:"/Main",component:function(){return c.e("chunk-619a39b4").then(c.bind(null,"8e17"))},children:[{path:"DataRerun",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-74700eb0")]).then(c.bind(null,"489d"))}},{path:"DataRepair",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-345e515a")]).then(c.bind(null,"01f8"))}},{path:"FeatureReExtract",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-28e98f5e")]).then(c.bind(null,"325e"))}},{path:"FeatureLibraryRebuild",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-0361d0b6")]).then(c.bind(null,"c9b3"))}},{path:"PeopleReContrast",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-1b380c13")]).then(c.bind(null,"4734"))}},{path:"SnapshotCluster",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-6236aa01"),c.e("chunk-f6efcd8e")]).then(c.bind(null,"e199"))}},{path:"EquipmentTimeErrorVerification",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-5dc6092e")]).then(c.bind(null,"147c"))}},{path:"FeatureComparisonVerification",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-50f27236")]).then(c.bind(null,"aa5f"))}},{path:"ComparisonCapturedPictures",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-6236aa01"),c.e("chunk-7160d008")]).then(c.bind(null,"f897"))}},{path:"MinutePassenger",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-46fd989a")]).then(c.bind(null,"58f5"))}},{path:"SystemLog",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-150ec2fa")]).then(c.bind(null,"1d4a"))}},{path:"DataReplay",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-7cc3643e")]).then(c.bind(null,"356a"))}},{path:"Featurematching",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-5d3f07e9")]).then(c.bind(null,"d986"))}},{path:"equipmentDataRetransmission",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-e2ba07ae")]).then(c.bind(null,"c99e"))}},{path:"FeatureMatchingAccuracy",component:function(){return Promise.all([c.e("chunk-144c996e"),c.e("chunk-21884c56")]).then(c.bind(null,"59fe"))}}]}],r=[{path:"/",redirect:"/Main/DataRerun"},{path:"/test",component:function(){return c.e("chunk-2d21b108").then(c.bind(null,"bdd4"))}}].concat(a),s=Object(t["a"])({history:Object(t["b"])(),routes:r});n["a"]=s}});
\ No newline at end of file \ 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 \ 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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b380c13"],{2175:function(e,t,a){},3981:function(e,t,a){"use strict";a("2175")},4734:function(e,t,a){"use strict";a.r(t);var n=a("7a23"),u=Object(n["o"])("店员对比"),c=Object(n["o"])("顾客对比"),r=Object(n["o"])("开始");function l(e,t,a,l,o,i){var s=Object(n["S"])("a-select"),b=Object(n["S"])("a-form-item"),d=Object(n["S"])("a-select-option"),f=Object(n["S"])("a-date-picker"),p=Object(n["S"])("a-button"),O=Object(n["S"])("a-form"),j=Object(n["S"])("ResultDisplay");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(O,{model:l.queryForm,layout:"inline"},{default:Object(n["ib"])((function(){return[Object(n["p"])(b,{label:"集团:"},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(b,{label:"广场:"},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(b,{label:"比对类型:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:l.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return l.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(d,{value:1},{default:Object(n["ib"])((function(){return[u]})),_:1}),Object(n["p"])(d,{value:2},{default:Object(n["ib"])((function(){return[c]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(b,{label:"选择日期:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{value:l.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return l.queryForm.date=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(n["p"])(b,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{type:"primary",onClick:l.initializeWebSocket},{default:Object(n["ib"])((function(){return[r]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(n["J"])(),Object(n["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"),a("c1df")),s=a.n(i),b=a("4df8"),d=a("f944"),f=a("c68b"),p=a("d4ec"),O=a("bee2"),j=a("672a"),m=function(){function e(){Object(p["a"])(this,e)}return Object(O["a"])(e,[{key:"getStaffResult",value:function(e){return j["a"].request({method:"POST",url:"/mall/staff",data:e})}},{key:"getCustomResult",value:function(e){return j["a"].request({method:"POST",url:"/mall/custom",data:e})}}]),e}(),v=new m,h=v,y=a("b93f"),g={components:{ResultDisplay:y["a"]},setup:function(){var e=void 0,t=Object(n["O"])([]),a=Object(n["O"])([]),u=Object(n["O"])([]),c=Object(n["O"])([]),r=Object(n["O"])([]),l=Object(n["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:s()(s()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),i=function(){p()},p=function(){l.plaza_id=[],u.value=[],b["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(d["a"])(e)){var t,a=Object(o["a"])(e);try{for(a.s();!(t=a.n()).done;){var n=t.value;u.value.push({value:n.id,label:n.name})}}catch(c){a.e(c)}finally{a.f()}}}))},O=function(){l.account_id=[],a.value=[],b["a"].getAccountList().then((function(e){if(Object(d["a"])(e)){var t,n=Object(o["a"])(e);try{for(n.s();!(t=n.n()).done;){var u=t.value;a.value.push({value:u.id,label:u.name})}}catch(c){n.e(c)}finally{n.f()}}}))},j=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},m=function(e){var a=e.dates,n=e.mallIds,u=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,o=e.counter,i={};if(i.dates=a,i.mallIds=n,i.mallNames=u,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={}},v=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/rematchPerson").concat(l.featureRevisitType)),e.onopen=y,e.onmessage=function(t){var a=JSON.parse(t.data);m(a),1===a.stepCount&&e.close()}},y=function(){var e=Object(n["Y"])(l);switch(e.featureRevisitType){case 1:var t={mallIds:e.plaza_id,scheduleType:"rematchPerson".concat(e.featureRevisitType),startDate:Object(f["b"])(e.date)+" 00:00:00",endDate:Object(f["b"])(e.date)+" 23:59:59"};h.getStaffResult(t);break;case 2:var a={mallIds:e.plaza_id,scheduleType:"rematchPerson".concat(e.featureRevisitType),startDate:Object(f["b"])(e.date)+" 00:00:00",endDate:Object(f["b"])(e.date)+" 23:59:59"};h.getCustomResult(a);break}},g=function(){O()};return g(),{accountList:a,plazaList:u,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:i,initializeWebSocket:v}}},_=a("d959"),P=a.n(_);const S=P()(g,[["render",l]]);t["default"]=S},"4df8":function(e,t,a){"use strict";var n=a("d4ec"),u=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(n["a"])(this,e)}return Object(u["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 n=a("d4ec"),u=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(n["a"])(this,e)}return Object(u["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 n=a("7a23"),u=function(e){return Object(n["M"])("data-v-31a12a94"),e=e(),Object(n["K"])(),e},c={class:"result-wrapper"},r=u((function(){return Object(n["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},o={class:"result-item"},i={class:"result-page"},s=Object(n["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,u,d,f){var p=Object(n["S"])("el-col"),O=Object(n["S"])("el-progress"),j=Object(n["S"])("el-row");return Object(n["J"])(),Object(n["l"])("div",c,[r,Object(n["m"])("div",l,[(Object(n["J"])(!0),Object(n["l"])(n["b"],null,Object(n["Q"])(u.resultList,(function(e){return Object(n["J"])(),Object(n["l"])("div",o,[Object(n["m"])("div",i,[Object(n["m"])("span",null,"总处理条数 : "+Object(n["W"])(e.totalNum)+"条",1)]),Object(n["p"])(j,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{span:2},{default:Object(n["ib"])((function(){return[s]})),_:1}),Object(n["p"])(p,{span:22},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(j,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{span:2}),Object(n["p"])(p,{span:22},{default:Object(n["ib"])((function(){return[Object(n["m"])("span",null,"第"+Object(n["W"])(e.current)+"条/共"+Object(n["W"])(e.curPageSize)+"条",1),Object(n["m"])("span",b,"第"+Object(n["W"])(e.currentPage)+"页/共"+Object(n["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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b380c13"],{2175:function(e,t,a){},3981:function(e,t,a){"use strict";a("2175")},4734:function(e,t,a){"use strict";a.r(t);var n=a("7a23"),u=Object(n["o"])("店员对比"),c=Object(n["o"])("顾客对比"),r=Object(n["o"])("开始");function l(e,t,a,l,o,i){var s=Object(n["S"])("a-select"),b=Object(n["S"])("a-form-item"),d=Object(n["S"])("a-select-option"),f=Object(n["S"])("a-date-picker"),p=Object(n["S"])("a-button"),O=Object(n["S"])("a-form"),j=Object(n["S"])("ResultDisplay");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(O,{model:l.queryForm,layout:"inline"},{default:Object(n["ib"])((function(){return[Object(n["p"])(b,{label:"集团:"},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(b,{label:"广场:"},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(b,{label:"比对类型:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:l.queryForm.featureRevisitType,"onUpdate:value":t[2]||(t[2]=function(e){return l.queryForm.featureRevisitType=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(d,{value:1},{default:Object(n["ib"])((function(){return[u]})),_:1}),Object(n["p"])(d,{value:2},{default:Object(n["ib"])((function(){return[c]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(b,{label:"选择日期:"},{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{value:l.queryForm.date,"onUpdate:value":t[3]||(t[3]=function(e){return l.queryForm.date=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(n["p"])(b,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{type:"primary",onClick:l.initializeWebSocket},{default:Object(n["ib"])((function(){return[r]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),(Object(n["J"])(),Object(n["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"),a("c1df")),s=a.n(i),b=a("4df8"),d=a("f944"),f=a("c68b"),p=a("d4ec"),O=a("bee2"),j=a("672a"),m=function(){function e(){Object(p["a"])(this,e)}return Object(O["a"])(e,[{key:"getStaffResult",value:function(e){return j["a"].request({method:"POST",url:"/mall/staff",data:e})}},{key:"getCustomResult",value:function(e){return j["a"].request({method:"POST",url:"/mall/custom",data:e})}}]),e}(),v=new m,h=v,y=a("b93f"),g={components:{ResultDisplay:y["a"]},setup:function(){var e=void 0,t=Object(n["O"])([]),a=Object(n["O"])([]),u=Object(n["O"])([]),c=Object(n["O"])([]),r=Object(n["O"])([]),l=Object(n["N"])({account_id:[],plaza_id:[],featureRevisitType:1,date:s()(s()().format("YYYY-MM-DD"),"YYYY-MM-DD")}),i=function(){p()},p=function(){l.plaza_id=[],u.value=[],b["a"].getPlazaList({account_id:l.account_id.toString()}).then((function(e){if(Object(d["a"])(e)){var t,a=Object(o["a"])(e);try{for(a.s();!(t=a.n()).done;){var n=t.value;u.value.push({value:n.id,label:n.name})}}catch(c){a.e(c)}finally{a.f()}}}))},O=function(){l.account_id=[],a.value=[],b["a"].getAccountList().then((function(e){if(Object(d["a"])(e)){var t,n=Object(o["a"])(e);try{for(n.s();!(t=n.n()).done;){var u=t.value;a.value.push({value:u.id,label:u.name})}}catch(c){n.e(c)}finally{n.f()}}}))},j=function(e){if(!e)return 0;var t=Math.floor(100*e);return t>=100?100:t},m=function(e){var a=e.dates,n=e.mallIds,u=e.mallNames,c=e.status,r=e.stepCount,l=e.scheduleType,o=e.counter,i={};if(i.dates=a,i.mallIds=n,i.mallNames=u,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={}},v=function(){void 0!==e&&e.close(),t.value=[],e=new WebSocket("".concat(window._socketUrl,"/recal/schedule/rematchPerson").concat(l.featureRevisitType)),e.onopen=y,e.onmessage=function(t){var a=JSON.parse(t.data);m(a),1===a.stepCount&&e.close()}},y=function(){var e=Object(n["Y"])(l);switch(e.featureRevisitType){case 1:var t={mallIds:e.plaza_id,scheduleType:"rematchPerson".concat(e.featureRevisitType),startDate:Object(f["b"])(e.date)+" 00:00:00",endDate:Object(f["b"])(e.date)+" 23:59:59"};h.getStaffResult(t);break;case 2:var a={mallIds:e.plaza_id,scheduleType:"rematchPerson".concat(e.featureRevisitType),startDate:Object(f["b"])(e.date)+" 00:00:00",endDate:Object(f["b"])(e.date)+" 23:59:59"};h.getCustomResult(a);break}},g=function(){O()};return g(),{accountList:a,plazaList:u,zoneList:c,gateList:r,resultList:t,queryForm:l,onAccountChange:i,initializeWebSocket:v}}},_=a("d959"),P=a.n(_);const S=P()(g,[["render",l]]);t["default"]=S},"4df8":function(e,t,a){"use strict";var n=a("d4ec"),u=a("bee2"),c=a("672a"),r=a("c68b"),l=function(){function e(){Object(n["a"])(this,e)}return Object(u["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 n=a("d4ec"),u=a("bee2"),c=a("672a"),r=(a("c68b"),function(){function e(){Object(n["a"])(this,e)}return Object(u["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 n=a("7a23"),u=function(e){return Object(n["M"])("data-v-31a12a94"),e=e(),Object(n["K"])(),e},c={class:"result-wrapper"},r=u((function(){return Object(n["m"])("div",{class:"result-header"},"结果展示",-1)})),l={class:"scrollbar-wrapper"},o={class:"result-item"},i={class:"result-page"},s=Object(n["o"])(" 执行进度 : "),b={class:"pagination-page"};function d(e,t,a,u,d,f){var p=Object(n["S"])("el-col"),O=Object(n["S"])("el-progress"),j=Object(n["S"])("el-row");return Object(n["J"])(),Object(n["l"])("div",c,[r,Object(n["m"])("div",l,[(Object(n["J"])(!0),Object(n["l"])(n["b"],null,Object(n["Q"])(u.resultList,(function(e){return Object(n["J"])(),Object(n["l"])("div",o,[Object(n["m"])("div",i,[Object(n["m"])("span",null,"总处理条数 : "+Object(n["W"])(e.totalNum)+"条",1)]),Object(n["p"])(j,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{span:2},{default:Object(n["ib"])((function(){return[s]})),_:1}),Object(n["p"])(p,{span:22},{default:Object(n["ib"])((function(){return[Object(n["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(n["p"])(j,null,{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{span:2}),Object(n["p"])(p,{span:22},{default:Object(n["ib"])((function(){return[Object(n["m"])("span",null,"第"+Object(n["W"])(e.current)+"条/共"+Object(n["W"])(e.curPageSize)+"条",1),Object(n["m"])("span",b,"第"+Object(n["W"])(e.currentPage)+"页/共"+Object(n["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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21884c56"],{1148:function(e,t,n){"use strict";var c=n("a691"),a=n("1d80");e.exports=function(e){var t=String(a(this)),n="",i=c(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},2532:function(e,t,n){"use strict";var c=n("23e7"),a=n("5a34"),i=n("1d80"),o=n("ab13");c({target:"String",proto:!0,forced:!o("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},"408a":function(e,t,n){var c=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=c(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var c=n("d4ec"),a=n("bee2"),i=n("672a"),o=n("c68b"),u=function(){function e(){Object(c["a"])(this,e)}return Object(a["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(o["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(o["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return i["a"].request({method:"GET",url:"/zones/zoneList",params:Object(o["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(o["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),r=new u;t["a"]=r},5695:function(e,t,n){"use strict";n("a1d5")},"59fe":function(e,t,n){"use strict";n.r(t);n("b0c0");var c=n("7a23"),a=function(e){return Object(c["M"])("data-v-123733dc"),e=e(),Object(c["K"])(),e},i={class:"containter"},o={class:"btns"},u=Object(c["o"])("搜索"),r=Object(c["o"])("新增注册人员"),l=Object(c["o"])("查看报告"),b=Object(c["o"])("编辑"),d=Object(c["o"])("删除"),s=Object(c["o"])("添加样本图"),f=Object(c["o"])("命中详情"),O={style:{"margin-bottom":"10px","min-height":"350px"}},p=["onClick"],j=["onClick"],m=["onClick"],h=["onClick"],g=Object(c["o"])("进"),v=Object(c["o"])("出"),y=Object(c["o"])("查询"),_={class:"identifyResult"},x={class:"pictureBox"},C={class:"score"},S={class:"btnPic"},k=Object(c["o"])("选中"),w=Object(c["o"])("以图搜图"),P={style:{padding:"0px 10px 10px"}},L={style:{"margin-left":"55px"}},z=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"姓名:",-1)})),T={style:{display:"flex","align-items":"center"}},U=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"注册图片数量:",-1)})),I={style:{"margin-top":"10px","margin-bottom":"10px"}},R=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"命中目标数量:",-1)}));function E(e,t,n,a,E,M){var D=Object(c["S"])("a-select"),q=Object(c["S"])("a-form-item"),J=Object(c["S"])("a-form"),N=Object(c["S"])("a-button"),Y=Object(c["S"])("el-table-column"),G=Object(c["S"])("el-button"),H=Object(c["S"])("el-table"),B=Object(c["S"])("a-pagination"),F=Object(c["S"])("el-col"),W=Object(c["S"])("el-image"),K=Object(c["S"])("el-row"),V=Object(c["S"])("a-tab-pane"),Q=Object(c["S"])("a-tabs"),A=Object(c["S"])("a-select-option"),Z=Object(c["S"])("a-input"),X=Object(c["S"])("a-date-picker"),$=Object(c["S"])("a-time-picker"),ee=Object(c["S"])("addPersonConfig"),te=Object(c["S"])("editPersonConfig"),ne=Object(c["S"])("hitDetailDialog"),ce=Object(c["T"])("loading");return Object(c["J"])(),Object(c["l"])("div",i,[Object(c["jb"])((Object(c["J"])(),Object(c["j"])(K,{class:"contentBox"},{default:Object(c["ib"])((function(){return[Object(c["p"])(F,{span:7,class:"box boxLeft"},{default:Object(c["ib"])((function(){return[Object(c["p"])(J,{model:a.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(q,{label:"集团:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return a.queryForm.account_id=e}),style:{width:"150px"},options:a.accountList,onChange:a.onAccountChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1}),Object(c["p"])(q,{label:"广场:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return a.queryForm.plaza_id=e}),style:{width:"150px"},options:a.plazaList,onChange:a.onMallChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1})]})),_:1},8,["model"]),Object(c["m"])("div",o,[Object(c["p"])(N,{type:"primary",onClick:a.confirmSearch,class:"btn"},{default:Object(c["ib"])((function(){return[u]})),_:1},8,["onClick"]),Object(c["p"])(N,{type:"primary",onClick:a.addPersonFun,class:"btn"},{default:Object(c["ib"])((function(){return[r]})),_:1},8,["onClick"]),Object(c["p"])(N,{type:"primary",onClick:a.selectReport,class:"btn"},{default:Object(c["ib"])((function(){return[l]})),_:1},8,["onClick"])]),Object(c["p"])(H,{data:a.resultList,onRowClick:a.clickRow,"highlight-current-row":!0,rowKey:e.id,height:a.contentHeight,style:{width:"100%"},onSelectionChange:a.handleSelectionChange},{default:Object(c["ib"])((function(){return[Object(c["p"])(Y,{type:"selection",width:"30"}),Object(c["p"])(Y,{prop:"name",align:"center",label:"姓名"}),Object(c["p"])(Y,{prop:"regCount",align:"center",label:"注册图片数量"}),Object(c["p"])(Y,{prop:"hitCount",align:"center",label:"命中目标数量"}),Object(c["p"])(Y,{prop:"content",align:"center",label:"操作",width:"220"},{default:Object(c["ib"])((function(e){return[Object(c["p"])(G,{onClick:[t[2]||(t[2]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.editRow(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[b]})),_:2},1032,["onClick"]),Object(c["p"])(G,{onClick:[t[3]||(t[3]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.deleteRow(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[d]})),_:2},1032,["onClick"]),Object(c["p"])(G,{onClick:[t[4]||(t[4]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.addSamplePic(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[s]})),_:2},1032,["onClick"]),Object(c["p"])(G,{onClick:[t[5]||(t[5]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.hitDetail(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[f]})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data","onRowClick","rowKey","height","onSelectionChange"]),Object(c["p"])(B,{current:a.pageNum,"onUpdate:current":t[6]||(t[6]=function(e){return a.pageNum=e}),pageSize:a.pageSize,"onUpdate:pageSize":t[7]||(t[7]=function(e){return a.pageSize=e}),total:a.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20","50"],onChange:a.onPageNumChange,onShowSizeChange:a.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])]})),_:1}),Object(c["p"])(F,{span:17,class:"box boxRight"},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",O,[Object(c["p"])(Q,{type:"card",activeKey:a.activeKey,"onUpdate:activeKey":t[10]||(t[10]=function(e){return a.activeKey=e})},{default:Object(c["ib"])((function(){return[Object(c["p"])(V,{key:"1",tab:"注册样本",class:"regBox"},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,"注册样本图:"+Object(c["W"])(a.regPictureList.length),1),Object(c["p"])(K,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.regPictureList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",{style:{cursor:"pointer"},class:Object(c["z"])(["hitBox",a.currentId==e.faceUnid?"active":""]),onClick:function(t){return a.clickPicture(e,0)}},[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",{class:"el-icon-delete delHitPic",onClick:[t[8]||(t[8]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.delSamplePic(e)}]},null,8,j)],10,p)]})),_:2},1024)})),256))]})),_:1})]})),_:1}),Object(c["p"])(V,{key:"2",tab:"命中目标",class:"regBox"},{default:Object(c["ib"])((function(){return[Object(c["m"])("p",null,"命中目标图:"+Object(c["W"])(a.hitPictureList.length),1),Object(c["p"])(K,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.hitPictureList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",{style:{cursor:"pointer"},class:Object(c["z"])(["hitBox",a.currentId==e.faceUnid?"active":""]),onClick:function(t){return a.clickPicture(e,1)}},[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",{class:"el-icon-delete delHitPic",onClick:[t[9]||(t[9]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.delHitPic(e)}]},null,8,h)],10,m)]})),_:2},1024)})),256))]})),_:1})]})),_:1})]})),_:1},8,["activeKey"])]),Object(c["p"])(J,{model:a.hitSearchObj,layout:"inline","label-col":{style:{width:"auto"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(q,{label:"监控点:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.hitSearchObj.gate_id,"onUpdate:value":t[11]||(t[11]=function(e){return a.hitSearchObj.gate_id=e}),style:{width:"250px"},mode:"multiple",maxTagCount:1,options:a.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(c["p"])(q,{label:"方向:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.hitSearchObj.direction,"onUpdate:value":t[12]||(t[12]=function(e){return a.hitSearchObj.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"125px"}},{default:Object(c["ib"])((function(){return[Object(c["p"])(A,{value:1},{default:Object(c["ib"])((function(){return[g]})),_:1}),Object(c["p"])(A,{value:-1},{default:Object(c["ib"])((function(){return[v]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(c["p"])(q,{label:"分数:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(Z,{value:a.hitSearchObj.score,"onUpdate:value":t[13]||(t[13]=function(e){return a.hitSearchObj.score=e}),style:{width:"50px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{label:"选择日期:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(X,{value:a.hitSearchObj.date,"onUpdate:value":t[14]||(t[14]=function(e){return a.hitSearchObj.date=e}),format:"YYYY-MM-DD",style:{width:"110px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{label:"选择时间:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])($,{value:a.hitSearchObj.startTime,"onUpdate:value":t[15]||(t[15]=function(e){return a.hitSearchObj.startTime=e}),style:{width:"90px"}},null,8,["value"]),Object(c["p"])($,{value:a.hitSearchObj.endTime,"onUpdate:value":t[16]||(t[16]=function(e){return a.hitSearchObj.endTime=e}),style:{width:"90px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(N,{type:"primary",style:{"margin-right":"5px"},onClick:a.searchPicture},{default:Object(c["ib"])((function(){return[y]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(c["m"])("div",_,[Object(c["m"])("div",null,"识别结果:"+Object(c["W"])(a.identifyResultList.length),1),Object(c["p"])(K,{gutter:10,class:"identifyResultTable",style:Object(c["A"])({height:a.contentHeight-340+"px"})},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.identifyResultList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",x,[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",C,Object(c["W"])(e.featureNum),1),Object(c["m"])("div",S,[Object(c["p"])(G,{type:"primary",class:"checkBox",disabled:!!e.checked,onClick:function(t){return a.checkPicture(e)}},{default:Object(c["ib"])((function(){return[k]})),_:2},1032,["disabled","onClick"]),Object(c["p"])(G,{type:"primary",class:"checkBox text",onClick:function(t){return a.clickPicture(e)}},{default:Object(c["ib"])((function(){return[w]})),_:2},1032,["onClick"])])])]})),_:2},1024)})),256))]})),_:1},8,["style"])])]})),_:1})]})),_:1})),[[ce,a.isLoading],[c["fb"],a.isShow]]),Object(c["p"])(ee,{ref:"addPersonConfigRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["p"])(te,{ref:"addSamplePicConfigRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["p"])(ne,{ref:"hitDetailDialogRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["jb"])(Object(c["m"])("div",P,[Object(c["m"])("div",{onClick:t[17]||(t[17]=function(){return a.returns&&a.returns.apply(a,arguments)}),style:{cursor:"pointer","margin-bottom":"10px",color:"blue"}},"返回"),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.tableDataList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{key:e.id,style:{"margin-bottom":"10px","border-top":"1px solid #ccc","padding-top":"10px"}},[Object(c["m"])("div",null,[Object(c["m"])("div",L,[z,Object(c["o"])(Object(c["W"])(e.name),1)]),Object(c["m"])("div",T,[Object(c["m"])("span",null,[U,Object(c["o"])(Object(c["W"])(e.picList&&e.picList.length),1)]),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e.picList,(function(e,t){return Object(c["J"])(),Object(c["j"])(W,{key:t,src:a.formatUrl(e),alt:"",style:{width:"100px",height:"100px","margin-left":"10px"},"preview-src-list":[a.formatUrl(e)]},null,8,["src","preview-src-list"])})),128))]),Object(c["m"])("div",I,[Object(c["m"])("span",null,[R,Object(c["o"])(Object(c["W"])(e.hitRecords&&e.hitRecords.length),1)])])]),Object(c["p"])(H,{data:e.hitRecords,style:{width:"100%"},border:""},{default:Object(c["ib"])((function(){return[Object(c["p"])(Y,{type:"index",label:"序号",width:"80"}),Object(c["p"])(Y,{prop:"counttime",label:"时间"}),Object(c["p"])(Y,{prop:"gateName",label:"监控点名称"}),Object(c["p"])(Y,{prop:"direction",label:"方向"}),Object(c["p"])(Y,{label:"图片"},{default:Object(c["ib"])((function(e){return[Object(c["p"])(W,{src:a.formatUrl1(e.row.picture_path),alt:"",style:{width:"100px",height:"100px","margin-left":"10px"},"preview-src-list":[a.formatUrl1(e.row.picture_path)]},null,8,["src","preview-src-list"])]})),_:1})]})),_:2},1032,["data"])])})),128))],512),[[c["fb"],!a.isShow]])])}var M=n("b85c"),D=(n("a4d3"),n("e01a"),n("159b"),n("d3b7"),n("25f0"),n("b680"),n("a15b"),n("d81d"),n("c1df")),q=n.n(D),J=n("4df8"),N=n("f944"),Y=n("c68b"),G=n("d4ec"),H=n("bee2"),B=(n("99af"),n("672a")),F=function(){function e(){Object(G["a"])(this,e)}return Object(H["a"])(e,[{key:"addMatch",value:function(e){return B["a"].request({method:"POST",url:"/feature/match",data:e})}},{key:"getMatchOne",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/".concat(e.id)})}},{key:"editMatch",value:function(e){return B["a"].request({method:"PUT",url:"/feature/match",data:e})}},{key:"delMatch",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/".concat(e.id)})}},{key:"getMatch",value:function(e){return B["a"].request({method:"GET",url:"/feature/match",params:e})}},{key:"getSearchByPic",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/searchByPic",params:e})}},{key:"addMatchHit",value:function(e){return B["a"].request({method:"POST",url:"/feature/match/hit",data:e})}},{key:"delMatchHit",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/hit/".concat(e.regId,"/").concat(e.faceUnid)})}},{key:"getMatchHitDetail",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/hitDetail/".concat(e.id),params:e})}},{key:"getfeatureReport",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/report",params:e})}},{key:"getMatchHit",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/".concat(e.id,"/").concat(e.personUnid)})}},{key:"GetmatchPrecision",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/precision/".concat(e.regId,"/").concat(e.personUnid)})}},{key:"delMatchSample",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/".concat(e.regId,"/").concat(e.faceUnid)})}},{key:"addMatchReg",value:function(e){return B["a"].request({method:"POST",url:"/feature/match/reg",data:e})}}]),e}(),W=new F,K=W,V=Object(c["o"])("返回"),Q=Object(c["o"])("确定");function A(e,t,n,a,i,o){var u=Object(c["S"])("a-input"),r=Object(c["S"])("a-form-item"),l=Object(c["S"])("a-form"),b=Object(c["S"])("a-button"),d=Object(c["S"])("a-modal");return a.isVisible?(Object(c["J"])(),Object(c["j"])(d,{key:0,title:"add"==a.type?"新增注册人员":"编辑注册人员",visible:a.isVisible,"onUpdate:visible":t[2]||(t[2]=function(e){return a.isVisible=e}),width:"800px",class:"detail-modal"},{footer:Object(c["ib"])((function(){return[Object(c["p"])(b,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[V]})),_:1},8,["onClick"]),Object(c["p"])(b,{onClick:a.onConfirm,type:"primary"},{default:Object(c["ib"])((function(){return[Q]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,[Object(c["p"])(l,{model:a.formObj,"label-col":{style:{width:"100px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,{label:"姓名:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(u,{value:a.formObj.name,"onUpdate:value":t[0]||(t[0]=function(e){return a.formObj.name=e}),style:{width:"500px"}},null,8,["value"])]})),_:1}),Object(c["p"])(r,{label:"描述:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(u,{value:a.formObj.dec,"onUpdate:value":t[1]||(t[1]=function(e){return a.formObj.dec=e}),style:{width:"500px"}},null,8,["value"])]})),_:1})]})),_:1},8,["model"])])]})),_:1},8,["title","visible"])):Object(c["k"])("",!0)}var Z=n("3fd4"),X={setup:function(e,t){var n=Object(c["O"])(!1),a=(Object(c["O"])(1),Object(c["O"])(10),Object(c["O"])(),Object(c["O"])([]),Object(c["N"])({name:"",dec:""})),i=Object(c["O"])(!1),o=Object(c["O"])(""),u=Object(c["O"])(""),r=Object(c["O"])(""),l=function(e){o.value=e.account_id,u.value=e.plaza_id,r.value=e.type,a.name=e.name||"",a.dec=e.description||"","edit"==e.type&&(a.id=e.id),n.value=!0},b=function(){n.value=!1},d=function(){t.emit("refreshParentTable")},s=function(){if("add"==r.value){var e=Object(Y["a"])({accountId:o.value,mallId:u.value,name:a.name,description:a.dec});K.addMatch(e).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),d(),n.value=!1}))}else{var t=Object(Y["a"])({accountId:o.value,mallId:u.value,name:a.name,description:a.dec,id:a.id});K.editMatch(t).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),d(),n.value=!1}))}};return{isVisible:n,formObj:a,onCancel:b,onConfirm:s,initDialog:l,isLoading:i,type:r}}},$=n("d959"),ee=n.n($);const te=ee()(X,[["render",A]]);var ne=te,ce={style:{height:"700px"}},ae=Object(c["o"])(" 上传文件 "),ie=Object(c["o"])("进"),oe=Object(c["o"])("出"),ue=Object(c["o"])("横穿"),re=Object(c["o"])("查询"),le={class:"boxInfo"},be={class:"iconExpand"},de={class:"iconExpand"},se=["onClick"],fe={style:{"padding-left":"10px"}},Oe={style:{margin:"0 5px"},class:"picBox"},pe=Object(c["o"])("选中"),je=Object(c["o"])("返回");function me(e,t,n,a,i,o){var u=Object(c["S"])("upload-outlined"),r=Object(c["S"])("a-button"),l=Object(c["S"])("a-upload"),b=Object(c["S"])("a-tab-pane"),d=Object(c["S"])("a-select"),s=Object(c["S"])("a-form-item"),f=Object(c["S"])("a-select-option"),O=Object(c["S"])("a-date-picker"),p=Object(c["S"])("a-time-picker"),j=Object(c["S"])("el-image"),m=Object(c["S"])("el-button"),h=Object(c["S"])("el-col"),g=Object(c["S"])("el-row"),v=Object(c["S"])("a-pagination"),y=Object(c["S"])("a-tabs"),_=Object(c["S"])("a-form"),x=Object(c["S"])("a-modal");return Object(c["J"])(),Object(c["j"])(x,{title:"添加注册样本图",visible:a.isVisible,"onUpdate:visible":t[8]||(t[8]=function(e){return a.isVisible=e}),width:"1500px","dialog-style":{top:"20px",height:"90%"},class:"detail-modal",onCancel:t[9]||(t[9]=function(e){return a.onCancel()})},{footer:Object(c["ib"])((function(){return[Object(c["p"])(r,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[je]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",ce,[Object(c["p"])(_,{model:a.formObj,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(s,{class:"pictures"},{default:Object(c["ib"])((function(){return[Object(c["p"])(y,{type:"card",activeKey:a.activeKey,"onUpdate:activeKey":t[7]||(t[7]=function(e){return a.activeKey=e})},{default:Object(c["ib"])((function(){return[Object(c["p"])(b,{key:"1",tab:"本地上传"},{default:Object(c["ib"])((function(){return[Object(c["p"])(l,{"file-list":a.fileList,remove:a.handleRemove,"before-upload":a.beforeUpload,multiple:!1},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,null,{default:Object(c["ib"])((function(){return[Object(c["p"])(u),ae]})),_:1})]})),_:1},8,["file-list","remove","before-upload"]),Object(c["p"])(r,{type:"primary",disabled:0===a.fileList.length,loading:a.loading,style:{"margin-top":"16px"},onClick:a.handleUpload},{default:Object(c["ib"])((function(){return[Object(c["o"])(Object(c["W"])(a.loading?"上传中":"开始上传"),1)]})),_:1},8,["disabled","loading","onClick"])]})),_:1}),Object(c["p"])(b,{key:"2",tab:"抓拍记录图",class:"resultPic"},{default:Object(c["ib"])((function(){return[Object(c["p"])(s,{label:"监控点:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(d,{value:a.formObj.gate_id,"onUpdate:value":t[0]||(t[0]=function(e){return a.formObj.gate_id=e}),style:{width:"270px"},mode:"multiple",maxTagCount:1,options:a.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(c["p"])(s,{label:"方向:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(d,{value:a.formObj.direction,"onUpdate:value":t[1]||(t[1]=function(e){return a.formObj.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"200px"}},{default:Object(c["ib"])((function(){return[Object(c["p"])(f,{value:1},{default:Object(c["ib"])((function(){return[ie]})),_:1}),Object(c["p"])(f,{value:-1},{default:Object(c["ib"])((function(){return[oe]})),_:1}),Object(c["p"])(f,{value:0},{default:Object(c["ib"])((function(){return[ue]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(c["p"])(s,{label:"选择日期:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(O,{value:a.formObj.date,"onUpdate:value":t[2]||(t[2]=function(e){return a.formObj.date=e}),format:"YYYY-MM-DD",style:{width:"150px"}},null,8,["value"])]})),_:1}),Object(c["p"])(s,{label:"选择时间:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(p,{value:a.formObj.startTime,"onUpdate:value":t[3]||(t[3]=function(e){return a.formObj.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(c["p"])(p,{value:a.formObj.endTime,"onUpdate:value":t[4]||(t[4]=function(e){return a.formObj.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(c["p"])(s,{style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,{type:"primary",onClick:a.picSearch,loading:a.isLoading,style:{"margin-right":"10px"}},{default:Object(c["ib"])((function(){return[re]})),_:1},8,["onClick","loading"])]})),_:1}),Object(c["m"])("div",{class:"resultContent",style:Object(c["A"])({height:e.contentHeight+"px"})},[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.dataList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{class:Object(c["z"])(["classBox",e.expand?"expand":""])},[Object(c["m"])("div",null,[Object(c["m"])("div",le,[Object(c["jb"])(Object(c["m"])("span",be,"▶",512),[[c["fb"],!e.expand]]),Object(c["jb"])(Object(c["m"])("span",de,"▼",512),[[c["fb"],e.expand]]),Object(c["m"])("span",{class:"expandWord",onClick:function(t){return a.expandChange(e)}},Object(c["W"])(e.expand?"收起":"展开"),9,se),Object(c["m"])("span",fe,"人id:"+Object(c["W"])(" "+e.person_unid)+" 图片数量:"+Object(c["W"])(e.perrsonList.length),1)]),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.getPagedList(e.perrsonList,8),(function(e){return Object(c["J"])(),Object(c["j"])(g,null,{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e,(function(e){return Object(c["J"])(),Object(c["j"])(h,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",Oe,[Object(c["p"])(j,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["p"])(m,{type:"primary",disabled:!!e.checked,class:"checkBox",onClick:function(t){return a.onConfirm(e)}},{default:Object(c["ib"])((function(){return[pe]})),_:2},1032,["disabled","onClick"])])]})),_:2},1024)})),256))]})),_:2},1024)})),256))])],2)})),256))],4),Object(c["p"])(v,{current:a.pageNum,"onUpdate:current":t[5]||(t[5]=function(e){return a.pageNum=e}),pageSize:a.pageSize,"onUpdate:pageSize":t[6]||(t[6]=function(e){return a.pageSize=e}),total:a.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20","40","80"],onChange:a.onPageNumChange,onShowSizeChange:a.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])]})),_:1})]})),_:1},8,["activeKey"])]})),_:1})]})),_:1},8,["model"])])]})),_:1},8,["visible"])}n("caad"),n("2532"),n("fb6a"),n("a434");var he=n("8fe6"),ge=n("47ce"),ve=n("6efa"),ye={components:{LoadingOutlined:he["a"],PlusOutlined:ge["a"]},setup:function(e,t){var n=Object(c["O"])(!1),a=Object(c["O"])(1),i=Object(c["O"])(10),o=Object(c["O"])(),u=Object(c["O"])([]),r=Object(c["N"])({name:"",dec:"",gate_id:[],direction:[1,-1,0],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss"),id:""}),l=Object(c["O"])(!1),b=Object(c["O"])(""),d=Object(c["O"])(""),s=Object(c["O"])([]),f=(Object(c["O"])([]),function(){r.gate_id=[],s.value=[],J["a"].getGateList({account_id:b.value,plaza_id:d.value,type:0}).then((function(e){if(Object(N["a"])(e.data)){var t,n=Object(M["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var c=t.value;s.value.push({value:c.id,label:c.name})}}catch(a){n.e(a)}finally{n.f()}w()}}))}),O=Object(c["O"])([]),p=function(e){b.value=e.accountId,d.value=e.mallId,r.id=e.id,f(),O.value=e.faceUnids||[],console.log(e),n.value=!0},j=function(){h.value&&m(),n.value=!1},m=function(){t.emit("refreshParentTable")},h=Object(c["O"])(!1),g=function(e){var t=Object(Y["a"])({faceUnids:[e.unid],id:r.id});K.addMatchReg(t).then((function(t){if(200!=t.msg_code)return Object(Z["a"])({message:t.msg_info,type:"error"}),!1;Object(Z["a"])({message:t.msg_info,type:"success"}),h.value=!0,O.value.push(e.unid),u.value.forEach((function(e){e.expand=!1,e.perrsonList.forEach((function(e){O.value.includes(e.unid)?e.checked=!0:e.checked=!1}))}))}))},v=Object(c["O"])(!1),y=Object(c["O"])(""),_=Object(c["O"])([]),x=function(e){return _.value=[e],!1},C=function(e){var t=_.value.indexOf(e),n=_.value.slice();n.splice(t,1),_.value=n},S=function(){var e=new FormData;_.value.forEach((function(t){e.append("files[]",t)})),v.value=!0},k=function(e){e.sort((function(e,t){return t.perrsonList.length-e.perrsonList.length}))},w=function(){a.value=1,P()},P=function(){var e=Object(c["Y"])(r),t=Object(Y["a"])({account_id:b.value,type:0,plaza_id:d.value,gate_id:e.gate_id.toString(),direction:e.direction.toString(),picType:2,personType:"1, 0,",startTime:Object(Y["b"])(e.date)+" "+Object(Y["c"])(e.startTime),endTime:Object(Y["b"])(e.date)+" "+Object(Y["c"])(e.endTime),page:a.value-1,pageSize:i.value});ve["a"].getClusterResultList(t).then((function(e){l.value=!1,k(e.data.persons),e.data.persons.forEach((function(e){e.expand=!1,e.perrsonList.forEach((function(e){O.value.includes(e.unid)?e.checked=!0:e.checked=!1,e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)}))})),u.value=e.data.persons,o.value=e.data.pageNum,document.getElementsByClassName("resultContent")[0].scrollTop=0}))},L=function(e){a.value=e,P()},z=function(e,t){a.value=1,i.value=t,P()},T=function(e){u.value.forEach((function(t){e.person_unid==t.person_unid&&(t.expand=!t.expand)}))},U=function(){console.log(u.value)};return{isVisible:n,formObj:r,onCancel:j,onConfirm:g,initDialog:p,activeKey:Object(c["O"])("2"),beforeUpload:x,loading:v,imageUrl:y,fileList:_,handleUpload:S,handleRemove:C,gateList:s,isLoading:l,clickSearch:P,onPageNumChange:L,onPageSizeChange:z,total:o,dataList:u,pageNum:a,pageSize:i,getPagedList:Y["d"],expandChange:T,clickCheck:U,refreshParentTable:m,picSearch:w,disabledPicList:O}}};n("ac8b");const _e=ee()(ye,[["render",me],["__scopeId","data-v-1092054c"]]);var xe=_e,Ce={style:{height:"700px","overflow-y":"auto"}},Se={class:"boxInfo"},ke={class:"iconExpand"},we={class:"iconExpand"},Pe=["onClick"],Le=Object(c["o"])("以此为对比项"),ze=Object(c["o"])("查询精度"),Te={key:0},Ue={key:1,style:{"margin-left":"10px"}},Ie=Object(c["o"])("返回"),Re=Object(c["o"])("确定");function Ee(e,t,n,a,i,o){var u=Object(c["S"])("el-radio"),r=Object(c["S"])("el-button"),l=Object(c["S"])("el-image"),b=Object(c["S"])("el-col"),d=Object(c["S"])("el-row"),s=Object(c["S"])("a-button"),f=Object(c["S"])("a-modal");return a.isVisible?(Object(c["J"])(),Object(c["j"])(f,{key:0,title:"命中详情",visible:a.isVisible,"onUpdate:visible":t[1]||(t[1]=function(e){return a.isVisible=e}),width:"1500px","dialog-style":{top:"20px",height:"90%"},class:"detail-modal"},{footer:Object(c["ib"])((function(){return[Object(c["p"])(s,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[Ie]})),_:1},8,["onClick"]),Object(c["p"])(s,{onClick:a.onConfirm,type:"primary"},{default:Object(c["ib"])((function(){return[Re]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",Ce,[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.hitPersonList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{class:Object(c["z"])(["classBox",e.expand?"expand":""])},[Object(c["m"])("div",Se,[Object(c["jb"])(Object(c["m"])("span",ke,"▶",512),[[c["fb"],!e.expand]]),Object(c["jb"])(Object(c["m"])("span",we,"▼",512),[[c["fb"],e.expand]]),Object(c["m"])("span",{class:"expandWord",onClick:function(t){return a.expandChange(e)}},Object(c["W"])(e.expand?"收起":"展开"),9,Pe),Object(c["o"])(" 人id:"+Object(c["W"])(" "+e.personId)+" 图片数量:"+Object(c["W"])(e.count)+" ",1),Object(c["p"])(u,{class:"checkBox",modelValue:a.checked,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.checked=e}),label:e.personId},{default:Object(c["ib"])((function(){return[Le]})),_:2},1032,["modelValue","label"]),Object(c["p"])(r,{onClick:function(t){return a.selectRate(e)},size:"mini",type:"primary",style:{"margin-right":"10px"}},{default:Object(c["ib"])((function(){return[ze]})),_:2},1032,["onClick"]),e.personId==a.currentpersonId?(Object(c["J"])(),Object(c["l"])("span",Te,"准确率:"+Object(c["W"])(a.results.correctRate),1)):Object(c["k"])("",!0),e.personId==a.currentpersonId?(Object(c["J"])(),Object(c["l"])("span",Ue,"召回率:"+Object(c["W"])(a.results.recallRate),1)):Object(c["k"])("",!0)]),Object(c["p"])(d,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e.records,(function(e){return Object(c["J"])(),Object(c["j"])(b,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,[Object(c["p"])(l,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"])])]})),_:2},1024)})),256))]})),_:2},1024)],2)})),256))])]})),_:1},8,["visible"])):Object(c["k"])("",!0)}var Me={setup:function(e,t){var n=Object(c["O"])(!1),a=(Object(c["O"])(!1),Object(c["O"])({})),i=Object(c["O"])(""),o=(Object(c["O"])(""),Object(c["O"])(""),Object(c["O"])("")),u=Object(c["O"])([]),r=Object(c["O"])(),l=function(e){r.value=e.regId,u.value=e.data,o.value=e.checkPersonId,n.value=!0},b=function(e){u.value.forEach((function(t){e.personId==t.personId&&(t.expand=!t.expand)}))},d=function(){t.emit("refreshParentTable")},s=function(){n.value=!1},f=function(){if(!o.value)return Object(Z["a"])({message:"请选择对比项",type:"warning"}),!1;K.getMatchHit({id:r.value,personUnid:o.value}).then((function(e){200==e.msg_code?(Object(Z["a"])({message:"".concat(e.msg_info),type:"success"}),d(),n.value=!1):Object(Z["a"])({message:"".concat(e.msg_info),type:"error"})}))},O=function(e){console.log(e,r.value),i.value=e.personId,K.GetmatchPrecision({regId:r.value,personUnid:e.personId}).then((function(e){console.log(e,"66666"),a.value=e}))};return{isVisible:n,selectRate:O,currentpersonId:i,results:a,onCancel:s,onConfirm:f,initDialog:l,hitPersonList:u,expandChange:b,checked:o,refreshParentTable:d}}};n("aaa0");const De=ee()(Me,[["render",Ee],["__scopeId","data-v-0020d14a"]]);var qe=De,Je=n("6c02"),Ne={components:{addPersonConfig:ne,editPersonConfig:xe,hitDetailDialog:qe},setup:function(){var e=Object(c["O"])([]),t=Object(c["O"])([]),n=Object(c["O"])([]),a=Object(c["O"])([]),i=(Object(Je["c"])(),Object(c["O"])(!0)),o=Object(c["N"])({account_id:"",plaza_id:""}),u=Object(c["N"])({gate_id:[],score:75,direction:[1,-1],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss")}),r=function(){l()},l=function(){o.plaza_id="",t.value=[],J["a"].getPlazaList({account_id:o.account_id}).then((function(e){if(Object(N["a"])(e)){var n,c=Object(M["a"])(e);try{for(c.s();!(n=c.n()).done;){var a=n.value;t.value.push({value:a.id,label:a.name})}}catch(i){c.e(i)}finally{c.f()}o.plaza_id=e[0].id,f(),p()}}))},b=function(){o.account_id="",e.value=[],J["a"].getAccountList().then((function(t){if(Object(N["a"])(t)){var n,c=Object(M["a"])(t);try{for(c.s();!(n=c.n()).done;){var a=n.value;e.value.push({value:a.id,label:a.name})}}catch(i){c.e(i)}finally{c.f()}o.account_id=t[0].id,l()}}))},d=function(){f()},s=Object(c["O"])([]),f=function(){u.gate_id=[],s.value=[],J["a"].getGateList({account_id:o.account_id,plaza_id:o.plaza_id,type:0}).then((function(e){if(Object(N["a"])(e.data)){var t,n=Object(M["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var c=t.value;s.value.push({value:c.id,label:c.name})}}catch(a){n.e(a)}finally{n.f()}}}))},O=Object(c["O"])([]),p=function(){v.value=1,j()},j=function(){O.value=[];var e=Object(Y["a"])({pageNum:v.value-1,pageSize:y.value,accountId:o.account_id,mallId:o.plaza_id});K.getMatch(e).then((function(e){200==e.msg_code&&(O.value=e.data.records,_.value=e.data.total)}))},m=function(e){v.value=e,p()},h=function(e,t){v.value=1,y.value=t,p()},g=Object(c["O"])(!1),v=Object(c["O"])(1),y=Object(c["O"])(10),_=Object(c["O"])(),x=Object(c["O"])(0),C=Object(c["O"])(),S=function(){C.value.initDialog({account_id:o.account_id,plaza_id:o.plaza_id,type:"add"})},k=function(e){C.value.initDialog({account_id:e.accountId,plaza_id:e.mallId,type:"edit",name:e.name,description:e.description,id:e.id})},w=function(e){Z["b"].confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){g.value=!0,K.delMatch(e).then((function(e){if(g.value=!1,200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),p()}))}))},P=Object(c["O"])(),L=function(e){var t=Object(Y["a"])({accountId:e.accountId,mallId:e.mallId,id:e.id});K.getMatchHitDetail(t).then((function(t){if(200==t.msg_code){var n="";t.data.forEach((function(t){t.personId==e.personUnid&&(n=t.personId),t.expand=!1,t.records.forEach((function(e){e.picture_url=window._baseImgUrl+"picture/"+e.bodyPath+e.bodyPic}))})),P.value.initDialog({regId:e.id,data:t.data,checkPersonId:n})}}))},z=Object(c["O"])(),T=function(e){K.getMatchOne(e).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;z.value.initDialog(e.data)}))},U=Object(c["O"])([]),I=Object(c["O"])([]),R=Object(c["O"])(),E=Object(c["O"])({}),D=function(e){g.value=!0,E.value=e,R.value=e.id,U.value=[],I.value=[],K.getMatchOne(e).then((function(e){g.value=!1,200==e.msg_code&&(e.data.faceList&&e.data.faceList.length>0&&(e.data.faceList.forEach((function(e){e.picture_url=window._baseImgUrl+"tool/picture/"+e.picUrl})),U.value=e.data.faceList,console.log(U.value)),e.data.hitList&&e.data.hitList.length>0&&(e.data.hitList.forEach((function(e){e.picture_url=window._baseImgUrl+"tool/picture/"+e.picUrl})),I.value=e.data.hitList))}))},G=Object(c["O"])([]),H=Object(c["O"])(1),B=Object(c["O"])(10),F=Object(c["O"])(0),W=function(e){H.value=e,A({faceUnid:Q.value})},V=function(e,t){H.value=1,B.value=t,A({faceUnid:Q.value})},Q=Object(c["O"])(),A=function(e,t){console.log(e,"5555");var n=null;0===t?n=0:1===t&&(n=1);var a=Object(c["Y"])(u);Q.value=e.faceUnid||e.unid,g.value=!0;var i=Object(Y["a"])({accountId:o.account_id,mallId:o.plaza_id,gateId:a.gate_id.toString(),score:a.score,direction:a.direction.toString(),startTime:Object(Y["b"])(a.date)+" "+Object(Y["c"])(a.startTime),endTime:Object(Y["b"])(a.date)+" "+Object(Y["c"])(a.endTime),faceUnid:Q.value,type:n,page:H.value-1,pageSize:B.value,regId:R.value});K.getSearchByPic(i).then((function(e){g.value=!1,200==e.msg_code&&(console.log(e.data),e.data.forEach((function(e){e.checked=!1,e.featureNum=e.featureNum.toFixed(2),e.picture_url=window._baseImgUrl+"picture/"+e.picture_path+e.picture_url})),G.value=e.data,F.value=e.data.total)}))},X=function(){if(!Q.value)return Object(Z["a"])({message:"请选择样本图",type:"warning"}),!1;A({faceUnid:Q.value})},$=function(e){g.value=!0,K.addMatchHit({id:R.value,faceUnids:[e.unid]}).then((function(t){g.value=!1,200==t.msg_code&&(Object(Z["a"])({message:t.msg_info,type:"success"}),j(),G.value.forEach((function(t){t.unid===e.unid&&(t.checked=!0)})),D(E.value))}))},ee=function(e){K.delMatchHit({regId:R.value,faceUnid:e.faceUnid}).then((function(e){g.value=!1,200==e.msg_code&&(Object(Z["a"])({message:e.msg_info,type:"success"}),j(),D(E.value),X())}))},te=function(e){K.delMatchSample({regId:R.value,faceUnid:e.faceUnid}).then((function(e){g.value=!1,200==e.msg_code&&(Object(Z["a"])({message:e.msg_info,type:"success"}),j(),D(E.value))}))},ne=function(e){return(v.value-1)*y.value+e+1},ce=function(){x.value=window.innerHeight-200,b()};ce();var ae=function(e){a.value=e,console.log(e)},ie=Object(c["O"])([]),oe=function(){if(a.value.length<=0)return Object(Z["a"])({message:"请选择",type:"warning"});i.value=!1;var e=a.value.map((function(e){return e.id})).join(",");K.getfeatureReport({idList:e}).then((function(e){n.value=e}))},ue=function(){console.log(i.value),i.value=!0},re=function(e){return window._baseImgUrl+"tool/picture/"+e},le=function(e){return window._baseImgUrl+"picture/"+e};return{tableDataList:n,formatUrlList:ie,isShow:i,isLoading:g,pageNum:v,pageSize:y,total:_,contentHeight:x,accountList:e,plazaList:t,resultList:O,addPersonConfigRef:C,addSamplePicConfigRef:z,hitSearchObj:u,gateList:s,handleSelectionChange:ae,formatUrl:re,formatUrl1:le,selectReport:oe,activeKey:Object(c["O"])("1"),regPictureList:U,pageNum_identify:H,pageSize_identify:B,total_identify:F,identifyResultList:G,currentId:Q,hitPictureList:I,hitDetailDialogRef:P,queryForm:o,onAccountChange:r,confirmSearch:p,onPageNumChange:m,onPageSizeChange:h,addPersonFun:S,getIndex:ne,editRow:k,deleteRow:w,onMallChange:d,clickRow:D,searchPicture:X,clickPicture:A,onPageNumChange_identify:W,onPageSizeChange_identify:V,checkPicture:$,delHitPic:ee,hitDetail:L,delSamplePic:te,addSamplePic:T,returns:ue}}};n("5695");const Ye=ee()(Ne,[["render",E],["__scopeId","data-v-123733dc"]]);t["default"]=Ye},"5a34":function(e,t,n){var c=n("44e7");e.exports=function(e){if(c(e))throw TypeError("The method doesn't accept regular expressions");return e}},"6efa":function(e,t,n){"use strict";var c=n("d4ec"),a=n("bee2"),i=n("672a"),o=n("c68b"),u=function(){function e(){Object(c["a"])(this,e)}return Object(a["a"])(e,[{key:"getClusterResultList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecordGroup",params:Object(o["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(o["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return i["a"].request({method:"GET",url:"/zones/zoneList",params:Object(o["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(o["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}},{key:"getBodyPoint",value:function(e){return i["a"].request({method:"GET",url:"/feature/bodyPoint",params:Object(o["a"])(e)})}}]),e}(),r=new u;t["a"]=r},a1d5:function(e,t,n){},aaa0:function(e,t,n){"use strict";n("af1d")},ab13:function(e,t,n){var c=n("b622"),a=c("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,"/./"[e](t)}catch(c){}}return!1}},ac8b:function(e,t,n){"use strict";n("bb1b")},af1d:function(e,t,n){},b680:function(e,t,n){"use strict";var c=n("23e7"),a=n("a691"),i=n("408a"),o=n("1148"),u=n("d039"),r=1..toFixed,l=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},s=function(e,t,n){var c=-1,a=n;while(++c<6)a+=t*e[c],e[c]=a%1e7,a=l(a/1e7)},f=function(e,t){var n=6,c=0;while(--n>=0)c+=e[n],e[n]=l(c/t),c=c%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var c=String(e[t]);n=""===n?c:n+o.call("0",7-c.length)+c}return n},p=r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){r.call({})}));c({target:"Number",proto:!0,forced:p},{toFixed:function(e){var t,n,c,u,r=i(this),l=a(e),p=[0,0,0,0,0,0],j="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(r!=r)return"NaN";if(r<=-1e21||r>=1e21)return String(r);if(r<0&&(j="-",r=-r),r>1e-21)if(t=d(r*b(2,69,1))-69,n=t<0?r*b(2,-t,1):r/b(2,t,1),n*=4503599627370496,t=52-t,t>0){s(p,0,n),c=l;while(c>=7)s(p,1e7,0),c-=7;s(p,b(10,c,1),0),c=t-1;while(c>=23)f(p,1<<23),c-=23;f(p,1<<c),s(p,1,1),f(p,2),m=O(p)}else s(p,0,n),s(p,1<<-t,0),m=O(p)+o.call("0",l);return l>0?(u=m.length,m=j+(u<=l?"0."+o.call("0",l-u)+m:m.slice(0,u-l)+"."+m.slice(u-l))):m=j+m,m}})},bb1b:function(e,t,n){},d81d:function(e,t,n){"use strict";var c=n("23e7"),a=n("b727").map,i=n("1dde"),o=i("map");c({target:"Array",proto:!0,forced:!o},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21884c56"],{1148:function(e,t,n){"use strict";var c=n("a691"),a=n("1d80");e.exports=function(e){var t=String(a(this)),n="",i=c(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},2532:function(e,t,n){"use strict";var c=n("23e7"),a=n("5a34"),i=n("1d80"),o=n("ab13");c({target:"String",proto:!0,forced:!o("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},"408a":function(e,t,n){var c=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=c(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var c=n("d4ec"),a=n("bee2"),i=n("672a"),o=n("c68b"),u=function(){function e(){Object(c["a"])(this,e)}return Object(a["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(o["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(o["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(o["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(o["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),r=new u;t["a"]=r},5695:function(e,t,n){"use strict";n("a1d5")},"59fe":function(e,t,n){"use strict";n.r(t);n("b0c0");var c=n("7a23"),a=function(e){return Object(c["M"])("data-v-123733dc"),e=e(),Object(c["K"])(),e},i={class:"containter"},o={class:"btns"},u=Object(c["o"])("搜索"),r=Object(c["o"])("新增注册人员"),l=Object(c["o"])("查看报告"),b=Object(c["o"])("编辑"),d=Object(c["o"])("删除"),s=Object(c["o"])("添加样本图"),f=Object(c["o"])("命中详情"),O={style:{"margin-bottom":"10px","min-height":"350px"}},p=["onClick"],j=["onClick"],m=["onClick"],h=["onClick"],g=Object(c["o"])("进"),v=Object(c["o"])("出"),y=Object(c["o"])("查询"),_={class:"identifyResult"},x={class:"pictureBox"},C={class:"score"},S={class:"btnPic"},k=Object(c["o"])("选中"),w=Object(c["o"])("以图搜图"),P={style:{padding:"0px 10px 10px"}},L={style:{"margin-left":"55px"}},z=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"姓名:",-1)})),T={style:{display:"flex","align-items":"center"}},U=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"注册图片数量:",-1)})),I={style:{"margin-top":"10px","margin-bottom":"10px"}},R=a((function(){return Object(c["m"])("span",{style:{"font-weight":"bolder"}},"命中目标数量:",-1)}));function E(e,t,n,a,E,M){var D=Object(c["S"])("a-select"),q=Object(c["S"])("a-form-item"),J=Object(c["S"])("a-form"),N=Object(c["S"])("a-button"),G=Object(c["S"])("el-table-column"),Y=Object(c["S"])("el-button"),H=Object(c["S"])("el-table"),B=Object(c["S"])("a-pagination"),F=Object(c["S"])("el-col"),W=Object(c["S"])("el-image"),K=Object(c["S"])("el-row"),V=Object(c["S"])("a-tab-pane"),Q=Object(c["S"])("a-tabs"),A=Object(c["S"])("a-select-option"),Z=Object(c["S"])("a-input"),X=Object(c["S"])("a-date-picker"),$=Object(c["S"])("a-time-picker"),ee=Object(c["S"])("addPersonConfig"),te=Object(c["S"])("editPersonConfig"),ne=Object(c["S"])("hitDetailDialog"),ce=Object(c["T"])("loading");return Object(c["J"])(),Object(c["l"])("div",i,[Object(c["jb"])((Object(c["J"])(),Object(c["j"])(K,{class:"contentBox"},{default:Object(c["ib"])((function(){return[Object(c["p"])(F,{span:7,class:"box boxLeft"},{default:Object(c["ib"])((function(){return[Object(c["p"])(J,{model:a.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(q,{label:"集团:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return a.queryForm.account_id=e}),style:{width:"150px"},options:a.accountList,onChange:a.onAccountChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1}),Object(c["p"])(q,{label:"广场:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return a.queryForm.plaza_id=e}),style:{width:"150px"},options:a.plazaList,onChange:a.onMallChange,optionFilterProp:"label","show-search":""},null,8,["value","options","onChange"])]})),_:1})]})),_:1},8,["model"]),Object(c["m"])("div",o,[Object(c["p"])(N,{type:"primary",onClick:a.confirmSearch,class:"btn"},{default:Object(c["ib"])((function(){return[u]})),_:1},8,["onClick"]),Object(c["p"])(N,{type:"primary",onClick:a.addPersonFun,class:"btn"},{default:Object(c["ib"])((function(){return[r]})),_:1},8,["onClick"]),Object(c["p"])(N,{type:"primary",onClick:a.selectReport,class:"btn"},{default:Object(c["ib"])((function(){return[l]})),_:1},8,["onClick"])]),Object(c["p"])(H,{data:a.resultList,onRowClick:a.clickRow,"highlight-current-row":!0,rowKey:e.id,height:a.contentHeight,style:{width:"100%"},onSelectionChange:a.handleSelectionChange},{default:Object(c["ib"])((function(){return[Object(c["p"])(G,{type:"selection",width:"30"}),Object(c["p"])(G,{prop:"name",align:"center",label:"姓名"}),Object(c["p"])(G,{prop:"regCount",align:"center",label:"注册图片数量"}),Object(c["p"])(G,{prop:"hitCount",align:"center",label:"命中目标数量"}),Object(c["p"])(G,{prop:"content",align:"center",label:"操作",width:"220"},{default:Object(c["ib"])((function(e){return[Object(c["p"])(Y,{onClick:[t[2]||(t[2]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.editRow(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[b]})),_:2},1032,["onClick"]),Object(c["p"])(Y,{onClick:[t[3]||(t[3]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.deleteRow(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[d]})),_:2},1032,["onClick"]),Object(c["p"])(Y,{onClick:[t[4]||(t[4]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.addSamplePic(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[s]})),_:2},1032,["onClick"]),Object(c["p"])(Y,{onClick:[t[5]||(t[5]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.hitDetail(e.row)}],type:"text",size:"small",class:"tab-btn"},{default:Object(c["ib"])((function(){return[f]})),_:2},1032,["onClick"])]})),_:1})]})),_:1},8,["data","onRowClick","rowKey","height","onSelectionChange"]),Object(c["p"])(B,{current:a.pageNum,"onUpdate:current":t[6]||(t[6]=function(e){return a.pageNum=e}),pageSize:a.pageSize,"onUpdate:pageSize":t[7]||(t[7]=function(e){return a.pageSize=e}),total:a.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20","50"],onChange:a.onPageNumChange,onShowSizeChange:a.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])]})),_:1}),Object(c["p"])(F,{span:17,class:"box boxRight"},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",O,[Object(c["p"])(Q,{type:"card",activeKey:a.activeKey,"onUpdate:activeKey":t[10]||(t[10]=function(e){return a.activeKey=e})},{default:Object(c["ib"])((function(){return[Object(c["p"])(V,{key:"1",tab:"注册样本",class:"regBox"},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,"注册样本图:"+Object(c["W"])(a.regPictureList.length),1),Object(c["p"])(K,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.regPictureList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",{style:{cursor:"pointer"},class:Object(c["z"])(["hitBox",a.currentId==e.faceUnid?"active":""]),onClick:function(t){return a.clickPicture(e,0)}},[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",{class:"el-icon-delete delHitPic",onClick:[t[8]||(t[8]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.delSamplePic(e)}]},null,8,j)],10,p)]})),_:2},1024)})),256))]})),_:1})]})),_:1}),Object(c["p"])(V,{key:"2",tab:"命中目标",class:"regBox"},{default:Object(c["ib"])((function(){return[Object(c["m"])("p",null,"命中目标图:"+Object(c["W"])(a.hitPictureList.length),1),Object(c["p"])(K,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.hitPictureList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",{style:{cursor:"pointer"},class:Object(c["z"])(["hitBox",a.currentId==e.faceUnid?"active":""]),onClick:function(t){return a.clickPicture(e,1)}},[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",{class:"el-icon-delete delHitPic",onClick:[t[9]||(t[9]=Object(c["lb"])((function(){}),["stop"])),function(t){return a.delHitPic(e)}]},null,8,h)],10,m)]})),_:2},1024)})),256))]})),_:1})]})),_:1})]})),_:1},8,["activeKey"])]),Object(c["p"])(J,{model:a.hitSearchObj,layout:"inline","label-col":{style:{width:"auto"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(q,{label:"监控点:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.hitSearchObj.gate_id,"onUpdate:value":t[11]||(t[11]=function(e){return a.hitSearchObj.gate_id=e}),style:{width:"250px"},mode:"multiple",maxTagCount:1,options:a.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(c["p"])(q,{label:"方向:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(D,{value:a.hitSearchObj.direction,"onUpdate:value":t[12]||(t[12]=function(e){return a.hitSearchObj.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"125px"}},{default:Object(c["ib"])((function(){return[Object(c["p"])(A,{value:1},{default:Object(c["ib"])((function(){return[g]})),_:1}),Object(c["p"])(A,{value:-1},{default:Object(c["ib"])((function(){return[v]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(c["p"])(q,{label:"分数:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(Z,{value:a.hitSearchObj.score,"onUpdate:value":t[13]||(t[13]=function(e){return a.hitSearchObj.score=e}),style:{width:"50px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{label:"选择日期:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(X,{value:a.hitSearchObj.date,"onUpdate:value":t[14]||(t[14]=function(e){return a.hitSearchObj.date=e}),format:"YYYY-MM-DD",style:{width:"110px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{label:"选择时间:",class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])($,{value:a.hitSearchObj.startTime,"onUpdate:value":t[15]||(t[15]=function(e){return a.hitSearchObj.startTime=e}),style:{width:"90px"}},null,8,["value"]),Object(c["p"])($,{value:a.hitSearchObj.endTime,"onUpdate:value":t[16]||(t[16]=function(e){return a.hitSearchObj.endTime=e}),style:{width:"90px"}},null,8,["value"])]})),_:1}),Object(c["p"])(q,{class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(N,{type:"primary",style:{"margin-right":"5px"},onClick:a.searchPicture},{default:Object(c["ib"])((function(){return[y]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(c["m"])("div",_,[Object(c["m"])("div",null,"识别结果:"+Object(c["W"])(a.identifyResultList.length),1),Object(c["p"])(K,{gutter:10,class:"identifyResultTable",style:Object(c["A"])({height:a.contentHeight-340+"px"})},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.identifyResultList,(function(e){return Object(c["J"])(),Object(c["j"])(F,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",x,[Object(c["p"])(W,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["m"])("span",C,Object(c["W"])(e.featureNum),1),Object(c["m"])("div",S,[Object(c["p"])(Y,{type:"primary",class:"checkBox",disabled:!!e.checked,onClick:function(t){return a.checkPicture(e)}},{default:Object(c["ib"])((function(){return[k]})),_:2},1032,["disabled","onClick"]),Object(c["p"])(Y,{type:"primary",class:"checkBox text",onClick:function(t){return a.clickPicture(e)}},{default:Object(c["ib"])((function(){return[w]})),_:2},1032,["onClick"])])])]})),_:2},1024)})),256))]})),_:1},8,["style"])])]})),_:1})]})),_:1})),[[ce,a.isLoading],[c["fb"],a.isShow]]),Object(c["p"])(ee,{ref:"addPersonConfigRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["p"])(te,{ref:"addSamplePicConfigRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["p"])(ne,{ref:"hitDetailDialogRef",onRefreshParentTable:a.confirmSearch},null,8,["onRefreshParentTable"]),Object(c["jb"])(Object(c["m"])("div",P,[Object(c["m"])("div",{onClick:t[17]||(t[17]=function(){return a.returns&&a.returns.apply(a,arguments)}),style:{cursor:"pointer","margin-bottom":"10px",color:"blue"}},"返回"),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.tableDataList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{key:e.id,style:{"margin-bottom":"10px","border-top":"1px solid #ccc","padding-top":"10px"}},[Object(c["m"])("div",null,[Object(c["m"])("div",L,[z,Object(c["o"])(Object(c["W"])(e.name),1)]),Object(c["m"])("div",T,[Object(c["m"])("span",null,[U,Object(c["o"])(Object(c["W"])(e.picList&&e.picList.length),1)]),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e.picList,(function(e,t){return Object(c["J"])(),Object(c["j"])(W,{key:t,src:a.formatUrl(e),alt:"",style:{width:"100px",height:"100px","margin-left":"10px"},"preview-src-list":[a.formatUrl(e)]},null,8,["src","preview-src-list"])})),128))]),Object(c["m"])("div",I,[Object(c["m"])("span",null,[R,Object(c["o"])(Object(c["W"])(e.hitRecords&&e.hitRecords.length),1)])])]),Object(c["p"])(H,{data:e.hitRecords,style:{width:"100%"},border:""},{default:Object(c["ib"])((function(){return[Object(c["p"])(G,{type:"index",label:"序号",width:"80"}),Object(c["p"])(G,{prop:"counttime",label:"时间"}),Object(c["p"])(G,{prop:"gateName",label:"监控点名称"}),Object(c["p"])(G,{prop:"direction",label:"方向"}),Object(c["p"])(G,{label:"图片"},{default:Object(c["ib"])((function(e){return[Object(c["p"])(W,{src:a.formatUrl1(e.row.picture_path),alt:"",style:{width:"100px",height:"100px","margin-left":"10px"},"preview-src-list":[a.formatUrl1(e.row.picture_path)]},null,8,["src","preview-src-list"])]})),_:1})]})),_:2},1032,["data"])])})),128))],512),[[c["fb"],!a.isShow]])])}var M=n("b85c"),D=(n("a4d3"),n("e01a"),n("159b"),n("d3b7"),n("25f0"),n("b680"),n("a15b"),n("d81d"),n("c1df")),q=n.n(D),J=n("4df8"),N=n("f944"),G=n("c68b"),Y=n("d4ec"),H=n("bee2"),B=(n("99af"),n("672a")),F=function(){function e(){Object(Y["a"])(this,e)}return Object(H["a"])(e,[{key:"addMatch",value:function(e){return B["a"].request({method:"POST",url:"/feature/match",data:e})}},{key:"getMatchOne",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/".concat(e.id)})}},{key:"editMatch",value:function(e){return B["a"].request({method:"PUT",url:"/feature/match",data:e})}},{key:"delMatch",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/".concat(e.id)})}},{key:"getMatch",value:function(e){return B["a"].request({method:"GET",url:"/feature/match",params:e})}},{key:"getSearchByPic",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/searchByPic",params:e})}},{key:"addMatchHit",value:function(e){return B["a"].request({method:"POST",url:"/feature/match/hit",data:e})}},{key:"delMatchHit",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/hit/".concat(e.regId,"/").concat(e.faceUnid)})}},{key:"getMatchHitDetail",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/hitDetail/".concat(e.id),params:e})}},{key:"getfeatureReport",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/report",params:e})}},{key:"getMatchHit",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/".concat(e.id,"/").concat(e.personUnid)})}},{key:"GetmatchPrecision",value:function(e){return B["a"].request({method:"GET",url:"/feature/match/precision/".concat(e.regId,"/").concat(e.personUnid)})}},{key:"delMatchSample",value:function(e){return B["a"].request({method:"DELETE",url:"/feature/match/".concat(e.regId,"/").concat(e.faceUnid)})}},{key:"addMatchReg",value:function(e){return B["a"].request({method:"POST",url:"/feature/match/reg",data:e})}}]),e}(),W=new F,K=W,V=Object(c["o"])("返回"),Q=Object(c["o"])("确定");function A(e,t,n,a,i,o){var u=Object(c["S"])("a-input"),r=Object(c["S"])("a-form-item"),l=Object(c["S"])("a-form"),b=Object(c["S"])("a-button"),d=Object(c["S"])("a-modal");return a.isVisible?(Object(c["J"])(),Object(c["j"])(d,{key:0,title:"add"==a.type?"新增注册人员":"编辑注册人员",visible:a.isVisible,"onUpdate:visible":t[2]||(t[2]=function(e){return a.isVisible=e}),width:"800px",class:"detail-modal"},{footer:Object(c["ib"])((function(){return[Object(c["p"])(b,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[V]})),_:1},8,["onClick"]),Object(c["p"])(b,{onClick:a.onConfirm,type:"primary"},{default:Object(c["ib"])((function(){return[Q]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,[Object(c["p"])(l,{model:a.formObj,"label-col":{style:{width:"100px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,{label:"姓名:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(u,{value:a.formObj.name,"onUpdate:value":t[0]||(t[0]=function(e){return a.formObj.name=e}),style:{width:"500px"}},null,8,["value"])]})),_:1}),Object(c["p"])(r,{label:"描述:"},{default:Object(c["ib"])((function(){return[Object(c["p"])(u,{value:a.formObj.dec,"onUpdate:value":t[1]||(t[1]=function(e){return a.formObj.dec=e}),style:{width:"500px"}},null,8,["value"])]})),_:1})]})),_:1},8,["model"])])]})),_:1},8,["title","visible"])):Object(c["k"])("",!0)}var Z=n("3fd4"),X={setup:function(e,t){var n=Object(c["O"])(!1),a=(Object(c["O"])(1),Object(c["O"])(10),Object(c["O"])(),Object(c["O"])([]),Object(c["N"])({name:"",dec:""})),i=Object(c["O"])(!1),o=Object(c["O"])(""),u=Object(c["O"])(""),r=Object(c["O"])(""),l=function(e){o.value=e.account_id,u.value=e.plaza_id,r.value=e.type,a.name=e.name||"",a.dec=e.description||"","edit"==e.type&&(a.id=e.id),n.value=!0},b=function(){n.value=!1},d=function(){t.emit("refreshParentTable")},s=function(){if("add"==r.value){var e=Object(G["a"])({accountId:o.value,mallId:u.value,name:a.name,description:a.dec});K.addMatch(e).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),d(),n.value=!1}))}else{var t=Object(G["a"])({accountId:o.value,mallId:u.value,name:a.name,description:a.dec,id:a.id});K.editMatch(t).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),d(),n.value=!1}))}};return{isVisible:n,formObj:a,onCancel:b,onConfirm:s,initDialog:l,isLoading:i,type:r}}},$=n("d959"),ee=n.n($);const te=ee()(X,[["render",A]]);var ne=te,ce={style:{height:"700px"}},ae=Object(c["o"])(" 上传文件 "),ie=Object(c["o"])("进"),oe=Object(c["o"])("出"),ue=Object(c["o"])("横穿"),re=Object(c["o"])("查询"),le={class:"boxInfo"},be={class:"iconExpand"},de={class:"iconExpand"},se=["onClick"],fe={style:{"padding-left":"10px"}},Oe={style:{margin:"0 5px"},class:"picBox"},pe=Object(c["o"])("选中"),je=Object(c["o"])("返回");function me(e,t,n,a,i,o){var u=Object(c["S"])("upload-outlined"),r=Object(c["S"])("a-button"),l=Object(c["S"])("a-upload"),b=Object(c["S"])("a-tab-pane"),d=Object(c["S"])("a-select"),s=Object(c["S"])("a-form-item"),f=Object(c["S"])("a-select-option"),O=Object(c["S"])("a-date-picker"),p=Object(c["S"])("a-time-picker"),j=Object(c["S"])("el-image"),m=Object(c["S"])("el-button"),h=Object(c["S"])("el-col"),g=Object(c["S"])("el-row"),v=Object(c["S"])("a-pagination"),y=Object(c["S"])("a-tabs"),_=Object(c["S"])("a-form"),x=Object(c["S"])("a-modal");return Object(c["J"])(),Object(c["j"])(x,{title:"添加注册样本图",visible:a.isVisible,"onUpdate:visible":t[8]||(t[8]=function(e){return a.isVisible=e}),width:"1500px","dialog-style":{top:"20px",height:"90%"},class:"detail-modal",onCancel:t[9]||(t[9]=function(e){return a.onCancel()})},{footer:Object(c["ib"])((function(){return[Object(c["p"])(r,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[je]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",ce,[Object(c["p"])(_,{model:a.formObj,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(c["ib"])((function(){return[Object(c["p"])(s,{class:"pictures"},{default:Object(c["ib"])((function(){return[Object(c["p"])(y,{type:"card",activeKey:a.activeKey,"onUpdate:activeKey":t[7]||(t[7]=function(e){return a.activeKey=e})},{default:Object(c["ib"])((function(){return[Object(c["p"])(b,{key:"1",tab:"本地上传"},{default:Object(c["ib"])((function(){return[Object(c["p"])(l,{"file-list":a.fileList,remove:a.handleRemove,"before-upload":a.beforeUpload,multiple:!1},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,null,{default:Object(c["ib"])((function(){return[Object(c["p"])(u),ae]})),_:1})]})),_:1},8,["file-list","remove","before-upload"]),Object(c["p"])(r,{type:"primary",disabled:0===a.fileList.length,loading:a.loading,style:{"margin-top":"16px"},onClick:a.handleUpload},{default:Object(c["ib"])((function(){return[Object(c["o"])(Object(c["W"])(a.loading?"上传中":"开始上传"),1)]})),_:1},8,["disabled","loading","onClick"])]})),_:1}),Object(c["p"])(b,{key:"2",tab:"抓拍记录图",class:"resultPic"},{default:Object(c["ib"])((function(){return[Object(c["p"])(s,{label:"监控点:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(d,{value:a.formObj.gate_id,"onUpdate:value":t[0]||(t[0]=function(e){return a.formObj.gate_id=e}),style:{width:"270px"},mode:"multiple",maxTagCount:1,options:a.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(c["p"])(s,{label:"方向:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(d,{value:a.formObj.direction,"onUpdate:value":t[1]||(t[1]=function(e){return a.formObj.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"200px"}},{default:Object(c["ib"])((function(){return[Object(c["p"])(f,{value:1},{default:Object(c["ib"])((function(){return[ie]})),_:1}),Object(c["p"])(f,{value:-1},{default:Object(c["ib"])((function(){return[oe]})),_:1}),Object(c["p"])(f,{value:0},{default:Object(c["ib"])((function(){return[ue]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(c["p"])(s,{label:"选择日期:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(O,{value:a.formObj.date,"onUpdate:value":t[2]||(t[2]=function(e){return a.formObj.date=e}),format:"YYYY-MM-DD",style:{width:"150px"}},null,8,["value"])]})),_:1}),Object(c["p"])(s,{label:"选择时间:",style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(p,{value:a.formObj.startTime,"onUpdate:value":t[3]||(t[3]=function(e){return a.formObj.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(c["p"])(p,{value:a.formObj.endTime,"onUpdate:value":t[4]||(t[4]=function(e){return a.formObj.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(c["p"])(s,{style:{padding:"5px 0"},class:"secondCondition"},{default:Object(c["ib"])((function(){return[Object(c["p"])(r,{type:"primary",onClick:a.picSearch,loading:a.isLoading,style:{"margin-right":"10px"}},{default:Object(c["ib"])((function(){return[re]})),_:1},8,["onClick","loading"])]})),_:1}),Object(c["m"])("div",{class:"resultContent",style:Object(c["A"])({height:e.contentHeight+"px"})},[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.dataList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{class:Object(c["z"])(["classBox",e.expand?"expand":""])},[Object(c["m"])("div",null,[Object(c["m"])("div",le,[Object(c["jb"])(Object(c["m"])("span",be,"▶",512),[[c["fb"],!e.expand]]),Object(c["jb"])(Object(c["m"])("span",de,"▼",512),[[c["fb"],e.expand]]),Object(c["m"])("span",{class:"expandWord",onClick:function(t){return a.expandChange(e)}},Object(c["W"])(e.expand?"收起":"展开"),9,se),Object(c["m"])("span",fe,"人id:"+Object(c["W"])(" "+e.person_unid)+" 图片数量:"+Object(c["W"])(e.perrsonList.length),1)]),(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.getPagedList(e.perrsonList,8),(function(e){return Object(c["J"])(),Object(c["j"])(g,null,{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e,(function(e){return Object(c["J"])(),Object(c["j"])(h,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",Oe,[Object(c["p"])(j,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(c["p"])(m,{type:"primary",disabled:!!e.checked,class:"checkBox",onClick:function(t){return a.onConfirm(e)}},{default:Object(c["ib"])((function(){return[pe]})),_:2},1032,["disabled","onClick"])])]})),_:2},1024)})),256))]})),_:2},1024)})),256))])],2)})),256))],4),Object(c["p"])(v,{current:a.pageNum,"onUpdate:current":t[5]||(t[5]=function(e){return a.pageNum=e}),pageSize:a.pageSize,"onUpdate:pageSize":t[6]||(t[6]=function(e){return a.pageSize=e}),total:a.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20","40","80"],onChange:a.onPageNumChange,onShowSizeChange:a.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])]})),_:1})]})),_:1},8,["activeKey"])]})),_:1})]})),_:1},8,["model"])])]})),_:1},8,["visible"])}n("caad"),n("2532"),n("fb6a"),n("a434");var he=n("8fe6"),ge=n("47ce"),ve=n("6efa"),ye={components:{LoadingOutlined:he["a"],PlusOutlined:ge["a"]},setup:function(e,t){var n=Object(c["O"])(!1),a=Object(c["O"])(1),i=Object(c["O"])(10),o=Object(c["O"])(),u=Object(c["O"])([]),r=Object(c["N"])({name:"",dec:"",gate_id:[],direction:[1,-1,0],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss"),id:""}),l=Object(c["O"])(!1),b=Object(c["O"])(""),d=Object(c["O"])(""),s=Object(c["O"])([]),f=(Object(c["O"])([]),function(){r.gate_id=[],s.value=[],J["a"].getGateList({account_id:b.value,plaza_id:d.value,type:0}).then((function(e){if(Object(N["a"])(e.data)){var t,n=Object(M["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var c=t.value;s.value.push({value:c.id,label:c.name})}}catch(a){n.e(a)}finally{n.f()}w()}}))}),O=Object(c["O"])([]),p=function(e){b.value=e.accountId,d.value=e.mallId,r.id=e.id,f(),O.value=e.faceUnids||[],console.log(e),n.value=!0},j=function(){h.value&&m(),n.value=!1},m=function(){t.emit("refreshParentTable")},h=Object(c["O"])(!1),g=function(e){var t=Object(G["a"])({faceUnids:[e.unid],id:r.id});K.addMatchReg(t).then((function(t){if(200!=t.msg_code)return Object(Z["a"])({message:t.msg_info,type:"error"}),!1;Object(Z["a"])({message:t.msg_info,type:"success"}),h.value=!0,O.value.push(e.unid),u.value.forEach((function(e){e.expand=!1,e.perrsonList.forEach((function(e){O.value.includes(e.unid)?e.checked=!0:e.checked=!1}))}))}))},v=Object(c["O"])(!1),y=Object(c["O"])(""),_=Object(c["O"])([]),x=function(e){return _.value=[e],!1},C=function(e){var t=_.value.indexOf(e),n=_.value.slice();n.splice(t,1),_.value=n},S=function(){var e=new FormData;_.value.forEach((function(t){e.append("files[]",t)})),v.value=!0},k=function(e){e.sort((function(e,t){return t.perrsonList.length-e.perrsonList.length}))},w=function(){a.value=1,P()},P=function(){var e=Object(c["Y"])(r),t=Object(G["a"])({account_id:b.value,type:0,plaza_id:d.value,gate_id:e.gate_id.toString(),direction:e.direction.toString(),picType:2,personType:"1, 0,",startTime:Object(G["b"])(e.date)+" "+Object(G["c"])(e.startTime),endTime:Object(G["b"])(e.date)+" "+Object(G["c"])(e.endTime),page:a.value-1,pageSize:i.value});ve["a"].getClusterResultList(t).then((function(e){l.value=!1,k(e.data.persons),e.data.persons.forEach((function(e){e.expand=!1,e.perrsonList.forEach((function(e){O.value.includes(e.unid)?e.checked=!0:e.checked=!1,e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)}))})),u.value=e.data.persons,o.value=e.data.pageNum,document.getElementsByClassName("resultContent")[0].scrollTop=0}))},L=function(e){a.value=e,P()},z=function(e,t){a.value=1,i.value=t,P()},T=function(e){u.value.forEach((function(t){e.person_unid==t.person_unid&&(t.expand=!t.expand)}))},U=function(){console.log(u.value)};return{isVisible:n,formObj:r,onCancel:j,onConfirm:g,initDialog:p,activeKey:Object(c["O"])("2"),beforeUpload:x,loading:v,imageUrl:y,fileList:_,handleUpload:S,handleRemove:C,gateList:s,isLoading:l,clickSearch:P,onPageNumChange:L,onPageSizeChange:z,total:o,dataList:u,pageNum:a,pageSize:i,getPagedList:G["d"],expandChange:T,clickCheck:U,refreshParentTable:m,picSearch:w,disabledPicList:O}}};n("ac8b");const _e=ee()(ye,[["render",me],["__scopeId","data-v-1092054c"]]);var xe=_e,Ce={style:{height:"700px","overflow-y":"auto"}},Se={class:"boxInfo"},ke={class:"iconExpand"},we={class:"iconExpand"},Pe=["onClick"],Le=Object(c["o"])("以此为对比项"),ze=Object(c["o"])("查询精度"),Te={key:0},Ue={key:1,style:{"margin-left":"10px"}},Ie=Object(c["o"])("返回"),Re=Object(c["o"])("确定");function Ee(e,t,n,a,i,o){var u=Object(c["S"])("el-radio"),r=Object(c["S"])("el-button"),l=Object(c["S"])("el-image"),b=Object(c["S"])("el-col"),d=Object(c["S"])("el-row"),s=Object(c["S"])("a-button"),f=Object(c["S"])("a-modal");return a.isVisible?(Object(c["J"])(),Object(c["j"])(f,{key:0,title:"命中详情",visible:a.isVisible,"onUpdate:visible":t[1]||(t[1]=function(e){return a.isVisible=e}),width:"1500px","dialog-style":{top:"20px",height:"90%"},class:"detail-modal"},{footer:Object(c["ib"])((function(){return[Object(c["p"])(s,{onClick:a.onCancel},{default:Object(c["ib"])((function(){return[Ie]})),_:1},8,["onClick"]),Object(c["p"])(s,{onClick:a.onConfirm,type:"primary"},{default:Object(c["ib"])((function(){return[Re]})),_:1},8,["onClick"])]})),default:Object(c["ib"])((function(){return[Object(c["m"])("div",Ce,[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(a.hitPersonList,(function(e){return Object(c["J"])(),Object(c["l"])("div",{class:Object(c["z"])(["classBox",e.expand?"expand":""])},[Object(c["m"])("div",Se,[Object(c["jb"])(Object(c["m"])("span",ke,"▶",512),[[c["fb"],!e.expand]]),Object(c["jb"])(Object(c["m"])("span",we,"▼",512),[[c["fb"],e.expand]]),Object(c["m"])("span",{class:"expandWord",onClick:function(t){return a.expandChange(e)}},Object(c["W"])(e.expand?"收起":"展开"),9,Pe),Object(c["o"])(" 人id:"+Object(c["W"])(" "+e.personId)+" 图片数量:"+Object(c["W"])(e.count)+" ",1),Object(c["p"])(u,{class:"checkBox",modelValue:a.checked,"onUpdate:modelValue":t[0]||(t[0]=function(e){return a.checked=e}),label:e.personId},{default:Object(c["ib"])((function(){return[Le]})),_:2},1032,["modelValue","label"]),Object(c["p"])(r,{onClick:function(t){return a.selectRate(e)},size:"mini",type:"primary",style:{"margin-right":"10px"}},{default:Object(c["ib"])((function(){return[ze]})),_:2},1032,["onClick"]),e.personId==a.currentpersonId?(Object(c["J"])(),Object(c["l"])("span",Te,"准确率:"+Object(c["W"])(a.results.correctRate),1)):Object(c["k"])("",!0),e.personId==a.currentpersonId?(Object(c["J"])(),Object(c["l"])("span",Ue,"召回率:"+Object(c["W"])(a.results.recallRate),1)):Object(c["k"])("",!0)]),Object(c["p"])(d,{gutter:10},{default:Object(c["ib"])((function(){return[(Object(c["J"])(!0),Object(c["l"])(c["b"],null,Object(c["Q"])(e.records,(function(e){return Object(c["J"])(),Object(c["j"])(b,{span:3},{default:Object(c["ib"])((function(){return[Object(c["m"])("div",null,[Object(c["p"])(l,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"])])]})),_:2},1024)})),256))]})),_:2},1024)],2)})),256))])]})),_:1},8,["visible"])):Object(c["k"])("",!0)}var Me={setup:function(e,t){var n=Object(c["O"])(!1),a=(Object(c["O"])(!1),Object(c["O"])({})),i=Object(c["O"])(""),o=(Object(c["O"])(""),Object(c["O"])(""),Object(c["O"])("")),u=Object(c["O"])([]),r=Object(c["O"])(),l=function(e){r.value=e.regId,u.value=e.data,o.value=e.checkPersonId,n.value=!0},b=function(e){u.value.forEach((function(t){e.personId==t.personId&&(t.expand=!t.expand)}))},d=function(){t.emit("refreshParentTable")},s=function(){n.value=!1},f=function(){if(!o.value)return Object(Z["a"])({message:"请选择对比项",type:"warning"}),!1;K.getMatchHit({id:r.value,personUnid:o.value}).then((function(e){200==e.msg_code?(Object(Z["a"])({message:"".concat(e.msg_info),type:"success"}),d(),n.value=!1):Object(Z["a"])({message:"".concat(e.msg_info),type:"error"})}))},O=function(e){console.log(e,r.value),i.value=e.personId,K.GetmatchPrecision({regId:r.value,personUnid:e.personId}).then((function(e){console.log(e,"66666"),a.value=e}))};return{isVisible:n,selectRate:O,currentpersonId:i,results:a,onCancel:s,onConfirm:f,initDialog:l,hitPersonList:u,expandChange:b,checked:o,refreshParentTable:d}}};n("aaa0");const De=ee()(Me,[["render",Ee],["__scopeId","data-v-0020d14a"]]);var qe=De,Je=n("6c02"),Ne={components:{addPersonConfig:ne,editPersonConfig:xe,hitDetailDialog:qe},setup:function(){var e=Object(c["O"])([]),t=Object(c["O"])([]),n=Object(c["O"])([]),a=Object(c["O"])([]),i=(Object(Je["c"])(),Object(c["O"])(!0)),o=Object(c["N"])({account_id:"",plaza_id:""}),u=Object(c["N"])({gate_id:[],score:75,direction:[1,-1],date:q()(q()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:q()("00:00:00","HH:mm:ss"),endTime:q()("23:59:59","HH:mm:ss")}),r=function(){l()},l=function(){o.plaza_id="",t.value=[],J["a"].getPlazaList({account_id:o.account_id}).then((function(e){if(Object(N["a"])(e)){var n,c=Object(M["a"])(e);try{for(c.s();!(n=c.n()).done;){var a=n.value;t.value.push({value:a.id,label:a.name})}}catch(i){c.e(i)}finally{c.f()}o.plaza_id=e[0].id,f(),p()}}))},b=function(){o.account_id="",e.value=[],J["a"].getAccountList().then((function(t){if(Object(N["a"])(t)){var n,c=Object(M["a"])(t);try{for(c.s();!(n=c.n()).done;){var a=n.value;e.value.push({value:a.id,label:a.name})}}catch(i){c.e(i)}finally{c.f()}o.account_id=t[0].id,l()}}))},d=function(){f()},s=Object(c["O"])([]),f=function(){u.gate_id=[],s.value=[],J["a"].getGateList({account_id:o.account_id,plaza_id:o.plaza_id,type:0}).then((function(e){if(Object(N["a"])(e.data)){var t,n=Object(M["a"])(e.data);try{for(n.s();!(t=n.n()).done;){var c=t.value;s.value.push({value:c.id,label:c.name})}}catch(a){n.e(a)}finally{n.f()}}}))},O=Object(c["O"])([]),p=function(){v.value=1,j()},j=function(){O.value=[];var e=Object(G["a"])({pageNum:v.value-1,pageSize:y.value,accountId:o.account_id,mallId:o.plaza_id});K.getMatch(e).then((function(e){200==e.msg_code&&(O.value=e.data.records,_.value=e.data.total)}))},m=function(e){v.value=e,p()},h=function(e,t){v.value=1,y.value=t,p()},g=Object(c["O"])(!1),v=Object(c["O"])(1),y=Object(c["O"])(10),_=Object(c["O"])(),x=Object(c["O"])(0),C=Object(c["O"])(),S=function(){C.value.initDialog({account_id:o.account_id,plaza_id:o.plaza_id,type:"add"})},k=function(e){C.value.initDialog({account_id:e.accountId,plaza_id:e.mallId,type:"edit",name:e.name,description:e.description,id:e.id})},w=function(e){Z["b"].confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){g.value=!0,K.delMatch(e).then((function(e){if(g.value=!1,200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;Object(Z["a"])({message:e.msg_info,type:"success"}),p()}))}))},P=Object(c["O"])(),L=function(e){var t=Object(G["a"])({accountId:e.accountId,mallId:e.mallId,id:e.id});K.getMatchHitDetail(t).then((function(t){if(200==t.msg_code){var n="";t.data.forEach((function(t){t.personId==e.personUnid&&(n=t.personId),t.expand=!1,t.records.forEach((function(e){e.picture_url=window._baseImgUrl+"picture/"+e.bodyPath+e.bodyPic}))})),P.value.initDialog({regId:e.id,data:t.data,checkPersonId:n})}}))},z=Object(c["O"])(),T=function(e){K.getMatchOne(e).then((function(e){if(200!=e.msg_code)return Object(Z["a"])({message:e.msg_info,type:"error"}),!1;z.value.initDialog(e.data)}))},U=Object(c["O"])([]),I=Object(c["O"])([]),R=Object(c["O"])(),E=Object(c["O"])({}),D=function(e){g.value=!0,E.value=e,R.value=e.id,U.value=[],I.value=[],K.getMatchOne(e).then((function(e){g.value=!1,200==e.msg_code&&(e.data.faceList&&e.data.faceList.length>0&&(e.data.faceList.forEach((function(e){e.picture_url=window._baseImgUrl+"tool/picture/"+e.picUrl})),U.value=e.data.faceList,console.log(U.value)),e.data.hitList&&e.data.hitList.length>0&&(e.data.hitList.forEach((function(e){e.picture_url=window._baseImgUrl+"tool/picture/"+e.picUrl})),I.value=e.data.hitList))}))},Y=Object(c["O"])([]),H=Object(c["O"])(1),B=Object(c["O"])(10),F=Object(c["O"])(0),W=function(e){H.value=e,A({faceUnid:Q.value})},V=function(e,t){H.value=1,B.value=t,A({faceUnid:Q.value})},Q=Object(c["O"])(),A=function(e,t){console.log(e,"5555");var n=null;0===t?n=0:1===t&&(n=1);var a=Object(c["Y"])(u);Q.value=e.faceUnid||e.unid,g.value=!0;var i=Object(G["a"])({accountId:o.account_id,mallId:o.plaza_id,gateId:a.gate_id.toString(),score:a.score,direction:a.direction.toString(),startTime:Object(G["b"])(a.date)+" "+Object(G["c"])(a.startTime),endTime:Object(G["b"])(a.date)+" "+Object(G["c"])(a.endTime),faceUnid:Q.value,type:n,page:H.value-1,pageSize:B.value,regId:R.value});K.getSearchByPic(i).then((function(e){g.value=!1,200==e.msg_code&&(console.log(e.data),e.data.forEach((function(e){e.checked=!1,e.featureNum=e.featureNum.toFixed(2),e.picture_url=window._baseImgUrl+"picture/"+e.picture_path+e.picture_url})),Y.value=e.data,F.value=e.data.total)}))},X=function(){if(!Q.value)return Object(Z["a"])({message:"请选择样本图",type:"warning"}),!1;A({faceUnid:Q.value})},$=function(e){g.value=!0,K.addMatchHit({id:R.value,faceUnids:[e.unid]}).then((function(t){g.value=!1,200==t.msg_code&&(Object(Z["a"])({message:t.msg_info,type:"success"}),j(),Y.value.forEach((function(t){t.unid===e.unid&&(t.checked=!0)})),D(E.value))}))},ee=function(e){K.delMatchHit({regId:R.value,faceUnid:e.faceUnid}).then((function(e){g.value=!1,200==e.msg_code&&(Object(Z["a"])({message:e.msg_info,type:"success"}),j(),D(E.value),X())}))},te=function(e){K.delMatchSample({regId:R.value,faceUnid:e.faceUnid}).then((function(e){g.value=!1,200==e.msg_code&&(Object(Z["a"])({message:e.msg_info,type:"success"}),j(),D(E.value))}))},ne=function(e){return(v.value-1)*y.value+e+1},ce=function(){x.value=window.innerHeight-200,b()};ce();var ae=function(e){a.value=e,console.log(e)},ie=Object(c["O"])([]),oe=function(){if(a.value.length<=0)return Object(Z["a"])({message:"请选择",type:"warning"});i.value=!1;var e=a.value.map((function(e){return e.id})).join(",");K.getfeatureReport({idList:e}).then((function(e){n.value=e}))},ue=function(){console.log(i.value),i.value=!0},re=function(e){return window._baseImgUrl+"tool/picture/"+e},le=function(e){return window._baseImgUrl+"picture/"+e};return{tableDataList:n,formatUrlList:ie,isShow:i,isLoading:g,pageNum:v,pageSize:y,total:_,contentHeight:x,accountList:e,plazaList:t,resultList:O,addPersonConfigRef:C,addSamplePicConfigRef:z,hitSearchObj:u,gateList:s,handleSelectionChange:ae,formatUrl:re,formatUrl1:le,selectReport:oe,activeKey:Object(c["O"])("1"),regPictureList:U,pageNum_identify:H,pageSize_identify:B,total_identify:F,identifyResultList:Y,currentId:Q,hitPictureList:I,hitDetailDialogRef:P,queryForm:o,onAccountChange:r,confirmSearch:p,onPageNumChange:m,onPageSizeChange:h,addPersonFun:S,getIndex:ne,editRow:k,deleteRow:w,onMallChange:d,clickRow:D,searchPicture:X,clickPicture:A,onPageNumChange_identify:W,onPageSizeChange_identify:V,checkPicture:$,delHitPic:ee,hitDetail:L,delSamplePic:te,addSamplePic:T,returns:ue}}};n("5695");const Ge=ee()(Ne,[["render",E],["__scopeId","data-v-123733dc"]]);t["default"]=Ge},"5a34":function(e,t,n){var c=n("44e7");e.exports=function(e){if(c(e))throw TypeError("The method doesn't accept regular expressions");return e}},"6efa":function(e,t,n){"use strict";var c=n("d4ec"),a=n("bee2"),i=n("672a"),o=n("c68b"),u=function(){function e(){Object(c["a"])(this,e)}return Object(a["a"])(e,[{key:"getClusterResultList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecordGroup",params:Object(o["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(o["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return i["a"].request({method:"GET",url:"/zones/zoneList",params:Object(o["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(o["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}},{key:"getBodyPoint",value:function(e){return i["a"].request({method:"GET",url:"/feature/bodyPoint",params:Object(o["a"])(e)})}}]),e}(),r=new u;t["a"]=r},a1d5:function(e,t,n){},aaa0:function(e,t,n){"use strict";n("af1d")},ab13:function(e,t,n){var c=n("b622"),a=c("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,"/./"[e](t)}catch(c){}}return!1}},ac8b:function(e,t,n){"use strict";n("bb1b")},af1d:function(e,t,n){},b680:function(e,t,n){"use strict";var c=n("23e7"),a=n("a691"),i=n("408a"),o=n("1148"),u=n("d039"),r=1..toFixed,l=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},s=function(e,t,n){var c=-1,a=n;while(++c<6)a+=t*e[c],e[c]=a%1e7,a=l(a/1e7)},f=function(e,t){var n=6,c=0;while(--n>=0)c+=e[n],e[n]=l(c/t),c=c%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var c=String(e[t]);n=""===n?c:n+o.call("0",7-c.length)+c}return n},p=r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){r.call({})}));c({target:"Number",proto:!0,forced:p},{toFixed:function(e){var t,n,c,u,r=i(this),l=a(e),p=[0,0,0,0,0,0],j="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(r!=r)return"NaN";if(r<=-1e21||r>=1e21)return String(r);if(r<0&&(j="-",r=-r),r>1e-21)if(t=d(r*b(2,69,1))-69,n=t<0?r*b(2,-t,1):r/b(2,t,1),n*=4503599627370496,t=52-t,t>0){s(p,0,n),c=l;while(c>=7)s(p,1e7,0),c-=7;s(p,b(10,c,1),0),c=t-1;while(c>=23)f(p,1<<23),c-=23;f(p,1<<c),s(p,1,1),f(p,2),m=O(p)}else s(p,0,n),s(p,1<<-t,0),m=O(p)+o.call("0",l);return l>0?(u=m.length,m=j+(u<=l?"0."+o.call("0",l-u)+m:m.slice(0,u-l)+"."+m.slice(u-l))):m=j+m,m}})},bb1b:function(e,t,n){},d81d:function(e,t,n){"use strict";var c=n("23e7"),a=n("b727").map,i=n("1dde"),o=i("map");c({target:"Array",proto:!0,forced:!o},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file \ 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 \ 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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-345e515a"],{"01f8":function(e,t,n){"use strict";n.r(t);var a=n("7a23"),r=Object(a["o"])("全选"),c=Object(a["o"])("清空"),i=Object(a["o"])("全选"),u=Object(a["o"])("清空"),o=Object(a["o"])(" 至 "),l=Object(a["o"])("预览"),s=Object(a["o"])("修补"),d={style:{display:"flex","justify-content":"flex-end",padding:"3px"}},f=Object(a["o"])("暂停修复"),b=Object(a["o"])("删除任务");function p(e,t,n,p,v,O){var j=Object(a["S"])("a-select"),h=Object(a["S"])("a-form-item"),m=Object(a["S"])("v-nodes"),y=Object(a["S"])("a-divider"),g=Object(a["S"])("a-button"),x=Object(a["S"])("a-date-picker"),_=Object(a["S"])("a-time-picker"),k=Object(a["S"])("a-input"),w=Object(a["S"])("a-form"),F=Object(a["S"])("a-table"),D=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(w,{model:p.queryForm,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(h,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return p.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onAccountChange,options:p.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return p.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onPlazaChange,options:p.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"监控点名称:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.gate_id,"onUpdate:value":t[5]||(t[5]=function(e){return p.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onGateChange,options:p.gateList,optionFilterProp:"label","show-search":""},{dropdownRender:Object(a["ib"])((function(e){var n=e.menuNode;return[Object(a["p"])(m,{vnodes:n},null,8,["vnodes"]),Object(a["p"])(y,{style:{margin:"4px 0"}}),Object(a["m"])("div",{onMousedown:t[4]||(t[4]=function(e){return e.preventDefault()})},[Object(a["p"])(g,{onClick:t[2]||(t[2]=function(e){return p.selectAll("监控点名称")}),type:"link"},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(g,{onClick:t[3]||(t[3]=function(e){return p.clearAll("监控点名称")}),type:"link"},{default:Object(a["ib"])((function(){return[c]})),_:1})],32)]})),_:1},8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"设备通道号:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.channel_id,"onUpdate:value":t[9]||(t[9]=function(e){return p.queryForm.channel_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:p.channelList,optionFilterProp:"label","show-search":""},{dropdownRender:Object(a["ib"])((function(e){var n=e.menuNode;return[Object(a["p"])(m,{vnodes:n},null,8,["vnodes"]),Object(a["p"])(y,{style:{margin:"4px 0"}}),Object(a["m"])("div",{onMousedown:t[8]||(t[8]=function(e){return e.preventDefault()})},[Object(a["p"])(g,{onClick:t[6]||(t[6]=function(e){return p.selectAll("设备通道号")}),type:"link"},{default:Object(a["ib"])((function(){return[i]})),_:1}),Object(a["p"])(g,{onClick:t[7]||(t[7]=function(e){return p.clearAll("设备通道号")}),type:"link"},{default:Object(a["ib"])((function(){return[u]})),_:1})],32)]})),_:1},8,["value","options"])]})),_:1}),Object(a["p"])(h,{label:"修补日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{value:p.queryForm.repairDate,"onUpdate:value":t[10]||(t[10]=function(e){return p.queryForm.repairDate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"参考日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{value:p.queryForm.referenceDate,"onUpdate:value":t[11]||(t[11]=function(e){return p.queryForm.referenceDate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"开始时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{value:p.queryForm.startTime,"onUpdate:value":t[12]||(t[12]=function(e){return p.queryForm.startTime=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"结束时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{value:p.queryForm.endTime,"onUpdate:value":t[13]||(t[13]=function(e){return p.queryForm.endTime=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"数据波动比例:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(k,{value:p.queryForm.minFactor,"onUpdate:value":t[14]||(t[14]=function(e){return p.queryForm.minFactor=e}),style:{width:"129px"}},null,8,["value"]),o,Object(a["p"])(k,{value:p.queryForm.maxFactor,"onUpdate:value":t[15]||(t[15]=function(e){return p.queryForm.maxFactor=e}),style:{width:"129px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:p.preview,loading:p.isLoading},{default:Object(a["ib"])((function(){return[l]})),_:1},8,["onClick","loading"])]})),_:1}),Object(a["p"])(h,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:p.repair,loading:p.isLoading},{default:Object(a["ib"])((function(){return[s]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["m"])("div",d,[Object(a["p"])(g,{onClick:p.suspendRepair,type:"primary"},{default:Object(a["ib"])((function(){return[f]})),_:1},8,["onClick"])]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(F,{dataSource:p.dataList,columns:p.columns,pagination:!1},{status:Object(a["ib"])((function(e){var t=e.text;return[Object(a["m"])("span",{class:Object(a["z"])(p.getClass(t))},Object(a["W"])(t),3)]})),operation:Object(a["ib"])((function(e){var t=e.record;return[Object(a["m"])("div",null,[Object(a["p"])(g,{onClick:function(e){return p.deleteRecord(t)},type:"primary",danger:""},{default:Object(a["ib"])((function(){return[b]})),_:2},1032,["onClick"])])]})),_:1},8,["dataSource","columns"])),[[D,p.isLoading]])],64)}var v=n("2909"),O=n("1da1"),j=n("b85c"),h=(n("96cf"),n("d3b7"),n("25f0"),n("b0c0"),n("6062"),n("3ca3"),n("ddb0"),n("4de4"),n("c1df")),m=n.n(h),y=n("4df8"),g=n("f944"),x=n("c68b"),_=n("8d44"),k=n("47ce"),w=[{title:"监控点名称",dataIndex:"gatename",align:"center"},{title:"设备号",dataIndex:"deviceSerialnum",align:"center"},{title:"通道号",dataIndex:"channelSerialnum",align:"center"},{title:"参考范围数据条数",dataIndex:"sourceCount",align:"center"},{title:"修复范围数据条数",dataIndex:"targetCount",align:"center"},{title:"参考范围客流量",dataIndex:"sourceInnum",align:"center"},{title:"修复范围客流量",dataIndex:"targetInnum",align:"center"},{title:"状态",dataIndex:"status",align:"center",slots:{customRender:"status"}},{title:"操作",dataIndex:"operation",align:"center",slots:{customRender:"operation"}}],F={components:{PlusOutlined:k["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),n=Object(a["O"])([]),r=Object(a["O"])([]),c=Object(a["O"])([]),i=Object(a["O"])([]),u=Object(a["O"])([]),o=Object(a["O"])([]),l=Object(a["O"])([]),s=Object(a["N"])({account_id:[],plaza_id:[],gate_id:[],channel_id:[],repairDate:m()(m()().format("YYYY-MM-DD"),"YYYY-MM-DD"),referenceDate:m()(m()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:m()("00:00:00","HH:mm:ss"),endTime:m()("23:59:59","HH:mm:ss"),minFactor:.85,maxFactor:1.2}),d=function(){p(),s.gate_id=[],u.value=[],s.channel_id=[],o.value=[]},f=function(){k(),s.channel_id=[],o.value=[]},b=function(){F()},p=function(){s.plaza_id=[],c.value=[],y["a"].getPlazaList({account_id:s.account_id.toString()}).then((function(e){if(Object(g["a"])(e)){var t,n=Object(j["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;c.value.push({value:a.id,label:a.name})}}catch(r){n.e(r)}finally{n.f()}}}))},h=function(){s.account_id=[],r.value=[],y["a"].getAccountList().then((function(e){if(Object(g["a"])(e)){var t,n=Object(j["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}}}))},k=function(){var e=Object(O["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,c,i,o,l,d,f,b;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.gate_id=[],u.value=[],t=[],n=Object(j["a"])(s.account_id),e.prev=4,n.s();case 6:if((a=n.n()).done){e.next=29;break}r=a.value,c=Object(j["a"])(s.plaza_id),e.prev=9,c.s();case 11:if((i=c.n()).done){e.next=19;break}return o=i.value,e.next=15,_["a"].getGateList({accountIds:r,mallIds:o});case 15:if(l=e.sent,Object(g["a"])(l)){d=Object(j["a"])(l);try{for(d.s();!(f=d.n()).done;)b=f.value,t.push({value:b.id,label:b.name})}catch(p){d.e(p)}finally{d.f()}}case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](9),c.e(e.t0);case 24:return e.prev=24,c.f(),e.finish(24);case 27:e.next=6;break;case 29:e.next=34;break;case 31:e.prev=31,e.t1=e["catch"](4),n.e(e.t1);case 34:return e.prev=34,n.f(),e.finish(34);case 37:u.value=Object(v["a"])(new Set(t));case 38:case"end":return e.stop()}}),e,null,[[4,31,34,37],[9,21,24,27]])})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=Object(O["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,c,i,u,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.channel_id=[],o.value=[],t=[],n=Object(j["a"])(s.gate_id),e.prev=4,n.s();case 6:if((a=n.n()).done){e.next=14;break}return r=a.value,e.next=10,_["a"].getChannelList({gateId:r});case 10:if(c=e.sent,Object(g["a"])(c)){i=Object(j["a"])(c);try{for(i.s();!(u=i.n()).done;)l=u.value,t.push({value:l,label:l})}catch(d){i.e(d)}finally{i.f()}}case 12:e.next=6;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](4),n.e(e.t0);case 19:return e.prev=19,n.f(),e.finish(19);case 22:o.value=t;case 23:case"end":return e.stop()}}),e,null,[[4,16,19,22]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var n=Object(O["a"])(regeneratorRuntime.mark((function n(){var r,c,i,u,o,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.value=!0,t.value=!1,l.value=[],r=Object(a["Y"])(s),c=Object(j["a"])(r.channel_id),n.prev=5,c.s();case 7:if((i=c.n()).done){n.next=20;break}if(u=i.value,!0!==t.value){n.next=12;break}return e.value=!1,n.abrupt("return");case 12:return o=Object(x["a"])({channelSerialnum:u,maxFactor:r.maxFactor,minFactor:r.minFactor,targetStartDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.startTime),targetEndDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.endTime),sourceStartDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.startTime),sourceEndDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.endTime)}),n.next=15,_["a"].preview(o);case 15:d=n.sent,d.data.status="未执行",l.value.push(d.data);case 18:n.next=7;break;case 20:n.next=25;break;case 22:n.prev=22,n.t0=n["catch"](5),c.e(n.t0);case 25:return n.prev=25,c.f(),n.finish(25);case 28:e.value=!1,t.value=!1;case 30:case"end":return n.stop()}}),n,null,[[5,22,25,28]])})));return function(){return n.apply(this,arguments)}}(),C=function(){var n=Object(O["a"])(regeneratorRuntime.mark((function n(){var r,c,i,u,o,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.value=!0,t.value=!1,l.value=[],r=Object(a["Y"])(s),c=Object(j["a"])(r.channel_id),n.prev=5,c.s();case 7:if((i=c.n()).done){n.next=20;break}if(u=i.value,!0!==t.value){n.next=12;break}return e.value=!1,n.abrupt("return");case 12:return o=Object(x["a"])({channelSerialnum:u,maxFactor:r.maxFactor,minFactor:r.minFactor,targetStartDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.startTime),targetEndDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.endTime),sourceStartDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.startTime),sourceEndDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.endTime)}),n.next=15,_["a"].repair(o);case 15:d=n.sent,200===d.msg_code?d.data.status="已修复":d.data.status="未执行",l.value.push(d.data);case 18:n.next=7;break;case 20:n.next=25;break;case 22:n.prev=22,n.t0=n["catch"](5),c.e(n.t0);case 25:return n.prev=25,c.f(),n.finish(25);case 28:e.value=!1,t.value=!1;case 30:case"end":return n.stop()}}),n,null,[[5,22,25,28]])})));return function(){return n.apply(this,arguments)}}(),S=function(e){switch(e){case"已修复":return"success";case"未执行":return"failed";default:break}},z=function(e){var t=e.channelSerialnum;void 0!==t&&(l.value=l.value.filter((function(e){return e.channelSerialnum!==t})),s.channel_id=s.channel_id.filter((function(e){return e!==t})))},q=function(){!0===e.value&&(t.value=!0)},T=function(e){switch(e){case"监控点名称":s.gate_id=[];var t,n=Object(j["a"])(u.value);try{for(n.s();!(t=n.n()).done;){var a=t.value;s.gate_id.push(a.value)}}catch(l){n.e(l)}finally{n.f()}b();break;case"设备通道号":s.channel_id=[];var r,c=Object(j["a"])(o.value);try{for(c.s();!(r=c.n()).done;){var i=r.value;s.channel_id.push(i.value)}}catch(l){c.e(l)}finally{c.f()}break;default:break}},L=function(e){switch(e){case"监控点名称":s.gate_id=[],b();break;case"设备通道号":s.channel_id=[];break;default:break}},E=function(){h()};return E(),{isLoading:e,accountList:r,plazaList:c,zoneList:i,gateList:u,channelList:o,resultList:n,dataList:l,queryForm:s,columns:w,onAccountChange:d,onPlazaChange:f,onGateChange:b,preview:D,repair:C,getClass:S,deleteRecord:z,suspendRepair:q,selectAll:T,clearAll:L}}},D=(n("a3db"),n("d959")),C=n.n(D);const S=C()(F,[["render",p],["__scopeId","data-v-41d38bb3"]]);t["default"]=S},"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("d3b7");function a(e,t,n,a,r,c,i){try{var u=e[c](i),o=u.value}catch(l){return void n(l)}u.done?t(o):Promise.resolve(o).then(a,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,c){var i=e.apply(t,n);function u(e){a(i,r,c,u,o,"next",e)}function o(e){a(i,r,c,u,o,"throw",e)}u(void 0)}))}}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),r=n("bee2"),c=n("672a"),i=n("c68b"),u=function(){function e(){Object(a["a"])(this,e)}return Object(r["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}(),o=new u;t["a"]=o},6062:function(e,t,n){"use strict";var a=n("6d61"),r=n("6566");e.exports=a("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},6566:function(e,t,n){"use strict";var a=n("9bf2").f,r=n("7c73"),c=n("e2cc"),i=n("0366"),u=n("19aa"),o=n("2266"),l=n("7dd0"),s=n("2626"),d=n("83ab"),f=n("f183").fastKey,b=n("69f3"),p=b.set,v=b.getterFor;e.exports={getConstructor:function(e,t,n,l){var s=e((function(e,a){u(e,s,t),p(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=a&&o(a,e[l],{that:e,AS_ENTRIES:n})})),b=v(t),O=function(e,t,n){var a,r,c=b(e),i=j(e,t);return i?i.value=n:(c.last=i={index:r=f(t,!0),key:t,value:n,previous:a=c.last,next:void 0,removed:!1},c.first||(c.first=i),a&&(a.next=i),d?c.size++:e.size++,"F"!==r&&(c.index[r]=i)),e},j=function(e,t){var n,a=b(e),r=f(t);if("F"!==r)return a.index[r];for(n=a.first;n;n=n.next)if(n.key==t)return n};return c(s.prototype,{clear:function(){var e=this,t=b(e),n=t.index,a=t.first;while(a)a.removed=!0,a.previous&&(a.previous=a.previous.next=void 0),delete n[a.index],a=a.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=b(t),a=j(t,e);if(a){var r=a.next,c=a.previous;delete n.index[a.index],a.removed=!0,c&&(c.next=r),r&&(r.previous=c),n.first==a&&(n.first=r),n.last==a&&(n.last=c),d?n.size--:t.size--}return!!a},forEach:function(e){var t,n=b(this),a=i(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){a(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!j(this,e)}}),c(s.prototype,n?{get:function(e){var t=j(this,e);return t&&t.value},set:function(e,t){return O(this,0===e?0:e,t)}}:{add:function(e){return O(this,e=0===e?0:e,e)}}),d&&a(s.prototype,"size",{get:function(){return b(this).size}}),s},setStrong:function(e,t,n){var a=t+" Iterator",r=v(t),c=v(a);l(e,t,(function(e,t){p(this,{type:a,target:e,state:r(e),kind:t,last:void 0})}),(function(){var e=c(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},"6c7a":function(e,t,n){},"6d61":function(e,t,n){"use strict";var a=n("23e7"),r=n("da84"),c=n("94ca"),i=n("6eeb"),u=n("f183"),o=n("2266"),l=n("19aa"),s=n("861d"),d=n("d039"),f=n("1c7e"),b=n("d44e"),p=n("7156");e.exports=function(e,t,n){var v=-1!==e.indexOf("Map"),O=-1!==e.indexOf("Weak"),j=v?"set":"add",h=r[e],m=h&&h.prototype,y=h,g={},x=function(e){var t=m[e];i(m,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(O&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return O&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(O&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})},_=c(e,"function"!=typeof h||!(O||m.forEach&&!d((function(){(new h).entries().next()}))));if(_)y=n.getConstructor(t,e,v,j),u.REQUIRED=!0;else if(c(e,!0)){var k=new y,w=k[j](O?{}:-0,1)!=k,F=d((function(){k.has(1)})),D=f((function(e){new h(e)})),C=!O&&d((function(){var e=new h,t=5;while(t--)e[j](t,t);return!e.has(-0)}));D||(y=t((function(t,n){l(t,y,e);var a=p(new h,t,y);return void 0!=n&&o(n,a[j],{that:a,AS_ENTRIES:v}),a})),y.prototype=m,m.constructor=y),(F||C)&&(x("delete"),x("has"),v&&x("get")),(C||w)&&x(j),O&&m.clear&&delete m.clear}return g[e]=y,a({global:!0,forced:y!=h},g),b(y,e),O||n.setStrong(y,e,v),y}},7156:function(e,t,n){var a=n("861d"),r=n("d2bb");e.exports=function(e,t,n){var c,i;return r&&"function"==typeof(c=t.constructor)&&c!==n&&a(i=c.prototype)&&i!==n.prototype&&r(e,i),e}},"8d44":function(e,t,n){"use strict";var a=n("d4ec"),r=n("bee2"),c=n("672a"),i=(n("c68b"),function(){function e(){Object(a["a"])(this,e)}return Object(r["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}()),u=new i;t["a"]=u},a3db:function(e,t,n){"use strict";n("6c7a")},bb2f:function(e,t,n){var a=n("d039");e.exports=!a((function(){return Object.isExtensible(Object.preventExtensions({}))}))},f183:function(e,t,n){var a=n("d012"),r=n("861d"),c=n("5135"),i=n("9bf2").f,u=n("90e3"),o=n("bb2f"),l=u("meta"),s=0,d=Object.isExtensible||function(){return!0},f=function(e){i(e,l,{value:{objectID:"O"+ ++s,weakData:{}}})},b=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,l)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[l].objectID},p=function(e,t){if(!c(e,l)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[l].weakData},v=function(e){return o&&O.REQUIRED&&d(e)&&!c(e,l)&&f(e),e},O=e.exports={REQUIRED:!1,fastKey:b,getWeakData:p,onFreeze:v};a[l]=!0}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-345e515a"],{"01f8":function(e,t,n){"use strict";n.r(t);var a=n("7a23"),r=Object(a["o"])("全选"),c=Object(a["o"])("清空"),i=Object(a["o"])("全选"),u=Object(a["o"])("清空"),o=Object(a["o"])(" 至 "),l=Object(a["o"])("预览"),s=Object(a["o"])("修补"),d={style:{display:"flex","justify-content":"flex-end",padding:"3px"}},f=Object(a["o"])("暂停修复"),b=Object(a["o"])("删除任务");function p(e,t,n,p,v,O){var j=Object(a["S"])("a-select"),h=Object(a["S"])("a-form-item"),m=Object(a["S"])("v-nodes"),y=Object(a["S"])("a-divider"),g=Object(a["S"])("a-button"),x=Object(a["S"])("a-date-picker"),_=Object(a["S"])("a-time-picker"),k=Object(a["S"])("a-input"),w=Object(a["S"])("a-form"),F=Object(a["S"])("a-table"),D=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(w,{model:p.queryForm,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(h,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return p.queryForm.account_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onAccountChange,options:p.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return p.queryForm.plaza_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onPlazaChange,options:p.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"监控点名称:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.gate_id,"onUpdate:value":t[5]||(t[5]=function(e){return p.queryForm.gate_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,onChange:p.onGateChange,options:p.gateList,optionFilterProp:"label","show-search":""},{dropdownRender:Object(a["ib"])((function(e){var n=e.menuNode;return[Object(a["p"])(m,{vnodes:n},null,8,["vnodes"]),Object(a["p"])(y,{style:{margin:"4px 0"}}),Object(a["m"])("div",{onMousedown:t[4]||(t[4]=function(e){return e.preventDefault()})},[Object(a["p"])(g,{onClick:t[2]||(t[2]=function(e){return p.selectAll("监控点名称")}),type:"link"},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(g,{onClick:t[3]||(t[3]=function(e){return p.clearAll("监控点名称")}),type:"link"},{default:Object(a["ib"])((function(){return[c]})),_:1})],32)]})),_:1},8,["value","onChange","options"])]})),_:1}),Object(a["p"])(h,{label:"设备通道号:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{value:p.queryForm.channel_id,"onUpdate:value":t[9]||(t[9]=function(e){return p.queryForm.channel_id=e}),style:{width:"280px"},mode:"multiple",maxTagCount:1,options:p.channelList,optionFilterProp:"label","show-search":""},{dropdownRender:Object(a["ib"])((function(e){var n=e.menuNode;return[Object(a["p"])(m,{vnodes:n},null,8,["vnodes"]),Object(a["p"])(y,{style:{margin:"4px 0"}}),Object(a["m"])("div",{onMousedown:t[8]||(t[8]=function(e){return e.preventDefault()})},[Object(a["p"])(g,{onClick:t[6]||(t[6]=function(e){return p.selectAll("设备通道号")}),type:"link"},{default:Object(a["ib"])((function(){return[i]})),_:1}),Object(a["p"])(g,{onClick:t[7]||(t[7]=function(e){return p.clearAll("设备通道号")}),type:"link"},{default:Object(a["ib"])((function(){return[u]})),_:1})],32)]})),_:1},8,["value","options"])]})),_:1}),Object(a["p"])(h,{label:"修补日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{value:p.queryForm.repairDate,"onUpdate:value":t[10]||(t[10]=function(e){return p.queryForm.repairDate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"参考日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{value:p.queryForm.referenceDate,"onUpdate:value":t[11]||(t[11]=function(e){return p.queryForm.referenceDate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"开始时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{value:p.queryForm.startTime,"onUpdate:value":t[12]||(t[12]=function(e){return p.queryForm.startTime=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"结束时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{value:p.queryForm.endTime,"onUpdate:value":t[13]||(t[13]=function(e){return p.queryForm.endTime=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{label:"数据波动比例:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(k,{value:p.queryForm.minFactor,"onUpdate:value":t[14]||(t[14]=function(e){return p.queryForm.minFactor=e}),style:{width:"129px"}},null,8,["value"]),o,Object(a["p"])(k,{value:p.queryForm.maxFactor,"onUpdate:value":t[15]||(t[15]=function(e){return p.queryForm.maxFactor=e}),style:{width:"129px"}},null,8,["value"])]})),_:1}),Object(a["p"])(h,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:p.preview,loading:p.isLoading},{default:Object(a["ib"])((function(){return[l]})),_:1},8,["onClick","loading"])]})),_:1}),Object(a["p"])(h,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:p.repair,loading:p.isLoading},{default:Object(a["ib"])((function(){return[s]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["m"])("div",d,[Object(a["p"])(g,{onClick:p.suspendRepair,type:"primary"},{default:Object(a["ib"])((function(){return[f]})),_:1},8,["onClick"])]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(F,{dataSource:p.dataList,columns:p.columns,pagination:!1},{status:Object(a["ib"])((function(e){var t=e.text;return[Object(a["m"])("span",{class:Object(a["z"])(p.getClass(t))},Object(a["W"])(t),3)]})),operation:Object(a["ib"])((function(e){var t=e.record;return[Object(a["m"])("div",null,[Object(a["p"])(g,{onClick:function(e){return p.deleteRecord(t)},type:"primary",danger:""},{default:Object(a["ib"])((function(){return[b]})),_:2},1032,["onClick"])])]})),_:1},8,["dataSource","columns"])),[[D,p.isLoading]])],64)}var v=n("2909"),O=n("1da1"),j=n("b85c"),h=(n("96cf"),n("d3b7"),n("25f0"),n("b0c0"),n("6062"),n("3ca3"),n("ddb0"),n("4de4"),n("c1df")),m=n.n(h),y=n("4df8"),g=n("f944"),x=n("c68b"),_=n("8d44"),k=n("47ce"),w=[{title:"监控点名称",dataIndex:"gatename",align:"center"},{title:"设备号",dataIndex:"deviceSerialnum",align:"center"},{title:"通道号",dataIndex:"channelSerialnum",align:"center"},{title:"参考范围数据条数",dataIndex:"sourceCount",align:"center"},{title:"修复范围数据条数",dataIndex:"targetCount",align:"center"},{title:"参考范围客流量",dataIndex:"sourceInnum",align:"center"},{title:"修复范围客流量",dataIndex:"targetInnum",align:"center"},{title:"状态",dataIndex:"status",align:"center",slots:{customRender:"status"}},{title:"操作",dataIndex:"operation",align:"center",slots:{customRender:"operation"}}],F={components:{PlusOutlined:k["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),n=Object(a["O"])([]),r=Object(a["O"])([]),c=Object(a["O"])([]),i=Object(a["O"])([]),u=Object(a["O"])([]),o=Object(a["O"])([]),l=Object(a["O"])([]),s=Object(a["N"])({account_id:[],plaza_id:[],gate_id:[],channel_id:[],repairDate:m()(m()().format("YYYY-MM-DD"),"YYYY-MM-DD"),referenceDate:m()(m()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:m()("00:00:00","HH:mm:ss"),endTime:m()("23:59:59","HH:mm:ss"),minFactor:.85,maxFactor:1.2}),d=function(){p(),s.gate_id=[],u.value=[],s.channel_id=[],o.value=[]},f=function(){k(),s.channel_id=[],o.value=[]},b=function(){F()},p=function(){s.plaza_id=[],c.value=[],y["a"].getPlazaList({account_id:s.account_id.toString()}).then((function(e){if(Object(g["a"])(e)){var t,n=Object(j["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;c.value.push({value:a.id,label:a.name})}}catch(r){n.e(r)}finally{n.f()}}}))},h=function(){s.account_id=[],r.value=[],y["a"].getAccountList().then((function(e){if(Object(g["a"])(e)){var t,n=Object(j["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}}}))},k=function(){var e=Object(O["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,c,i,o,l,d,f,b;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.gate_id=[],u.value=[],t=[],n=Object(j["a"])(s.account_id),e.prev=4,n.s();case 6:if((a=n.n()).done){e.next=29;break}r=a.value,c=Object(j["a"])(s.plaza_id),e.prev=9,c.s();case 11:if((i=c.n()).done){e.next=19;break}return o=i.value,e.next=15,_["a"].getGateList({accountIds:r,mallIds:o});case 15:if(l=e.sent,Object(g["a"])(l)){d=Object(j["a"])(l);try{for(d.s();!(f=d.n()).done;)b=f.value,t.push({value:b.id,label:b.name})}catch(p){d.e(p)}finally{d.f()}}case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](9),c.e(e.t0);case 24:return e.prev=24,c.f(),e.finish(24);case 27:e.next=6;break;case 29:e.next=34;break;case 31:e.prev=31,e.t1=e["catch"](4),n.e(e.t1);case 34:return e.prev=34,n.f(),e.finish(34);case 37:u.value=Object(v["a"])(new Set(t));case 38:case"end":return e.stop()}}),e,null,[[4,31,34,37],[9,21,24,27]])})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=Object(O["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,c,i,u,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:s.channel_id=[],o.value=[],t=[],n=Object(j["a"])(s.gate_id),e.prev=4,n.s();case 6:if((a=n.n()).done){e.next=14;break}return r=a.value,e.next=10,_["a"].getChannelList({gateId:r});case 10:if(c=e.sent,Object(g["a"])(c)){i=Object(j["a"])(c);try{for(i.s();!(u=i.n()).done;)l=u.value,t.push({value:l,label:l})}catch(d){i.e(d)}finally{i.f()}}case 12:e.next=6;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e["catch"](4),n.e(e.t0);case 19:return e.prev=19,n.f(),e.finish(19);case 22:o.value=t;case 23:case"end":return e.stop()}}),e,null,[[4,16,19,22]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var n=Object(O["a"])(regeneratorRuntime.mark((function n(){var r,c,i,u,o,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.value=!0,t.value=!1,l.value=[],r=Object(a["Y"])(s),c=Object(j["a"])(r.channel_id),n.prev=5,c.s();case 7:if((i=c.n()).done){n.next=20;break}if(u=i.value,!0!==t.value){n.next=12;break}return e.value=!1,n.abrupt("return");case 12:return o=Object(x["a"])({channelSerialnum:u,maxFactor:r.maxFactor,minFactor:r.minFactor,targetStartDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.startTime),targetEndDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.endTime),sourceStartDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.startTime),sourceEndDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.endTime)}),n.next=15,_["a"].preview(o);case 15:d=n.sent,d.data.status="未执行",l.value.push(d.data);case 18:n.next=7;break;case 20:n.next=25;break;case 22:n.prev=22,n.t0=n["catch"](5),c.e(n.t0);case 25:return n.prev=25,c.f(),n.finish(25);case 28:e.value=!1,t.value=!1;case 30:case"end":return n.stop()}}),n,null,[[5,22,25,28]])})));return function(){return n.apply(this,arguments)}}(),C=function(){var n=Object(O["a"])(regeneratorRuntime.mark((function n(){var r,c,i,u,o,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.value=!0,t.value=!1,l.value=[],r=Object(a["Y"])(s),c=Object(j["a"])(r.channel_id),n.prev=5,c.s();case 7:if((i=c.n()).done){n.next=20;break}if(u=i.value,!0!==t.value){n.next=12;break}return e.value=!1,n.abrupt("return");case 12:return o=Object(x["a"])({channelSerialnum:u,maxFactor:r.maxFactor,minFactor:r.minFactor,targetStartDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.startTime),targetEndDate:Object(x["b"])(r.repairDate)+" "+Object(x["c"])(r.endTime),sourceStartDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.startTime),sourceEndDate:Object(x["b"])(r.referenceDate)+" "+Object(x["c"])(r.endTime)}),n.next=15,_["a"].repair(o);case 15:d=n.sent,200===d.msg_code?d.data.status="已修复":d.data.status="未执行",l.value.push(d.data);case 18:n.next=7;break;case 20:n.next=25;break;case 22:n.prev=22,n.t0=n["catch"](5),c.e(n.t0);case 25:return n.prev=25,c.f(),n.finish(25);case 28:e.value=!1,t.value=!1;case 30:case"end":return n.stop()}}),n,null,[[5,22,25,28]])})));return function(){return n.apply(this,arguments)}}(),S=function(e){switch(e){case"已修复":return"success";case"未执行":return"failed";default:break}},q=function(e){var t=e.channelSerialnum;void 0!==t&&(l.value=l.value.filter((function(e){return e.channelSerialnum!==t})),s.channel_id=s.channel_id.filter((function(e){return e!==t})))},z=function(){!0===e.value&&(t.value=!0)},T=function(e){switch(e){case"监控点名称":s.gate_id=[];var t,n=Object(j["a"])(u.value);try{for(n.s();!(t=n.n()).done;){var a=t.value;s.gate_id.push(a.value)}}catch(l){n.e(l)}finally{n.f()}b();break;case"设备通道号":s.channel_id=[];var r,c=Object(j["a"])(o.value);try{for(c.s();!(r=c.n()).done;){var i=r.value;s.channel_id.push(i.value)}}catch(l){c.e(l)}finally{c.f()}break;default:break}},L=function(e){switch(e){case"监控点名称":s.gate_id=[],b();break;case"设备通道号":s.channel_id=[];break;default:break}},E=function(){h()};return E(),{isLoading:e,accountList:r,plazaList:c,zoneList:i,gateList:u,channelList:o,resultList:n,dataList:l,queryForm:s,columns:w,onAccountChange:d,onPlazaChange:f,onGateChange:b,preview:D,repair:C,getClass:S,deleteRecord:q,suspendRepair:z,selectAll:T,clearAll:L}}},D=(n("a3db"),n("d959")),C=n.n(D);const S=C()(F,[["render",p],["__scopeId","data-v-41d38bb3"]]);t["default"]=S},"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n("d3b7");function a(e,t,n,a,r,c,i){try{var u=e[c](i),o=u.value}catch(l){return void n(l)}u.done?t(o):Promise.resolve(o).then(a,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,c){var i=e.apply(t,n);function u(e){a(i,r,c,u,o,"next",e)}function o(e){a(i,r,c,u,o,"throw",e)}u(void 0)}))}}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),r=n("bee2"),c=n("672a"),i=n("c68b"),u=function(){function e(){Object(a["a"])(this,e)}return Object(r["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:"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(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}(),o=new u;t["a"]=o},6062:function(e,t,n){"use strict";var a=n("6d61"),r=n("6566");e.exports=a("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},6566:function(e,t,n){"use strict";var a=n("9bf2").f,r=n("7c73"),c=n("e2cc"),i=n("0366"),u=n("19aa"),o=n("2266"),l=n("7dd0"),s=n("2626"),d=n("83ab"),f=n("f183").fastKey,b=n("69f3"),p=b.set,v=b.getterFor;e.exports={getConstructor:function(e,t,n,l){var s=e((function(e,a){u(e,s,t),p(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=a&&o(a,e[l],{that:e,AS_ENTRIES:n})})),b=v(t),O=function(e,t,n){var a,r,c=b(e),i=j(e,t);return i?i.value=n:(c.last=i={index:r=f(t,!0),key:t,value:n,previous:a=c.last,next:void 0,removed:!1},c.first||(c.first=i),a&&(a.next=i),d?c.size++:e.size++,"F"!==r&&(c.index[r]=i)),e},j=function(e,t){var n,a=b(e),r=f(t);if("F"!==r)return a.index[r];for(n=a.first;n;n=n.next)if(n.key==t)return n};return c(s.prototype,{clear:function(){var e=this,t=b(e),n=t.index,a=t.first;while(a)a.removed=!0,a.previous&&(a.previous=a.previous.next=void 0),delete n[a.index],a=a.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=b(t),a=j(t,e);if(a){var r=a.next,c=a.previous;delete n.index[a.index],a.removed=!0,c&&(c.next=r),r&&(r.previous=c),n.first==a&&(n.first=r),n.last==a&&(n.last=c),d?n.size--:t.size--}return!!a},forEach:function(e){var t,n=b(this),a=i(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){a(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!j(this,e)}}),c(s.prototype,n?{get:function(e){var t=j(this,e);return t&&t.value},set:function(e,t){return O(this,0===e?0:e,t)}}:{add:function(e){return O(this,e=0===e?0:e,e)}}),d&&a(s.prototype,"size",{get:function(){return b(this).size}}),s},setStrong:function(e,t,n){var a=t+" Iterator",r=v(t),c=v(a);l(e,t,(function(e,t){p(this,{type:a,target:e,state:r(e),kind:t,last:void 0})}),(function(){var e=c(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},"6c7a":function(e,t,n){},"6d61":function(e,t,n){"use strict";var a=n("23e7"),r=n("da84"),c=n("94ca"),i=n("6eeb"),u=n("f183"),o=n("2266"),l=n("19aa"),s=n("861d"),d=n("d039"),f=n("1c7e"),b=n("d44e"),p=n("7156");e.exports=function(e,t,n){var v=-1!==e.indexOf("Map"),O=-1!==e.indexOf("Weak"),j=v?"set":"add",h=r[e],m=h&&h.prototype,y=h,g={},x=function(e){var t=m[e];i(m,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(O&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return O&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(O&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})},_=c(e,"function"!=typeof h||!(O||m.forEach&&!d((function(){(new h).entries().next()}))));if(_)y=n.getConstructor(t,e,v,j),u.REQUIRED=!0;else if(c(e,!0)){var k=new y,w=k[j](O?{}:-0,1)!=k,F=d((function(){k.has(1)})),D=f((function(e){new h(e)})),C=!O&&d((function(){var e=new h,t=5;while(t--)e[j](t,t);return!e.has(-0)}));D||(y=t((function(t,n){l(t,y,e);var a=p(new h,t,y);return void 0!=n&&o(n,a[j],{that:a,AS_ENTRIES:v}),a})),y.prototype=m,m.constructor=y),(F||C)&&(x("delete"),x("has"),v&&x("get")),(C||w)&&x(j),O&&m.clear&&delete m.clear}return g[e]=y,a({global:!0,forced:y!=h},g),b(y,e),O||n.setStrong(y,e,v),y}},7156:function(e,t,n){var a=n("861d"),r=n("d2bb");e.exports=function(e,t,n){var c,i;return r&&"function"==typeof(c=t.constructor)&&c!==n&&a(i=c.prototype)&&i!==n.prototype&&r(e,i),e}},"8d44":function(e,t,n){"use strict";var a=n("d4ec"),r=n("bee2"),c=n("672a"),i=(n("c68b"),function(){function e(){Object(a["a"])(this,e)}return Object(r["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}()),u=new i;t["a"]=u},a3db:function(e,t,n){"use strict";n("6c7a")},bb2f:function(e,t,n){var a=n("d039");e.exports=!a((function(){return Object.isExtensible(Object.preventExtensions({}))}))},f183:function(e,t,n){var a=n("d012"),r=n("861d"),c=n("5135"),i=n("9bf2").f,u=n("90e3"),o=n("bb2f"),l=u("meta"),s=0,d=Object.isExtensible||function(){return!0},f=function(e){i(e,l,{value:{objectID:"O"+ ++s,weakData:{}}})},b=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,l)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[l].objectID},p=function(e,t){if(!c(e,l)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[l].weakData},v=function(e){return o&&O.REQUIRED&&d(e)&&!c(e,l)&&f(e),e},O=e.exports={REQUIRED:!1,fastKey:b,getWeakData:p,onFreeze:v};a[l]=!0}}]);
\ No newline at end of file \ 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 \ 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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50f27236"],{1148:function(e,t,n){"use strict";var a=n("a691"),i=n("1d80");e.exports=function(e){var t=String(i(this)),n="",c=a(e);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(t+=t))1&c&&(n+=t);return n}},"408a":function(e,t,n){var a=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),i=n("bee2"),c=n("672a"),u=n("c68b"),o=function(){function e(){Object(a["a"])(this,e)}return Object(i["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(u["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(u["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(u["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(u["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),l=new o;t["a"]=l},"525f":function(e,t,n){"use strict";n("ea7f")},"6d28":function(e,t,n){"use strict";var a=n("d4ec"),i=n("bee2"),c=n("672a"),u=n("c68b"),o=function(){function e(){Object(a["a"])(this,e)}return Object(i["a"])(e,[{key:"getPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/personContrasts",params:Object(u["a"])(e)})}},{key:"getAllPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/allPersonContrast",params:Object(u["a"])(e)})}},{key:"getNewPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/newPersonContrast",params:Object(u["a"])(e)})}},{key:"updateImage",value:function(e){return c["a"].request({method:"PUT",url:"/faceRecognitions",data:Object(u["a"])(e)})}}]),e}(),l=new o;t["a"]=l},aa5f:function(e,t,n){"use strict";n.r(t);n("b680");var a=n("7a23"),i=Object(a["o"])("全场"),c=Object(a["o"])("广场出入口"),u=Object(a["o"])("楼层出入口"),o=Object(a["o"])("店铺出入口"),l=Object(a["o"])("其他"),r=Object(a["o"])("进"),b=Object(a["o"])("出"),s=Object(a["o"])("横穿"),d=Object(a["o"])("半身照"),p=Object(a["o"])("全身照"),O=Object(a["o"])("店员"),j=Object(a["o"])("顾客"),f=Object(a["o"])("查询"),m=["onClick"],g=["onClick"],_=["onClick"],v={class:"imgBox1_top1"},h={key:0,style:{"margin-left":"15px"}},y=Object(a["o"])("全屏"),w={style:{float:"right","margin-right":"15px"}},C=["onClick"],k=["onClick"],x=["onClick"],z={class:"featureNum"},S={class:"imgBox2_top"},T={class:"btns"},F={key:0,style:{"margin-left":"15px",float:"left"}},L={syle:"margin-left:30px"},I=Object(a["o"])(" 阈值:"),q=Object(a["o"])("重新比对"),U=Object(a["o"])("重提特征比对"),J=Object(a["o"])("全屏"),D=["onClick"],V=["onClick"],N=["onClick"],P={class:"featureNum"},W={class:"dialog-footer"},E=Object(a["o"])("关闭"),B=["onClick"],Y=["onClick"],G=["onClick"],R={class:"featureNum"},M={class:"dialog-footer"},A=Object(a["o"])("关闭"),Q={class:"btns featureBoxBtns"},H=Object(a["o"])(" 阈值:"),Z=Object(a["o"])("重新比对"),K=Object(a["o"])("重提特征比对"),X=["onClick"],$=["onClick"],ee=["onClick"],te={class:"featureNum"},ne={class:"dialog-footer"},ae=Object(a["o"])("关闭");function ie(e,t,n,ie,ce,ue){var oe=Object(a["S"])("a-select"),le=Object(a["S"])("a-form-item"),re=Object(a["S"])("a-select-option"),be=Object(a["S"])("a-date-picker"),se=Object(a["S"])("a-time-picker"),de=Object(a["S"])("a-button"),pe=Object(a["S"])("a-form"),Oe=Object(a["S"])("el-image"),je=Object(a["S"])("el-col"),fe=Object(a["S"])("el-row"),me=Object(a["S"])("a-pagination"),ge=Object(a["S"])("a-col"),_e=Object(a["S"])("a-empty"),ve=Object(a["S"])("el-input-number"),he=Object(a["S"])("a-row"),ye=Object(a["S"])("el-button"),we=Object(a["S"])("el-dialog"),Ce=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(he,{style:{height:"100%"},gutter:10},{default:Object(a["ib"])((function(){return[Object(a["p"])(ge,{span:14},{default:Object(a["ib"])((function(){return[Object(a["p"])(pe,{model:ie.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(le,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return ie.queryForm.account_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onAccountChange,options:ie.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(le,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return ie.queryForm.plaza_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onPlazaChange,options:ie.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(le,{label:"出入类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.type,"onUpdate:value":t[2]||(t[2]=function(e){return ie.queryForm.type=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[i]})),_:1}),Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(re,{value:2},{default:Object(a["ib"])((function(){return[u]})),_:1}),Object(a["p"])(re,{value:3},{default:Object(a["ib"])((function(){return[o]})),_:1}),Object(a["p"])(re,{value:4},{default:Object(a["ib"])((function(){return[l]})),_:1})]})),_:1},8,["value"])]})),_:1}),0==ie.queryForm.type||3==ie.queryForm.type?(Object(a["J"])(),Object(a["j"])(le,{key:0,label:"区域信息:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.zone_id,"onUpdate:value":t[3]||(t[3]=function(e){return ie.queryForm.zone_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onZoneChange,options:ie.zoneList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1})):Object(a["k"])("",!0),Object(a["p"])(le,{label:"监控点:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.gate_id,"onUpdate:value":t[4]||(t[4]=function(e){return ie.queryForm.gate_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,options:ie.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(le,{label:"方向:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.direction,"onUpdate:value":t[5]||(t[5]=function(e){return ie.queryForm.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(re,{value:-1},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[s]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.picType,"onUpdate:value":t[6]||(t[6]=function(e){return ie.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[d]})),_:1}),Object(a["p"])(re,{value:2},{default:Object(a["ib"])((function(){return[p]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.personType,"onUpdate:value":t[7]||(t[7]=function(e){return ie.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[O]})),_:1}),Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[j]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(be,{value:ie.queryForm.date,"onUpdate:value":t[8]||(t[8]=function(e){return ie.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"230px"}},null,8,["value"])]})),_:1}),Object(a["p"])(le,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(se,{value:ie.queryForm.startTime,"onUpdate:value":t[9]||(t[9]=function(e){return ie.queryForm.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(a["p"])(se,{value:ie.queryForm.endTime,"onUpdate:value":t[10]||(t[10]=function(e){return ie.queryForm.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(a["p"])(le,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(de,{type:"primary",onClick:ie.clickSearch,loading:ie.isLoading},{default:Object(a["ib"])((function(){return[f]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.pagedTableDataList,(function(e){return Object(a["J"])(),Object(a["j"])(fe,null,{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(e,(function(e,t){return Object(a["J"])(),Object(a["j"])(je,{class:"col",span:6,key:t},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{onClick:function(t){return ie.chooseItem(e)},class:Object(a["z"])(["colItem",ie.currentItemId==e.id?"actived":""])},[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,g),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,_),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,m)]})),_:2},1024)})),128))]})),_:2},1024)})),256)),Object(a["p"])(me,{current:ie.pageNum,"onUpdate:current":t[11]||(t[11]=function(e){return ie.pageNum=e}),pageSize:ie.pageSize,"onUpdate:pageSize":t[12]||(t[12]=function(e){return ie.pageSize=e}),total:ie.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20"],onChange:ie.onPageNumChange,onShowSizeChange:ie.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])])),[[Ce,ie.isLoading]])]})),_:1}),Object(a["p"])(ge,{span:10,class:"imgBox1"},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",v,[ie.featureList.length>0?(Object(a["J"])(),Object(a["l"])("p",h,[Object(a["p"])(de,{type:"primary",style:{float:"right"},onClick:t[13]||(t[13]=function(e){return ie.fullScreen("imgBox1_top1")})},{default:Object(a["ib"])((function(){return[y]})),_:1}),Object(a["m"])("span",null,Object(a["W"])(ie.featureList[0].person_unid),1),Object(a["m"])("span",w,"共"+Object(a["W"])(ie.featureList.length)+"张",1)])):Object(a["k"])("",!0),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(fe,{class:"imgBox1_top",gutter:10},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:6,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,C),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,k),Object(a["m"])("span",{class:"el-icon-delete delete",onClick:function(t){return ie.deleteImage(e,t)}},null,8,x),Object(a["m"])("p",z,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.featureList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})),[[Ce,ie.isLoadingFeature]])]),Object(a["m"])("div",S,[Object(a["m"])("div",T,[ie.comparisonList.length>0?(Object(a["J"])(),Object(a["l"])("p",F,[Object(a["m"])("span",null,Object(a["W"])(ie.comparisonList[0].person_unid),1),Object(a["m"])("span",L,"共"+Object(a["W"])(ie.comparisonList.length)+"张",1)])):Object(a["k"])("",!0),I,Object(a["p"])(ve,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:ie.threshold,"onUpdate:modelValue":t[14]||(t[14]=function(e){return ie.threshold=e})},null,8,["modelValue"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparison},{default:Object(a["ib"])((function(){return[q]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparisonFeature},{default:Object(a["ib"])((function(){return[U]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:t[15]||(t[15]=function(e){return ie.fullScreen("imgBox2_top")})},{default:Object(a["ib"])((function(){return[J]})),_:1})]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(fe,{gutter:10,class:"imgBox2"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.comparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:6,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,D),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,V),ie.boxObj.person_unid!=e.person_unid?(Object(a["J"])(),Object(a["l"])("span",{key:0,class:"el-icon-plus add",onClick:function(t){return ie.addImage(e,t)}},null,8,N)):Object(a["k"])("",!0),Object(a["m"])("p",P,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.comparisonList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})),[[Ce,ie.isLoadingComparison]])])]})),_:1})]})),_:1}),ie.centerDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:0,modelValue:ie.centerDialogVisible,"onUpdate:modelValue":t[17]||(t[17]=function(e){return ie.centerDialogVisible=e}),title:"body1"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",W,[Object(a["p"])(ye,{onClick:t[16]||(t[16]=function(e){return ie.centerDialogVisible=!1})},{default:Object(a["ib"])((function(){return[E]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:ie.otherPictureUrl,fit:"contain",class:"single-image"},null,8,["src"])]})),_:1},8,["modelValue"])):Object(a["k"])("",!0),ie.featureDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:1,modelValue:ie.featureDialogVisible,"onUpdate:modelValue":t[19]||(t[19]=function(e){return ie.featureDialogVisible=e}),"custom-class":"imgDialog",title:"特征比对",width:"90%",top:"50px"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",M,[Object(a["p"])(ye,{onClick:t[18]||(t[18]=function(e){return ie.featureDialogVisible=!1})},{default:Object(a["ib"])((function(){return[A]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["p"])(fe,{class:"featureBox",gutter:10},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,B),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,Y),Object(a["m"])("span",{class:"el-icon-delete delete",onClick:function(t){return ie.deleteImage(e,t)}},null,8,G),Object(a["m"])("p",R,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.featureList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1},8,["modelValue"])):Object(a["k"])("",!0),ie.refeatureDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:2,modelValue:ie.refeatureDialogVisible,"onUpdate:modelValue":t[22]||(t[22]=function(e){return ie.refeatureDialogVisible=e}),"custom-class":"imgDialog",title:"特征比对",width:"90%",top:"50px"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",ne,[Object(a["p"])(ye,{onClick:t[21]||(t[21]=function(e){return ie.refeatureDialogVisible=!1})},{default:Object(a["ib"])((function(){return[ae]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["m"])("div",Q,[H,Object(a["p"])(ve,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:ie.threshold,"onUpdate:modelValue":t[20]||(t[20]=function(e){return ie.threshold=e})},null,8,["modelValue"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparison},{default:Object(a["ib"])((function(){return[Z]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparisonFeature},{default:Object(a["ib"])((function(){return[K]})),_:1},8,["onClick"])]),Object(a["p"])(fe,{gutter:10,class:"featureBox"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.comparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,X),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,$),ie.boxObj.person_unid!=e.person_unid?(Object(a["J"])(),Object(a["l"])("span",{key:0,class:"el-icon-plus add",onClick:function(t){return ie.addImage(e,t)}},null,8,ee)):Object(a["k"])("",!0),Object(a["m"])("p",te,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.comparisonList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1},8,["modelValue"])):Object(a["k"])("",!0)],64)}var ce=n("b85c"),ue=(n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("ac1f"),n("1276"),n("a434"),n("4df8")),oe=n("6d28"),le=n("f944"),re=n("c1df"),be=n.n(re),se=n("c68b"),de=n("3fd4"),pe={setup:function(){var e=Object(a["O"])(1),t=Object(a["O"])(10),n=Object(a["O"])(),i=Object(a["O"])(!1),c=Object(a["O"])(!1),u=Object(a["O"])(!1),o=Object(a["O"])(!1),l=Object(a["O"])(),r=Object(a["O"])([]),b=Object(a["O"])([]),s=Object(a["O"])([]),d=Object(a["O"])([]),p=Object(a["O"])([]),O=Object(a["O"])([]),j=Object(a["O"])([]),f=Object(a["O"])({}),m=Object(a["O"])(),g=Object(a["O"])(!1),_=Object(a["O"])(75),v=Object(a["h"])((function(){return Object(se["d"])(r.value,10)})),h=Object(a["N"])({account_id:[],plaza_id:[],zone_id:[],gate_id:[],type:0,direction:[1,-1,0],picType:2,personType:[1,0],date:be()(be()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:be()("00:00:00","HH:mm:ss"),endTime:be()("23:59:59","HH:mm:ss")}),y=Object(a["O"])({});window.localStorage.getItem("searchCondition")&&(y.value=JSON.parse(window.localStorage.getItem("searchCondition")),h.type=y.value.type,h.zone_id=y.value.zone_id,h.gate_id=y.value.gate_id,h.direction=y.value.direction,h.picType=y.value.picType,h.date=y.value.date,h.startTime=y.value.startTime,h.endTime=y.value.endTime);var w=function(t){e.value=t,q()},C=function(n,a){e.value=1,t.value=a,q()},k=function(){S(1)},x=function(){T(1),F(1)},z=function(){F()},S=function(e){h.plaza_id=[],s.value=[],ue["a"].getPlazaList({account_id:h.account_id.toString()}).then((function(t){if(Object(le["a"])(t)){var n,a=Object(ce["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;s.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}s.value.length>0&&(!e&&y.value.plaza_id&&y.value.plaza_id.length>0?h.plaza_id=y.value.plaza_id:h.plaza_id.push(s.value[0].value),T(1),F(1),q())}}))},T=function(e){h.zone_id=[],d.value=[],ue["a"].getZoneList({account_id:h.account_id.toString(),plaza_id:h.plaza_id.toString()}).then((function(t){if(Object(le["a"])(t)){var n,a=Object(ce["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;d.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}d.value.length&&e&&y.value.zone_id&&y.value.zone_id.length>0?h.zone_id=y.value.zone_id:h.zone_id=[]}}))},F=function(e){h.gate_id=[],p.value=[],ue["a"].getGateList({account_id:h.account_id.toString(),plaza_id:h.plaza_id.toString(),zone_id:h.zone_id.toString(),type:h.type}).then((function(t){if(Object(le["a"])(t.data)){var n,a=Object(ce["a"])(t.data);try{for(a.s();!(n=a.n()).done;){var i=n.value;p.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}p.value.length&&e&&y.value.gate_id&&y.value.gate_id.length>0?h.gate_id=y.value.gate_id:h.gate_id=[]}}))},L=function(){h.account_id=[],b.value=[],ue["a"].getAccountList().then((function(e){if(Object(le["a"])(e)){var t,n=Object(ce["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;b.value.push({value:a.id,label:a.name})}}catch(i){n.e(i)}finally{n.f()}b.value.length&&(y.value.account_id&&y.value.account_id.length>0?h.account_id=y.value.account_id:h.account_id.push(b.value[0].value),S())}}))},I=function(){e.value=1,q()},q=function(){i.value=!0;var c=Object(a["Y"])(h);console.log(c);var u=Object(se["a"])({account_id:c.account_id.toString(),type:c.type,plaza_id:c.plaza_id.toString(),zone_id:c.zone_id.toString(),gate_id:c.gate_id.toString(),direction:c.direction.toString(),picType:c.picType,personType:c.personType.toString(),startTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.startTime),endTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.endTime),page:e.value-1,pageSize:t.value}),o=Object(se["a"])({account_id:c.account_id,type:c.type,plaza_id:c.plaza_id,zone_id:c.zone_id,gate_id:c.gate_id,direction:c.direction,picType:c.picType,personType:c.personType,date:c.date,startTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.startTime),endTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.endTime)});window.localStorage.setItem("searchCondition",JSON.stringify(o)),ue["a"].getSnapshotRecordList(u).then((function(e){i.value=!1,e.data.persons.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),r.value=e.data.persons,n.value=e.data.pageNum}))},U=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},J=function(){L()},D=function(e){g.value=!0,m.value=e.id;var t=Object(a["Y"])(h),n={person_unid:e.person_unid,pic_type:t.picType,countdate:Object(se["b"])(t.date),pic_id:e.id,ip:window._baseImgUrl};f.value=e,O.value=[],j.value=[],oe["a"].getPersonContrastList(n).then((function(e){g.value=!1,e.data&&Object(le["a"])(e.data.personList)&&(e.data.personList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),O.value=e.data.personList)}))},V=Object(a["O"])(!1),N=function(){var e=Object(a["Y"])(h);if(f.value.id){V.value=!0;var t={plaza_id:f.value.mall_id,pic_type:e.picType,countdate:Object(se["b"])(e.date),pic_id:f.value.id,ip:window._baseImgUrl,customScore:_.value?_.value:75};j.value=[],oe["a"].getAllPersonContrastList(t).then((function(e){V.value=!1,Object(le["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),j.value=e.data)}))}else Object(de["a"])({message:"请选择左侧列表",type:"warning"})},P=function(){var e=Object(a["Y"])(h);if(f.value.id){V.value=!0;var t={plaza_id:f.value.mall_id,pic_type:e.picType,countdate:Object(se["b"])(e.date),pic_id:f.value.id,ip:window._baseImgUrl};j.value=[],oe["a"].getNewPersonContrastList(t).then((function(e){V.value=!1,Object(le["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),j.value=e.data)}))}else Object(de["a"])({message:"请选择左侧列表",type:"warning"})},W=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):Object(de["a"])({message:"该图片没有特征",type:"warning"})},E=function(e,t){if(t.stopPropagation(),e.features_url){c.value=!0;var n=e.picture_url;l.value=n.split("0.jpg")[0]+"1.jpg"}else Object(de["a"])({message:"该图片没有特征",type:"warning"})},B=function(e,t){t.stopPropagation(),oe["a"].updateImage({personUnid:e.unid,id:e.id,unid:e.unid,countdate:e.counttime?e.counttime:""}).then((function(t){200==t.msg_code&&(Object(de["a"])({message:"删除成功",type:"success"}),O.value.forEach((function(t,n){t.unid==e.unid&&O.value.splice(n,1)})))}))},Y=function(e,t){t.stopPropagation(),oe["a"].updateImage({personUnid:f.value.person_unid,id:e.id,unid:e.unid,countdate:e.counttime?e.counttime:""}).then((function(t){200==t.msg_code&&(Object(de["a"])({message:"增加成功",type:"success"}),j.value.forEach((function(t){t.unid==e.unid&&(t.person_unid=f.value.person_unid)})))}))};J();var G=function(e){"imgBox2_top"==e?o.value=!0:u.value=!0};return{isLoading:i,pageNum:e,pageSize:t,total:n,isLoadingFeature:g,isLoadingComparison:V,currentItemId:m,centerDialogVisible:c,otherPictureUrl:l,featureDialogVisible:u,refeatureDialogVisible:o,accountList:b,plazaList:s,zoneList:d,gateList:p,pagedTableDataList:v,featureList:O,comparisonList:j,boxObj:f,threshold:_,queryForm:h,onPageNumChange:w,onPageSizeChange:C,onAccountChange:k,onPlazaChange:x,onZoneChange:z,confirmSearch:q,formatDirection:U,chooseItem:D,reComparison:N,reComparisonFeature:P,downloadFile:W,openImage:E,deleteImage:B,addImage:Y,fullScreen:G,clickSearch:I}}},Oe=(n("525f"),n("d959")),je=n.n(Oe);const fe=je()(pe,[["render",ie],["__scopeId","data-v-bbefa454"]]);t["default"]=fe},b680:function(e,t,n){"use strict";var a=n("23e7"),i=n("a691"),c=n("408a"),u=n("1148"),o=n("d039"),l=1..toFixed,r=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},s=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var a=-1,i=n;while(++a<6)i+=t*e[a],e[a]=i%1e7,i=r(i/1e7)},p=function(e,t){var n=6,a=0;while(--n>=0)a+=e[n],e[n]=r(a/t),a=a%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var a=String(e[t]);n=""===n?a:n+u.call("0",7-a.length)+a}return n},j=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){l.call({})}));a({target:"Number",proto:!0,forced:j},{toFixed:function(e){var t,n,a,o,l=c(this),r=i(e),j=[0,0,0,0,0,0],f="",m="0";if(r<0||r>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(f="-",l=-l),l>1e-21)if(t=s(l*b(2,69,1))-69,n=t<0?l*b(2,-t,1):l/b(2,t,1),n*=4503599627370496,t=52-t,t>0){d(j,0,n),a=r;while(a>=7)d(j,1e7,0),a-=7;d(j,b(10,a,1),0),a=t-1;while(a>=23)p(j,1<<23),a-=23;p(j,1<<a),d(j,1,1),p(j,2),m=O(j)}else d(j,0,n),d(j,1<<-t,0),m=O(j)+u.call("0",r);return r>0?(o=m.length,m=f+(o<=r?"0."+u.call("0",r-o)+m:m.slice(0,o-r)+"."+m.slice(o-r))):m=f+m,m}})},ea7f:function(e,t,n){}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50f27236"],{1148:function(e,t,n){"use strict";var a=n("a691"),i=n("1d80");e.exports=function(e){var t=String(i(this)),n="",c=a(e);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(t+=t))1&c&&(n+=t);return n}},"408a":function(e,t,n){var a=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),i=n("bee2"),c=n("672a"),u=n("c68b"),o=function(){function e(){Object(a["a"])(this,e)}return Object(i["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(u["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(u["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return c["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 c["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}(),l=new o;t["a"]=l},"525f":function(e,t,n){"use strict";n("ea7f")},"6d28":function(e,t,n){"use strict";var a=n("d4ec"),i=n("bee2"),c=n("672a"),u=n("c68b"),o=function(){function e(){Object(a["a"])(this,e)}return Object(i["a"])(e,[{key:"getPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/personContrasts",params:Object(u["a"])(e)})}},{key:"getAllPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/allPersonContrast",params:Object(u["a"])(e)})}},{key:"getNewPersonContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/newPersonContrast",params:Object(u["a"])(e)})}},{key:"updateImage",value:function(e){return c["a"].request({method:"PUT",url:"/faceRecognitions",data:Object(u["a"])(e)})}}]),e}(),l=new o;t["a"]=l},aa5f:function(e,t,n){"use strict";n.r(t);n("b680");var a=n("7a23"),i=Object(a["o"])("全场"),c=Object(a["o"])("广场出入口"),u=Object(a["o"])("楼层出入口"),o=Object(a["o"])("店铺出入口"),l=Object(a["o"])("其他"),r=Object(a["o"])("进"),b=Object(a["o"])("出"),s=Object(a["o"])("横穿"),d=Object(a["o"])("半身照"),p=Object(a["o"])("全身照"),O=Object(a["o"])("店员"),j=Object(a["o"])("顾客"),f=Object(a["o"])("查询"),m=["onClick"],g=["onClick"],_=["onClick"],v={class:"imgBox1_top1"},h={key:0,style:{"margin-left":"15px"}},y=Object(a["o"])("全屏"),w={style:{float:"right","margin-right":"15px"}},C=["onClick"],k=["onClick"],x=["onClick"],z={class:"featureNum"},S={class:"imgBox2_top"},F={class:"btns"},T={key:0,style:{"margin-left":"15px",float:"left"}},L={syle:"margin-left:30px"},I=Object(a["o"])(" 阈值:"),q=Object(a["o"])("重新比对"),U=Object(a["o"])("重提特征比对"),J=Object(a["o"])("全屏"),D=["onClick"],V=["onClick"],N=["onClick"],P={class:"featureNum"},W={class:"dialog-footer"},B=Object(a["o"])("关闭"),E=["onClick"],Y=["onClick"],G=["onClick"],M={class:"featureNum"},R={class:"dialog-footer"},A=Object(a["o"])("关闭"),Q={class:"btns featureBoxBtns"},H=Object(a["o"])(" 阈值:"),Z=Object(a["o"])("重新比对"),K=Object(a["o"])("重提特征比对"),X=["onClick"],$=["onClick"],ee=["onClick"],te={class:"featureNum"},ne={class:"dialog-footer"},ae=Object(a["o"])("关闭");function ie(e,t,n,ie,ce,ue){var oe=Object(a["S"])("a-select"),le=Object(a["S"])("a-form-item"),re=Object(a["S"])("a-select-option"),be=Object(a["S"])("a-date-picker"),se=Object(a["S"])("a-time-picker"),de=Object(a["S"])("a-button"),pe=Object(a["S"])("a-form"),Oe=Object(a["S"])("el-image"),je=Object(a["S"])("el-col"),fe=Object(a["S"])("el-row"),me=Object(a["S"])("a-pagination"),ge=Object(a["S"])("a-col"),_e=Object(a["S"])("a-empty"),ve=Object(a["S"])("el-input-number"),he=Object(a["S"])("a-row"),ye=Object(a["S"])("el-button"),we=Object(a["S"])("el-dialog"),Ce=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(he,{style:{height:"100%"},gutter:10},{default:Object(a["ib"])((function(){return[Object(a["p"])(ge,{span:14},{default:Object(a["ib"])((function(){return[Object(a["p"])(pe,{model:ie.queryForm,layout:"inline","label-col":{style:{width:"70px"}}},{default:Object(a["ib"])((function(){return[Object(a["p"])(le,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return ie.queryForm.account_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onAccountChange,options:ie.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(le,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return ie.queryForm.plaza_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onPlazaChange,options:ie.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(le,{label:"出入类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.type,"onUpdate:value":t[2]||(t[2]=function(e){return ie.queryForm.type=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[i]})),_:1}),Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(re,{value:2},{default:Object(a["ib"])((function(){return[u]})),_:1}),Object(a["p"])(re,{value:3},{default:Object(a["ib"])((function(){return[o]})),_:1}),Object(a["p"])(re,{value:4},{default:Object(a["ib"])((function(){return[l]})),_:1})]})),_:1},8,["value"])]})),_:1}),0==ie.queryForm.type||3==ie.queryForm.type?(Object(a["J"])(),Object(a["j"])(le,{key:0,label:"区域信息:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.zone_id,"onUpdate:value":t[3]||(t[3]=function(e){return ie.queryForm.zone_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,onChange:ie.onZoneChange,options:ie.zoneList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1})):Object(a["k"])("",!0),Object(a["p"])(le,{label:"监控点:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.gate_id,"onUpdate:value":t[4]||(t[4]=function(e){return ie.queryForm.gate_id=e}),style:{width:"230px"},mode:"multiple",maxTagCount:1,options:ie.gateList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(le,{label:"方向:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.direction,"onUpdate:value":t[5]||(t[5]=function(e){return ie.queryForm.direction=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[r]})),_:1}),Object(a["p"])(re,{value:-1},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[s]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.picType,"onUpdate:value":t[6]||(t[6]=function(e){return ie.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[d]})),_:1}),Object(a["p"])(re,{value:2},{default:Object(a["ib"])((function(){return[p]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"人员类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(oe,{value:ie.queryForm.personType,"onUpdate:value":t[7]||(t[7]=function(e){return ie.queryForm.personType=e}),mode:"multiple",maxTagCount:1,style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(re,{value:1},{default:Object(a["ib"])((function(){return[O]})),_:1}),Object(a["p"])(re,{value:0},{default:Object(a["ib"])((function(){return[j]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(le,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(be,{value:ie.queryForm.date,"onUpdate:value":t[8]||(t[8]=function(e){return ie.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"230px"}},null,8,["value"])]})),_:1}),Object(a["p"])(le,{label:"选择时间:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(se,{value:ie.queryForm.startTime,"onUpdate:value":t[9]||(t[9]=function(e){return ie.queryForm.startTime=e}),style:{width:"100px"}},null,8,["value"]),Object(a["p"])(se,{value:ie.queryForm.endTime,"onUpdate:value":t[10]||(t[10]=function(e){return ie.queryForm.endTime=e}),style:{width:"100px"}},null,8,["value"])]})),_:1}),Object(a["p"])(le,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(de,{type:"primary",onClick:ie.clickSearch,loading:ie.isLoading},{default:Object(a["ib"])((function(){return[f]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.pagedTableDataList,(function(e){return Object(a["J"])(),Object(a["j"])(fe,null,{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(e,(function(e,t){return Object(a["J"])(),Object(a["j"])(je,{class:"col",span:6,key:t},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",{onClick:function(t){return ie.chooseItem(e)},class:Object(a["z"])(["colItem",ie.currentItemId==e.id?"actived":""])},[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,g),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,_),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)],10,m)]})),_:2},1024)})),128))]})),_:2},1024)})),256)),Object(a["p"])(me,{current:ie.pageNum,"onUpdate:current":t[11]||(t[11]=function(e){return ie.pageNum=e}),pageSize:ie.pageSize,"onUpdate:pageSize":t[12]||(t[12]=function(e){return ie.pageSize=e}),total:ie.total,"show-total":function(e){return"共 ".concat(e," 条")},pageSizeOptions:["10","20"],onChange:ie.onPageNumChange,onShowSizeChange:ie.onPageSizeChange,"show-size-changer":"","show-quick-jumper":"",style:{"text-align":"center"}},null,8,["current","pageSize","total","show-total","onChange","onShowSizeChange"])])),[[Ce,ie.isLoading]])]})),_:1}),Object(a["p"])(ge,{span:10,class:"imgBox1"},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",v,[ie.featureList.length>0?(Object(a["J"])(),Object(a["l"])("p",h,[Object(a["p"])(de,{type:"primary",style:{float:"right"},onClick:t[13]||(t[13]=function(e){return ie.fullScreen("imgBox1_top1")})},{default:Object(a["ib"])((function(){return[y]})),_:1}),Object(a["m"])("span",null,Object(a["W"])(ie.featureList[0].person_unid),1),Object(a["m"])("span",w,"共"+Object(a["W"])(ie.featureList.length)+"张",1)])):Object(a["k"])("",!0),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(fe,{class:"imgBox1_top",gutter:10},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:6,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,C),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,k),Object(a["m"])("span",{class:"el-icon-delete delete",onClick:function(t){return ie.deleteImage(e,t)}},null,8,x),Object(a["m"])("p",z,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.featureList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})),[[Ce,ie.isLoadingFeature]])]),Object(a["m"])("div",S,[Object(a["m"])("div",F,[ie.comparisonList.length>0?(Object(a["J"])(),Object(a["l"])("p",T,[Object(a["m"])("span",null,Object(a["W"])(ie.comparisonList[0].person_unid),1),Object(a["m"])("span",L,"共"+Object(a["W"])(ie.comparisonList.length)+"张",1)])):Object(a["k"])("",!0),I,Object(a["p"])(ve,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:ie.threshold,"onUpdate:modelValue":t[14]||(t[14]=function(e){return ie.threshold=e})},null,8,["modelValue"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparison},{default:Object(a["ib"])((function(){return[q]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparisonFeature},{default:Object(a["ib"])((function(){return[U]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:t[15]||(t[15]=function(e){return ie.fullScreen("imgBox2_top")})},{default:Object(a["ib"])((function(){return[J]})),_:1})]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(fe,{gutter:10,class:"imgBox2"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.comparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:6,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,D),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,V),ie.boxObj.person_unid!=e.person_unid?(Object(a["J"])(),Object(a["l"])("span",{key:0,class:"el-icon-plus add",onClick:function(t){return ie.addImage(e,t)}},null,8,N)):Object(a["k"])("",!0),Object(a["m"])("p",P,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.comparisonList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})),[[Ce,ie.isLoadingComparison]])])]})),_:1})]})),_:1}),ie.centerDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:0,modelValue:ie.centerDialogVisible,"onUpdate:modelValue":t[17]||(t[17]=function(e){return ie.centerDialogVisible=e}),title:"body1"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",W,[Object(a["p"])(ye,{onClick:t[16]||(t[16]=function(e){return ie.centerDialogVisible=!1})},{default:Object(a["ib"])((function(){return[B]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:ie.otherPictureUrl,fit:"contain",class:"single-image"},null,8,["src"])]})),_:1},8,["modelValue"])):Object(a["k"])("",!0),ie.featureDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:1,modelValue:ie.featureDialogVisible,"onUpdate:modelValue":t[19]||(t[19]=function(e){return ie.featureDialogVisible=e}),"custom-class":"imgDialog",title:"特征比对",width:"90%",top:"50px"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",R,[Object(a["p"])(ye,{onClick:t[18]||(t[18]=function(e){return ie.featureDialogVisible=!1})},{default:Object(a["ib"])((function(){return[A]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["p"])(fe,{class:"featureBox",gutter:10},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,E),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,Y),Object(a["m"])("span",{class:"el-icon-delete delete",onClick:function(t){return ie.deleteImage(e,t)}},null,8,G),Object(a["m"])("p",M,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.featureList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1},8,["modelValue"])):Object(a["k"])("",!0),ie.refeatureDialogVisible?(Object(a["J"])(),Object(a["j"])(we,{key:2,modelValue:ie.refeatureDialogVisible,"onUpdate:modelValue":t[22]||(t[22]=function(e){return ie.refeatureDialogVisible=e}),"custom-class":"imgDialog",title:"特征比对",width:"90%",top:"50px"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",ne,[Object(a["p"])(ye,{onClick:t[21]||(t[21]=function(e){return ie.refeatureDialogVisible=!1})},{default:Object(a["ib"])((function(){return[ae]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["m"])("div",Q,[H,Object(a["p"])(ve,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:ie.threshold,"onUpdate:modelValue":t[20]||(t[20]=function(e){return ie.threshold=e})},null,8,["modelValue"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparison},{default:Object(a["ib"])((function(){return[Z]})),_:1},8,["onClick"]),Object(a["p"])(de,{type:"primary",onClick:ie.reComparisonFeature},{default:Object(a["ib"])((function(){return[K]})),_:1},8,["onClick"])]),Object(a["p"])(fe,{gutter:10,class:"featureBox"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(ie.comparisonList,(function(e){return Object(a["J"])(),Object(a["j"])(je,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(Oe,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return ie.downloadFile(e,t)}},null,8,X),Object(a["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return ie.openImage(e,t)}},null,8,$),ie.boxObj.person_unid!=e.person_unid?(Object(a["J"])(),Object(a["l"])("span",{key:0,class:"el-icon-plus add",onClick:function(t){return ie.addImage(e,t)}},null,8,ee)):Object(a["k"])("",!0),Object(a["m"])("p",te,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"方向:"+Object(a["W"])(ie.formatDirection(e.direction)),1),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==ie.comparisonList.length?(Object(a["J"])(),Object(a["j"])(_e,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]})),_:1},8,["modelValue"])):Object(a["k"])("",!0)],64)}var ce=n("b85c"),ue=(n("d3b7"),n("25f0"),n("b0c0"),n("159b"),n("ac1f"),n("1276"),n("a434"),n("4df8")),oe=n("6d28"),le=n("f944"),re=n("c1df"),be=n.n(re),se=n("c68b"),de=n("3fd4"),pe={setup:function(){var e=Object(a["O"])(1),t=Object(a["O"])(10),n=Object(a["O"])(),i=Object(a["O"])(!1),c=Object(a["O"])(!1),u=Object(a["O"])(!1),o=Object(a["O"])(!1),l=Object(a["O"])(),r=Object(a["O"])([]),b=Object(a["O"])([]),s=Object(a["O"])([]),d=Object(a["O"])([]),p=Object(a["O"])([]),O=Object(a["O"])([]),j=Object(a["O"])([]),f=Object(a["O"])({}),m=Object(a["O"])(),g=Object(a["O"])(!1),_=Object(a["O"])(75),v=Object(a["h"])((function(){return Object(se["d"])(r.value,10)})),h=Object(a["N"])({account_id:[],plaza_id:[],zone_id:[],gate_id:[],type:0,direction:[1,-1,0],picType:2,personType:[1,0],date:be()(be()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:be()("00:00:00","HH:mm:ss"),endTime:be()("23:59:59","HH:mm:ss")}),y=Object(a["O"])({});window.localStorage.getItem("searchCondition")&&(y.value=JSON.parse(window.localStorage.getItem("searchCondition")),h.type=y.value.type,h.zone_id=y.value.zone_id,h.gate_id=y.value.gate_id,h.direction=y.value.direction,h.picType=y.value.picType,h.date=y.value.date,h.startTime=y.value.startTime,h.endTime=y.value.endTime);var w=function(t){e.value=t,q()},C=function(n,a){e.value=1,t.value=a,q()},k=function(){S(1)},x=function(){F(1),T(1)},z=function(){T()},S=function(e){h.plaza_id=[],s.value=[],ue["a"].getPlazaList({account_id:h.account_id.toString()}).then((function(t){if(Object(le["a"])(t)){var n,a=Object(ce["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;s.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}s.value.length>0&&(!e&&y.value.plaza_id&&y.value.plaza_id.length>0?h.plaza_id=y.value.plaza_id:h.plaza_id.push(s.value[0].value),F(1),T(1),q())}}))},F=function(e){h.zone_id=[],d.value=[],ue["a"].getZoneList({account_id:h.account_id.toString(),plaza_id:h.plaza_id.toString()}).then((function(t){if(Object(le["a"])(t)){var n,a=Object(ce["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;d.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}d.value.length&&e&&y.value.zone_id&&y.value.zone_id.length>0?h.zone_id=y.value.zone_id:h.zone_id=[]}}))},T=function(e){h.gate_id=[],p.value=[],ue["a"].getGateList({account_id:h.account_id.toString(),plaza_id:h.plaza_id.toString(),zone_id:h.zone_id.toString(),type:h.type}).then((function(t){if(Object(le["a"])(t.data)){var n,a=Object(ce["a"])(t.data);try{for(a.s();!(n=a.n()).done;){var i=n.value;p.value.push({value:i.id,label:i.name})}}catch(c){a.e(c)}finally{a.f()}p.value.length&&e&&y.value.gate_id&&y.value.gate_id.length>0?h.gate_id=y.value.gate_id:h.gate_id=[]}}))},L=function(){h.account_id=[],b.value=[],ue["a"].getAccountList().then((function(e){if(Object(le["a"])(e)){var t,n=Object(ce["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;b.value.push({value:a.id,label:a.name})}}catch(i){n.e(i)}finally{n.f()}b.value.length&&(y.value.account_id&&y.value.account_id.length>0?h.account_id=y.value.account_id:h.account_id.push(b.value[0].value),S())}}))},I=function(){e.value=1,q()},q=function(){i.value=!0;var c=Object(a["Y"])(h);console.log(c);var u=Object(se["a"])({account_id:c.account_id.toString(),type:c.type,plaza_id:c.plaza_id.toString(),zone_id:c.zone_id.toString(),gate_id:c.gate_id.toString(),direction:c.direction.toString(),picType:c.picType,personType:c.personType.toString(),startTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.startTime),endTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.endTime),page:e.value-1,pageSize:t.value}),o=Object(se["a"])({account_id:c.account_id,type:c.type,plaza_id:c.plaza_id,zone_id:c.zone_id,gate_id:c.gate_id,direction:c.direction,picType:c.picType,personType:c.personType,date:c.date,startTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.startTime),endTime:Object(se["b"])(c.date)+" "+Object(se["c"])(c.endTime)});window.localStorage.setItem("searchCondition",JSON.stringify(o)),ue["a"].getSnapshotRecordList(u).then((function(e){i.value=!1,e.data.persons.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),r.value=e.data.persons,n.value=e.data.pageNum}))},U=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},J=function(){L()},D=function(e){g.value=!0,m.value=e.id;var t=Object(a["Y"])(h),n={person_unid:e.person_unid,pic_type:t.picType,countdate:Object(se["b"])(t.date),pic_id:e.id,ip:window._baseImgUrl};f.value=e,O.value=[],j.value=[],oe["a"].getPersonContrastList(n).then((function(e){g.value=!1,e.data&&Object(le["a"])(e.data.personList)&&(e.data.personList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),O.value=e.data.personList)}))},V=Object(a["O"])(!1),N=function(){var e=Object(a["Y"])(h);if(f.value.id){V.value=!0;var t={plaza_id:f.value.mall_id,pic_type:e.picType,countdate:Object(se["b"])(e.date),pic_id:f.value.id,ip:window._baseImgUrl,customScore:_.value?_.value:75};j.value=[],oe["a"].getAllPersonContrastList(t).then((function(e){V.value=!1,Object(le["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),j.value=e.data)}))}else Object(de["a"])({message:"请选择左侧列表",type:"warning"})},P=function(){var e=Object(a["Y"])(h);if(f.value.id){V.value=!0;var t={plaza_id:f.value.mall_id,pic_type:e.picType,countdate:Object(se["b"])(e.date),pic_id:f.value.id,ip:window._baseImgUrl};j.value=[],oe["a"].getNewPersonContrastList(t).then((function(e){V.value=!1,Object(le["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),j.value=e.data)}))}else Object(de["a"])({message:"请选择左侧列表",type:"warning"})},W=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):Object(de["a"])({message:"该图片没有特征",type:"warning"})},B=function(e,t){if(t.stopPropagation(),e.features_url){c.value=!0;var n=e.picture_url;l.value=n.split("0.jpg")[0]+"1.jpg"}else Object(de["a"])({message:"该图片没有特征",type:"warning"})},E=function(e,t){t.stopPropagation(),oe["a"].updateImage({personUnid:e.unid,id:e.id,unid:e.unid,countdate:e.counttime?e.counttime:""}).then((function(t){200==t.msg_code&&(Object(de["a"])({message:"删除成功",type:"success"}),O.value.forEach((function(t,n){t.unid==e.unid&&O.value.splice(n,1)})))}))},Y=function(e,t){t.stopPropagation(),oe["a"].updateImage({personUnid:f.value.person_unid,id:e.id,unid:e.unid,countdate:e.counttime?e.counttime:""}).then((function(t){200==t.msg_code&&(Object(de["a"])({message:"增加成功",type:"success"}),j.value.forEach((function(t){t.unid==e.unid&&(t.person_unid=f.value.person_unid)})))}))};J();var G=function(e){"imgBox2_top"==e?o.value=!0:u.value=!0};return{isLoading:i,pageNum:e,pageSize:t,total:n,isLoadingFeature:g,isLoadingComparison:V,currentItemId:m,centerDialogVisible:c,otherPictureUrl:l,featureDialogVisible:u,refeatureDialogVisible:o,accountList:b,plazaList:s,zoneList:d,gateList:p,pagedTableDataList:v,featureList:O,comparisonList:j,boxObj:f,threshold:_,queryForm:h,onPageNumChange:w,onPageSizeChange:C,onAccountChange:k,onPlazaChange:x,onZoneChange:z,confirmSearch:q,formatDirection:U,chooseItem:D,reComparison:N,reComparisonFeature:P,downloadFile:W,openImage:B,deleteImage:E,addImage:Y,fullScreen:G,clickSearch:I}}},Oe=(n("525f"),n("d959")),je=n.n(Oe);const fe=je()(pe,[["render",ie],["__scopeId","data-v-bbefa454"]]);t["default"]=fe},b680:function(e,t,n){"use strict";var a=n("23e7"),i=n("a691"),c=n("408a"),u=n("1148"),o=n("d039"),l=1..toFixed,r=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},s=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var a=-1,i=n;while(++a<6)i+=t*e[a],e[a]=i%1e7,i=r(i/1e7)},p=function(e,t){var n=6,a=0;while(--n>=0)a+=e[n],e[n]=r(a/t),a=a%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var a=String(e[t]);n=""===n?a:n+u.call("0",7-a.length)+a}return n},j=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){l.call({})}));a({target:"Number",proto:!0,forced:j},{toFixed:function(e){var t,n,a,o,l=c(this),r=i(e),j=[0,0,0,0,0,0],f="",m="0";if(r<0||r>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(f="-",l=-l),l>1e-21)if(t=s(l*b(2,69,1))-69,n=t<0?l*b(2,-t,1):l/b(2,t,1),n*=4503599627370496,t=52-t,t>0){d(j,0,n),a=r;while(a>=7)d(j,1e7,0),a-=7;d(j,b(10,a,1),0),a=t-1;while(a>=23)p(j,1<<23),a-=23;p(j,1<<a),d(j,1,1),p(j,2),m=O(j)}else d(j,0,n),d(j,1<<-t,0),m=O(j)+u.call("0",r);return r>0?(o=m.length,m=f+(o<=r?"0."+u.call("0",r-o)+m:m.slice(0,o-r)+"."+m.slice(o-r))):m=f+m,m}})},ea7f:function(e,t,n){}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d3f07e9"],{1148:function(e,t,n){"use strict";var a=n("a691"),c=n("1d80");e.exports=function(e){var t=String(c(this)),n="",u=a(e);if(u<0||u==1/0)throw RangeError("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(t+=t))1&u&&(n+=t);return n}},2175:function(e,t,n){},3981:function(e,t,n){"use strict";n("2175")},"408a":function(e,t,n){var a=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),u=n("672a"),r=n("c68b"),i=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return u["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return u["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return u["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"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(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return u["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new i;t["a"]=o},"813f":function(e,t,n){},b680:function(e,t,n){"use strict";var a=n("23e7"),c=n("a691"),u=n("408a"),r=n("1148"),i=n("d039"),o=1..toFixed,l=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},s=function(e,t,n){var a=-1,c=n;while(++a<6)c+=t*e[a],e[a]=c%1e7,c=l(c/1e7)},f=function(e,t){var n=6,a=0;while(--n>=0)a+=e[n],e[n]=l(a/t),a=a%t*1e7},p=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var a=String(e[t]);n=""===n?a:n+r.call("0",7-a.length)+a}return n},O=o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i((function(){o.call({})}));a({target:"Number",proto:!0,forced:O},{toFixed:function(e){var t,n,a,i,o=u(this),l=c(e),O=[0,0,0,0,0,0],j="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(j="-",o=-o),o>1e-21)if(t=d(o*b(2,69,1))-69,n=t<0?o*b(2,-t,1):o/b(2,t,1),n*=4503599627370496,t=52-t,t>0){s(O,0,n),a=l;while(a>=7)s(O,1e7,0),a-=7;s(O,b(10,a,1),0),a=t-1;while(a>=23)f(O,1<<23),a-=23;f(O,1<<a),s(O,1,1),f(O,2),m=p(O)}else s(O,0,n),s(O,1<<-t,0),m=p(O)+r.call("0",l);return l>0?(i=m.length,m=j+(i<=l?"0."+r.call("0",l-i)+m:m.slice(0,i-l)+"."+m.slice(i-l))):m=j+m,m}})},b93f:function(e,t,n){"use strict";var a=n("7a23"),c=function(e){return Object(a["M"])("data-v-31a12a94"),e=e(),Object(a["K"])(),e},u={class:"result-wrapper"},r=c((function(){return Object(a["m"])("div",{class:"result-header"},"结果展示",-1)})),i={class:"scrollbar-wrapper"},o={class:"result-item"},l={class:"result-page"},b=Object(a["o"])(" 执行进度 : "),d={class:"pagination-page"};function s(e,t,n,c,s,f){var p=Object(a["S"])("el-col"),O=Object(a["S"])("el-progress"),j=Object(a["S"])("el-row");return Object(a["J"])(),Object(a["l"])("div",u,[r,Object(a["m"])("div",i,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.resultList,(function(e){return Object(a["J"])(),Object(a["l"])("div",o,[Object(a["m"])("div",l,[Object(a["m"])("span",null,"总处理条数 : "+Object(a["W"])(e.totalNum)+"条",1)]),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{"text-inside":!0,"stroke-width":26,percentage:null===e||void 0===e?void 0:e.progress},null,8,["percentage"])]})),_:2},1024)]})),_:2},1024),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["m"])("span",null,"第"+Object(a["W"])(e.current)+"条/共"+Object(a["W"])(e.curPageSize)+"条",1),Object(a["m"])("span",d,"第"+Object(a["W"])(e.currentPage)+"页/共"+Object(a["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var n=e.data;return{resultList:n}}},p=(n("3981"),n("d959")),O=n.n(p);const j=O()(f,[["render",s],["__scopeId","data-v-31a12a94"]]);t["a"]=j},bafa:function(e,t,n){"use strict";n("813f")},d986:function(e,t,n){"use strict";n.r(t);n("b680");var a=n("7a23"),c=Object(a["o"])("半身照"),u=Object(a["o"])("全身照"),r=Object(a["o"])(" 选择文件 "),i=Object(a["o"])("搜索"),o={class:"itemBox"},l={class:"featureNum"};function b(e,t,n,b,d,s){var f=Object(a["S"])("a-select"),p=Object(a["S"])("a-form-item"),O=Object(a["S"])("a-select-option"),j=Object(a["S"])("el-input-number"),m=Object(a["S"])("a-date-picker"),v=Object(a["S"])("upload-outlined"),g=Object(a["S"])("a-button"),h=Object(a["S"])("a-upload"),y=Object(a["S"])("a-form"),_=Object(a["S"])("el-image"),w=Object(a["S"])("el-col"),F=Object(a["S"])("el-row"),S=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(y,{model:b.queryForm,layout:"inline"},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return b.queryForm.account_id=e}),style:{width:"280px"},onChange:b.onAccountChange,options:b.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(p,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return b.queryForm.plaza_id=e}),style:{width:"280px"},options:b.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(p,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.picType,"onUpdate:value":t[2]||(t[2]=function(e){return b.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{value:"1"},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(O,{value:"2"},{default:Object(a["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(p,{label:"分数:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:b.queryForm.customScore,"onUpdate:modelValue":t[3]||(t[3]=function(e){return b.queryForm.customScore=e})},null,8,["modelValue"])]})),_:1}),Object(a["p"])(p,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(m,{value:b.queryForm.countdate,"onUpdate:value":t[4]||(t[4]=function(e){return b.queryForm.countdate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(p,{label:"选择文件:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(h,{"file-list":b.fileList,"before-upload":b.beforeUpload,multiple:!1,onRemove:b.handleRemove,action:""},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(v),r]})),_:1})]})),_:1},8,["file-list","before-upload","onRemove"]),Object(a["o"])(" "+Object(a["W"])(b.fileName),1)]})),_:1}),Object(a["p"])(p,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:b.queryData},{default:Object(a["ib"])((function(){return[i]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[Object(a["m"])("div",{class:"resultContent",style:Object(a["A"])({height:e.contentHeight+"px"})},[Object(a["p"])(F,{gutter:20},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(b.resultList,(function(e){return Object(a["J"])(),Object(a["j"])(w,{span:3},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",o,[Object(a["m"])("div",null,Object(a["W"])(e.id),1),Object(a["p"])(_,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("p",l,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1)])]})),_:2},1024)})),256))]})),_:1})],4)])),[[S,b.isLoading]])],64)}var d=n("b85c"),s=(n("b0c0"),n("fb6a"),n("a434"),n("d3b7"),n("25f0"),n("159b"),n("3fd4")),f=n("c1df"),p=n.n(f),O=n("4df8"),j=n("f944"),m=(n("c68b"),n("d4ec")),v=n("bee2"),g=n("672a"),h=function(){function e(){Object(m["a"])(this,e)}return Object(v["a"])(e,[{key:"getFindByFeature",value:function(e){return g["a"].request({method:"POST",url:"/feature/findByFeature",data:e})}}]),e}(),y=new h,_=y,w=n("b93f"),F={components:{ResultDisplay:w["a"]},setup:function(){var e=Object(a["O"])([]),t=Object(a["O"])([]),n=Object(a["O"])([]),c=Object(a["O"])(!1),u=Object(a["N"])({account_id:[],plaza_id:[],picType:"1",countdate:p()(p()().format("YYYY-MM-DD"),"YYYY-MM-DD"),customScore:75,feature:""}),r=[],i=Object(a["O"])(""),o=function(e){return i.value=e.name,r.value=e,!1},l=function(e){var t=r.value.indexOf(e),n=r.value.slice();n.splice(t,1),r.value=n},b=function(){f()},f=function(){u.plaza_id=[],n.value=[],O["a"].getPlazaList({account_id:u.account_id.toString()}).then((function(e){if(Object(j["a"])(e)){var t,a=Object(d["a"])(e);try{for(a.s();!(t=a.n()).done;){var c=t.value;n.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},m=function(){u.account_id=[],t.value=[],O["a"].getAccountList().then((function(e){if(Object(j["a"])(e)){var n,a=Object(d["a"])(e);try{for(a.s();!(n=a.n()).done;){var c=n.value;t.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},v=function(){var t=Object(a["Y"])(u);c.value=!0;var n=new FormData;n.append("featureFile",r.value),n.append("plaza_id",t.plaza_id),n.append("pic_type",t.picType),n.append("countdate",p()(t.countdate).format("YYYY-MM-DD")),n.append("ip",window._baseImgUrl),n.append("customScore",t.customScore),_.getFindByFeature(n).then((function(t){200==t.msg_code?t.data&&t.data.length>0&&(t.data.forEach((function(e){e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),e.value=t.data):Object(s["a"])({message:t.msg_info,type:"warning"}),c.value=!1}))},g=function(){m()};return g(),{accountList:t,plazaList:n,resultList:e,fileList:r,queryForm:u,fileName:i,onAccountChange:b,queryData:v,beforeUpload:o,handleRemove:l,isLoading:c}}},S=(n("bafa"),n("d959")),x=n.n(S);const q=x()(F,[["render",b],["__scopeId","data-v-49f179a9"]]);t["default"]=q}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d3f07e9"],{1148:function(e,t,n){"use strict";var a=n("a691"),c=n("1d80");e.exports=function(e){var t=String(c(this)),n="",u=a(e);if(u<0||u==1/0)throw RangeError("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(t+=t))1&u&&(n+=t);return n}},2175:function(e,t,n){},3981:function(e,t,n){"use strict";n("2175")},"408a":function(e,t,n){var a=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=a(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),u=n("672a"),r=n("c68b"),i=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return u["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["a"])(e)})}},{key:"getAccountList",value:function(){return u["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return u["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return u["a"].request({method:"GET",url:"/zones/zoneList",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return u["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new i;t["a"]=o},"813f":function(e,t,n){},b680:function(e,t,n){"use strict";var a=n("23e7"),c=n("a691"),u=n("408a"),r=n("1148"),i=n("d039"),o=1..toFixed,l=Math.floor,b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},d=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},s=function(e,t,n){var a=-1,c=n;while(++a<6)c+=t*e[a],e[a]=c%1e7,c=l(c/1e7)},f=function(e,t){var n=6,a=0;while(--n>=0)a+=e[n],e[n]=l(a/t),a=a%t*1e7},p=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var a=String(e[t]);n=""===n?a:n+r.call("0",7-a.length)+a}return n},O=o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i((function(){o.call({})}));a({target:"Number",proto:!0,forced:O},{toFixed:function(e){var t,n,a,i,o=u(this),l=c(e),O=[0,0,0,0,0,0],j="",m="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(j="-",o=-o),o>1e-21)if(t=d(o*b(2,69,1))-69,n=t<0?o*b(2,-t,1):o/b(2,t,1),n*=4503599627370496,t=52-t,t>0){s(O,0,n),a=l;while(a>=7)s(O,1e7,0),a-=7;s(O,b(10,a,1),0),a=t-1;while(a>=23)f(O,1<<23),a-=23;f(O,1<<a),s(O,1,1),f(O,2),m=p(O)}else s(O,0,n),s(O,1<<-t,0),m=p(O)+r.call("0",l);return l>0?(i=m.length,m=j+(i<=l?"0."+r.call("0",l-i)+m:m.slice(0,i-l)+"."+m.slice(i-l))):m=j+m,m}})},b93f:function(e,t,n){"use strict";var a=n("7a23"),c=function(e){return Object(a["M"])("data-v-31a12a94"),e=e(),Object(a["K"])(),e},u={class:"result-wrapper"},r=c((function(){return Object(a["m"])("div",{class:"result-header"},"结果展示",-1)})),i={class:"scrollbar-wrapper"},o={class:"result-item"},l={class:"result-page"},b=Object(a["o"])(" 执行进度 : "),d={class:"pagination-page"};function s(e,t,n,c,s,f){var p=Object(a["S"])("el-col"),O=Object(a["S"])("el-progress"),j=Object(a["S"])("el-row");return Object(a["J"])(),Object(a["l"])("div",u,[r,Object(a["m"])("div",i,[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.resultList,(function(e){return Object(a["J"])(),Object(a["l"])("div",o,[Object(a["m"])("div",l,[Object(a["m"])("span",null,"总处理条数 : "+Object(a["W"])(e.totalNum)+"条",1)]),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2},{default:Object(a["ib"])((function(){return[b]})),_:1}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{"text-inside":!0,"stroke-width":26,percentage:null===e||void 0===e?void 0:e.progress},null,8,["percentage"])]})),_:2},1024)]})),_:2},1024),Object(a["p"])(j,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{span:2}),Object(a["p"])(p,{span:22},{default:Object(a["ib"])((function(){return[Object(a["m"])("span",null,"第"+Object(a["W"])(e.current)+"条/共"+Object(a["W"])(e.curPageSize)+"条",1),Object(a["m"])("span",d,"第"+Object(a["W"])(e.currentPage)+"页/共"+Object(a["W"])(e.totalPage)+"页",1)]})),_:2},1024)]})),_:2},1024)])})),256))])])}var f={props:{data:{type:Array,default:[]}},setup:function(e,t){t.emit;var n=e.data;return{resultList:n}}},p=(n("3981"),n("d959")),O=n.n(p);const j=O()(f,[["render",s],["__scopeId","data-v-31a12a94"]]);t["a"]=j},bafa:function(e,t,n){"use strict";n("813f")},d986:function(e,t,n){"use strict";n.r(t);n("b680");var a=n("7a23"),c=Object(a["o"])("半身照"),u=Object(a["o"])("全身照"),r=Object(a["o"])(" 选择文件 "),i=Object(a["o"])("搜索"),o={class:"itemBox"},l={class:"featureNum"};function b(e,t,n,b,d,s){var f=Object(a["S"])("a-select"),p=Object(a["S"])("a-form-item"),O=Object(a["S"])("a-select-option"),j=Object(a["S"])("el-input-number"),m=Object(a["S"])("a-date-picker"),v=Object(a["S"])("upload-outlined"),g=Object(a["S"])("a-button"),_=Object(a["S"])("a-upload"),h=Object(a["S"])("a-form"),y=Object(a["S"])("el-image"),w=Object(a["S"])("el-col"),F=Object(a["S"])("el-row"),S=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["p"])(h,{model:b.queryForm,layout:"inline"},{default:Object(a["ib"])((function(){return[Object(a["p"])(p,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return b.queryForm.account_id=e}),style:{width:"280px"},onChange:b.onAccountChange,options:b.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(p,{label:"广场:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return b.queryForm.plaza_id=e}),style:{width:"280px"},options:b.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(a["p"])(p,{label:"抓拍类型:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(f,{value:b.queryForm.picType,"onUpdate:value":t[2]||(t[2]=function(e){return b.queryForm.picType=e}),style:{width:"230px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{value:"1"},{default:Object(a["ib"])((function(){return[c]})),_:1}),Object(a["p"])(O,{value:"2"},{default:Object(a["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(a["p"])(p,{label:"分数:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(j,{class:"thresholdInput",size:"small",controls:!1,min:1,max:100,modelValue:b.queryForm.customScore,"onUpdate:modelValue":t[3]||(t[3]=function(e){return b.queryForm.customScore=e})},null,8,["modelValue"])]})),_:1}),Object(a["p"])(p,{label:"选择日期:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(m,{value:b.queryForm.countdate,"onUpdate:value":t[4]||(t[4]=function(e){return b.queryForm.countdate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(a["p"])(p,{label:"选择文件:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{"file-list":b.fileList,"before-upload":b.beforeUpload,multiple:!1,onRemove:b.handleRemove,action:""},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,null,{default:Object(a["ib"])((function(){return[Object(a["p"])(v),r]})),_:1})]})),_:1},8,["file-list","before-upload","onRemove"]),Object(a["o"])(" "+Object(a["W"])(b.fileName),1)]})),_:1}),Object(a["p"])(p,{style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{type:"primary",onClick:b.queryData},{default:Object(a["ib"])((function(){return[i]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["l"])("div",null,[Object(a["m"])("div",{class:"resultContent",style:Object(a["A"])({height:e.contentHeight+"px"})},[Object(a["p"])(F,{gutter:20},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(b.resultList,(function(e){return Object(a["J"])(),Object(a["j"])(w,{span:3},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",o,[Object(a["m"])("div",null,Object(a["W"])(e.id),1),Object(a["p"])(y,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("p",l,Object(a["W"])(e.featureNum?e.featureNum.toFixed(2):0),1)])]})),_:2},1024)})),256))]})),_:1})],4)])),[[S,b.isLoading]])],64)}var d=n("b85c"),s=(n("b0c0"),n("fb6a"),n("a434"),n("d3b7"),n("25f0"),n("159b"),n("3fd4")),f=n("c1df"),p=n.n(f),O=n("4df8"),j=n("f944"),m=(n("c68b"),n("d4ec")),v=n("bee2"),g=n("672a"),_=function(){function e(){Object(m["a"])(this,e)}return Object(v["a"])(e,[{key:"getFindByFeature",value:function(e){return g["a"].request({method:"POST",url:"/feature/findByFeature",data:e})}}]),e}(),h=new _,y=h,w=n("b93f"),F={components:{ResultDisplay:w["a"]},setup:function(){var e=Object(a["O"])([]),t=Object(a["O"])([]),n=Object(a["O"])([]),c=Object(a["O"])(!1),u=Object(a["N"])({account_id:[],plaza_id:[],picType:"1",countdate:p()(p()().format("YYYY-MM-DD"),"YYYY-MM-DD"),customScore:75,feature:""}),r=[],i=Object(a["O"])(""),o=function(e){return i.value=e.name,r.value=e,!1},l=function(e){var t=r.value.indexOf(e),n=r.value.slice();n.splice(t,1),r.value=n},b=function(){f()},f=function(){u.plaza_id=[],n.value=[],O["a"].getPlazaList({account_id:u.account_id.toString()}).then((function(e){if(Object(j["a"])(e)){var t,a=Object(d["a"])(e);try{for(a.s();!(t=a.n()).done;){var c=t.value;n.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},m=function(){u.account_id=[],t.value=[],O["a"].getAccountList().then((function(e){if(Object(j["a"])(e)){var n,a=Object(d["a"])(e);try{for(a.s();!(n=a.n()).done;){var c=n.value;t.value.push({value:c.id,label:c.name})}}catch(u){a.e(u)}finally{a.f()}}}))},v=function(){var t=Object(a["Y"])(u);c.value=!0;var n=new FormData;n.append("featureFile",r.value),n.append("plaza_id",t.plaza_id),n.append("pic_type",t.picType),n.append("countdate",p()(t.countdate).format("YYYY-MM-DD")),n.append("ip",window._baseImgUrl),n.append("customScore",t.customScore),y.getFindByFeature(n).then((function(t){200==t.msg_code?t.data&&t.data.length>0&&(t.data.forEach((function(e){e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)})),e.value=t.data):Object(s["a"])({message:t.msg_info,type:"warning"}),c.value=!1}))},g=function(){m()};return g(),{accountList:t,plazaList:n,resultList:e,fileList:r,queryForm:u,fileName:i,onAccountChange:b,queryData:v,beforeUpload:o,handleRemove:l,isLoading:c}}},S=(n("bafa"),n("d959")),x=n.n(S);const q=x()(F,[["render",b],["__scopeId","data-v-49f179a9"]]);t["default"]=q}}]);
\ No newline at end of file \ 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 \ 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 \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6236aa01"],{1058:function(e,t,n){"use strict";n("a505")},1148:function(e,t,n){"use strict";var i=n("a691"),a=n("1d80");e.exports=function(e){var t=String(a(this)),n="",c=i(e);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(t+=t))1&c&&(n+=t);return n}},"19e3":function(e,t,n){"use strict";n("b0c0"),n("b680");var i=n("7a23"),a={style:{margin:"0 5px"},class:"itemBox"},c={style:{margin:"0 5px"},class:"itemBox"},r=["onClick"],u=["onClick"],o={class:"featureNum"},l=Object(i["o"])("返回");function s(e,t,n,s,b,d){var f=Object(i["S"])("el-image"),O=Object(i["S"])("a-col"),j=Object(i["S"])("a-row"),m=Object(i["S"])("a-button"),g=Object(i["S"])("a-modal"),p=Object(i["S"])("imgDialog"),v=Object(i["S"])("imgOtherDialog"),h=Object(i["T"])("loading");return Object(i["J"])(),Object(i["l"])(i["b"],null,[Object(i["p"])(g,{title:"店员特征对比",visible:s.isVisible,"onUpdate:visible":t[2]||(t[2]=function(e){return s.isVisible=e}),width:"1500px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(m,{onClick:s.onCancel},{default:Object(i["ib"])((function(){return[l]})),_:1},8,["onClick"])]})),default:Object(i["ib"])((function(){return[Object(i["jb"])((Object(i["J"])(),Object(i["l"])("div",null,[Object(i["p"])(j,{gutter:[16,16]},{default:Object(i["ib"])((function(){return[Object(i["p"])(O,{span:4},{default:Object(i["ib"])((function(){return[Object(i["m"])("div",a,[Object(i["p"])(f,{src:s.detailData.picture_url,fit:"fill",class:"single-image",onClick:t[0]||(t[0]=function(e){return s.clickItem(s.detailData)})},null,8,["src"]),Object(i["m"])("span",{class:"el-icon-document downloadFile",onClick:t[1]||(t[1]=function(e){return s.downloadFile(s.detailData,e)})}),Object(i["m"])("div",null,"时间:"+Object(i["W"])(s.detailData.counttime),1),Object(i["m"])("div",{class:Object(i["z"])(["direction","direction"+s.detailData.direction])},"方向:"+Object(i["W"])(s.formatDirection(s.detailData.direction)),3),Object(i["m"])("div",null,"地点:"+Object(i["W"])(s.detailData.gate_name),1)])]})),_:1}),Object(i["p"])(O,{span:20},{default:Object(i["ib"])((function(){return[(Object(i["J"])(!0),Object(i["l"])(i["b"],null,Object(i["Q"])(s.dataList,(function(e,t){return Object(i["J"])(),Object(i["l"])("div",{key:t,class:"rowBox"},[Object(i["m"])("p",null,Object(i["W"])(e.name)+" "+Object(i["W"])(e.shopname),1),Object(i["p"])(j,null,{default:Object(i["ib"])((function(){return[(Object(i["J"])(!0),Object(i["l"])(i["b"],null,Object(i["Q"])(e.personList,(function(e){return Object(i["J"])(),Object(i["j"])(O,{span:4,key:e.id,class:"colItem"},{default:Object(i["ib"])((function(){return[Object(i["m"])("div",c,[Object(i["p"])(f,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return s.clickItem(e)}},null,8,["src","onClick"]),Object(i["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return s.openImage(e,t)}},null,8,r),Object(i["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return s.downloadFile(e,t)}},null,8,u),Object(i["m"])("p",o,Object(i["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(i["m"])("div",null,"时间:"+Object(i["W"])(e.counttime),1)])]})),_:2},1024)})),128))]})),_:2},1024)])})),128))]})),_:1})]})),_:1})])),[[h,s.isLoading]])]})),_:1},8,["visible"]),Object(i["p"])(p,{ref:"imgModelRef"},null,512),Object(i["p"])(v,{ref:"imgOtherDialogRef"},null,512)],64)}n("159b"),n("ac1f"),n("1276");var b=n("f944"),d=n("6e63"),f=n("6efa"),O=n("5c11"),j=n("3cad"),m={components:{imgDialog:O["a"],imgOtherDialog:j["a"]},setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(!1),n=Object(i["O"])({}),a=Object(i["O"])(),c=Object(i["O"])(),r=Object(i["O"])([]),u=function(i,a){n.value=i,e.value=!0,r.value=[],t.value=!0,d["a"].getStaffContrastList(a).then((function(e){t.value=!1,Object(b["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.personList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)}))})),r.value=e.data)}))},o=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},l=function(e){f["a"].getBodyPoint({feature_url:e.features_url}).then((function(t){a.value.initDialog(e.picture_url,t.data)}))},s=function(){e.value=!1},O=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):ElMessage({message:"该图片没有特征",type:"warning"})},j=function(e,t){if(t.stopPropagation(),e.features_url){var n=e.picture_url;c.value.initDialog(n.split("0.jpg")[0]+"1.jpg")}else ElMessage({message:"该图片没有特征",type:"warning"})};return{isVisible:e,detailData:n,onCancel:s,dataList:r,initDialog:u,isLoading:t,formatDirection:o,downloadFile:O,clickItem:l,imgModelRef:a,imgOtherDialogRef:c,openImage:j}}},g=(n("4017"),n("d959")),p=n.n(g);const v=p()(m,[["render",s],["__scopeId","data-v-541ec4d6"]]);t["a"]=v},"3cad":function(e,t,n){"use strict";var i=n("7a23"),a={style:{width:"100%","text-align":"center"}},c=Object(i["o"])("返回");function r(e,t,n,r,u,o){var l=Object(i["S"])("el-image"),s=Object(i["S"])("a-button"),b=Object(i["S"])("a-modal");return r.isVisible?(Object(i["J"])(),Object(i["j"])(b,{key:0,title:"body1",visible:r.isVisible,"onUpdate:visible":t[1]||(t[1]=function(e){return r.isVisible=e}),width:"1200px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(s,{onClick:t[0]||(t[0]=function(e){return r.isVisible=!1})},{default:Object(i["ib"])((function(){return[c]})),_:1})]})),default:Object(i["ib"])((function(){return[Object(i["m"])("div",a,[Object(i["p"])(l,{src:r.imgUrl,fit:"contain",class:"single-image"},null,8,["src"])])]})),_:1},8,["visible"])):Object(i["k"])("",!0)}var u={setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(),n=function(n){t.value=n,e.value=!0};return{isVisible:e,initDialog:n,imgUrl:t}}},o=n("d959"),l=n.n(o);const s=l()(u,[["render",r]]);t["a"]=s},4017:function(e,t,n){"use strict";n("7db9")},"408a":function(e,t,n){var i=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=i(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["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 u;t["a"]=o},"5c11":function(e,t,n){"use strict";var i=n("7a23"),a=function(e){return Object(i["M"])("data-v-1ba71689"),e=e(),Object(i["K"])(),e},c=a((function(){return Object(i["m"])("canvas",{id:"myCanvas"},null,-1)})),r=["src"],u=Object(i["o"])("返回");function o(e,t,n,a,o,l){var s=Object(i["S"])("a-button"),b=Object(i["S"])("a-modal");return a.isVisible?(Object(i["J"])(),Object(i["j"])(b,{key:0,title:"图片",visible:a.isVisible,"onUpdate:visible":t[0]||(t[0]=function(e){return a.isVisible=e}),width:"1200px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(s,{onClick:a.onCancel},{default:Object(i["ib"])((function(){return[u]})),_:1},8,["onClick"])]})),default:Object(i["ib"])((function(){return[c,Object(i["m"])("img",{src:a.imgUrl,alt:"",id:"img"},null,8,r)]})),_:1},8,["visible"])):Object(i["k"])("",!0)}var l={setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(!1),n=Object(i["O"])({}),a=Object(i["O"])(),c=Object(i["O"])(),r=Object(i["O"])(),u=function(t,n){a.value=t,e.value=!0,setTimeout((function(){var e=document.getElementById("img"),t=e.offsetHeight,i=e.offsetWidth;c.value=document.getElementById("myCanvas"),c.value.height=t,c.value.width=i,r.value=c.value.getContext("2d"),r.value.drawImage(e,0,0,i,t),r.value.beginPath(),r.value.lineWidth=3,r.value.strokeStyle="red",r.value.moveTo(n.head_x_inSmall,n.head_y_inSmall),r.value.lineTo(n.foot_x_inSmall,n.foot_y_inSmall),r.value.stroke()}),0)},o=function(){c.value="",e.value=!1};return{isVisible:e,onCancel:o,initDialog:u,isLoading:t,imgUrl:a,detailData:n}}},s=(n("1058"),n("d959")),b=n.n(s);const d=b()(l,[["render",o],["__scopeId","data-v-1ba71689"]]);t["a"]=d},"6e63":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["a"])(e,[{key:"getPersonGroupList",value:function(e){return c["a"].request({method:"GET",url:"/feature/personGroup",params:Object(r["a"])(e)})}},{key:"getPersonsDetailList",value:function(e){return c["a"].request({method:"GET",url:"/feature/persons",params:Object(r["a"])(e)})}},{key:"getStaffContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/staffContrast",params:Object(r["a"])(e)})}},{key:"getPersonContrastList",value:function(e){return c["a"].request({method:"POST",url:"/feature/personContrast",data:Object(r["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"6efa":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["a"])(e,[{key:"getClusterResultList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecordGroup",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})})}},{key:"getBodyPoint",value:function(e){return c["a"].request({method:"GET",url:"/feature/bodyPoint",params:Object(r["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"7db9":function(e,t,n){},a505:function(e,t,n){},b680:function(e,t,n){"use strict";var i=n("23e7"),a=n("a691"),c=n("408a"),r=n("1148"),u=n("d039"),o=1..toFixed,l=Math.floor,s=function(e,t,n){return 0===t?n:t%2===1?s(e,t-1,n*e):s(e*e,t/2,n)},b=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var i=-1,a=n;while(++i<6)a+=t*e[i],e[i]=a%1e7,a=l(a/1e7)},f=function(e,t){var n=6,i=0;while(--n>=0)i+=e[n],e[n]=l(i/t),i=i%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var i=String(e[t]);n=""===n?i:n+r.call("0",7-i.length)+i}return n},j=o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){o.call({})}));i({target:"Number",proto:!0,forced:j},{toFixed:function(e){var t,n,i,u,o=c(this),l=a(e),j=[0,0,0,0,0,0],m="",g="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(m="-",o=-o),o>1e-21)if(t=b(o*s(2,69,1))-69,n=t<0?o*s(2,-t,1):o/s(2,t,1),n*=4503599627370496,t=52-t,t>0){d(j,0,n),i=l;while(i>=7)d(j,1e7,0),i-=7;d(j,s(10,i,1),0),i=t-1;while(i>=23)f(j,1<<23),i-=23;f(j,1<<i),d(j,1,1),f(j,2),g=O(j)}else d(j,0,n),d(j,1<<-t,0),g=O(j)+r.call("0",l);return l>0?(u=g.length,g=m+(u<=l?"0."+r.call("0",l-u)+g:g.slice(0,u-l)+"."+g.slice(u-l))):g=m+g,g}})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6236aa01"],{1058:function(e,t,n){"use strict";n("a505")},1148:function(e,t,n){"use strict";var i=n("a691"),a=n("1d80");e.exports=function(e){var t=String(a(this)),n="",c=i(e);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(t+=t))1&c&&(n+=t);return n}},"19e3":function(e,t,n){"use strict";n("b0c0"),n("b680");var i=n("7a23"),a={style:{margin:"0 5px"},class:"itemBox"},c={style:{margin:"0 5px"},class:"itemBox"},r=["onClick"],u=["onClick"],o={class:"featureNum"},l=Object(i["o"])("返回");function s(e,t,n,s,b,d){var f=Object(i["S"])("el-image"),O=Object(i["S"])("a-col"),j=Object(i["S"])("a-row"),m=Object(i["S"])("a-button"),g=Object(i["S"])("a-modal"),p=Object(i["S"])("imgDialog"),v=Object(i["S"])("imgOtherDialog"),h=Object(i["T"])("loading");return Object(i["J"])(),Object(i["l"])(i["b"],null,[Object(i["p"])(g,{title:"店员特征对比",visible:s.isVisible,"onUpdate:visible":t[2]||(t[2]=function(e){return s.isVisible=e}),width:"1500px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(m,{onClick:s.onCancel},{default:Object(i["ib"])((function(){return[l]})),_:1},8,["onClick"])]})),default:Object(i["ib"])((function(){return[Object(i["jb"])((Object(i["J"])(),Object(i["l"])("div",null,[Object(i["p"])(j,{gutter:[16,16]},{default:Object(i["ib"])((function(){return[Object(i["p"])(O,{span:4},{default:Object(i["ib"])((function(){return[Object(i["m"])("div",a,[Object(i["p"])(f,{src:s.detailData.picture_url,fit:"fill",class:"single-image",onClick:t[0]||(t[0]=function(e){return s.clickItem(s.detailData)})},null,8,["src"]),Object(i["m"])("span",{class:"el-icon-document downloadFile",onClick:t[1]||(t[1]=function(e){return s.downloadFile(s.detailData,e)})}),Object(i["m"])("div",null,"时间:"+Object(i["W"])(s.detailData.counttime),1),Object(i["m"])("div",{class:Object(i["z"])(["direction","direction"+s.detailData.direction])},"方向:"+Object(i["W"])(s.formatDirection(s.detailData.direction)),3),Object(i["m"])("div",null,"地点:"+Object(i["W"])(s.detailData.gate_name),1)])]})),_:1}),Object(i["p"])(O,{span:20},{default:Object(i["ib"])((function(){return[(Object(i["J"])(!0),Object(i["l"])(i["b"],null,Object(i["Q"])(s.dataList,(function(e,t){return Object(i["J"])(),Object(i["l"])("div",{key:t,class:"rowBox"},[Object(i["m"])("p",null,Object(i["W"])(e.name)+" "+Object(i["W"])(e.shopname),1),Object(i["p"])(j,null,{default:Object(i["ib"])((function(){return[(Object(i["J"])(!0),Object(i["l"])(i["b"],null,Object(i["Q"])(e.personList,(function(e){return Object(i["J"])(),Object(i["j"])(O,{span:4,key:e.id,class:"colItem"},{default:Object(i["ib"])((function(){return[Object(i["m"])("div",c,[Object(i["p"])(f,{src:e.picture_url,fit:"fill",class:"single-image",onClick:function(t){return s.clickItem(e)}},null,8,["src","onClick"]),Object(i["m"])("span",{class:"el-icon-picture-outline openImage",onClick:function(t){return s.openImage(e,t)}},null,8,r),Object(i["m"])("span",{class:"el-icon-document downloadFile",onClick:function(t){return s.downloadFile(e,t)}},null,8,u),Object(i["m"])("p",o,Object(i["W"])(e.featureNum?e.featureNum.toFixed(2):0),1),Object(i["m"])("div",null,"时间:"+Object(i["W"])(e.counttime),1)])]})),_:2},1024)})),128))]})),_:2},1024)])})),128))]})),_:1})]})),_:1})])),[[h,s.isLoading]])]})),_:1},8,["visible"]),Object(i["p"])(p,{ref:"imgModelRef"},null,512),Object(i["p"])(v,{ref:"imgOtherDialogRef"},null,512)],64)}n("159b"),n("ac1f"),n("1276");var b=n("f944"),d=n("6e63"),f=n("6efa"),O=n("5c11"),j=n("3cad"),m={components:{imgDialog:O["a"],imgOtherDialog:j["a"]},setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(!1),n=Object(i["O"])({}),a=Object(i["O"])(),c=Object(i["O"])(),r=Object(i["O"])([]),u=function(i,a){n.value=i,e.value=!0,r.value=[],t.value=!0,d["a"].getStaffContrastList(a).then((function(e){t.value=!1,Object(b["a"])(e.data)&&e.data.length>0&&(e.data.forEach((function(e){e.personList.forEach((function(e){e.features_url&&(e.features_url=window._baseImgUrl+e.features_url),e.picture_url&&(e.picture_url=window._baseImgUrl+e.picture_url)}))})),r.value=e.data)}))},o=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}},l=function(e){f["a"].getBodyPoint({feature_url:e.features_url}).then((function(t){a.value.initDialog(e.picture_url,t.data)}))},s=function(){e.value=!1},O=function(e,t){t.stopPropagation(),e.features_url?window.open(e.features_url):ElMessage({message:"该图片没有特征",type:"warning"})},j=function(e,t){if(t.stopPropagation(),e.features_url){var n=e.picture_url;c.value.initDialog(n.split("0.jpg")[0]+"1.jpg")}else ElMessage({message:"该图片没有特征",type:"warning"})};return{isVisible:e,detailData:n,onCancel:s,dataList:r,initDialog:u,isLoading:t,formatDirection:o,downloadFile:O,clickItem:l,imgModelRef:a,imgOtherDialogRef:c,openImage:j}}},g=(n("4017"),n("d959")),p=n.n(g);const v=p()(m,[["render",s],["__scopeId","data-v-541ec4d6"]]);t["a"]=v},"3cad":function(e,t,n){"use strict";var i=n("7a23"),a={style:{width:"100%","text-align":"center"}},c=Object(i["o"])("返回");function r(e,t,n,r,u,o){var l=Object(i["S"])("el-image"),s=Object(i["S"])("a-button"),b=Object(i["S"])("a-modal");return r.isVisible?(Object(i["J"])(),Object(i["j"])(b,{key:0,title:"body1",visible:r.isVisible,"onUpdate:visible":t[1]||(t[1]=function(e){return r.isVisible=e}),width:"1200px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(s,{onClick:t[0]||(t[0]=function(e){return r.isVisible=!1})},{default:Object(i["ib"])((function(){return[c]})),_:1})]})),default:Object(i["ib"])((function(){return[Object(i["m"])("div",a,[Object(i["p"])(l,{src:r.imgUrl,fit:"contain",class:"single-image"},null,8,["src"])])]})),_:1},8,["visible"])):Object(i["k"])("",!0)}var u={setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(),n=function(n){t.value=n,e.value=!0};return{isVisible:e,initDialog:n,imgUrl:t}}},o=n("d959"),l=n.n(o);const s=l()(u,[["render",r]]);t["a"]=s},4017:function(e,t,n){"use strict";n("7db9")},"408a":function(e,t,n){var i=n("c6b6");e.exports=function(e){if("number"!=typeof e&&"Number"!=i(e))throw TypeError("Incorrect invocation");return+e}},"4df8":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["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 u;t["a"]=o},"5c11":function(e,t,n){"use strict";var i=n("7a23"),a=function(e){return Object(i["M"])("data-v-1ba71689"),e=e(),Object(i["K"])(),e},c=a((function(){return Object(i["m"])("canvas",{id:"myCanvas"},null,-1)})),r=["src"],u=Object(i["o"])("返回");function o(e,t,n,a,o,l){var s=Object(i["S"])("a-button"),b=Object(i["S"])("a-modal");return a.isVisible?(Object(i["J"])(),Object(i["j"])(b,{key:0,title:"图片",visible:a.isVisible,"onUpdate:visible":t[0]||(t[0]=function(e){return a.isVisible=e}),width:"1200px",height:"90%",class:"detail-modal"},{footer:Object(i["ib"])((function(){return[Object(i["p"])(s,{onClick:a.onCancel},{default:Object(i["ib"])((function(){return[u]})),_:1},8,["onClick"])]})),default:Object(i["ib"])((function(){return[c,Object(i["m"])("img",{src:a.imgUrl,alt:"",id:"img"},null,8,r)]})),_:1},8,["visible"])):Object(i["k"])("",!0)}var l={setup:function(){var e=Object(i["O"])(!1),t=Object(i["O"])(!1),n=Object(i["O"])({}),a=Object(i["O"])(),c=Object(i["O"])(),r=Object(i["O"])(),u=function(t,n){a.value=t,e.value=!0,setTimeout((function(){var e=document.getElementById("img"),t=e.offsetHeight,i=e.offsetWidth;c.value=document.getElementById("myCanvas"),c.value.height=t,c.value.width=i,r.value=c.value.getContext("2d"),r.value.drawImage(e,0,0,i,t),r.value.beginPath(),r.value.lineWidth=3,r.value.strokeStyle="red",r.value.moveTo(n.head_x_inSmall,n.head_y_inSmall),r.value.lineTo(n.foot_x_inSmall,n.foot_y_inSmall),r.value.stroke()}),0)},o=function(){c.value="",e.value=!1};return{isVisible:e,onCancel:o,initDialog:u,isLoading:t,imgUrl:a,detailData:n}}},s=(n("1058"),n("d959")),b=n.n(s);const d=b()(l,[["render",o],["__scopeId","data-v-1ba71689"]]);t["a"]=d},"6e63":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["a"])(e,[{key:"getPersonGroupList",value:function(e){return c["a"].request({method:"GET",url:"/feature/personGroup",params:Object(r["a"])(e)})}},{key:"getPersonsDetailList",value:function(e){return c["a"].request({method:"GET",url:"/feature/persons",params:Object(r["a"])(e)})}},{key:"getStaffContrastList",value:function(e){return c["a"].request({method:"GET",url:"/feature/staffContrast",params:Object(r["a"])(e)})}},{key:"getPersonContrastList",value:function(e){return c["a"].request({method:"POST",url:"/feature/personContrast",data:Object(r["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"6efa":function(e,t,n){"use strict";var i=n("d4ec"),a=n("bee2"),c=n("672a"),r=n("c68b"),u=function(){function e(){Object(i["a"])(this,e)}return Object(a["a"])(e,[{key:"getClusterResultList",value:function(e){return c["a"].request({method:"GET",url:"/faceRecognitions/faceRecordGroup",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})})}},{key:"getBodyPoint",value:function(e){return c["a"].request({method:"GET",url:"/feature/bodyPoint",params:Object(r["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"7db9":function(e,t,n){},a505:function(e,t,n){},b680:function(e,t,n){"use strict";var i=n("23e7"),a=n("a691"),c=n("408a"),r=n("1148"),u=n("d039"),o=1..toFixed,l=Math.floor,s=function(e,t,n){return 0===t?n:t%2===1?s(e,t-1,n*e):s(e*e,t/2,n)},b=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var i=-1,a=n;while(++i<6)a+=t*e[i],e[i]=a%1e7,a=l(a/1e7)},f=function(e,t){var n=6,i=0;while(--n>=0)i+=e[n],e[n]=l(i/t),i=i%t*1e7},O=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var i=String(e[t]);n=""===n?i:n+r.call("0",7-i.length)+i}return n},j=o&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){o.call({})}));i({target:"Number",proto:!0,forced:j},{toFixed:function(e){var t,n,i,u,o=c(this),l=a(e),j=[0,0,0,0,0,0],m="",g="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return String(o);if(o<0&&(m="-",o=-o),o>1e-21)if(t=b(o*s(2,69,1))-69,n=t<0?o*s(2,-t,1):o/s(2,t,1),n*=4503599627370496,t=52-t,t>0){d(j,0,n),i=l;while(i>=7)d(j,1e7,0),i-=7;d(j,s(10,i,1),0),i=t-1;while(i>=23)f(j,1<<23),i-=23;f(j,1<<i),d(j,1,1),f(j,2),g=O(j)}else d(j,0,n),d(j,1<<-t,0),g=O(j)+r.call("0",l);return l>0?(u=g.length,g=m+(u<=l?"0."+r.call("0",l-u)+g:g.slice(0,u-l)+"."+g.slice(u-l))):g=m+g,g}})}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7cc3643e"],{"356a":function(e,t,a){"use strict";a.r(t);var n=a("7a23"),c=Object(n["o"])("是"),u=Object(n["o"])("否"),r=Object(n["o"])("是"),o=Object(n["o"])("否"),l=Object(n["o"])("添加任务");function i(e,t,a,i,d,b){var s=Object(n["S"])("a-select"),O=Object(n["S"])("a-form-item"),f=Object(n["S"])("a-date-picker"),p=Object(n["S"])("a-select-option"),j=Object(n["S"])("a-button"),m=Object(n["S"])("a-form"),v=Object(n["S"])("a-table"),g=Object(n["T"])("loading");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(m,{model:i.queryForm,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(n["ib"])((function(){return[Object(n["p"])(O,{label:"集团:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.accountId,"onUpdate:value":t[0]||(t[0]=function(e){return i.queryForm.accountId=e}),style:{width:"280px"},onChange:i.onAccountChange,options:i.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(n["p"])(O,{label:"广场:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.mallId,"onUpdate:value":t[1]||(t[1]=function(e){return i.queryForm.mallId=e}),style:{width:"280px"},options:i.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(n["p"])(O,{label:"日期:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{value:i.queryForm.countdate,"onUpdate:value":t[2]||(t[2]=function(e){return i.queryForm.countdate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(n["p"])(O,{label:"是否重提:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.reExtractFeature,"onUpdate:value":t[3]||(t[3]=function(e){return i.queryForm.reExtractFeature=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{value:"true"},{default:Object(n["ib"])((function(){return[c]})),_:1}),Object(n["p"])(p,{value:"false"},{default:Object(n["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(O,{label:"是否重读:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.reTrack,"onUpdate:value":t[4]||(t[4]=function(e){return i.queryForm.reTrack=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{value:"true"},{default:Object(n["ib"])((function(){return[r]})),_:1}),Object(n["p"])(p,{value:"false"},{default:Object(n["ib"])((function(){return[o]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(O,{style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(j,{type:"primary",onClick:i.preview,loading:i.isLoading},{default:Object(n["ib"])((function(){return[l]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(n["jb"])((Object(n["J"])(),Object(n["j"])(v,{dataSource:i.dataList,columns:i.columns,rowKey:"id",pagination:!1},{countdate:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(i.moment(t).format("YYYY-MM-DD")),1)]})),reExtractFeature:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(t?"是":"否"),1)]})),reTrack:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(t?"是":"否"),1)]})),_:1},8,["dataSource","columns"])),[[g,i.isLoading]])],64)}var d=a("b85c"),b=(a("d3b7"),a("25f0"),a("b0c0"),a("c1df")),s=a.n(b),O=a("4df8"),f=a("f944"),p=a("c68b"),j=a("d4ec"),m=a("bee2"),v=a("672a"),g=function(){function e(){Object(j["a"])(this,e)}return Object(m["a"])(e,[{key:"getRematch",value:function(e){return v["a"].request({method:"POST",url:"/rematch",data:e})}},{key:"getRematchList",value:function(e){return v["a"].request({method:"GET",url:"/rematch/all",params:e})}}]),e}(),y=new g,h=y,x=a("47ce"),_=a("3fd4"),I=[{title:"广场名称",dataIndex:"mallName",align:"center"},{title:"重跑日期",dataIndex:"countdate",align:"center",slots:{customRender:"countdate"}},{title:"是否重提特征",dataIndex:"reExtractFeature",align:"center",slots:{customRender:"reExtractFeature"}},{title:"是否重读轨迹文件",dataIndex:"reTrack",align:"center",slots:{customRender:"reTrack"}},{title:"数据总数",dataIndex:"total",align:"center"},{title:"已完成数",dataIndex:"completedNum",align:"center"}],F={components:{PlusOutlined:x["a"],VNodes:function(e,t){var a=t.attrs;return a.vnodes}},setup:function(){var e=Object(n["O"])(!1),t=(Object(n["O"])(!1),Object(n["O"])([])),a=Object(n["O"])([]),c=Object(n["O"])([]),u=Object(n["N"])({accountId:"",mallId:"",countdate:s()().format("YYYY-MM-DD"),reExtractFeature:"true",reTrack:"true"}),r=function(){o()},o=function(){u.mallId="",a.value=[],O["a"].getPlazaList({account_id:u.accountId.toString()}).then((function(e){if(Object(f["a"])(e)){var t,n=Object(d["a"])(e);try{for(n.s();!(t=n.n()).done;){var c=t.value;a.value.push({value:c.id,label:c.name})}}catch(r){n.e(r)}finally{n.f()}e&&e.length&&(u.mallId=e[0].id)}}))},l=function(){u.accountId="",t.value=[],O["a"].getAccountList().then((function(e){if(Object(f["a"])(e)){var a,n=Object(d["a"])(e);try{for(n.s();!(a=n.n()).done;){var c=a.value;t.value.push({value:c.id,label:c.name})}}catch(r){n.e(r)}finally{n.f()}e&&e.length&&(u.accountId=e[0].id,o())}}))},i=function(){e.value=!0;var t=Object(n["Y"])(u);h.getRematch(Object(p["a"])({accountId:t.accountId.toString(),mallId:t.mallId.toString(),countdate:t.countdate,reExtractFeature:t.reExtractFeature,reTrack:t.reTrack})).then((function(t){return e.value=!1,200==t.code?void Object(_["a"])({message:"添加成功",type:"success"}):void Object(_["a"])({message:t.msg,type:"error"})}))},b=function(){h.getRematchList().then((function(e){Object(f["a"])(e)?c.value=e:c.value=[]}))},j=function(){l(),b()};return j(),{isLoading:e,accountList:t,plazaList:a,dataList:c,queryForm:u,columns:I,onAccountChange:r,preview:i,moment:s.a}}},k=a("d959"),q=a.n(k);const w=q()(F,[["render",i]]);t["default"]=w},"4df8":function(e,t,a){"use strict";var n=a("d4ec"),c=a("bee2"),u=a("672a"),r=a("c68b"),o=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(r["a"])(e)})}},{key:"getAccountList",value:function(){return u["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return u["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return u["a"].request({method:"GET",url:"/zones/zoneList",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return u["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),l=new o;t["a"]=l}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7cc3643e"],{"356a":function(e,t,a){"use strict";a.r(t);var n=a("7a23"),c=Object(n["o"])("是"),u=Object(n["o"])("否"),r=Object(n["o"])("是"),o=Object(n["o"])("否"),l=Object(n["o"])("添加任务");function i(e,t,a,i,d,b){var s=Object(n["S"])("a-select"),O=Object(n["S"])("a-form-item"),f=Object(n["S"])("a-date-picker"),p=Object(n["S"])("a-select-option"),j=Object(n["S"])("a-button"),m=Object(n["S"])("a-form"),v=Object(n["S"])("a-table"),g=Object(n["T"])("loading");return Object(n["J"])(),Object(n["l"])(n["b"],null,[Object(n["p"])(m,{model:i.queryForm,layout:"inline","label-col":{style:{width:"100px"}}},{default:Object(n["ib"])((function(){return[Object(n["p"])(O,{label:"集团:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.accountId,"onUpdate:value":t[0]||(t[0]=function(e){return i.queryForm.accountId=e}),style:{width:"280px"},onChange:i.onAccountChange,options:i.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(n["p"])(O,{label:"广场:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.mallId,"onUpdate:value":t[1]||(t[1]=function(e){return i.queryForm.mallId=e}),style:{width:"280px"},options:i.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","options"])]})),_:1}),Object(n["p"])(O,{label:"日期:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(f,{value:i.queryForm.countdate,"onUpdate:value":t[2]||(t[2]=function(e){return i.queryForm.countdate=e}),style:{width:"280px"}},null,8,["value"])]})),_:1}),Object(n["p"])(O,{label:"是否重提:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.reExtractFeature,"onUpdate:value":t[3]||(t[3]=function(e){return i.queryForm.reExtractFeature=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{value:"true"},{default:Object(n["ib"])((function(){return[c]})),_:1}),Object(n["p"])(p,{value:"false"},{default:Object(n["ib"])((function(){return[u]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(O,{label:"是否重读:",style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(s,{value:i.queryForm.reTrack,"onUpdate:value":t[4]||(t[4]=function(e){return i.queryForm.reTrack=e}),style:{width:"280px"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(p,{value:"true"},{default:Object(n["ib"])((function(){return[r]})),_:1}),Object(n["p"])(p,{value:"false"},{default:Object(n["ib"])((function(){return[o]})),_:1})]})),_:1},8,["value"])]})),_:1}),Object(n["p"])(O,{style:{padding:"5px 0"}},{default:Object(n["ib"])((function(){return[Object(n["p"])(j,{type:"primary",onClick:i.preview,loading:i.isLoading},{default:Object(n["ib"])((function(){return[l]})),_:1},8,["onClick","loading"])]})),_:1})]})),_:1},8,["model"]),Object(n["jb"])((Object(n["J"])(),Object(n["j"])(v,{dataSource:i.dataList,columns:i.columns,rowKey:"id",pagination:!1},{countdate:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(i.moment(t).format("YYYY-MM-DD")),1)]})),reExtractFeature:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(t?"是":"否"),1)]})),reTrack:Object(n["ib"])((function(e){var t=e.text;return[Object(n["m"])("span",null,Object(n["W"])(t?"是":"否"),1)]})),_:1},8,["dataSource","columns"])),[[g,i.isLoading]])],64)}var d=a("b85c"),b=(a("d3b7"),a("25f0"),a("b0c0"),a("c1df")),s=a.n(b),O=a("4df8"),f=a("f944"),p=a("c68b"),j=a("d4ec"),m=a("bee2"),v=a("672a"),g=function(){function e(){Object(j["a"])(this,e)}return Object(m["a"])(e,[{key:"getRematch",value:function(e){return v["a"].request({method:"POST",url:"/rematch",data:e})}},{key:"getRematchList",value:function(e){return v["a"].request({method:"GET",url:"/rematch/all",params:e})}}]),e}(),y=new g,h=y,x=a("47ce"),_=a("3fd4"),I=[{title:"广场名称",dataIndex:"mallName",align:"center"},{title:"重跑日期",dataIndex:"countdate",align:"center",slots:{customRender:"countdate"}},{title:"是否重提特征",dataIndex:"reExtractFeature",align:"center",slots:{customRender:"reExtractFeature"}},{title:"是否重读轨迹文件",dataIndex:"reTrack",align:"center",slots:{customRender:"reTrack"}},{title:"数据总数",dataIndex:"total",align:"center"},{title:"已完成数",dataIndex:"completedNum",align:"center"}],k={components:{PlusOutlined:x["a"],VNodes:function(e,t){var a=t.attrs;return a.vnodes}},setup:function(){var e=Object(n["O"])(!1),t=(Object(n["O"])(!1),Object(n["O"])([])),a=Object(n["O"])([]),c=Object(n["O"])([]),u=Object(n["N"])({accountId:"",mallId:"",countdate:s()().format("YYYY-MM-DD"),reExtractFeature:"true",reTrack:"true"}),r=function(){o()},o=function(){u.mallId="",a.value=[],O["a"].getPlazaList({account_id:u.accountId.toString()}).then((function(e){if(Object(f["a"])(e)){var t,n=Object(d["a"])(e);try{for(n.s();!(t=n.n()).done;){var c=t.value;a.value.push({value:c.id,label:c.name})}}catch(r){n.e(r)}finally{n.f()}e&&e.length&&(u.mallId=e[0].id)}}))},l=function(){u.accountId="",t.value=[],O["a"].getAccountList().then((function(e){if(Object(f["a"])(e)){var a,n=Object(d["a"])(e);try{for(n.s();!(a=n.n()).done;){var c=a.value;t.value.push({value:c.id,label:c.name})}}catch(r){n.e(r)}finally{n.f()}e&&e.length&&(u.accountId=e[0].id,o())}}))},i=function(){e.value=!0;var t=Object(n["Y"])(u);h.getRematch(Object(p["a"])({accountId:t.accountId.toString(),mallId:t.mallId.toString(),countdate:t.countdate,reExtractFeature:t.reExtractFeature,reTrack:t.reTrack})).then((function(t){return e.value=!1,200==t.code?void Object(_["a"])({message:"添加成功",type:"success"}):void Object(_["a"])({message:t.msg,type:"error"})}))},b=function(){h.getRematchList().then((function(e){Object(f["a"])(e)?c.value=e:c.value=[]}))},j=function(){l(),b()};return j(),{isLoading:e,accountList:t,plazaList:a,dataList:c,queryForm:u,columns:I,onAccountChange:r,preview:i,moment:s.a}}},F=a("d959"),q=a.n(F);const L=q()(k,[["render",i]]);t["default"]=L},"4df8":function(e,t,a){"use strict";var n=a("d4ec"),c=a("bee2"),u=a("672a"),r=a("c68b"),o=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(r["a"])(e)})}},{key:"getAccountList",value:function(){return u["a"].request({method:"GET",url:"/accounts"})}},{key:"getPlazaList",value:function(e){return u["a"].request({method:"GET",url:"/malls",params:Object(r["a"])({accountIds:e.account_id})})}},{key:"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(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id})})}},{key:"getGateList",value:function(e){return u["a"].request({method:"GET",url:"/gates/gateByInfo",params:Object(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),l=new o;t["a"]=l}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-88c7b720"],{"06af":function(e,t,n){},"4df8":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),i=n("672a"),r=n("c68b"),u=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getSnapshotRecordList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecord",params:Object(r["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(r["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(r["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(r["a"])({account_id:e.account_id,plaza_id:e.plaza_id,zone_id:e.zone_id,type:e.type})})}}]),e}(),o=new u;t["a"]=o},"6efa":function(e,t,n){"use strict";var a=n("d4ec"),c=n("bee2"),i=n("672a"),r=n("c68b"),u=function(){function e(){Object(a["a"])(this,e)}return Object(c["a"])(e,[{key:"getClusterResultList",value:function(e){return i["a"].request({method:"GET",url:"/faceRecognitions/faceRecordGroup",params:Object(r["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(r["a"])({accountIds:e.account_id})})}},{key:"getZoneList",value:function(e){return i["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 i["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})})}},{key:"getBodyPoint",value:function(e){return i["a"].request({method:"GET",url:"/feature/bodyPoint",params:Object(r["a"])(e)})}}]),e}(),o=new u;t["a"]=o},"73e0":function(e,t,n){"use strict";n.r(t);n("ac1f"),n("1276");var a=n("7a23"),c=function(e){return Object(a["M"])("data-v-777aec6f"),e=e(),Object(a["K"])(),e},i={style:{display:"flex"}},r=Object(a["o"])("S至 "),u=Object(a["o"])("S "),o=Object(a["o"])("查询"),l=["onClick"],s=c((function(){return Object(a["m"])("span",{style:{"font-weight":"bolder"}},"匹配数据:",-1)})),d=c((function(){return Object(a["m"])("span",{style:{"font-weight":"bolder"}},"聚类数据:",-1)})),b={class:"dialog-footer"},m=Object(a["o"])("关闭");function f(e,t,n,c,f,p){var O=Object(a["S"])("a-select"),j=Object(a["S"])("a-form-item"),v=Object(a["S"])("a-date-picker"),g=Object(a["S"])("a-time-picker"),y=Object(a["S"])("a-input"),_=Object(a["S"])("a-button"),h=Object(a["S"])("a-form"),T=Object(a["S"])("a-table"),x=Object(a["S"])("el-image"),z=Object(a["S"])("el-col"),k=Object(a["S"])("a-empty"),L=Object(a["S"])("el-row"),S=Object(a["S"])("el-button"),q=Object(a["S"])("el-dialog"),Y=Object(a["T"])("loading");return Object(a["J"])(),Object(a["l"])(a["b"],null,[Object(a["m"])("div",null,[Object(a["p"])(h,{model:c.queryForm},{default:Object(a["ib"])((function(){return[Object(a["m"])("div",i,[Object(a["p"])(j,{label:"集团:",style:{padding:"5px 0"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{value:c.queryForm.account_id,"onUpdate:value":t[0]||(t[0]=function(e){return c.queryForm.account_id=e}),style:{width:"230px"},maxTagCount:1,onChange:c.onAccountChange,options:c.accountList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(j,{label:"广场:",style:{padding:"5px 0","margin-left":"10px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(O,{value:c.queryForm.plaza_id,"onUpdate:value":t[1]||(t[1]=function(e){return c.queryForm.plaza_id=e}),style:{width:"230px"},maxTagCount:1,onChange:e.onPlazaChange,options:c.plazaList,optionFilterProp:"label","show-search":""},null,8,["value","onChange","options"])]})),_:1}),Object(a["p"])(j,{label:"选择日期:",style:{padding:"5px 0","margin-left":"10px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(v,{value:c.queryForm.date,"onUpdate:value":t[2]||(t[2]=function(e){return c.queryForm.date=e}),format:"YYYY-MM-DD",style:{width:"230px"}},null,8,["value"])]})),_:1}),Object(a["p"])(j,{label:"选择时间:",style:{padding:"5px 0","margin-left":"10px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(g,{value:c.queryForm.startTime,"onUpdate:value":t[3]||(t[3]=function(e){return c.queryForm.startTime=e}),style:{width:"120px"}},null,8,["value"]),Object(a["p"])(g,{value:c.queryForm.endTime,"onUpdate:value":t[4]||(t[4]=function(e){return c.queryForm.endTime=e}),style:{width:"120px"}},null,8,["value"])]})),_:1}),Object(a["p"])(j,{label:"停留时间:",style:{padding:"5px 0","margin-left":"10px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(y,{value:c.queryForm.stopStartTime,"onUpdate:value":t[5]||(t[5]=function(e){return c.queryForm.stopStartTime=e}),style:{width:"100px"}},null,8,["value"]),r,Object(a["p"])(y,{value:c.queryForm.stopEndTime,"onUpdate:value":t[6]||(t[6]=function(e){return c.queryForm.stopEndTime=e}),style:{width:"100px",margin:"0 5px"}},null,8,["value"]),u]})),_:1}),Object(a["p"])(j,{style:{padding:"5px 0","margin-left":"20px"}},{default:Object(a["ib"])((function(){return[Object(a["p"])(_,{type:"primary",onClick:c.clickSearch,loading:c.isLoading},{default:Object(a["ib"])((function(){return[o]})),_:1},8,["onClick","loading"])]})),_:1})])]})),_:1},8,["model"]),Object(a["jb"])((Object(a["J"])(),Object(a["j"])(T,{columns:c.columns,"data-source":c.data,pagination:!1,scroll:{y:660}},{index:Object(a["ib"])((function(e){var t=e.index;return[Object(a["m"])("span",null,Object(a["W"])(1*t+1),1)]})),date:Object(a["ib"])((function(e){var t=e.record;return[Object(a["m"])("span",null,Object(a["W"])(t.countdate&&t.countdate.split(" ")[0]),1)]})),arriveTime:Object(a["ib"])((function(e){var t=e.record;return[Object(a["m"])("span",null,Object(a["W"])(t.arriveTime&&t.arriveTime.split(" ")[1]),1)]})),leaveTime:Object(a["ib"])((function(e){var t=e.record;return[Object(a["m"])("span",null,Object(a["W"])(t.leaveTime&&t.leaveTime.split(" ")[1]),1)]})),tags:Object(a["ib"])((function(e){return[Object(a["m"])("span",{style:{color:"#40a9ff",cursor:"pointer"},onClick:function(t){return c.operates(e)}},"操作",8,l)]})),_:1},8,["columns","data-source"])),[[Y,c.isLoading]])]),Object(a["p"])(q,{modelValue:c.featureDialogVisible,"onUpdate:modelValue":t[8]||(t[8]=function(e){return c.featureDialogVisible=e}),"custom-class":"imgDialoger",title:"详情",width:"90%",top:"50px"},{footer:Object(a["ib"])((function(){return[Object(a["m"])("span",b,[Object(a["p"])(S,{onClick:t[7]||(t[7]=function(e){return c.featureDialogVisible=!1})},{default:Object(a["ib"])((function(){return[m]})),_:1})])]})),default:Object(a["ib"])((function(){return[Object(a["m"])("div",null,[s,Object(a["p"])(L,{gutter:10,class:"imgBox1_top"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.listtr,(function(e){return Object(a["J"])(),Object(a["j"])(z,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":0==e.person_type?"顾客":"未知"),1),Object(a["m"])("div",null,"性别:"+Object(a["W"])(c.formatGender(e.gender))+"("+Object(a["W"])(e.age)+")",1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==c.featureList.length?(Object(a["J"])(),Object(a["j"])(k,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})]),Object(a["m"])("div",null,[d,Object(a["p"])(L,{gutter:10,class:"imgBox1_top"},{default:Object(a["ib"])((function(){return[(Object(a["J"])(!0),Object(a["l"])(a["b"],null,Object(a["Q"])(c.featureList,(function(e){return Object(a["J"])(),Object(a["j"])(z,{span:3,class:"itemBox"},{default:Object(a["ib"])((function(){return[Object(a["p"])(x,{src:e.picture_url,fit:"fill",class:"single-image"},null,8,["src"]),Object(a["m"])("div",null,"时间:"+Object(a["W"])(e.counttime),1),Object(a["m"])("div",null,"人员类型:"+Object(a["W"])(1==e.person_type?"店员":0==e.person_type?"顾客":"未知"),1),Object(a["m"])("div",null,"性别:"+Object(a["W"])(c.formatGender(e.gender))+"("+Object(a["W"])(e.age)+")",1),Object(a["m"])("div",{class:Object(a["z"])(["direction","direction"+e.direction])},"方向:"+Object(a["W"])(c.formatDirection(e.direction)),3),Object(a["m"])("div",null,"地点:"+Object(a["W"])(e.gate_name),1)]})),_:2},1024)})),256)),0==c.featureList.length?(Object(a["J"])(),Object(a["j"])(k,{key:0,style:{margin:"0 auto"}})):Object(a["k"])("",!0)]})),_:1})])]})),_:1},8,["modelValue"])],64)}var p=n("5530"),O=n("b85c"),j=(n("b0c0"),n("d3b7"),n("25f0"),n("d81d"),n("159b"),n("6efa")),v=n("4df8"),g=n("f944"),y=n("c1df"),_=n.n(y),h=[{title:"序号",slots:{customRender:"index"},width:150},{title:"person_unid",dataIndex:"personUnid",width:500},{title:"日期",dataIndex:"countdate",slots:{customRender:"date"}},{title:"进时间",dataIndex:"arriveTime",slots:{customRender:"arriveTime"}},{title:"出时间",dataIndex:"leaveTime",slots:{customRender:"leaveTime"}},{title:"停留时长(S)",dataIndex:"residenceTime"},{title:"操作",dataIndex:"address",slots:{customRender:"tags"}}],T={setup:function(){var e=Object(a["O"])(!1),t=Object(a["O"])([]),n=Object(a["O"])([]),c=Object(a["O"])(1),i=Object(a["O"])(10),r=Object(a["O"])(),u=Object(a["O"])(!1),o=Object(a["O"])([]),l=Object(a["O"])([]),s=Object(a["O"])([]),d=Object(a["N"])({account_id:"",plaza_id:"",date:_()(_()().format("YYYY-MM-DD"),"YYYY-MM-DD"),startTime:_()("00:00:00","HH:mm:ss"),endTime:_()("23:59:59","HH:mm:ss"),stopStartTime:"1",stopEndTime:"6000"}),b=function(){d.account_id="",o.value=[],v["a"].getAccountList().then((function(e){if(Object(g["a"])(e)){var t,n=Object(O["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;o.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}o.value.length&&m()}}))},m=function(e){d.plaza_id="",l.value=[],v["a"].getPlazaList({account_id:d.account_id.toString()}).then((function(e){if(Object(g["a"])(e)){var t,n=Object(O["a"])(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;l.value.push({value:a.id,label:a.name})}}catch(c){n.e(c)}finally{n.f()}l.value.length>0&&(d.plaza_id=l.value[0].value)}}))},f=function(){u.value=!0,v["a"].getResidenceList({accountId:d.account_id.toString(),mallId:d.plaza_id,startTime:_()(d.date).format("YYYY-MM-DD")+" "+_()(d.startTime).format("HH:mm:ss"),endTime:_()(d.date).format("YYYY-MM-DD")+" "+_()(d.endTime).format("HH:mm:ss"),start:1*d.stopStartTime*1e3,end:1*d.stopEndTime*1e3}).then((function(e){200==e.msg_code&&(n.value=e.data)})).finally((function(){u.value=!1}))},y=function(e){c.value=e,f()},T=function(e,t){c.value=1,i.value=t,f()},x=function(){c.value=1,f()},z=function(){m(1)},k=function(n){console.log(n,"6666"),e.value=!0,j["a"].getClusterResultList({account_id:n.record.accountId,plaza_id:n.record.mallId,type:0,personUnid:n.record.personUnid,page:0,pageSize:10,picType:2,startTime:_()(d.date).format("YYYY-MM-DD")+" "+_()(d.startTime).format("HH:mm:ss"),endTime:_()(d.date).format("YYYY-MM-DD")+" "+_()(d.endTime).format("HH:mm:ss")}).then((function(e){if(200==e.msg_code){t.value=e.data.persons[0].perrsonList.map((function(e){return Object(p["a"])(Object(p["a"])({},e),{},{picture_url:window._baseImgUrl+e.picture_url})})),console.log(n.record,"77777");var a=[n.record.arriveTime,n.record.leaveTime],c=[];a.forEach((function(e){t.value.forEach((function(t){t.counttime!=e||1!=t.direction&&-1!=t.direction||c.push(t)}))})),s.value=c}}))},L=function(e){switch(e){case 1:return"男";case-1:return"未知";case 0:return"女";default:break}},S=function(e){switch(e){case 1:return"进";case-1:return"出";case 0:return"横穿";default:break}};return b(),f(),{listtr:s,formatDirection:S,formatGender:L,featureList:t,featureDialogVisible:e,columns:h,data:n,total:r,pageSize:i,pageNum:c,isLoading:u,queryForm:d,accountList:o,plazaList:l,onAccountChange:z,operates:k,clickSearch:x,onPageNumChange:y,onPageSizeChange:T}}},x=(n("75fc"),n("beef"),n("d959")),z=n.n(x);const k=z()(T,[["render",f],["__scopeId","data-v-777aec6f"]]);t["default"]=k},"75fc":function(e,t,n){"use strict";n("e435")},beef:function(e,t,n){"use strict";n("06af")},d81d:function(e,t,n){"use strict";var a=n("23e7"),c=n("b727").map,i=n("1dde"),r=i("map");a({target:"Array",proto:!0,forced:!r},{map:function(e){return c(this,e,arguments.length>1?arguments[1]:void 0)}})},e435:function(e,t,n){}}]);
\ No newline at end of file \ 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 \ 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 \ 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._serverHost = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? 'https://store.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._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.28'].includes(window.location.hostname) ? 'https://mall.keliuyun.com/images/' : `${window.location.origin}/images/` 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.28'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/` window._socketUrl = ['localhost', '192.168.1.125'].includes(window.location.hostname) ? `wss://${window._serverHost}/` : `wss://${window._serverHost}/`
const log = console.log.bind(console) const log = console.log.bind(console)
...@@ -4,7 +4,7 @@ import Cookies from "js-cookie" ...@@ -4,7 +4,7 @@ import Cookies from "js-cookie"
import {getTimestampString} from "@/PublicUtil/PublicUtil" import {getTimestampString} from "@/PublicUtil/PublicUtil"
import {ElMessage} from 'element-plus' import {ElMessage} from 'element-plus'
// 创建 axios 的一个实例 // 创建 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( const axiosInstance = axios.create(
{ {
baseURL: baseURL, baseURL: baseURL,
...@@ -14,14 +14,14 @@ const axiosInstance = axios.create( ...@@ -14,14 +14,14 @@ const axiosInstance = axios.create(
// 请求拦截器 // 请求拦截器
axiosInstance.interceptors.request.use( axiosInstance.interceptors.request.use(
config => { config => {
// Cookies.set('atoken','1c6dab70-9cd7-44e3-b862-70c79f8a7de6') // Cookies.set('atoken','090afed9-d637-4710-b556-4910eb7f6e15')
if(!Cookies.get('atoken')){ if(!Cookies.get('atoken')){
ElMessage({ ElMessage({
message: `登录过期,请重新登录`, message: `登录过期,请重新登录`,
type: 'warning' type: 'warning'
}) })
setTimeout(()=>{ 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')){ // if(url.includes('36.112.68.214')){
// url = 'http://36.112.68.214:33333/' // url = 'http://36.112.68.214:33333/'
// } // }
...@@ -45,7 +45,7 @@ axiosInstance.interceptors.response.use( ...@@ -45,7 +45,7 @@ axiosInstance.interceptors.response.use(
type: 'warning' type: 'warning'
}) })
setTimeout(()=>{ 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')){ // if(url.includes('36.112.68.214')){
// url = 'http://36.112.68.214:33333/' // url = 'http://36.112.68.214:33333/'
// } // }
......
...@@ -65,6 +65,10 @@ const menuRoute = [ ...@@ -65,6 +65,10 @@ const menuRoute = [
path: 'FeatureMatchingAccuracy', path: 'FeatureMatchingAccuracy',
component: () => import("@/views/FeatureMatchingAccuracy/FeatureMatchingAccuracy.vue") component: () => import("@/views/FeatureMatchingAccuracy/FeatureMatchingAccuracy.vue")
}, },
{
path: 'newMenu',
component: () => import("@/views/newMenu/index.vue")
},
] ]
}, },
] ]
......
...@@ -109,6 +109,12 @@ ...@@ -109,6 +109,12 @@
<span style="padding: 0 5px">特征匹配精度</span> <span style="padding: 0 5px">特征匹配精度</span>
</div> </div>
</a-menu-item> </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> </a-menu>
</el-aside> </el-aside>
<el-main> <el-main>
......
...@@ -36,6 +36,15 @@ class SnapshotRecordApi { ...@@ -36,6 +36,15 @@ class SnapshotRecordApi {
} }
) )
} }
getResidenceList(data) {
return axiosInstance.request(
{
method: 'GET',
url: `/residence`,
params:data
}
)
}
getZoneList(data) { getZoneList(data) {
return axiosInstance.request( return axiosInstance.request(
......
<template>
<div>
<a-form :model="queryForm">
<div style="display: flex;">
<a-form-item label="集团:" style="padding: 5px 0">
<a-select v-model:value="queryForm.account_id" style="width: 230px" :maxTagCount="1" @change="onAccountChange" :options="accountList" optionFilterProp="label" show-search>
</a-select>
</a-form-item>
<a-form-item label="广场:" style="padding: 5px 0;margin-left: 10px;">
<a-select v-model:value="queryForm.plaza_id" style="width: 230px" :maxTagCount="1" @change="onPlazaChange" :options="plazaList" optionFilterProp="label" show-search>
</a-select>
</a-form-item>
<a-form-item label="选择日期:" style="padding: 5px 0;margin-left: 10px;">
<a-date-picker v-model:value="queryForm.date" :format="'YYYY-MM-DD'" style="width: 230px" />
</a-form-item>
<a-form-item label="选择时间:" style="padding: 5px 0;margin-left: 10px;">
<a-time-picker v-model:value="queryForm.startTime" style="width: 120px" />
<a-time-picker v-model:value="queryForm.endTime" style="width: 120px" />
</a-form-item>
<a-form-item label="停留时间:" style="padding: 5px 0;margin-left: 10px;">
<a-input v-model:value="queryForm.stopStartTime" style="width: 100px" />S至
<a-input v-model:value="queryForm.stopEndTime" style="width: 100px;margin:0 5px;" />S
</a-form-item>
<a-form-item style="padding: 5px 0;margin-left: 20px;">
<a-button type="primary" @click="clickSearch" :loading="isLoading">查询</a-button>
</a-form-item>
</div>
</a-form>
<a-table :columns="columns" :data-source="data" :pagination="false" :scroll="{ y: 660 }" v-loading="isLoading">
<template #index="{index}">
<span>{{index*1+1}}</span>
</template>
<template #date="{record}">
<span>{{record.countdate&&record.countdate.split(' ')[0]}}</span>
</template>
<template #arriveTime="{record}">
<span>{{record.arriveTime&&record.arriveTime.split(' ')[1]}}</span>
</template>
<template #leaveTime="{record}">
<span>{{record.leaveTime&&record.leaveTime.split(' ')[1]}}</span>
</template>
<template #tags="row">
<span style="color:#40a9ff;cursor: pointer;" @click="operates(row)">操作</span>
</template>
</a-table>
<!-- <a-pagination v-model:current="pageNum" v-model:pageSize="pageSize" :total="total" :show-total="total => `共 ${total} 条`" :pageSizeOptions="['10', '20']" @change="onPageNumChange" @showSizeChange="onPageSizeChange" show-size-changer show-quick-jumper style="text-align:center;margin-top: 10px;" /> -->
</div>
<el-dialog v-model="featureDialogVisible" custom-class="imgDialoger" title="详情" width="90%" top='50px'>
<div>
<span style="font-weight: bolder;">匹配数据:</span>
<el-row :gutter="10" class="imgBox1_top">
<el-col :span="3" class="itemBox" v-for="item in listtr">
<el-image :src="item.picture_url" :fit="'fill'" class="single-image">
</el-image>
<div>时间:{{ item.counttime }}</div>
<div>人员类型:{{ item.person_type==1?'店员':(item.person_type==0?'顾客':'未知') }}</div>
<div>性别:{{ formatGender(item.gender) }}({{item.age}})</div>
<div class="direction" :class="'direction'+item.direction">方向:{{ formatDirection(item.direction) }}</div>
<div>地点:{{ item.gate_name }}</div>
</el-col>
<a-empty v-if='featureList.length==0' style='margin: 0 auto;'></a-empty>
</el-row>
</div>
<div>
<span style="font-weight: bolder;">聚类数据:</span>
<el-row :gutter="10" class="imgBox1_top">
<el-col :span="3" class="itemBox" v-for="item in featureList">
<el-image :src="item.picture_url" :fit="'fill'" class="single-image">
</el-image>
<div>时间:{{ item.counttime }}</div>
<div>人员类型:{{ item.person_type==1?'店员':(item.person_type==0?'顾客':'未知') }}</div>
<div>性别:{{ formatGender(item.gender) }}({{item.age}})</div>
<div class="direction" :class="'direction'+item.direction">方向:{{ formatDirection(item.direction) }}</div>
<div>地点:{{ item.gate_name }}</div>
</el-col>
<a-empty v-if='featureList.length==0' style='margin: 0 auto;'></a-empty>
</el-row>
</div>
<template #footer>
<span class="dialog-footer">
<el-button @click="featureDialogVisible = false">关闭</el-button>
</span>
</template>
</el-dialog>
</template>
<script>
import clusterResultApi from "@/views/SnapshotCluster/ClusterResult/ClusterResultApi";
import snapshotRecordApi from "@/views/SnapshotCluster/SnapshotRecord/SnapshotRecordApi";
import { isArray } from "@/PublicUtil/Judgment";
import { reactive, ref } from "vue";
import moment from "moment";
const columns = [
{
title: "序号",
// dataIndex: "index",
slots: { customRender: "index" },
width: 150,
},
{
title: "person_unid",
dataIndex: "personUnid",
width: 500,
},
{
title: "日期",
dataIndex: "countdate",
slots: { customRender: "date" },
},
{
title: "进时间",
dataIndex: "arriveTime",
slots: { customRender: "arriveTime" },
},
{
title: "出时间",
dataIndex: "leaveTime",
slots: { customRender: "leaveTime" },
},
{
title: "停留时长(S)",
dataIndex: "residenceTime",
},
{
title: "操作",
dataIndex: "address",
slots: { customRender: "tags" },
},
];
export default {
setup() {
const featureDialogVisible = ref(false);
const featureList = ref([]);
const data = ref([]);
const pageNum = ref(1);
const pageSize = ref(10);
const total = ref();
const isLoading = ref(false);
const accountList = ref([]);
const plazaList = ref([]);
const listtr = ref([]);
const queryForm = reactive({
account_id: "",
plaza_id: "",
date: moment(moment().format("YYYY-MM-DD"), "YYYY-MM-DD"),
startTime: moment("00:00:00", "HH:mm:ss"),
endTime: moment("23:59:59", "HH:mm:ss"),
stopStartTime: "1",
stopEndTime: "6000",
});
const getAccountList = function () {
queryForm.account_id = "";
accountList.value = [];
snapshotRecordApi.getAccountList().then((r) => {
if (isArray(r)) {
for (const item of r) {
accountList.value.push({
value: item.id,
label: item.name,
});
}
if (accountList.value.length) {
// if (
// searchCondition.value.account_id &&
// searchCondition.value.account_id.length > 0
// ) {
// queryForm.account_id = searchCondition.value.account_id;
// } else {
// queryForm.account_id.push(accountList.value[0].value);
// }
getPlazaList();
}
}
});
};
const getPlazaList = function (val) {
queryForm.plaza_id = "";
plazaList.value = [];
snapshotRecordApi
.getPlazaList({
account_id: queryForm.account_id.toString(),
})
.then((r) => {
if (isArray(r)) {
for (const item of r) {
plazaList.value.push({
value: item.id,
label: item.name,
});
}
if (plazaList.value.length > 0) {
// if (
// !val &&
// searchCondition.value.plaza_id &&
// searchCondition.value.plaza_id.length > 0
// ) {
// queryForm.plaza_id = searchCondition.value.plaza_id;
// } else {
queryForm.plaza_id = plazaList.value[0].value;
// }
}
}
});
};
const confirmSearch = () => {
isLoading.value = true;
snapshotRecordApi
.getResidenceList({
accountId: queryForm.account_id.toString(),
mallId: queryForm.plaza_id,
startTime:
moment(queryForm.date).format("YYYY-MM-DD") +
" " +
moment(queryForm.startTime).format("HH:mm:ss"),
endTime:
moment(queryForm.date).format("YYYY-MM-DD") +
" " +
moment(queryForm.endTime).format("HH:mm:ss"),
start: queryForm.stopStartTime * 1 * 1000,
end: queryForm.stopEndTime * 1 * 1000,
})
.then((r) => {
if (r.msg_code == 200) {
data.value = r.data;
}
})
.finally(() => {
isLoading.value = false;
});
};
const onPageNumChange = function (num) {
pageNum.value = num;
confirmSearch();
};
const onPageSizeChange = function (current, size) {
pageNum.value = 1;
pageSize.value = size;
confirmSearch();
};
const clickSearch = function () {
pageNum.value = 1;
confirmSearch();
};
const onAccountChange = function () {
getPlazaList(1);
};
const operates = (row) => {
console.log(row, "6666");
featureDialogVisible.value = true;
clusterResultApi
.getClusterResultList({
account_id: row.record.accountId,
plaza_id: row.record.mallId,
type: 0,
personUnid: row.record.personUnid,
page: 0,
pageSize: 10,
picType: 2,
startTime:
moment(queryForm.date).format("YYYY-MM-DD") +
" " +
moment(queryForm.startTime).format("HH:mm:ss"),
endTime:
moment(queryForm.date).format("YYYY-MM-DD") +
" " +
moment(queryForm.endTime).format("HH:mm:ss"),
})
.then((res) => {
if (res.msg_code == 200) {
featureList.value = res.data.persons[0].perrsonList.map((item) => ({
...item,
picture_url: window._baseImgUrl + item.picture_url,
}));
console.log(row.record, "77777");
let timeList = [row.record.arriveTime, row.record.leaveTime];
let arr = [];
timeList.forEach((item) => {
// let cur = featureList.value.find(
// (item1) => item1.counttime == item
// );
featureList.value.forEach((item1) => {
if (
item1.counttime == item &&
(item1.direction == 1 || item1.direction == -1)
) {
arr.push(item1);
}
});
});
listtr.value = arr;
}
});
};
const formatGender = function (number) {
switch (number) {
case 1: {
return "男";
}
case -1: {
return "未知";
}
case 0: {
return "女";
}
default: {
break;
}
}
};
const formatDirection = function (number) {
switch (number) {
case 1: {
return "进";
}
case -1: {
return "出";
}
case 0: {
return "横穿";
}
default: {
break;
}
}
};
getAccountList();
confirmSearch();
return {
listtr,
formatDirection,
formatGender,
featureList,
featureDialogVisible,
columns,
data,
total,
pageSize,
pageNum,
isLoading,
queryForm,
accountList,
plazaList,
onAccountChange,
operates,
clickSearch,
onPageNumChange,
onPageSizeChange,
};
},
};
</script>
<style lang="less" scoped>
.single-image {
height: 300px;
width: 100%;
}
.itemBox {
position: relative;
}
.direction {
font-weight: 900;
background-color: red;
color: white;
}
.direction1 {
background-color: green;
}
.direction0 {
background-color: orange;
}
</style>
<style>
.imgDialoger .el-dialog__body {
padding: 0 10px;
height: 700px;
overflow: auto;
}
.imgDialoger .el-dialog__header{
padding: 10px;
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -58,7 +58,7 @@ module.exports = { ...@@ -58,7 +58,7 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
'/': { '/': {
target: 'https://mall.keliuyun.com/btool/', target: 'https://store.keliuyun.com/btool/',
changeOrigin: true changeOrigin: true
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!