(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5f7bf59e"],{"15bc":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"work_manage"},[e("el-table",{attrs:{data:t.table,border:"",stripe:""}},[e("el-table-column",{attrs:{prop:"name",label:"设备名称",align:"center"}}),t._v(" "),e("el-table-column",{attrs:{prop:"phone",label:"是否在线",align:"center"},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.row;return[e("el-tag",{attrs:{type:r.status?"success":"info"}},[t._v(t._s(r.status?"在线":"离线"))])]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"gift_money",label:"最后连接时间",align:"center"},scopedSlots:t._u([{key:"default",fn:function(n){var e=n.row;return[t._v("\n "+t._s(t.happenTimeFun(e.time))+"\n ")]}}])}),t._v(" "),e("el-table-column",{attrs:{prop:"gift_money",label:"设备上传最后赛季",align:"center"},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.row;return[e("div",[t._v(t._s("第"+r.season+"届"+(r.type?"密训营":"实战营")))]),t._v(" "),r.season!=r.new_season?e("el-tag",{attrs:{type:"info"}},[t._v("不是最新赛季")]):t._e()]}}])}),t._v(" "),e("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(n){var r=n.row;return[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return t.synchronization(r.id)}}},[t._v("同步最新人脸信息")])]}}])})],1)],1)},u=[],a=e("bf25"),o={data:function(){return{table:[]}},created:function(){this.getList()},methods:{synchronization:function(t){var n=this;this.$confirm("确定要同步最新人脸信息吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n.loadingFull=!0,Object(a["p"])({id:t}).then((function(t){n.loadingFull=!1,200===t.code?(n.$message.success("同步成功"),n.getList()):n.$message.error(t.message||"同步失败")})).catch((function(){n.loadingFull=!1,n.$message.error("同步失败")}))})).catch((function(){}))},happenTimeFun:function(t){var n=new Date(1e3*t),e=n.getFullYear(),r=n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1,u=n.getDate()<10?"0"+n.getDate():n.getDate(),a=n.getHours()<10?"0"+n.getHours():n.getHours(),o=n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),c=n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds();return e+"-"+r+"-"+u+" "+a+":"+o+":"+c},getList:function(){var t=this;this.$request(Object(a["m"])(),(function(n){var e=n.data;t.table=e}))}}},c=o,i=(e("46eb"),e("2877")),s=Object(i["a"])(c,r,u,!1,null,"8b821494",null);n["default"]=s.exports},"46eb":function(t,n,e){"use strict";e("d294")},bf25:function(t,n,e){"use strict";e.d(n,"y",(function(){return u})),e.d(n,"x",(function(){return a})),e.d(n,"B",(function(){return o})),e.d(n,"A",(function(){return c})),e.d(n,"z",(function(){return i})),e.d(n,"a",(function(){return s})),e.d(n,"i",(function(){return l})),e.d(n,"d",(function(){return d})),e.d(n,"l",(function(){return f})),e.d(n,"g",(function(){return p})),e.d(n,"q",(function(){return m})),e.d(n,"c",(function(){return g})),e.d(n,"e",(function(){return b})),e.d(n,"o",(function(){return h})),e.d(n,"j",(function(){return O})),e.d(n,"f",(function(){return j})),e.d(n,"w",(function(){return v})),e.d(n,"D",(function(){return y})),e.d(n,"h",(function(){return _})),e.d(n,"n",(function(){return w})),e.d(n,"t",(function(){return A})),e.d(n,"C",(function(){return S})),e.d(n,"v",(function(){return k})),e.d(n,"u",(function(){return F})),e.d(n,"m",(function(){return x})),e.d(n,"p",(function(){return L})),e.d(n,"k",(function(){return C})),e.d(n,"b",(function(){return M})),e.d(n,"s",(function(){return U})),e.d(n,"r",(function(){return $}));var r=e("b775");function u(t){return Object(r["a"])({method:"get",url:"/signup/download",params:t})}function a(t){return Object(r["a"])({method:"get",url:"/signup/user_all",params:t})}function o(t){return Object(r["a"])({method:"get",url:"/signup/user_update",params:t})}function c(t){return Object(r["a"])({method:"get",url:"/pay/send_code",params:t})}function i(t){return Object(r["a"])({method:"post",url:"/pay/refunds",params:t})}function s(t){return Object(r["a"])({method:"post",url:"/cause/AddCause",params:t})}function l(t){return Object(r["a"])({method:"get",url:"/cause/GetCause",params:t})}function d(t){return Object(r["a"])({method:"post",url:"/pay/CheckStatus",params:t})}function f(t){return Object(r["a"])({method:"get",url:"/signup/GetQueueList",params:t})}function p(t){return Object(r["a"])({method:"get",url:"/signup/ExportQueueList",params:t})}function m(t){return Object(r["a"])({method:"post",url:"/signup/UpdateQueueStatus",params:t})}function g(t){return Object(r["a"])({method:"post",url:"/pay/Allrefunds",params:t})}function b(t){return Object(r["a"])({method:"post",url:"/pay/CheckStatuses",params:t})}function h(t){return Object(r["a"])({method:"get",url:"/signup/TagSignStatus",params:t})}function O(t){return Object(r["a"])({url:"/ActivityOnline/EnrollList",method:"get",params:t})}function j(t){return Object(r["a"])({url:"/ActivityOnline/Export",method:"get",params:t})}function v(t){return Object(r["a"])({url:"/pay/sendOnline",method:"get",params:t})}function y(t){return Object(r["a"])({url:"/ActivityOnline/Import",method:"post",data:t})}function _(t){return Object(r["a"])({url:"/ActivityOnline/GetActivity",method:"get",params:t})}function w(t){return Object(r["a"])({url:"/ActivityOnline/list",method:"get",params:t})}function A(t){return Object(r["a"])({url:"/ActivityOnline/Add",method:"post",data:t})}function S(t){return Object(r["a"])({url:"/ActivityOnline/Update",method:"post",data:t})}function k(t){return Object(r["a"])({url:"/signup/facedownload",method:"get",params:t})}function F(t){return Object(r["a"])({url:"/signup/down_excel_faceimg",method:"get",params:t})}function x(t){return Object(r["a"])({url:"/ws/IsOnLine",method:"get",params:t})}function L(t){return Object(r["a"])({url:"/ws/UpdateFaceInfo",method:"get",params:t})}function C(t){return Object(r["a"])({url:"/ws/GetFaceInfo",method:"get",params:t})}function M(t){return Object(r["a"])({url:"/ws/AgainSend",method:"get",params:t})}function U(t){return Object(r["a"])({url:"/ws/UploadFaceInfo",method:"post",data:t})}function $(t){return Object(r["a"])({url:"/ActivityOnline/UpdateUserAddress",method:"post",data:t})}},d294:function(t,n,e){}}]);