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
9.5 KiB
1 line
9.5 KiB
4 months ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7d3971b4"],{"02bc":function(t,e,n){"use strict";n.r(e);var r=n("2f62"),u=n("a069"),c=n("c24f");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i={components:{WangEditor:u.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(n,!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(r.e)("admin/layout",["isMobile","menuCollapse"])),data:function(){return{id:0,agent:{content:"",status:1},content:"",spinShow:!1}},created:function(){this.agentAgreement()},methods:{getEditorContent:function(t){this.agent.content=t},agentAgreement:function(){var t=this;this.spinShow=!0,Object(c.a)().then((function(e){t.spinShow=!1;var n=e.data,r=(n.title,n.content),u=n.status,c=n.id;t.agent.content=r,t.content=r,t.agent.status=u,t.id=c||0})).catch((function(e){t.$Message.error(e),t.spinShow=!1}))},agentAgreementSave:function(){var t=this;this.$Spin.show(),Object(c.b)(this.id,this.agent).then((function(e){t.$Spin.hide(),t.$Message.success("保存成功"),t.agentAgreement()})).catch((function(e){t.$Spin.hide(),t.$Message.error(e.msg)}))}}},s=(n("cfff"),n("2877")),d=Object(s.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-submit"},[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Form",{attrs:{"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"说明内容:"}},[n("WangEditor",{attrs:{content:t.content},on:{editorContent:t.getEditorContent}})],1)],1),t.spinShow?n("Spin",{attrs:{fix:""}}):t._e()],1),n("Card",{staticClass:"fixed-card",style:{left:t.menuCollapse?t.isMobile?"0":"80px":"200px"},attrs:{bordered:!1,"dis-hover":""}},[n("Form",[n("FormItem",[n("Button",{attrs:{type:"primary"},on:{click:t.agentAgreementSave}},[t._v("保存")])],1)],1)],1)],1)}),[],!1,null,"5e1e318c",null);e.default=d.exports},"6d69":function(t,e,n){},c24f:function(t,e,n){"use strict";n.d(e,"X",(function(){return u})),n.d(e,"N",(function(){return c})),n.d(e,"M",(function(){return o})),n.d(e,"k",(function(){return a})),n.d(e,"r",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"h",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"q",(function(){return m})),n.d(e,"s",(function(){return l})),n.d(e,"J",(function(){return b})),n.d(e,"P",(function(){return h})),n.d(e,"L",(function(){return g})),n.d(e,"K",(function(){return p})),n.d(e,"f",(function(){return O})),n.d(e,"e",(function(){return j})),n.d(e,"n",(function(){return _})),n.d(e,"R",(function(){return v})),n.d(e,"p",(function(){return w})),n.d(e,"Q",(function(){return y})),n.d(e,"cb",(function(){return P})),n.d(e,"U",(function(){return S})),n.d(e,"S",(function(){return k})),n.d(e,"T",(function(){return C})),n.d(e,"W",(function(){return x})),n.d(e,"V",(function(){return E})),n.d(e,"Y",(function(){return $})),n.d(e,"v",(function(){return A})),n.d(e,"w",(function(){return D})),n.d(e,"Z",(function(){return M})),n.d(e,"i",(function(){return U})),n.d(e,"bb",(function(){return F})),n.d(e,"C",(function(){return T})),n.d(e,"db",(function(){return I})),n.d(e,"m",(function(){return J})),n.d(e,"ab",(function(){return W})),n.d(e,"F",(function(){return B})),n.d(e,"B",(function(){return q})),n.d(e,"A",(function(){return z})),n.d(e,"z",(function(){return G})),n.d(e,"D",(function(){return H})),n.d(e,"y",(function(){return K})),n.d(e,"x",(function(){return L})),n.d(e,"u",(function(){return N})),n.d(e,"t",(function(){return Q})),n.d(e,"o",(function(){return R})),n.d(e,"l",(function(){return V})),n.d(e,"G
|