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
7.2 KiB
1 lines
7.2 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e8533960"],{"7c5f":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("div",[e("el-tabs",{attrs:{"tab-position":"left"},on:{"tab-click":t.tabStatus},model:{value:t.editableTabsValue,callback:function(n){t.editableTabsValue=n},expression:"editableTabsValue"}},t._l(t.tabList,(function(n,r){return e("el-tab-pane",{key:r,attrs:{label:n.label,name:n.key}},[e("div",{staticClass:"content"},[e("div",{staticClass:"phoneBox"},[e("div",{staticClass:"fontBox",domProps:{innerHTML:t._s(t.formValidate.agree)}})]),t._v(" "),e("div",{staticClass:"ueditor"},[e("div",{staticClass:"font"},[e("span",{staticClass:"gang"}),t._v(" "+t._s(n.label)+"\n ")]),t._v(" "),e("ueditor-from",{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("div",{staticClass:"btn"},[e("el-button",{staticClass:"button",attrs:{type:"primary"},on:{click:t.submenus}},[t._v("提交")])],1)],1)])],1)},u=[],a=(e("7f7f"),e("c80c")),c=(e("96cf"),e("3b8d")),o=e("ef0d"),i=e("90e7"),s={name:"agreements",components:{ueditorFrom:o["a"]},data:function(){return{tabList:[{title:"用户协议",id:1},{title:"隐私政策",id:2},{title:"入驻协议",id:3},{title:"关于我们",id:4},{title:"资质证照",id:5},{title:"平台规则",id:6},{title:"注销声明",id:7},{title:"注销重要提示",id:8}],formValidate:{agree:""},editableTabsValue:""}},created:function(){var t=this;Object(i["v"])().then((function(n){t.tabList=n.data,t.editableTabsValue=n.data[0].key,t.getInfo(t.editableTabsValue)}))},methods:{getInfo:function(t){var n=this;Object(i["r"])(t).then((function(t){n.formValidate.agree=t.data[n.editableTabsValue]}))},submenus:function(){var t=this;""!==this.formValidate.agree&&this.formValidate.agree?Object(i["E"])(this.editableTabsValue,this.formValidate).then(function(){var n=Object(c["a"])(Object(a["a"])().mark((function n(e){return Object(a["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.$message.success(e.message);case 1:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}()).catch((function(n){t.$message.error(n.message)})):this.$message.warning("请输入协议信息!")},tabStatus:function(t){this.getInfo(t.name)}}},f=s,d=(e("fc67"),e("2877")),l=Object(d["a"])(f,r,u,!1,null,"1382dbbc",null);n["default"]=l.exports},"90e7":function(t,n,e){"use strict";e.d(n,"x",(function(){return u})),e.d(n,"H",(function(){return a})),e.d(n,"K",(function(){return c})),e.d(n,"I",(function(){return o})),e.d(n,"J",(function(){return i})),e.d(n,"e",(function(){return s})),e.d(n,"c",(function(){return f})),e.d(n,"i",(function(){return d})),e.d(n,"d",(function(){return l})),e.d(n,"h",(function(){return m})),e.d(n,"g",(function(){return g})),e.d(n,"f",(function(){return p})),e.d(n,"u",(function(){return v})),e.d(n,"L",(function(){return b})),e.d(n,"S",(function(){return h})),e.d(n,"w",(function(){return y})),e.d(n,"n",(function(){return V})),e.d(n,"D",(function(){return w})),e.d(n,"T",(function(){return _})),e.d(n,"P",(function(){return k})),e.d(n,"O",(function(){return x})),e.d(n,"N",(function(){return C})),e.d(n,"p",(function(){return T})),e.d(n,"q",(function(){return j})),e.d(n,"l",(function(){return O})),e.d(n,"Q",(function(){return L})),e.d(n,"m",(function(){return $})),e.d(n,"M",(function(){return B})),e.d(n,"s",(function(){return I})),e.d(n,"Z",(function(){return E})),e.d(n,"b",(function(){return J})),e.d(n,"j",(function(){return S})),e.d(n,"k",(function(){return F})),e.d(n,"Y",(function(){return H})),e.d(n,"o",(function(){return M})),e.d(n,"G",(function(){return P})),e.d(n,"F",(function(){return q})),e.d(n,"y",(function(){return z})),e.d(n,"A",(function(){return A})),e.d(n,"a",(function(){return D})),e.d(n,"B",(function(){return G})),e.d(n,"z",(function(){return K})),e.d(n,"C",(function(){return N})),e.d(n,"U",(function(){return Q})),e.d(n,"V",(function(){return R})),e.d(n,"t",(function(){return U})),e.d(n,"R",(function(){return Y})),e.d(n,"v",(function(){return Z})),e.d(n,"r",(function(){return W})),e.d(n,"E",(function(){return X}));var r=e("0c6d");function u(t){return r["a"].get("system/role/lst",t)}function a(){return r["a"].get("system/role/create/form")}function c(t){return r["a"].get("system/role/update/form/".concat(t))}function o(t){return r["a"].delete("system/role/delete/".concat(t))}function i(t,n){return r["a"].post("system/role/status/".concat(t),{status:n})}function s(t){return r["a"].get("system/admin/lst",t)}function f(){return r["a"].get("/system/admin/create/form")}function d(t){return r["a"].get("system/admin/update/form/".concat(t))}function l(t){return r["a"].delete("system/admin/delete/".concat(t))}function m(t,n){return r["a"].post("system/admin/status/".concat(t),{status:n})}function g(t){return r["a"].get("system/admin/password/form/".concat(t))}function p(t){return r["a"].get("system/admin/log",t)}function v(){return r["a"].get("serve/user/is_login")}function b(){return r["a"].get("serve/user/info")}function h(t){return r["a"].get("serve/mealList/".concat(t))}function y(){return r["a"].get("sms/logout")}function V(t){return r["a"].post("serve/login",t)}function w(t){return r["a"].get("serve/paymeal",t)}function _(t){return r["a"].get("sms/record",t)}function k(t){return r["a"].get("serve/record",t)}function x(t){return r["a"].get("serve/us_lst",t)}function C(t){return r["a"].post("serve/open",t)}function T(){return r["a"].get("serve/expr/lst")}function j(t){return r["a"].get("serve/expr/temps",t)}function O(t){return r["a"].get("serve/captcha/".concat(t))}function L(t){return r["a"].post("serve/change_sign",t)}function $(t){return r["a"].post("serve/captcha",t)}function B(t){return r["a"].post("serve/change_password",t)}function I(){return r["a"].get("serve/config")}function E(t){return r["a"].post("serve/config",t)}function J(){return r["a"].get("serve/meal/create/form")}function S(t){return r["a"].get("serve/meal/lst",t)}function F(t,n){return r["a"].post("serve/meal/status/".concat(t),n)}function H(t){return r["a"].get("serve/meal/update/".concat(t,"/form"))}function M(t){return r["a"].delete("serve/meal/detele/".concat(t))}function P(t){return r["a"].get("serve/paylst",t)}function q(t){return r["a"].get("serve/mer/paylst",t)}function z(t){return r["a"].get("serve/mer/lst",t)}function A(t){return r["a"].get("notice/config/lst",t)}function D(){return r["a"].get("notice/config/create/form")}function G(t){return r["a"].get("notice/config/update/".concat(t,"/form"))}function K(t){return r["a"].get("notice/config/change/".concat(t,"/form"))}function N(t,n){return r["a"].post("notice/config/status/".concat(t),n)}function Q(){return r["a"].get("wechat/template/min/sync")}function R(){return r["a"].get("wechat/template/sync")}function U(){return r["a"].get("change/color")}function Y(t){return r["a"].post("change/color",t)}function Z(){return r["a"].get("agreement/keylst")}function W(t){return r["a"].get("agreement/".concat(t))}function X(t,n){return r["a"].post("agreement/".concat(t),n)}},e9c3:function(t,n,e){},fc67:function(t,n,e){"use strict";e("e9c3")}}]); |