canyin-project/ybcy/views/channel/index20240524/static/js/chunk-26cbf160.7e69262c.js

1 line
11 KiB
JavaScript
Raw Normal View History

2024-11-01 16:07:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26cbf160"],{"1f70":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{},[n("el-dialog",{attrs:{title:e.title,visible:e.dialogFormVisible,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t},close:e.close}},[n("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"排序"}},[n("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.sort,callback:function(t){e.$set(e.form,"sort","string"===typeof t?t.trim():t)},expression:"form.sort"}})],1),n("el-form-item",{attrs:{label:"标签名称",required:!0}},[n("el-input",{attrs:{autocomplete:"off"},model:{value:e.form.labelName,callback:function(t){e.$set(e.form,"labelName","string"===typeof t?t.trim():t)},expression:"form.labelName"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{size:"medium"},on:{click:e.close}},[e._v("取 消")]),n("el-button",{attrs:{size:"medium",type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)],1)],1)},a=[],o=(n("96cf"),n("1da1")),c=n("c24f"),i={name:"goodlistedit",created:function(){},data:function(){return{form:{id:"",labelName:"",sort:"1"},title:"",dialogFormVisible:!1}},components:{},methods:{showEdit:function(e){e?(this.title="编辑",this.form=Object.assign({},e)):this.title="添加",this.dialogFormVisible=!0},close:function(){this.$refs["form"].resetFields(),this.form=this.$options.data().form,this.dialogFormVisible=!1},setStoreId:function(e){this.form.storeId=e},save:function(){var e=this;this.$refs["form"].validate(function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(n){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=10;break}return t.next=3,Object(c["s"])(e.form);case 3:r=t.sent,a=r.msg,e.$baseMessage(a,"success"),e.$emit("fetchData"),e.close(),t.next=11;break;case 10:return t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}}},s=i,u=n("2877"),l=Object(u["a"])(s,r,a,!1,null,null,null);t["a"]=l.exports},c24f:function(e,t,n){"use strict";n.d(t,"k",(function(){return a})),n.d(t,"E",(function(){return o})),n.d(t,"C",(function(){return c})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"s",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return m})),n.d(t,"i",(function(){return f})),n.d(t,"r",(function(){return h})),n.d(t,"f",(function(){return p})),n.d(t,"x",(function(){return b})),n.d(t,"h",(function(){return g})),n.d(t,"n",(function(){return v})),n.d(t,"u",(function(){return j})),n.d(t,"g",(function(){return O})),n.d(t,"l",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"A",(function(){return y})),n.d(t,"z",(function(){return k})),n.d(t,"w",(function(){return $})),n.d(t,"p",(function(){return _})),n.d(t,"m",(function(){return R})),n.d(t,"y",(function(){return C})),n.d(t,"a",(function(){return D})),n.d(t,"o",(function(){return E})),n.d(t,"B",(function(){return S})),n.d(t,"e",(function(){return z})),n.d(t,"F",(function(){return F})),n.d(t,"D",(function(){return I})),n.d(t,"v",(function(){return P}));var r=n("b775");function a(e){return Object(r["a"])({url:"channel/member/get-member-list",method:"get",params:e})}function o(e){return Object(r["a"])({url:"channel/member/get-member-list",method:"post",data:e})}function c(e){return Object(r["a"])({url:"channel/activity/select-user",method:"post",data:e})}function i(e){return Object(r["a"])({url:"channel/member/change-status",method:"post",data:e})}function s(e){return Object(r["a"])({url:"channel/member/change-info",method:"post",data:e})}function u(e){return Object(r["a"])({url:"channel/member/member-label-save",method:"post",data:e})}function l(e){return Object(r["a"])({url:"channel/member/change-member-label",method:"post",data:e})}function d(e){return Object(r["a"])({url:"channel