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 lines
5.4 KiB
1 lines
5.4 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11142b5a"],{"0f6c":function(t,e,n){},"268a":function(t,e,n){"use strict";n("0f6c")},cb88: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")),i=n("ef0d"),s=n("e519"),c={name:"Eextension",components:{ueditorFrom:i["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(s["m"])("sys_extension_agree").then((function(e){var n=e.data;t.formValidate={agree:n.sys_extension_agree},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(s["A"])("sys_extension_agree",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=c,l=(n("268a"),n("2877")),d=Object(l["a"])(f,r,a,!1,null,"4123e085",null);e["default"]=d.exports},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 i})),n.d(e,"x",(function(){return s})),n.d(e,"y",(function(){return c})),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 _})),n.d(e,"A",(function(){return w})),n.d(e,"k",(function(){return k})),n.d(e,"z",(function(){return x})),n.d(e,"o",(function(){return V})),n.d(e,"g",(function(){return y})),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 P}));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 i(t){return r["a"].get("user/promoter/lst",t)}function s(t,e){return r["a"].get("user/spread/lst/".concat(t),e)}function c(t,e){return r["a"].get("user/spread/order/".concat(t),e)}function f(t){return r["a"].post("user/spread/clear/".concat(t))}function l(t){return r["a"].get("store/bag/lst",t)}function d(){return r["a"].get("store/category/list")}function g(t){return r["a"].get("store/bag/detail/".concat(t))}function m(){return r["a"].get("store/bag/lst_filter")}function p(t,e){return r["a"].post("store/bag/change/".concat(t),{status:e})}function b(){return r["a"].get("store/product/mer_select")}function h(t){return r["a"].post("store/bag/status",t)}function v(t,e){return r["a"].post("store/bag/update/".concat(t),e)}function _(t){return r["a"].get("agreement/".concat(t))}function w(t,e){return r["a"].post("agreement/".concat(t),e)}function k(t){return r["a"].get("agreement/".concat(t))}function x(t,e){return r["a"].post("agreement/".concat(t),e)}function V(t){return r["a"].post("user/brokerage/create",t)}function y(t){return r["a"].get("user/brokerage/lst",t)}function C(t){return r["a"].get("user/brokerage/detail/".concat(t))}function L(t,e){return r["a"].post("user/brokerage/update/".concat(t),e)}function j(t){return r["a"].delete("user/brokerage/delete/".concat(t))}function O(){return r["a"].get("user/brokerage/options")}function $(){return r["a"].get("user/promoter/count")}function P(t){return r["a"].get("user/spread/".concat(t,"/form"))}}}]); |