1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/groupCompany/pact/pact"],{"27d0":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("76dd"),a=e("0c59"),c={data:function(){return{BASE_IMG_URL:a.BASE_IMG_URL,contract_list:[],page:1,limit:10,totalPage:1,type:1,customer_id:""}},onLoad:function(t){this.id=t.id,this.type=t.type},onShow:function(){this.contract_list=[],this.page=1,this.getList()},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getList())},methods:{addContract:function(){t.navigateTo({url:"/pagesA/crm/contract/contract?id="+this.id})},getList:function(){var t=this;(0,i.netContractList)({customer_id:this.id}).then((function(n){t.contract_list=n.data}))},toContractDetail:function(n){t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+n})}}};n.default=c}).call(this,e("543d")["default"])},"6cf7":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return i}));var i={uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"38b8"))}},a=function(){var t=this.$createElement,n=(this._self._c,this.contract_list.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},c=[]},"7edf":function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("8886");i(e("66fd"));var a=i(e("c101"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},b6f8:function(t,n,e){"use strict";e.r(n);var i=e("27d0"),a=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);n["default"]=a.a},c101:function(t,n,e){"use strict";e.r(n);var i=e("6cf7"),a=e("b6f8");for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("d5f0");var o=e("f0c5"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"0aec2388",null,!1,i["a"],void 0);n["default"]=u.exports},d5f0:function(t,n,e){"use strict";var i=e("f86f"),a=e.n(i);a.a},f86f:function(t,n,e){}},[["7edf","common/runtime","common/vendor"]]]); |