You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.4 KiB
1 lines
5.4 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["oilAccount/page/accountRecharge/index"],{"10dd":function(t,e,n){"use strict";n.r(e);var a=n("69e6"),i=n("5ec3");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d9c0");var s,u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],s);e["default"]=c.exports},"3ffa":function(t,e,n){"use strict";(function(t){n("84da");a(n("66fd"));var e=a(n("10dd"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},4568:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("7979")),i=o(n("2d56"));function o(t){return t&&t.__esModule?t:{default:t}}var s=function(){n.e("components/topbar").then(function(){return resolve(n("6fd4"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("oilAccount/components/accountListItem").then(function(){return resolve(n("ecd1"))}.bind(null,n)).catch(n.oe)},c={components:{topBar:s,listItem:u},data:function(){return{SuboptionData:[{value:"",label:"全部类型"},{value:"DISPATCH",label:"调拨"},{value:"CALLBACK",label:"回拨"},{value:"TURN",label:"圈回"}],animationData:null,seledata:{},seachValue:"",butten:{colse:"不通过",confirm:"通过",coloseBg:"#EC4645",coloseColor:"#FFFFFF",confirmBg:"",confirmColor:""},isShow:{examine:!1,refresherTriggered:!1},companyName:"",ejectOpen:!1,letfText:"账户",candidate:["账户","公司"],getData:{pageSize:15,currentPage:1,params:{auditMark:"",transactionType:"",companyName:"",accountName:""},sorted:{createTime:"desc"},columns:[],totalCount:1,totalPage:1},styles:{},seleindex:"",navigation:[{text:"全部",index:""},{text:"待审核",index:"0"},{text:"已审核",index:"1"}],listData:[]}},onPullDownRefresh:function(){this.getData.currentPage=1,this.getList(),console.log("下拉的生命周期")},onLoad:function(){this.styles=t.getMenuButtonBoundingClientRect(),t.$on("company",(function(t){var e=getCurrentPages(),n=-1!=e[e.length-2].$page.fullPath.indexOf("?")?e[e.length-2].$page.fullPath.split("?")[0].split("/")[e[e.length-2].$page.fullPath.split("?")[0].split("/").length-1]:e[e.length-2].$page.fullPath.split("/")[e[e.length-2].$page.fullPath.split("/").length-1];console.log(e,n,"获取当前打开过的页面路由数组")}))},onShow:function(){this.getList()},methods:{subFn:function(t){this.getData.currentPage=1,this.getData.params.transactionType=t.value,this.getList()},refresherrefresh:function(){this.getData.currentPage=1,this.isShow.refresherTriggered=!0,this.getList()},animationFns:function(){console.log("恢复动画");var e=t.createAnimation({duration:0,timingFunction:"ease"});this.animation=e,this.animation.rotate(0).step(),this.animationData=this.animation.export()},rotateFn:function(){var e=this,n=t.createAnimation({duration:1e3,timingFunction:"ease"});this.animation=n,this.animation.rotate(360).step(),this.animationData=this.animation.export(),setTimeout((function(){e.animationFns()}),1e3)},confirmFn:function(){var e=this,n={id:this.seledata.id,auditMark:1,auditSource:"OMS-MINIAPP"};i.default.auditOms(n).then((function(n){2e4===n.code&&(t.showToast({title:"审核成功",icon:"none"}),e.iShow.examine=!1,e.seledata.auditMark=1)})),console.log("确定回掉")},ejectFn:function(t){this.letfText=t},scrolltolower:function(){this.getData.currentPage+=1,console.log("触底了"),this.getList()},seachFn:function(){switch(this.letfText){case"账户":this.getData.params.companyName="",this.getData.params.accountName=this.seachValue;break;case"公司":this.getData.params.accountName="",this.getData.params.companyName=this.seachValue;break}this.getData.currentPage=1,this.getList()},getList:function(){var e=this;a.default.getByReversePage(this.getData).then((function(n){e.isShow.refresherTriggered=!1,2e4===n.code&&(0==n.data.list.length&&t.showToast({title:"没有数据了哦",icon:"none"}),1===e.getData.currentPage?e.listData=n.data.list:e.listData=e.listData.concat(n.data.list))}))},jump:function(e,n){switch(e){case 1:t.navigateTo({url:"./add"});break;case 2:a.default.detailsTheQuery(n.id).then((function(e){2e4==e.code&&t.navigateTo({url:"./details?data="+JSON.stringify(e.data)})}));break}},seleFn:function(t){this.getData.currentPage=1,this.rotateFn(),this.getData.params.auditMark=t.index,this.getList()},onClick:function(){this.ejectOpen=!this.ejectOpen,console.log("点击图标事件")}}};e.default=c}).call(this,n("543d")["default"])},"5ec3":function(t,e,n){"use strict";n.r(e);var a=n("4568"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"69e6":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,"fb2e"))},uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"65b9"))}},i=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.ejectOpen=!1},t.e1=function(e,n,a){var i=arguments[arguments.length-1].currentTarget.dataset,o=i.eventParams||i["event-params"];n=o.item,a=o.index;t.seleFn(n),t.seleindex=a})},o=[]},d9c0:function(t,e,n){"use strict";var a=n("fe48"),i=n.n(a);i.a},fe48:function(t,e,n){}},[["3ffa","common/runtime","common/vendor"]]]); |