1 line
40 KiB
JavaScript
1 line
40 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-cars-management-sl-cars-management-sl"],{1292:function(t,e,a){"use strict";var i=a("c064"),n=a.n(i);n.a},2909:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var i=s(a("6005")),n=s(a("db90")),o=s(a("06c5")),r=s(a("3427"));function s(t){return t&&t.__esModule?t:{default:t}}function d(t){return(0,i.default)(t)||(0,n.default)(t)||(0,o.default)(t)||(0,r.default)()}},3427:function(t,e,a){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"407a":function(t,e,a){"use strict";a.r(e);var i=a("f4f8"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"49e8":function(t,e,a){var i=a("5965");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3492e0dc",i,!0,{sourceMap:!1,shadowMode:!1})},5965:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".content-null[data-v-debfdc22]{padding-top:20vh;\n\t/* height:400upx; */text-align:center}.content-null uni-image[data-v-debfdc22]{width:%?200?%;height:%?126?%}.content-null uni-view[data-v-debfdc22]{font-size:%?36?%;line-height:%?50?%;color:#999;margin-top:%?10?%;padding-right:%?20?%}",""]),t.exports=e},"5a1d":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2909")),o=a("b742"),r=a("37f6"),s=i(a("8e28")),d=i(a("bd50")),c=i(a("80de")),l=i(a("f6d8")),u={data:function(){return{page:1,page1:1,page2:1,pageSize:10,loadingType:0,loadingType1:0,loadingType2:0,contentText:{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"},userId:(0,o.getStorage)("userInfo").id,currentTabIndex:0,deptList:[],departmentIndex:0,commentList:[],commentList1:[],commentList2:[],formatDate:o.formatDate,finalList:[],showList:!0,driverList:[],driverId:"",driverName:"",item:{}}},components:{loadMore:s.default,contentNone:d.default,UniPopup:c.default,xflSelect:l.default},onLoad:function(t){this.currentTabIndex=t.currentTabIndex||0,0==this.currentTabIndex?(this.page=1,this.loadingType=0,this.getUsecarApplyList(0)):1==this.currentTabIndex?(this.page1=1,this.loadingType1=0,this.getUsecarApplyList(1)):2==this.currentTabIndex&&(this.page2=1,this.loadingType2=0,this.getUsecarApplyList(2)),this.getDriverList()},watch:{currentTabIndex:function(t,e){1==t?(this.page1=1,this.loadingType1=0,this.getUsecarApplyList(1)):0==t?(this.page=1,this.loadingType=0,this.getUsecarApplyList(0)):2==t&&(this.page2=1,this.loadingType2=0,this.getUsecarApplyList(2))}},methods:{getUsecarApplyList:function(t){var e=this,a={method:r.getUsecarApplyList,data:{userid:this.userId,pageSize:this.pageSize,page:0==t?this.page:1==t?this.page1:this.page2,status:t,approvalStatus:1}};(0,o.callbackRequest)(a).then((function(a){1==a.data.returnCode&&(0==t?1==e.page?e.commentList=a.data.returnData:a.data.returnData.length>0?(e.commentList=[].concat((0,n.default)(e.commentList),(0,n.default)(a.data.returnData)),e.loadingType=0):e.loadingType=2:1==t?1==e.page?e.commentList1=a.data.returnData:a.data.returnData.length>0?(e.commentList1=[].concat((0,n.default)(e.commentList1),(0,n.default)(a.data.returnData)),e.loadingType1=0):e.loadingType1=2:2==t&&(1==e.page?e.commentList2=a.data.returnData:a.data.returnData.length>0?(e.commentList2=[].concat((0,n.default)(e.commentList2),(0,n.default)(a.data.returnData)),e.loadingType2=0):e.loadingType2=2))}))},getDriverList:function(){var t=this,e={method:r.getDriverList,data:{userId:this.userId}};(0,o.callbackRequest)(e).then((function(e){var a=[];a=e.data.returnData;for(var i=[],n=0;n<a.length;n++){var o=a[n],r={};r.value=o.real_name+"/"+o.mobile,r.id=o.id,i.push(r)}t.driverList=i,t.finalList=i}))},acceptUseCarApply:function(t){var e=this;this.item=t;var a={method:r.acceptUseCarApply,data:{id:this.item.
|