| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-42f96402"],{"1d82":function(t,n,e){e("5d21")},"5d21":function(t,n,e){},8593:function(t,n,e){e.d(n,"i",(function(){return u})),e.d(n,"g",(function(){return a})),e.d(n,"h",(function(){return c})),e.d(n,"jb",(function(){return o})),e.d(n,"m",(function(){return i})),e.d(n,"k",(function(){return s})),e.d(n,"l",(function(){return d})),e.d(n,"j",(function(){return f})),e.d(n,"R",(function(){return l})),e.d(n,"J",(function(){return m})),e.d(n,"Q",(function(){return b})),e.d(n,"O",(function(){return g})),e.d(n,"L",(function(){return h})),e.d(n,"M",(function(){return p})),e.d(n,"N",(function(){return O})),e.d(n,"P",(function(){return j})),e.d(n,"fb",(function(){return y})),e.d(n,"lb",(function(){return _})),e.d(n,"y",(function(){return v})),e.d(n,"c",(function(){return T})),e.d(n,"e",(function(){return k})),e.d(n,"b",(function(){return E})),e.d(n,"d",(function(){return w})),e.d(n,"f",(function(){return x})),e.d(n,"C",(function(){return C})),e.d(n,"A",(function(){return G})),e.d(n,"B",(function(){return P})),e.d(n,"W",(function(){return S})),e.d(n,"V",(function(){return V})),e.d(n,"X",(function(){return U})),e.d(n,"eb",(function(){return F})),e.d(n,"p",(function(){return W})),e.d(n,"o",(function(){return H})),e.d(n,"ab",(function(){return L})),e.d(n,"r",(function(){return B})),e.d(n,"z",(function(){return J})),e.d(n,"bb",(function(){return M})),e.d(n,"a",(function(){return R})),e.d(n,"G",(function(){return $})),e.d(n,"ib",(function(){return q})),e.d(n,"K",(function(){return z})),e.d(n,"xb",(function(){return D})),e.d(n,"wb",(function(){return I})),e.d(n,"S",(function(){return N})),e.d(n,"U",(function(){return A})),e.d(n,"H",(function(){return K})),e.d(n,"Y",(function(){return Q})),e.d(n,"Z",(function(){return X})),e.d(n,"D",(function(){return Y})),e.d(n,"gb",(function(){return Z})),e.d(n,"E",(function(){return tt})),e.d(n,"hb",(function(){return nt})),e.d(n,"q",(function(){return et})),e.d(n,"I",(function(){return rt})),e.d(n,"F",(function(){return ut})),e.d(n,"cb",(function(){return at})),e.d(n,"rb",(function(){return ct})),e.d(n,"tb",(function(){return ot})),e.d(n,"qb",(function(){return it})),e.d(n,"ub",(function(){return st})),e.d(n,"sb",(function(){return dt})),e.d(n,"s",(function(){return ft})),e.d(n,"vb",(function(){return lt})),e.d(n,"mb",(function(){return mt})),e.d(n,"kb",(function(){return bt})),e.d(n,"nb",(function(){return gt})),e.d(n,"db",(function(){return ht})),e.d(n,"pb",(function(){return pt})),e.d(n,"T",(function(){return Ot})),e.d(n,"ob",(function(){return jt})),e.d(n,"t",(function(){return yt})),e.d(n,"w",(function(){return _t})),e.d(n,"u",(function(){return vt})),e.d(n,"v",(function(){return Tt})),e.d(n,"x",(function(){return kt})),e.d(n,"n",(function(){return Et})),e("99af");var r=e("6b6c");function u(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function a(t){return Object(r.a)({url:"setting/config_class/create",method:"get"})}function c(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function o(t){return Object(r.a)({url:"setting/config_class/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function i(t){return Object(r.a)({url:"setting/config",method:"get",params:t})}function s(t){return Object(r.a)({url:"setting/config/create",method:"get",params:t})}function d(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function f(t,n){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(n),method:"PUT"})}function l(t){return Object(r.a)({url:"setting/group",method:"get",params:t})}function m(t){return Object(r.a)({url:t.url,method:t.method,data:t.datas})}function b(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function g(t,n){return Object(r.a)({url:n,method:"get",params:t})}function h(t,n){return Object(r.a)({url:n,method:"get",params:t})}function p(t,n){return Object(r.a)({url:n,method:"get",params:t})}function O(t,n){return Object(r.a)({url:n,method:"get",params:t})}function j(t){return Object(r.a)({url:t,method:"PUT"})}function y(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function _(t){return Object(r.a)({url:"system/log",method:"GET",params:t})}function v(){return Object(r.a)({url:"system/file",method:"GET"})}function T(){return Object(r.a)({url:"system/backup",method:"GET"})}function k(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function E(t){return Object(r.a)({url:"system/backup/backup",method:"put",data:t})}function w(t){return Object(r.a)({url:"system/backup/optimize",method:"put",data:t})}function x(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function C(t){return Object(r.a)({url:"system/backup/file_list",method:"GET"})}function G(t){return Object(r.a)({url:"backup/download",method:"get",params:t})}function P(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function S(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function V(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function U(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function F(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function W(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function H(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function L(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function B(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function J(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function M(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function R(){return Object(r.a)({url:"auth",method:"get"})}function $(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function q(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function z(){return Object(r.a)({url:"setting/group_all",method:"get"})}function D(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function I(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function N(t){return Object(r.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function A(t){return Object(r.a)({url:"diy/open_adv/add",method:"POST",data:t})}function K(){return Object(r.a)({url:"diy/open_adv/info",method:"get"})}function Q(t){return Object(r.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function X(t){return Object(r.a)({url:"setting/config/save_basics",method:"POST",data:t})}function Y(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function Z(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function tt(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function nt(t,n){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function et(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function rt(){return Object(r.a)({url:"setting/get_version",method:"get"})}function ut(){return Object(r.a)({url:"copyright",method:"get"})}function at(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function ct(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function ot(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function it(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function st(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function dt(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function ft(t){return Object(r.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function lt(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function mt(t){return Object(r.a)({url:"system/crontab/list",params:t})}function bt(t,n){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(n)})}function gt(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function ht(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function pt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function Ot(t,n){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:n})}function jt(){return Object(r.a)({url:"system/crontab/mark"})}function yt(t){return Object(r.a)({url:"system/event/list",params:t})}function _t(t,n){return Object(r.a)({url:"system/event/set_open/".concat(t,"/").concat(n)})}function vt(t){return Object(r.a)({url:"system/event/info/".concat(t)})}function Tt(t){return Object(r.a)({url:"system/event/save",method:"post",data:t})}function kt(){return Object(r.a)({url:"system/event/mark"})}function Et(){return Object(r.a)({url:"system/info"})}},d9f0:function(t,n,e){e.r(n),e("d3b7"),e("25f0");var r=e("c14f"),u=e("1da1"),a=(e("caad"),e("a069")),c=e("8593");a={components:{WangEditor:a.a},data:function(){return{loadingExist:!1,currentTab:"1",headerList:[{label:"付费会员协议",value:"1"},{label:"代理商协议",value:"2"},{label:"隐私协议",value:"3"},{label:"用户协议",value:"4"},{label:"注销协议",value:"5"},{label:"积分协议",value:"6"},{label:"分销协议",value:"8"}],ueConfig:{autoHeightEnabled:!1,initialFrameHeight:500,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/UEditor/",serverUrl:""},id:0,formValidate:{content:""},content:"",spinShow:!1}},computed:{fixBottomWidth:function(){var t=this.$store.state.themeConfig.themeConfig,n=t.layout;t=t.isCollapse,n=["columns"].includes(n)?t?"85px":"265px":["classic"].includes(n)?t?"85px":"180px":["defaults","classic"].includes(n)?t?"64px":"180px":"0px";return n}},created:function(){this.changeTab(this.currentTab)},methods:{save:function(){var t=this;this.formValidate.content=this.content,Object(c.hb)(this.formValidate).then((()=>{var n=Object(u.a)(Object(r.a)().m((function n(e){return Object(r.a)().w((function(n){for(;;)switch(n.n){case 0:t.$message.success(e.msg);case 1:return n.a(2)}}),n)})));return function(t){return n.apply(this,arguments)}})()).catch((function(n){t.$message.error(n.msg)}))},getEditorContent:function(t){this.content=t},changeTab:function(){var t=this;this.formValidate.content=" ",Object(c.E)(this.currentTab).then((function(n){t.formValidate.id=n.data.id||0,t.formValidate.type=n.data.type,t.formValidate.title=n.data.title,t.formValidate.content=n.data.content,t.content=n.data.content}))}}},e("1d82"),e=e("2877"),e=Object(e.a)(a,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"agreemant"},[n("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never","body-style":{padding:"0 20px"}}},[n("div",[n("el-tabs",{on:{"tab-click":t.changeTab},model:{value:t.currentTab,callback:function(n){t.currentTab=n},expression:"currentTab"}},t._l(t.headerList,(function(t,e){return n("el-tab-pane",{key:e,attrs:{label:t.label,name:t.value.toString()}})})),1)],1)]),n("el-row",{staticClass:"content"},[n("el-col",{attrs:{span:16}},[n("WangEditor",{staticStyle:{width:"100%"},attrs:{content:t.formValidate.content},on:{editorContent:t.getEditorContent}})],1),n("el-col",{staticStyle:{width:"33%"},attrs:{span:6}},[n("div",{staticClass:"ifam"},[n("div",{staticClass:"content",domProps:{innerHTML:t._s(t.content)}})])])],1),n("el-card",{staticClass:"fixed-card",style:{left:"".concat(t.fixBottomWidth)},attrs:{bordered:!1,shadow:"never"}},[n("div",{staticClass:"acea-row row-center"},[n("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"bnt",attrs:{type:"primary",loading:t.loadingExist},on:{click:t.save}},[t._v("保存")])],1)])],1)}),[],!1,null,"4c73b98f",null);n.default=e.exports}}]);
|