徐总多门店
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.
jiuhaoshenghuo/public/view_admin/js/chunk-6d672a68.3ab936ce.js

1 line
10 KiB

4 months ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6d672a68"],{"02bc":function(t,e,n){"use strict";n.r(e);var r=n("2f62"),u=n("a069"),o=n("c24f");function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(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 i(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={components:{WangEditor:u.a},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(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(o.a)().then((function(e){t.spinShow=!1;var n=e.data,r=(n.title,n.content),u=n.status,o=n.id;t.agent.content=r,t.content=r,t.agent.status=u,t.id=o||0})).catch((function(e){t.$Message.error(e),t.spinShow=!1}))},agentAgreementSave:function(){var t=this;this.$Spin.show(),Object(o.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)}))}}},d=(n("dfdf"),n("2877")),f=Object(d.a)(s,(function(){var t=this._self._c;return t("div",{staticClass:"form-submit"},[t("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("Form",{attrs:{"label-width":80},nativeOn:{submit:function(t){t.preventDefault()}}},[t("FormItem",{attrs:{label:"说明内容:"}},[t("WangEditor",{attrs:{content:this.content},on:{editorContent:this.getEditorContent}})],1)],1),this.spinShow?t("Spin",{attrs:{fix:""}}):this._e()],1),t("Card",{staticClass:"fixed-card",style:{left:"".concat(this.menuCollapse?this.isMobile?"0":"80px":"200px")},attrs:{bordered:!1,"dis-hover":""}},[t("Form",[t("FormItem",[t("Button",{attrs:{type:"primary"},on:{click:this.agentAgreementSave}},[this._v("保存")])],1)],1)],1)],1)}),[],!1,null,"5e1e318c",null);e.default=f.exports},9100:function(t,e,n){},c24f:function(t,e,n){"use strict";n.d(e,"X",(function(){return u})),n.d(e,"N",(function(){return o})),n.d(e,"M",(function(){return c})),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 y})),n.d(e,"Q",(function(){return w})),n.d(e,"cb",(function(){return S})),n.d(e,"U",(function(){return P})),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 A})),n.d(e,"v",(function(){return D})),n.d(e,"w",(function(){return M})),n.d(e,"Z",(function(){return T})),n.d(e,"i",(function(){re