1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-distribute-index"],{"0869":function(t,e,i){"use strict";var a=i("2a11"),n=i.n(a);n.a},"0abf":function(t,e,i){"use strict";i.r(e);var a=i("6902"),n=i("c033");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("982f");var o=i("f0c5"),l=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"6bae9407",null,!1,a["a"],void 0);e["default"]=l.exports},"19bf":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dh-field"},[a("div",{staticClass:"van-hairline--bottom"},[a("van-field",t._b({staticClass:"dh-cell",attrs:{readonly:!0,label:t.label,"is-link":void 0===t.$attrs.disabled,"error-message-align":"right","input-align":"right",rules:[{required:i("647c"),message:t.requireMessage}]},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPopu(t.$attrs.disabled)}},model:{value:t.resultLabel,callback:function(e){t.resultLabel=e},expression:"resultLabel"}},"van-field",t.$attrs,!1)),a("van-popup",{style:{height:"30%"},attrs:{position:"bottom"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[a("div",{staticClass:"van-picker__toolbar flex_around flex_items mt30 plr50"},[a("v-uni-view",{staticClass:"van-picker__cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[t._v("取消")]),a("div",{staticClass:"van-ellipsis van-picker__title"},[t._v(t._s(t.$attrs.label))]),a("v-uni-view",{staticClass:"van-picker__confirm",staticStyle:{color:"#409EFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm.apply(void 0,arguments)}}},[t._v("确认")])],1),a("div",{staticStyle:{"max-height":"264px","overflow-y":"auto"}},[a("van-checkbox-group",{ref:"checkboxGroup",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}},model:{value:t.checkboxValue,callback:function(e){t.checkboxValue=e},expression:"checkboxValue"}},[a("van-cell-group",t._l(t.columnsData,(function(e,i){return a("van-cell",{key:e[t.option.value],attrs:{title:e[t.option.label],clickable:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggle(i)}},scopedSlots:t._u([{key:"right-icon",fn:function(){return[a("div",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggle(i)}}},[a("van-checkbox",{ref:"checkboxes",refInFor:!0,attrs:{name:e[t.option.value]}})],1)]},proxy:!0}],null,!0)})})),1)],1)],1)])],1)])},n=[]},"2a11":function(t,e,i){var a=i("4660");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("d127947e",a,!0,{sourceMap:!1,shadowMode:!1})},3579:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b"),i("14d9");var n=a(i("b20d")),s=(i("bf08"),{data:function(){return{curindex:0,istrue:!1,protypes:[{value:0,text:"积分"},{value:1,text:"商品"}],form:{productType:0,productIds:[],subject:"",userIds:[],type:1},customerBusinessAll:[],users:[],showPicker:!1,typename:"积分",form2:{page:1,pageSize:10},list:[],name:uni.getStorageSync("adminname")}},components:{SelectCheckBox:n.default},onLoad:function(){this.getp()},methods:{chosewho:function(t){this.curindex=t,1==t&&this.getrecored()},getp:function(){var t=this;uni.showLoading({title:"加载中..."}),this.api.getProducts().then((function(e){console.log(e),200==e.data.code?(t.customerBusinessAll=e.data.data.data,t.getprople()):(t.istrue=!0,uni.hideLoading(),uni.showToast({title:e.data.message,icon:"none"}))}))},getprople:function(){var t=this;this.api.getusers({type:1}).then((function(e){console.log(e),200==e.data.code?(t.users=e.data.data,t.istrue=!0):(t.istrue=!0,uni.hideLoading(),uni.showToast({title:e.data.message,icon:"none"}))}))},getrecored:function(){var t=this;uni.showLoading({title:"加载中..."}),this.api.getrecord(this.form2).then((function(e){if(console.log(e),20
|