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
2.9 KiB
1 line
2.9 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c7c8e81"],{2905:function(e,t,a){"use strict";a("7efb")},"7efb":function(e,t,a){},a2b7:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{model:e.formValidate,"label-width":"100px"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("el-col",{attrs:{span:24}},[a("el-form-item",[a("h3",{staticClass:"title"},[e._v("会员协议")]),e._v(" "),a("ueditor-from",{staticStyle:{width:"100%"},attrs:{content:e.formValidate.agree},model:{value:e.formValidate.agree,callback:function(t){e.$set(e.formValidate,"agree",t)},expression:"formValidate.agree"}})],1)],1),e._v(" "),a("el-form-item",{staticStyle:{"margin-top":"30px"}},[a("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:e.previewProtol}},[e._v("预览")]),e._v(" "),a("el-button",{staticClass:"submission",attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleSubmit("formValidate")}}},[e._v("提交")])],1)],1)],1),e._v(" "),a("div",{staticClass:"Box"},[e.modals?a("el-dialog",{staticClass:"addDia",attrs:{visible:e.modals,title:"",height:"30%","custom-class":"dialog-scustom"},on:{"update:visible":function(t){e.modals=t}}},[a("div",{staticClass:"agreement"},[a("h3",[e._v("会员协议")]),e._v(" "),a("div",{staticClass:"content"},[a("div",{domProps:{innerHTML:e._s(e.formValidate.agree)}})])])]):e._e()],1)],1)},i=[],n=a("c80c"),o=(a("96cf"),a("3b8d")),r=a("ef0d"),l=a("c24f"),c={name:"ProductExamine1",components:{ueditorFrom:r["a"]},data:function(){return{modals:!1,props:{emitPath:!1},formValidate:{agree:""},content:"",fullscreenLoading:!1}},mounted:function(){this.getInfo()},methods:{getInfo:function(){var e=this;this.fullscreenLoading=!0,Object(l["A"])("sys_svip").then((function(t){var a=t.data;e.formValidate={agree:a.sys_svip},e.fullscreenLoading=!1})).catch((function(t){e.$message.error(t.message),e.fullscreenLoading=!1}))},handleSubmit:function(e){var t=this;""!==this.formValidate.agree&&this.formValidate.agree?Object(l["C"])("sys_svip",this.formValidate).then(function(){var e=Object(o["a"])(Object(n["a"])().mark((function e(a){return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.fullscreenLoading=!1,t.$message.success(a.message);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.fullscreenLoading=!1,t.$message.error(e.message)})):this.$message.warning("请输入规则信息!")},previewProtol:function(){this.modals=!0}}},d=c,m=(a("2905"),a("2877")),u=Object(m["a"])(d,s,i,!1,null,"2db22004",null);t["default"]=u.exports}}]);
|