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.
crmeb_php/public/system/js/chunk-e8533960.38d60220.js

1 line
7.2 KiB

12 months ago
(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(