12 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/contract/contract"],{267:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(268));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},268:function(e,n,t){"use strict";t.r(n);var o=t(269),r=t(271);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);var c,a=t(32),s=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],c);s.options.__file="pages/contract/contract.vue",n["default"]=s.exports},269:function(e,n,t){"use strict";t.r(n);var o=t(270);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},270:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return c})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));try{o={mescrollBody:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/mescroll-uni/components/mescroll-body/mescroll-body")]).then(t.bind(null,282))},uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,274))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement,t=(e._self._c,{});e.$mp.data=Object.assign({},{$root:{a0:t}})},i=!1,c=[];r._withStripped=!0},271:function(e,n,t){"use strict";t.r(n);var o=t(272),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},272:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=t(273),i=o(t(54)),c={mixins:[i.default],data:function(){return{list:[],type:"",menu:{}}},onLoad:function(n){var t=this;this.type=parseInt(n.type),this.menu=this.title(),e.setNavigationBarTitle({title:this.menu.title}),e.$on("reloadOrder",(function(){t.mescroll.resetUpScroll(!1)}))},methods:{title:function(){var e={title:"",iconClass:"icon-hetongguanli"};switch(this.type){case 1:e={title:"合同列表",iconClass:"icon-hetongguanli"};break;case 2:e={title:"公司合同",iconClass:"icon-anli"};break;case 3:e={title:"个人合同",iconClass:"icon-gerenhetongchaxun"};break;default:break}return e},upCallback:function(e){var n=this;(0,r.getContractListByPage)({currPage:e.num,pageSize:10,organizationId:this.$store.getters.organization.id,projectId:this.$store.getters.project.id}).then((function(t){if(200===t.code){n.mescroll.endBySize(t.data.dataList.length,t.data.totalCount),1==e.num&&(n.list=[]);var o=t.data.dataList;n.list=n.list.concat(o)}else n.mescroll.endErr()})).catch((function(){n.mescroll.endErr()}))}}};n.default=c}).call(this,t(2)["default"])}},[[267,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/contract/contract.js.map
|