1 line
8.8 KiB
JavaScript
1 line
8.8 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c56beb3"],{"722f":function(t,e,a){"use strict";a.d(e,"q",(function(){return n})),a.d(e,"d",(function(){return o})),a.d(e,"b",(function(){return s})),a.d(e,"i",(function(){return i})),a.d(e,"h",(function(){return u})),a.d(e,"g",(function(){return c})),a.d(e,"p",(function(){return l})),a.d(e,"c",(function(){return p})),a.d(e,"s",(function(){return d})),a.d(e,"a",(function(){return h})),a.d(e,"k",(function(){return f})),a.d(e,"e",(function(){return m})),a.d(e,"n",(function(){return g})),a.d(e,"l",(function(){return b})),a.d(e,"o",(function(){return y})),a.d(e,"m",(function(){return v})),a.d(e,"r",(function(){return j})),a.d(e,"f",(function(){return C})),a.d(e,"j",(function(){return k}));var r=a("b775");function n(t){return Object(r["a"])({url:"/appproject/CarPark/pageList",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/appproject/CarPark/create",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/appproject/CarMonthlyCard/pageList",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/appproject/CarPark/findMsgTypeByProjectId",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/appproject/CarPark/findCarTypeByProjectId",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/appproject/CarPark/findCarAreaByProjectId",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/appproject/CarBusinessRel/pageList",method:"post",data:t})}function p(t){return Object(r["a"])({url:"/appproject/CarInOutRecord/pageList",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/appproject/CarPark/update",method:"post",data:t})}function h(t){return Object(r["a"])({url:"/appproject/CarPark/ListCarLanes",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/appproject/PurchaseInfo/listAccount",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/appproject/PurchaseInfo/findById",method:"post",data:t})}function g(t){return Object(r["a"])({url:"/appproject/CarInfo/listByUserId",method:"post",data:t})}function b(t){return Object(r["a"])({url:"/appproject/OrderInfo/listByAccountNo",method:"post",data:t})}function y(t){return Object(r["a"])({url:"/appproject/PurchaseInfo/pageList",method:"post",data:t})}function v(t){return Object(r["a"])({url:"/appproject/PurchaseInfo/listByPurchaseId",method:"post",data:t})}function j(t){return Object(r["a"])({url:"/appproject/OrderAccountTradeInfo/list",method:"post",data:t})}function C(t){return Object(r["a"])({url:"/appproject/CarPark/findByProjectUUID",method:"post",data:t})}function k(t){return Object(r["a"])({url:"/appproject/CarPark/findSpaceTypeByProjectUuid",method:"post",data:t})}},9555:function(t,e,a){"use strict";a("d090")},d090:function(t,e,a){},e9f7:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container bgHeight"},[a("div",{ref:"box",staticClass:"searchStys transition_dom"},[a("el-form",{ref:"query",attrs:{model:t.query}},[a("div",{ref:"form_box",staticClass:"searchBar"},[a("div",{staticClass:"searchInput"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"accountNo"}},[a("el-input",{attrs:{placeholder:"账户",clearable:""},model:{value:t.query.accountNo,callback:function(e){t.$set(t.query,"accountNo",e)},expression:"query.accountNo"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"userName"}},[a("el-input",{attrs:{placeholder:"用户名称",clearable:""},model:{value:t.query.userName,callback:function(e){t.$set(t.query,"userName",e)},expression:"query.userName"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{prop:"mobile"}},[a("el-input",{attrs:{placeholder:"用户手机",clearable:""},model:{value:t.query.mobile,callback:function(e){t.$set(t.query,"mobile",e)},expression:"query.mobile"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"taskDate"}},[a("el-date-picker",{attrs:{type:"daterange","range-separator":"至",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","start-placeholder":"开始执行时间","end-placeholder":"结束执行时间"},model:{value:t.taskDate,callback:function(e){t.taskDate=e},expression:"taskDate"}})],1)],1)],1)],1),t._v(" "),a("div",{staticClass:"searchBtn"},[a("el-form-item",[a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],on:{click:function(e){return t.resetForm("query")}}},[t._v("重置")]),t._v(" "),a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("查询")]),t._v(" "),t.is_show||"80px"==t.height?t._e():a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:t.upAndDown}},[t._v("展开"),a("i",{staticClass:"el-icon-arrow-down"})]),t._v(" "),t.is_show&&"80px"!=t.height?a("el-button",{directives:[{name:"points",rawName:"v-points",value:500,expression:"500"}],attrs:{type:"text"},on:{click:t.upAndDown}},[t._v("收起"),a("i",{staticClass:"el-icon-arrow-up"})]):t._e()],1)],1)])])],1),t._v(" "),a("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[a("div",{staticClass:"planLst",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"planTitle"},[t._v("用户预存列表")])]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{border:"",data:t.listTable,"header-cell-style":t.headClass,"tooltip-effect":"dark"}},[a("el-table-column",{attrs:{label:"#",fixed:"",align:"center",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.$index+(t.query.pageNumber-1)*t.query.pageSize+1)+" ")])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"accountNo",align:"center",label:"账户"}}),t._v(" "),a("el-table-column",{attrs:{prop:"userName",align:"center",label:"用户名称"}}),t._v(" "),a("el-table-column",{attrs:{prop:"mobile",align:"center",label:"用户手机号"}}),t._v(" "),a("el-table-column",{attrs:{prop:"amount",align:"center",label:"账户余额"}}),t._v(" "),a("el-table-column",{attrs:{prop:"createdAt",align:"center",label:"创建时间"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",fixed:"right",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticClass:"textBtn",on:{click:function(a){return t.editClick(e.row)}}},[t._v("查看")])]}}])})],1),t._v(" "),a("div",{staticClass:"paginations"},[a("el-pagination",{attrs:{background:"","current-page":t.query.pageNumber,"page-sizes":[10,30,50,100,200],"page-size":t.query.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.pageTotal},on:{"update:currentPage":function(e){return t.$set(t.query,"pageNumber",e)},"update:current-page":function(e){return t.$set(t.query,"pageNumber",e)},"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1)},n=[],o=a("722f"),s={name:"taskList",components:{},data:function(){return{is_show:!1,height:"",isShow:!1,pageTotal:0,listLoading:!1,taskDate:"",listTable:[],postExecuteArr:[],query:{pageNumber:1,pageSize:10,cardType:1,startDate:"",endDate:"",accountNo:"",userName:"",mobile:""}}},beforeRouteEnter:function(t,e,a){a((function(e){var a=t.name,r=JSON.parse(sessionStorage.getItem(a));r&&(e.query=r),e.getlistData()}))},created:function(){this.getRealHeight(),this.getlistData(),this.headClass()},methods:{editClick:function(t){this.$router.replace({path:"/viewInfo/preStorageDetails?id="+t.id})},getlistData:function(){var t=this;this.listLoading=!0,this.query.projectUuid=this.$store.state.community_uuid,Object(o["k"])(this.query).then((function(e){0==e.code&&null!=e.data&&(t.listTable=e.data.records,t.pageTotal=e.data.rowsCount),sessionStorage.setItem(t.$route.name,JSON.stringify(t.query))})),this.listLoading=!1},onSearch:function(){this.searchCondition(),this.query.pageNumber=1,this.getlistData()},searchCondition:function(){this.taskDate?(this.query.startDate=this.taskDate[0]+" 00:00:00",this.query.endDate=this.taskDate[1]+" 23:59:59"):(this.query.startDate="",this.query.startDate="")},handleSizeChange:function(t){this.query.pageSize=t,this.getlistData()},handleCurrentChange:function(t){this.query.pageNumber=t,this.getlistData()},resetForm:function(t){this.taskDate="",this.query.startDate="",this.query.endDate="",this.query.pageNumber=1,this.$refs[t].resetFields(),this.getlistData()},handleSlow:function(){this.isShow=!this.isShow},headClass:function(){return"text-align:center;background:#FAFAFA;"},upAndDown:function(){this.is_show?this.$refs.box.style.height="80px":this.$refs.box.style.height=this.height,this.is_show=!this.is_show},getRealHeight:function(){this.$nextTick((function(){this.height=this.$refs.form_box.offsetHeight+"px"}))}}},i=s,u=(a("9555"),a("829d")),c=Object(u["a"])(i,r,n,!1,null,"0367cecf",null);e["default"]=c.exports}}]); |