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.
1 line
5.4 KiB
1 line
5.4 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1574274c"],{"34c4":function(t,e,n){"use strict";n("ba8f")},"784f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"divBox"},[n("el-card",{staticClass:"box-card"},[n("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{model:t.formValidate,"label-width":"100px"},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-col",{attrs:{span:24}},[n("el-form-item",[n("h3",{staticClass:"title"},[t._v("分销等级规则")]),t._v(" "),n("ueditor-from",{staticStyle:{width:"100%"},attrs:{content:t.formValidate.agree},model:{value:t.formValidate.agree,callback:function(e){t.$set(t.formValidate,"agree",e)},expression:"formValidate.agree"}})],1)],1),t._v(" "),n("el-form-item",{staticStyle:{"margin-top":"30px"}},[n("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:t.previewProtol}},[t._v("预览")]),t._v(" "),n("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.handleSubmit("formValidate")}}},[t._v("提交")])],1)],1)],1),t._v(" "),n("div",{staticClass:"Box"},[t.modals?n("el-dialog",{staticClass:"addDia",attrs:{visible:t.modals,title:"",height:"30%","custom-class":"dialog-scustom"},on:{"update:visible":function(e){t.modals=e}}},[n("div",{staticClass:"agreement"},[n("h3",[t._v("佣金说明")]),t._v(" "),n("div",{staticClass:"content"},[n("div",{domProps:{innerHTML:t._s(t.formValidate.agree)}})])])]):t._e()],1)],1)},a=[],o=n("c80c"),u=(n("96cf"),n("3b8d")),c=n("ef0d"),i=n("e519"),s={name:"Eextension",components:{ueditorFrom:c["a"]},data:function(){return{modals:!1,props:{emitPath:!1},formValidate:{agree:""},content:"",fullscreenLoading:!1}},mounted:function(){this.getInfo()},methods:{getInfo:function(){var t=this;this.fullscreenLoading=!0,Object(i["k"])("sys_brokerage").then((function(e){var n=e.data;t.formValidate={agree:n.sys_brokerage},t.fullscreenLoading=!1})).catch((function(e){t.$message.error(e.message),t.fullscreenLoading=!1}))},handleSubmit:function(t){var e=this;""!==this.formValidate.agree&&this.formValidate.agree?Object(i["z"])("sys_brokerage",this.formValidate).then(function(){var t=Object(u["a"])(Object(o["a"])().mark((function t(n){return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.fullscreenLoading=!1,e.$message.success(n.message);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.fullscreenLoading=!1,e.$message.error(t.message)})):this.$message.warning("请输入协议信息!")},previewProtol:function(){this.modals=!0}}},f=s,l=(n("34c4"),n("2877")),d=Object(l["a"])(f,r,a,!1,null,"3667149a",null);e["default"]=d.exports},ba8f:function(t,e,n){},e519:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return o})),n.d(e,"q",(function(){return u})),n.d(e,"v",(function(){return c})),n.d(e,"x",(function(){return i})),n.d(e,"y",(function(){return s})),n.d(e,"w",(function(){return f})),n.d(e,"s",(function(){return l})),n.d(e,"a",(function(){return d})),n.d(e,"r",(function(){return g})),n.d(e,"n",(function(){return m})),n.d(e,"b",(function(){return p})),n.d(e,"p",(function(){return b})),n.d(e,"t",(function(){return h})),n.d(e,"u",(function(){return v})),n.d(e,"m",(function(){return k})),n.d(e,"A",(function(){return _})),n.d(e,"k",(function(){return w})),n.d(e,"z",(function(){return V})),n.d(e,"o",(function(){return y})),n.d(e,"g",(function(){return x})),n.d(e,"f",(function(){return C})),n.d(e,"j",(function(){return L})),n.d(e,"e",(function(){return j})),n.d(e,"l",(function(){return O})),n.d(e,"i",(function(){return $})),n.d(e,"h",(function(){return z}));var r=n("0c6d");function a(){return r["a"].get("config/others/lst")}function o(t){return r["a"].post("config/others/update",t)}function u(){return r["a"].post("store/product/check")}function c(t){ret
|