Files
starRiverProperty/frontend/canoe-person.bak20231024/js/chunk-28818477.efaa91a2.js
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
2026-04-27 13:40:23 +08:00

1 line
5.7 KiB
JavaScript

(window["webpackJsonp_park-unit-web"]=window["webpackJsonp_park-unit-web"]||[]).push([["chunk-28818477"],{"0fca":function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return n}));var a=[{label:"图库ID",prop:"id"},{label:"图库名称",prop:"name"},{label:"所属机构",prop:"businessName"},{label:"来源应用",prop:"sourceApplicationName"},{label:"人员数量",prop:"personNum"},{label:"关联设备数量",prop:"deviceNum"},{label:"修改时间",prop:"lastUpdateTime",filter:{type:"time"}},{label:"操作",prop:"action",customSlot:"action"}],o=[{label:"人员ID",prop:"personId"},{label:"人员姓名",prop:"name"},{label:"注册照",prop:"comparePicture",customSlot:"comparePicture"},{label:"入库状态",prop:"status",customSlot:"status"},{label:"失败原因",prop:"errorMessage"},{label:"有效时间",prop:"expiryBeginDate",customSlot:"expiryBeginDate"},{label:"生效状态",prop:"expiryStatus",customSlot:"expiryStatus"},{label:"入库时间",prop:"groupTime",filter:{type:"time"}}],n=[{label:"人员ID",prop:"personId"},{label:"人员",prop:"comparePicture",customSlot:"comparePicture"},{label:"性别",prop:"gender",customSlot:"gender"},{label:"年龄",prop:"age"},{label:"入库状态",prop:"status",customSlot:"status"},{label:"失败原因",prop:"errorMessage"},{label:"入库时间",prop:"groupTime",filter:{type:"time"}},{label:"操作",prop:"action",customSlot:"action"}]},"55e9":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("qz-wrap",{attrs:{loading:e.loading},scopedSlots:e._u([{key:"header",fn:function(){return[r("CwFormFilter",{attrs:{form:e.searchForm,rows:e.formRows},on:{search:e.onSearch,reset:e.onSearch}})]},proxy:!0},{key:"footer",fn:function(){return[r("qz-pager",{on:{change:e.fetchTableData},model:{value:e.pager,callback:function(t){e.pager=t},expression:"pager"}})]},proxy:!0}])},[r("qz-table",{attrs:{columns:e.columns,data:e.tableData},scopedSlots:e._u([{key:"action",fn:function(t){var a=t.row;return[r("el-button",{attrs:{type:"text"},on:{click:function(t){return e.goDetail(a)}}},[e._v("详情")]),1===a.type?r("el-button",{attrs:{type:"text",disabled:1===a.status},on:{click:function(t){return e.goSync(a.id)}}},[e._v("图库刷新")]):e._e()]}}])})],1)},o=[],n=(r("96cf"),r("1da1")),c=r("d4ec"),i=r("bee2"),s=r("99de"),l=r("7e84"),u=r("262e"),p=r("9ab4"),b=r("60a3"),h=r("0fca"),f=r("ae85"),m=function(e){function t(){var e;return Object(c["a"])(this,t),e=Object(s["a"])(this,Object(l["a"])(t).apply(this,arguments)),e.formRows={id:{label:"图库ID",type:"text"},name:{label:"图库名称",type:"text"}},e.columns=h["a"],e}return Object(u["a"])(t,e),Object(i["a"])(t,[{key:"created",value:function(){this.fetchTableData()}},{key:"fetchTableData",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(){var t,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,this.loading=!0,t=this.getSearchParams(),e.next=5,this.service.photoPage(t);case 5:r=e.sent,a=r.data,this.tableData=a.datas||[],this.pager.total=a.totalRows||0,e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](0);case 13:return e.prev=13,this.loading=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[0,11,13,16]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"goDetail",value:function(e){1===e.type?this.$utils.routerJump("PhotoDetail",{id:e.id}):this.$utils.routerJump("PhotoSystemDetail",{id:e.id})}},{key:"goEdit",value:function(e){1===e.type?this.$utils.routerJump("PhotoEdit",{id:e.id}):this.$utils.routerJump("PhotoSystemEdit",{id:e.id})}},{key:"goSync",value:function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.service.photoSync({imageStoreId:t});case 3:this.$message.success("同步成功!"),this.fetchTableData(),e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(t){return e.apply(this,arguments)}return t}()}]),t}(Object(b["b"])(Object(f["a"])({id:"",name:""})));m=p["a"]([Object(b["a"])({components:{}})],m);var d=m,g=d,y=r("2877"),v=Object(y["a"])(g,a,o,!1,null,null,null);t["default"]=v.exports},ae85:function(e,t,r){"use strict";r("a4d3"),r("4de4"),r("4160"),r("e439"),r("dbb4"),r("b64b"),r("159b");var a=r("ade3"),o=r("d4ec"),n=r("bee2"),c=r("99de"),i=r("7e84"),s=r("262e"),l=r("9ab4"),u=r("60a3");function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){Object(a["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t["a"]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fetchTableData",r=function(r){function a(){var t;return Object(o["a"])(this,a),t=Object(c["a"])(this,Object(i["a"])(a).apply(this,arguments)),t.tableData=[],t.searchForm=b({},e),t.pager={rowsOfPage:10,currentPage:1,total:0},t.loading=!1,t}return Object(s["a"])(a,r),Object(n["a"])(a,[{key:"getSearchParams",value:function(){var e=b({},this.searchForm,{},this.pager);return delete e.total,e}},{key:"onSearch",value:function(){this.pager.currentPage=1,this[t]()}}]),a}(u["e"]);return r=l["a"]([Object(u["a"])({components:{}})],r),r}}}]);