mingxi.js 6.0 KB

1
  1. require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesD/mingxi"],{4719:function(e,t,n){"use strict";n.r(t);var i=n("840c"),o=n("fd22");for(var l in o)["default"].indexOf(l)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(l);n("50d2");var r=n("f0c5"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"da6e96b8",null,!1,i["a"],void 0);t["default"]=u.exports},"50d2":function(e,t,n){"use strict";var i=n("ac2d"),o=n.n(i);o.a},"5d92":function(e,t,n){"use strict";(function(e){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("2eee")),l=i(n("c973")),r=n("2e9d"),u={data:function(){return{keywords:"",show:!1,showtime:!1,tab1:0,current:0,date:"",list:[],job_name:"",list2:[{label:"订单佣金",source_type:"order"},{label:"邀请佣金",source_type:"invite"}],source_type:"order",label:"订单佣金",columns:[[{label:"订单佣金",source_type:"order"},{label:"邀请佣金",source_type:"invite"}]],list4:[{name:"佣金明细"},{name:"提现记录"}]}},onLoad:function(e){null!=e.source_type&&(this.source_type=e.source_type,"order"==this.source_type?this.label="订单佣金":this.label="邀请佣金"),this.commission_list()},computed:{bgImage:function(){return"url(".concat(n("94f1"),") 100% 100%")}},methods:{todingdan:function(t){e.navigateTo({url:"/pagesD/dingdan/dingdan?id="+t})},return1:function(){e.navigateBack()},change:function(e){console.log(e),this.current=e,0==this.current?(this.source_type="order",this.commission_list()):(this.source_type="invite",this.commission_list())},enter:function(e){console.log(e),this.label=e.value[0].label,this.source_type=e.value[0].source_type,this.show=!1,this.commission_list()},changetime:function(t){var n=this;return(0,l.default)(o.default.mark((function i(){var l,r;return o.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return l=e.$u.timeFormat,i.next=3,l(t.value,"yyyy-mm");case 3:r=i.sent,n.date=r,n.page=1,n.total=0,n.list=[],n.commission_list(),n.showtime=!1;case 10:case"end":return i.stop()}}),i)})))()},TabsTop:function(e){this.tab1=e.index,this.commission_list()},commission_list:function(){var e=this;(0,r.commission_list)({source_type:this.source_type,keywords:this.keywords,is_confirm:"",date:this.date}).then((function(t){console.log(t),e.list=t.data.data}))}}};t.default=u}).call(this,n("543d")["default"])},"79cb":function(e,t,n){"use strict";(function(e,t){var i=n("4ea4");n("9f7d");i(n("66fd"));var o=i(n("4719"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"840c":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return i}));var i={uNavbar:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(n.bind(null,"f893"))},uTabs:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-tabs/u-tabs")]).then(n.bind(null,"dd33"))},uIcon:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(n.bind(null,"3211"))},uSubsection:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-subsection/u-subsection")]).then(n.bind(null,"3983"))},uEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-empty/u-empty")]).then(n.bind(null,"5dad"))},uDatetimePicker:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-datetime-picker/u-datetime-picker")]).then(n.bind(null,"fad6"))},uPicker:function(){return Promise.all([n.e("common/vendor"),n.e("node-modules/uview-ui/components/u-picker/u-picker")]).then(n.bind(null,"1aa1"))}},o=function(){var e=this,t=e.$createElement,n=(e._self._c,0==e.tab1&&"order"==e.source_type?e.__map(e.list,(function(t,n){var i=e.__get_orig(t),o=t.order.offered_time.slice(0,-3).replaceAll("-","."),l=t.order.over_protected_time.slice(0,-3).replaceAll("-","."),r=1==t.is_confirm?t.confirm_time.slice(0,-3).replaceAll("-","."):null;return{$orig:i,g0:o,g1:l,g2:r}})):null),i=0==e.tab1&&"invite"==e.source_type?e.__map(e.list,(function(t,n){var i=e.__get_orig(t),o=t.order.interviewed_time.slice(0,-3).replaceAll("-",".")||"",l=1==t.is_confirm?t.confirm_time.slice(0,-3).replaceAll("-","."):null;return{$orig:i,g3:o,g4:l}})):null,o=1==e.tab1&&0==e.current?e.__map(e.list,(function(t,n){var i=e.__get_orig(t),o="unapplied"!=t.withdraw_status?t.createtime.slice(0,-3).replaceAll("-","."):null,l="unapplied"!=t.withdraw_status?t.order.offered_time.slice(0,-3).replaceAll("-","."):null,r="unapplied"!=t.withdraw_status?t.order.over_protected_time.slice(0,-3).replaceAll("-","."):null,u="unapplied"!=t.withdraw_status?t.bank_no.slice(-4):null,a="unapplied"!=t.withdraw_status?t.withdraw_apply_time.slice(0,-3).replaceAll("-",".")||"":null,s="unapplied"!=t.withdraw_status&&t.withdraw_exam_time?t.withdraw_exam_time.slice(0,-3).replaceAll("-",".")||"":null;return{$orig:i,g5:o,g6:l,g7:r,g8:u,g9:a,g10:s}})):null,l=1==e.tab1&&1==e.current?e.__map(e.list,(function(t,n){var i=e.__get_orig(t),o="unapplied"!=t.withdraw_status?t.order.interviewed_time.slice(0,-3).replaceAll("-",".")||"":null,l="unapplied"!=t.withdraw_status?t.bank_no.slice(-4):null,r="unapplied"!=t.withdraw_status?t.withdraw_apply_time.slice(0,-3).replaceAll("-",".")||"":null,u="unapplied"!=t.withdraw_status?t.withdraw_exam_time.slice(0,-3).replaceAll("-",".")||"":null;return{$orig:i,g11:o,g12:l,g13:r,g14:u}})):null,r=0==e.list.length&&0==e.tab1,u=0==e.list.length&&1==e.tab1;e._isMounted||(e.e0=function(t){e.showtime=!0},e.e1=function(t){e.show=!0},e.e2=function(t){e.showtime=!1},e.e3=function(t){e.show=!1}),e.$mp.data=Object.assign({},{$root:{l0:n,l1:i,l2:o,l3:l,g15:r,g16:u}})},l=[]},ac2d:function(e,t,n){},fd22:function(e,t,n){"use strict";n.r(t);var i=n("5d92"),o=n.n(i);for(var l in i)["default"].indexOf(l)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(l);t["default"]=o.a}},[["79cb","common/runtime","common/vendor"]]]);