1 line
3.0 KiB
JavaScript
1 line
3.0 KiB
JavaScript
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/work/approve/index"],{"05fe":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},r=[]},"5cd7":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")),a=n("dc92"),o=n("0c59");function c(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 s={components:{Item:function(){n.e("pagesA/work/approve/item").then(function(){return resolve(n("2072"))}.bind(null,n)).catch(n.oe)},popScreen:function(){n.e("pagesA/work/approve/popScreen").then(function(){return resolve(n("6330"))}.bind(null,n)).catch(n.oe)}},data:function(){return{BASE_IMG_URL:o.BASE_IMG_URL,page:1,totalPage:1,list:[],type:0,queryParams:{},typeList:[],permission:{}}},onLoad:function(){this.getType()},onShow:function(){this.init(),this.permission=getApp().globalData.permission},methods:{toQuery:function(){this.$refs.popChild.init()},getType:function(){var t=this;(0,a.netWorkExamineName)().then((function(e){t.typeList=e.data}))},sureParams:function(t){this.queryParams=t,this.init()},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?c(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({page:this.page,type:this.type},this.queryParams);(0,a.netWorkExamineList)(e).then((function(e){t.totalPage=e.data.last_page,t.list=t.list.concat(e.data.data)}))},loadMore:function(){this.page<this.totalPage&&(this.page++,this.getList())},init:function(){this.page=1,this.list=[],this.getList()},changeTab:function(t){this.type=t,this.init()},toSelectApprove:function(){t.navigateTo({url:"/pagesA/work/approve/createTab"})}}};e.default=s}).call(this,n("543d")["default"])},"82c7":function(t,e,n){"use strict";n.r(e);var i=n("5cd7"),r=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"]=r.a},c592:function(t,e,n){},cea3:function(t,e,n){"use strict";n.r(e);var i=n("05fe"),r=n("82c7");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("e2e5");var o=n("f0c5"),c=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"7093c8d6",null,!1,i["a"],void 0);e["default"]=c.exports},e096:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var r=i(n("cea3"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},e2e5:function(t,e,n){"use strict";var i=n("c592"),r=n.n(i);r.a}},[["e096","common/runtime","common/vendor"]]]); |