mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
feat: add elevator-front, alarm-front, front_acs decompiled sources
Former-commit-id: 227ec9664fa803a11a731cf5336437c497f17066
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"4281:function(e,t,a){\"use strict\";var r=a(\"dbce\").default,n=a(\"4ea4\").default;Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0,a(\"d81d\"),a(\"b0c0\"),a(\"96cf\");var i=n(a(\"c973\")),o=n(a(\"970b\")),u=n(a(\"5bc3\")),l=n(a(\"ed6d\")),s=n(a(\"2d0d\")),c=r(a(\"9ab4\")),d=a(\"60a3\"),f=n(a(\"c3b6\")),p=n(a(\"b6ac\")),v=function(e){(0,l.default)(a,e);var t=(0,s.default)(a);function a(){var e;return(0,o.default)(this,a),e=t.apply(this,arguments),e.parseDate=e.$utils.parseDate,e.pager={currentPage:1,rowsOfPage:10,total:100},e.loading=!1,e.tableData=[],e.tableColumns=[{prop:\"ruleName\",label:\"规则名称\"},{prop:\"oganizationNames\",label:\"关联机构\",customSlot:\"oganizationNames\"},{prop:\"labelNames\",label:\"关联标签\",customSlot:\"labelNames\"},{prop:\"personSum\",label:\"通行人员\",customSlot:\"personSum\"},{prop:\"groupTime\",label:\"通行时间\",customSlot:\"groupTime\"},{type:\"opts\",label:\"操作\",opts:[{label:\"编辑\",command:\"edit\"},{label:\"移除\",command:\"remove\",buttonAttr:{hideFunction:function(e){return\"默认规则\"==e.ruleName}}}]}],e}return(0,u.default)(a,[{key:\"fetchTableData\",value:function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(){var t,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,this.loading=!0,t={pageNo:this.pager.currentPage,pageSize:this.pager.rowsOfPage,zoneName:this.$route.query.zoneName,zoneId:this.$route.query.deviceId,parentId:this.$route.query.parentId},e.next=5,this.service.trafficRulePage(t);case 5:a=e.sent,r=a.data,this.tableData=r.datas,this.pager.total=r.totalRows,this.loading=!1,e.next=15;break;case 12:e.prev=12,e.t0=e[\"catch\"](0),this.loading=!1;case 15:case\"end\":return e.stop()}}),e,this,[[0,12]])})));function t(){return e.apply(this,arguments)}return t}()},{key:\"getDataFn\",value:function(e){return this.service.getPersonPage(e)}},{key:\"created\",value:function(){this.fetchTableData()}},{key:\"mounted\",value:function(){}},{key:\"handleClick\",value:function(e,t){\"remove\"===t?(this.deteleRef.open(e),this.fetchTableData()):\"edit\"===t&&this.$router.push({name:\"TrafficListEditRule\",query:{id:e.id,deviceId:this.detailData.deviceId,deviceCode:this.detailData.deviceCode,zoneId:this.$route.query.deviceId,zoneName:this.$route.query.zoneName,parentId:this.$route.query.parentId}})}},{key:\"onJumpRule\",value:function(){this.$router.push({name:\"TrafficListAddRule\",query:{zoneId:this.$route.query.deviceId,zoneName:this.$route.query.zoneName,parentId:this.$route.query.parentId}})}},{key:\"arrToString\",value:function(e){return e?e.map((function(e){return e.name})):[]}},{key:\"onSearch\",value:function(){this.fetchTableData()}},{key:\"deleteDevice\",value:function(e){var t=this;if(e){var a=[e.id];this.service.passRuleDelete({ids:a,zoneId:e.zoneId,parentId:this.$route.query.parentId}).then((function(e){e.success&&(t.$message.success(\"删除成功\"),t.fetchTableData())}))}}},{key:\"personSumDetial\",value:function(e){this.refViewPerson.showModal({type:\"view\",title:\"查看人员详情\"},{ruleId:e.id,zoneId:e.zoneId,parentId:this.$route.query.parentId})}}]),a}(d.Vue);c.__decorate([(0,d.Ref)()],v.prototype,\"refViewPerson\",void 0),c.__decorate([(0,d.Ref)()],v.prototype,\"deteleRef\",void 0),c.__decorate([(0,d.Prop)({type:Object,default:function(){return{}}})],v.prototype,\"detailData\",void 0),v=c.__decorate([(0,d.Component)({name:\"ComponentName\",components:{Detele:f.default,ViewPersonDrawer:p.default}})],v);var h=v;t.default=h}";
|
||||
Reference in New Issue
Block a user