1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/dataList"],{"420c":function(t,e,n){"use strict";n.r(e);var i=n("68d0"),s=n("d7cc");for(var a in s)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("5317");var c=n("f0c5"),o=Object(c["a"])(s["default"],i["b"],i["c"],!1,null,"0d376304",null,!1,i["a"],void 0);e["default"]=o.exports},5317:function(t,e,n){"use strict";var i=n("cae4"),s=n.n(i);s.a},"68d0":function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},s=function(){var t=this.$createElement,e=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},a=[]},cae4:function(t,e,n){},d7cc:function(t,e,n){"use strict";n.r(e);var i=n("e829"),s=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=s.a},e829:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("dc92"),s=n("3a1f"),a=n("0c59"),c={mixins:[s.pageJumps],data:function(){return{list:[],type:"",statusPop:!1,scheid:"",schestatus:"",schesTitle:"",BASE_IMG_URL:a.BASE_IMG_URL}},components:{popStatus:function(){n.e("pages/index/components/popStatus").then(function(){return resolve(n("1bc6"))}.bind(null,n)).catch(n.oe)}},onLoad:function(t){this.type=t.type},onShow:function(){this.getList()},methods:{getList:function(){var e=this;1==this.type?(t.setNavigationBarTitle({title:"待跟进任务"}),(0,i.netGetFollowList)().then((function(t){e.list=t.data}))):2==this.type?(t.setNavigationBarTitle({title:"待处理日程"}),(0,i.netGetScheList)().then((function(t){e.list=t.data,(0,i.netGetFollowList)().then((function(t){e.list=e.list.concat(t.data)}))}))):3==this.type?(t.setNavigationBarTitle({title:"待审核合同"}),(0,i.netGetContractList)().then((function(t){e.list=t.data}))):4==this.type?(t.setNavigationBarTitle({title:"待审核回款"}),(0,i.netGetPaymentList)().then((function(t){e.list=t.data}))):5==this.type&&(t.setNavigationBarTitle({title:"待回款提醒"}),(0,i.netGetPaymentRemindList)().then((function(t){e.list=t.data})))},toContractDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+e})},toPaymentDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contract/paymentDetail?id="+e.id})},toEditstatuss:function(e){this.scheid=e.id,this.schestatus=e.status,this.schesTitle=e.title,this.statusPop=!0,t.hideTabBar({animation:!0})},closeStatus:function(){this.statusPop=!1,this.schestatus="",this.scheid="",t.showTabBar({animation:!0})},changeStatus:function(t){this.schestatus=t},changeStatusSuccess:function(){var e=this,n={id:this.scheid,status:this.schestatus};(0,i.netEditScheculeStatus)(n).then((function(n){e.statusPop=!1,e.schestatus="",e.scheid="",t.showToast({title:"日程状态修改成功",icon:"none"}),setTimeout((function(){e.getList()}),2e3)}))}}};e.default=c}).call(this,n("543d")["default"])},f1c6:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var s=i(n("420c"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(s.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["f1c6","common/runtime","common/vendor"]]]); |