Files
starRiverProperty/frontend/canoe-car.bak20231020/js/chunk-cfeb6944.de554ee9.js
T
反编译工作区 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_"]=window["webpackJsonp_"]||[]).push([["chunk-cfeb6944"],{c219:function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return r}));var n=[{label:"全部",value:null},{label:"成功",value:1},{label:"失败",value:2}],r={align:"right",background:!0,layout:"prev, pager, next, jumper"}},c581:function(e,t,a){},de57:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a("7037"),r=a.n(n),i=function(e,t){if(void 0===e)return null;var a,n=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===r()(e)?a=e:("string"===typeof e&&/^[0-9]+$/.test(e)&&(e=parseInt(e)),"number"===typeof e&&10===e.toString().length&&(e*=1e3),a=new Date(e));var i={y:a.getFullYear(),m:a.getMonth()+1,d:a.getDate(),h:a.getHours(),i:a.getMinutes(),s:a.getSeconds(),a:a.getDay()},o=n.replace(/{([ymdhisa])+}/g,(function(e,t){var a=i[t];return"a"===t?["日","一","二","三","四","五","六"][a]:a.toString().padStart(2,"0")}));return o}},e68d:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.isLoading,expression:"isLoading"}],staticClass:"page-container"},[a("div",{staticClass:"operate-group"},[a("el-button",{attrs:{type:"primary"},on:{click:e.search}},[e._v("刷新")])],1),a("div",{staticClass:"container"},[a("qz-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.tableData,columns:e.tableColumns,stripe:"",size:"medium","row-key":"id"},on:{"selection-change":e.handleSelectionChange,opt:e.handlClick}})],1),a("div",{staticClass:"pager"},[a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>10,expression:"total > 10"}],attrs:{align:e.pagerConfig.align,background:e.pagerConfig.background,total:e.total,"current-page":e.searchForm.currentPage,layout:"total, sizes, prev, pager, next, jumper","page-size":e.searchForm.rowsOfPage},on:{"current-change":e.handleCurrentChange,"size-change":e.handleSizeChange,"update:currentPage":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:current-page":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:pageSize":function(t){return e.$set(e.searchForm,"rowsOfPage",t)},"update:page-size":function(t){return e.$set(e.searchForm,"rowsOfPage",t)}}})],1)])},r=[],i=a("a34a"),o=a.n(i),s=a("c973"),c=a.n(s),u=a("970b"),l=a.n(u),p=a("5bc3"),h=a.n(p),g=a("ed6d"),f=a.n(g),d=a("6b58"),v=a.n(d),m=a("36c6"),b=a.n(m),y=a("9ab4"),w=a("60a3"),k=a("de57"),C=a("c219");function D(e){var t=x();return function(){var a,n=b()(e);if(t){var r=b()(this).constructor;a=Reflect.construct(n,arguments,r)}else a=n.apply(this,arguments);return v()(this,a)}}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var F=function(e){f()(a,e);var t=D(a);function a(){var e;return l()(this,a),e=t.apply(this,arguments),e.pagerConfig=C["b"],e.searchForm={rowsOfPage:10,currentPage:1},e.newTagName="",e.parseTime=k["a"],e.total=0,e.dialogVisible=!1,e.loading=!1,e.batchRemoving=!1,e.isLoading=!1,e.showImport=!1,e.selected=[],e.tableColumns=[],e.tableData=[],e}return h()(a,[{key:"impType",value:function(e){var t={1:"模板数据文件上传",2:"模板数据文件后台导入",3:"图片文件自动生成"};return t[e]||""}},{key:"progress",value:function(e){if(4===e.status)return 100;var t=100*e.currentCount/e.totalCount;return isNaN(t)?0:Number(t.toFixed(0))}},{key:"handleSelectionChange",value:function(e){this.selected=e}},{key:"search",value:function(){this.searchForm.currentPage=1,this.fetchData()}},{key:"goDetail",value:function(e){this.$router.push({path:"/car/list/importDetail",query:{id:e.id}})}},{key:"fetchData",value:function(){var e=c()(o.a.mark((function e(){var t;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,this.loading=!0,e.next=4,this.service.getImportPage(this.searchForm);case 4:t=e.sent,t.success&&(this.tableData=t.data.datas||[],this.total=t.data.totalRows||0),e.next=10;break;case 8:e.prev=8,e.t0=e["catch"](0);case 10:return e.prev=10,this.loading=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,this,[[0,8,10,13]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"handleSizeChange",value:function(e){this.searchForm.rowsOfPage=e,this.fetchData()}},{key:"handleCurrentChange",value:function(e){this.searchForm.currentPage=e,this.fetchData()}},{key:"handlClick",value:function(e,t){switch(t){case"detail":this.goDetail(e);break}}},{key:"initData",value:function(){var e=this;this.$createElement;this.tableColumns=[{type:"index",label:"序号",prop:"index"},{prop:"loginName",label:"操作人",width:"90",overflowTooltip:!0},{prop:"createTime",label:"导入时间",width:"200",filter:{type:"time"}},{prop:"position",label:"进度",width:"240",render:function(t,a){return t("el-progress",{attrs:{percentage:a?e.progress(a):""}})}},{label:"描述",prop:"remark",overflowTooltip:!0},{type:"opts",label:"操作",width:"80",opts:[{label:"明细",command:"detail",buttonAttr:{plain:!1}}]}],this.fetchData()}},{key:"created",value:function(){this.initData()}},{key:"mounted",value:function(){}}]),a}(w["e"]);F=y["a"]([Object(w["a"])({components:{},filters:{progress:function(e){if(4===e.status)return 100;var t=100*e.currentCount/e.totalCount;return isNaN(t)?0:Number(t.toFixed(0))},impType:function(e){var t={1:"模板数据文件上传",2:"模板数据文件后台导入",3:"图片文件自动生成"};return t[e]||""}}})],F);var P=F,N=P,S=(a("fc9a"),a("2877")),z=Object(S["a"])(N,n,r,!1,null,"46701850",null);t["default"]=z.exports},fc9a:function(e,t,a){"use strict";var n=a("c581"),r=a.n(n);r.a}}]);