crm_second_opening_mini/pagesA/payment/index.js

1 line
3.3 KiB
JavaScript

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/payment/index"],{"372b":function(t,e,n){"use strict";n.r(e);var i=n("76f8"),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},"6f98":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"6f9d"))}},r=function(){var t=this.$createElement;this._self._c},o=[]},"76f8":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("9523")),o=n("76dd"),a=n("0c59");function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var c={components:{screenPop:function(){n.e("pagesA/payment/screen").then(function(){return resolve(n("9f0a"))}.bind(null,n)).catch(n.oe)},payItem:function(){n.e("pagesA/payment/item").then(function(){return resolve(n("8e90"))}.bind(null,n)).catch(n.oe)}},data:function(){return{BASE_IMG_URL:a.BASE_IMG_URL,type:0,page:1,totalPage:1,queryParams:{},list:[],timeArr:[],moneyInfo:{}}},onLoad:function(t){t.stime&&(this.type=t.status,this.timeArr=[t.stime,t.etime])},onShow:function(){this.ini()},methods:{lookTotal:function(){this.$refs.popup.open()},removeTotal:function(){this.$refs.popup.close()},changeFirTab:function(t){this.type=t,this.ini()},toQuery:function(){console.log(this.timeArr,"===="),this.$refs.screenChild.init(this.timeArr)},surePa:function(t){this.queryParams=t,this.ini()},ini:function(){var t=this;this.page=1,this.list=[],setTimeout((function(){t.getList()}),200)},loodMore:function(){this.page<this.totalPage&&(this.page++,this.getList())},getList:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({type:this.type,page:this.page,times:this.timeArr.length>0?this.timeArr[0]+","+this.timeArr[1]:""},this.queryParams);(0,o.netPaymentList)(e).then((function(e){t.list=t.list.concat(e.data.data),t.totalPage=e.data.last_page,t.moneyInfo=e.data.moneyinfo}))},toAddpayment:function(){t.navigateTo({url:"/pages/index/groupCompany/contract/addPayment"})}}};e.default=c}).call(this,n("543d")["default"])},"948c":function(t,e,n){"use strict";n.r(e);var i=n("6f98"),r=n("372b");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("9a9a");var a=n("f0c5"),u=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"e1476e90",null,!1,i["a"],void 0);e["default"]=u.exports},"9a9a":function(t,e,n){"use strict";var i=n("a73d"),r=n.n(i);r.a},a73d:function(t,e,n){},b3f2:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var r=i(n("948c"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["b3f2","common/runtime","common/vendor"]]]);