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
8.3 KiB
1 line
8.3 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b6f37ba"],{"4f35":function(t,n,e){},7660:function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("el-card",{staticClass:"box-card"},[e("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()}}},[e("el-col",{attrs:{span:24}},[e("el-form-item",[e("h3",{staticClass:"title"},[t._v("店铺类型说明")]),t._v(" "),e("ueditor-from",{staticStyle:{width:"100%"},attrs:{content:t.formValidate.agree},model:{value:t.formValidate.agree,callback:function(n){t.$set(t.formValidate,"agree",n)},expression:"formValidate.agree"}})],1)],1),t._v(" "),e("el-form-item",{staticStyle:{"margin-top":"30px"}},[e("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:t.previewProtol}},[t._v("预览")]),t._v(" "),e("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(n){return t.handleSubmit("formValidate")}}},[t._v("提交")])],1)],1)],1),t._v(" "),e("div",{staticClass:"Box"},[t.modals?e("el-dialog",{staticClass:"addDia",attrs:{visible:t.modals,title:"",height:"30%","custom-class":"dialog-scustom"},on:{"update:visible":function(n){t.modals=n}}},[e("div",{staticClass:"agreement"},[e("h3",[t._v("店铺类型说明")]),t._v(" "),e("div",{staticClass:"content"},[e("div",{domProps:{innerHTML:t._s(t.formValidate.agree)}})])])]):t._e()],1)],1)},a=[],c=e("c80c"),o=(e("96cf"),e("3b8d")),u=e("ef0d"),i=e("8492"),s={name:"storeTypeDesc",components:{ueditorFrom:u["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["l"])("sys_merchant_type").then((function(n){var e=n.data;t.formValidate={agree:e.sys_merchant_type},t.fullscreenLoading=!1})).catch((function(n){t.$message.error(n.message),t.fullscreenLoading=!1}))},handleSubmit:function(t){var n=this;""!==this.formValidate.agree&&this.formValidate.agree?Object(i["bb"])("sys_merchant_type",this.formValidate).then(function(){var t=Object(o["a"])(Object(c["a"])().mark((function t(e){return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n.fullscreenLoading=!1,n.$message.success(e.message);case 2:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}()).catch((function(t){n.fullscreenLoading=!1,n.$message.error(t.message)})):this.$message.warning("请输入协议信息!")},previewProtol:function(){this.modals=!0}}},f=s,m=(e("a324"),e("2877")),d=Object(m["a"])(f,r,a,!1,null,"8a56a98a",null);n["default"]=d.exports},8492:function(t,n,e){"use strict";e.d(n,"J",(function(){return a})),e.d(n,"H",(function(){return c})),e.d(n,"K",(function(){return o})),e.d(n,"I",(function(){return u})),e.d(n,"F",(function(){return i})),e.d(n,"C",(function(){return s})),e.d(n,"P",(function(){return f})),e.d(n,"D",(function(){return m})),e.d(n,"M",(function(){return d})),e.d(n,"L",(function(){return l})),e.d(n,"g",(function(){return g})),e.d(n,"e",(function(){return h})),e.d(n,"h",(function(){return p})),e.d(n,"f",(function(){return y})),e.d(n,"A",(function(){return v})),e.d(n,"Q",(function(){return b})),e.d(n,"T",(function(){return _})),e.d(n,"S",(function(){return w})),e.d(n,"R",(function(){return V})),e.d(n,"G",(function(){return k})),e.d(n,"q",(function(){return x})),e.d(n,"d",(function(){return C})),e.d(n,"p",(function(){return L})),e.d(n,"r",(function(){return O})),e.d(n,"i",(function(){return j})),e.d(n,"n",(function(){return $})),e.d(n,"o",(function(){return P})),e.d(n,"l",(function(){return S})),e.d(n,"bb",(function(){return D})),e.d(n,"E",(function(){return z})),e.d(n,"B",(function(){return B})),e.d(n,"X",(function(){return I})),e.d(n,"Z",(function(){return J})),e.d(n,"W",(function
|