require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/salesTarget/history_edit"],{1936:function(t,e,i){"use strict";i.r(e);var n=i("2b46"),a=i("cc67");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("8780");var u=i("f0c5"),o=Object(u["a"])(a["default"],n["b"],n["c"],!1,null,"27c9ef42",null,!1,n["a"],void 0);e["default"]=o.exports},"2b46":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var n={uEmpty:function(){return i.e("uview-ui/components/u-empty/u-empty").then(i.bind(null,"38b8"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},s=[]},8780:function(t,e,i){"use strict";var n=i("8cae"),a=i.n(n);a.a},"8cae":function(t,e,i){},cc67:function(t,e,i){"use strict";i.r(e);var n=i("e061"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},e061:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("76dd"),a=i("0c59"),s={data:function(){return{optionsMoney:[{text:"成交金额",value:1},{text:"回款金额",value:2}],statusArr:["待审核","审核中","审核通过","审核未通过","撤销"],optionsTime:[],valueTime:0,valueMoney:0,list:[],page:1,totalPage:1,size:10,BASE_IMG_URL:a.BASE_IMG_URL}},onShow:function(){this.list=[],this.page=1,this.getSelect()},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getRList())},methods:{getSelect:function(){var t=this;(0,n.netGetTargetSelect)().then((function(e){e=e.data.years,e.forEach((function(e,i){e.selected&&(t.valueTime=i)})),t.optionsTime=e,t.getRList()}))},getRList:function(){var t=this,e={year:this.optionsTime[this.valueTime].name,status:this.optionsMoney[this.valueMoney].value,page:this.page};(0,n.netGetRecordList)(e).then((function(e){t.list=t.list.concat(e.data.data),t.totalPage=e.data.last_page}))},jumpDetail:function(e){t.navigateTo({url:"/pagesA/crm/salesTarget/history_detail?id="+e.id})},changeTime:function(t){this.valueTime=t.detail.value,this.list=[],this.page=1,this.getRList()},changeMoney:function(t){this.valueMoney=t.detail.value,this.list=[],this.page=1,this.getRList()}}};e.default=s}).call(this,i("543d")["default"])},e475:function(t,e,i){"use strict";(function(t,e){var n=i("4ea4");i("8886");n(i("66fd"));var a=n(i("1936"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])}},[["e475","common/runtime","common/vendor"]]]);