徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jiuhaoshenghuo/public/view_admin/js/chunk-204e7ca2.05d4ac80.js

1 line
42 KiB

4 months ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-204e7ca2"],{"0f0e":function(t,e,a){"use strict";var n=a("c4c8"),r={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var a in e)if(e[a].id===t)return!0;return!1},userLabel:function(t){var e=this;this.dataLabel=t,Object(n.ob)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(e.isUser=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id===t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id,tag_id:t.tag_id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},i=(a("47fb"),a("2877")),s=Object(i.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"label-wrapper"},[a("div",{staticClass:"list-box"},[t._l(t.labelList,(function(e,n){return t.isUser?a("div",{key:n,staticClass:"label-box"},[e.children&&e.children.length?a("div",{staticClass:"title"},[t._v("\n "+t._s(e.label_name)+"\n ")]):t._e(),e.children&&e.children.length?a("div",{staticClass:"list"},t._l(e.children,(function(e,n){return a("div",{key:n,staticClass:"label-item",class:{on:e.disabled},on:{click:function(a){return t.selectLabel(e)}}},[t._v("\n "+t._s(e.label_name)+"\n ")])})),0):t._e()]):t._e()})),t.isUser?t._e():a("div",[t._v("暂无标签")])],2),a("div",{staticClass:"footer"},[a("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),a("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"ea2c8f16",null);e.a=s.exports},"2c12":function(t,e,a){},"30a5":function(t,e,a){t.exports=a.p+"view_admin/img/svip-user.b89bb400.png"},"347f1":function(t,e,a){"use strict";var n=a("5219");a.n(n).a},"47fb":function(t,e,a){"use strict";var n=a("702e");a.n(n).a},5219:function(t,e,a){},"702e":function(t,e,a){},"73f5":function(t,e,a){"use strict";a.d(e,"D",(function(){return r})),a.d(e,"u",(function(){return i})),a.d(e,"q",(function(){return s})),a.d(e,"t",(function(){return o})),a.d(e,"v",(function(){return c})),a.d(e,"x",(function(){return u})),a.d(e,"j",(function(){return l})),a.d(e,"i",(function(){return d})),a.d(e,"U",(function(){return m})),a.d(e,"h",(function(){return f})),a.d(e,"z",(function(){return v})),a.d(e,"y",(function(){return p})),a.d(e,"A",(function(){return h})),a.d(e,"w",(function(){return _})),a.d(e,"m",(function(){return b})),a.d(e,"B",(function(){return g})),a.d(e,"s",(function(){return k})),a.d(e,"L",(function(){return w})),a.d(e,"M",(function(){return C})),a.d(e,"J",(function(){return O})),a.d(e,"K",(function(){return I})),a.d(e,"g",(function(){return y})),a.d(e,"G",(function(){return j})),a.d(e,"H",(function(){return D})),a.d(e,"I",(function(){return x})),a.d(e,"T",(function(){return L})),a.d(e,"O",(function(){return F})),a.d(e,"N",(function(){return S})),a.d(e,"e",(function(){return $})),a.d(e,"S",(function(){return W})),a.d(e,"o",(function(){return M})),a.d(e,"P",(function(){return E})),a.d(e,"Q",(function(){return N})),a.d(e,"R",(function(){return P})),a.d(e,"n",(function(){return T})),a.d(e,"r",(function(){return B})),a.d(e,"E",(function(){return U})),a.d(e,"p",(function(){return z})),a.d(e,"C",(function(){return A})),a.d(e,"f",(function(){return J})),a.d(e,"F",(function(){return R})),a.d(e,"b",(function(){return Y})),a.d(e,"d",(function(){return q})),a.d(e,"c",(function(){return H})),a.d(e,"a",(function(){return V})),a.d(e,"k",(function(){return G})),a.d(e,"l",(function(){return K}));var n=a("b6bd");function r(t){return Object(n.a)({url:"merchant/store_list",method:"get",params:t})}function i(t){return Object(n.a)({url:"store/order/list",method:"