1 line
2.8 KiB
JavaScript
1 line
2.8 KiB
JavaScript
|
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/selectMember/selectMember"],{"0622":function(t,e,n){"use strict";n.r(e);var i=n("3944"),c=n("33f6");for(var s in c)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(s);n("4b83");var u=n("f0c5"),a=Object(u["a"])(c["default"],i["b"],i["c"],!1,null,"57560e7e",null,!1,i["a"],void 0);e["default"]=a.exports},"33f6":function(t,e,n){"use strict";n.r(e);var i=n("d0e2"),c=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=c.a},3944:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uSearch:function(){return n.e("uview-ui/components/u-search/u-search").then(n.bind(null,"d3fc"))},uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},c=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.list,(function(e,n){var i=t.__get_orig(e),c=e.isSelect?String(e.id):null;return{$orig:i,m0:c}}))),i=t.list.length;t.$mp.data=Object.assign({},{$root:{l0:n,g0:i}})},s=[]},"4b83":function(t,e,n){"use strict";var i=n("c801"),c=n.n(i);c.a},"99eb":function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var c=i(n("0622"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(c.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},c801:function(t,e,n){},d0e2:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("76dd"),c={data:function(){return{list:[],name:"",selectInfo:[],type:null,allSelect:!1}},onLoad:function(t){t.type&&(this.type=t.type)},onShow:function(){this.getList()},methods:{getList:function(){var t=this,e={name:this.name};(0,i.netStaffList)(e).then((function(e){e=e.data,e.forEach((function(t){t.isDel=!0,t.isSelect=!1})),t.list=e}))},selectItem:function(t){if(1==this.type){var e=this.list;e.forEach((function(t){t.isSelect=!1})),this.list=e}var n=this.list[t];n.isSelect=!n.isSelect,this.$set(this.list,t,n)},queding:function(){if(1==this.type){var e=this.list,n=null;e.forEach((function(t){t.isSelect&&(n=t)})),t.setStorageSync("parentinfo",n)}else{var i=[],c=t.getStorageSync("remindlist");0!=c.length&&(i=i.concat(c)),this.list.forEach((function(t){t.isSelect&&i.push(t)})),t.setStorageSync("remindlist",i)}t.navigateBack({delta:1})},quxiao:function(){t.navigateBack({delta:1})},queryList:function(t){this.name=t,this.getList()},selectAll:function(){this.allSelect=!0;var t=this.list;t.forEach((function(t){t.isSelect=!0})),this.list=t},removeSelect:function(){this.allSelect=!1;var t=this.list;t.forEach((function(t){t.isSelect=!1})),this.list=t}}};e.default=c}).call(this,n("543d")["default"])}},[["99eb","common/runtime","common/vendor"]]]);
|