1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0ab32ade"],{4335:function(t,e,n){},"857a":function(t,e,n){var r=n("e330"),u=n("1d80"),a=n("577e"),i=/"/g,o=r("".replace);t.exports=function(t,e,n,r){t=a(u(t));var c="<"+e;return""!==n&&(c+=" "+n+'="'+o(a(r),i,""")+'"'),c+">"+t+"</"+e+">"}},8593:function(t,e,n){n.d(e,"i",(function(){return u})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return i})),n.d(e,"W",(function(){return o})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return d})),n.d(e,"j",(function(){return l})),n.d(e,"J",(function(){return f})),n.d(e,"B",(function(){return m})),n.d(e,"I",(function(){return b})),n.d(e,"G",(function(){return g})),n.d(e,"D",(function(){return h})),n.d(e,"E",(function(){return p})),n.d(e,"F",(function(){return O})),n.d(e,"H",(function(){return j})),n.d(e,"T",(function(){return v})),n.d(e,"Y",(function(){return _})),n.d(e,"s",(function(){return y})),n.d(e,"c",(function(){return k})),n.d(e,"e",(function(){return C})),n.d(e,"b",(function(){return T})),n.d(e,"d",(function(){return E})),n.d(e,"f",(function(){return x})),n.d(e,"w",(function(){return w})),n.d(e,"u",(function(){return G})),n.d(e,"v",(function(){return U})),n.d(e,"M",(function(){return V})),n.d(e,"L",(function(){return P})),n.d(e,"N",(function(){return L})),n.d(e,"S",(function(){return S})),n.d(e,"o",(function(){return I})),n.d(e,"n",(function(){return F})),n.d(e,"O",(function(){return H})),n.d(e,"q",(function(){return $})),n.d(e,"t",(function(){return M})),n.d(e,"P",(function(){return R})),n.d(e,"a",(function(){return W})),n.d(e,"C",(function(){return A})),n.d(e,"kb",(function(){return B})),n.d(e,"jb",(function(){return D})),n.d(e,"x",(function(){return J})),n.d(e,"U",(function(){return q})),n.d(e,"y",(function(){return z})),n.d(e,"V",(function(){return N})),n.d(e,"p",(function(){return K})),n.d(e,"A",(function(){return Q})),n.d(e,"z",(function(){return X})),n.d(e,"Q",(function(){return Y})),n.d(e,"eb",(function(){return Z})),n.d(e,"gb",(function(){return tt})),n.d(e,"db",(function(){return et})),n.d(e,"hb",(function(){return nt})),n.d(e,"fb",(function(){return rt})),n.d(e,"r",(function(){return ut})),n.d(e,"ib",(function(){return at})),n.d(e,"Z",(function(){return it})),n.d(e,"X",(function(){return ot})),n.d(e,"ab",(function(){return ct})),n.d(e,"R",(function(){return st})),n.d(e,"cb",(function(){return dt})),n.d(e,"K",(function(){return lt})),n.d(e,"bb",(function(){return ft})),n("99af");var r=n("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 i(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 c(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 l(t,e){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function f(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,e){return Object(r.a)({url:e,method:"get",params:t})}function h(t,e){return Object(r.a)({url:e,method:"get",params:t})}function p(t,e){return Object(r.a)({url:e,method:"get",params:t})}function O(t,e){return Object(r.a)({url:e,method:"get",params:t})}function j(t){return Object(r.a)({url:t,method:"PUT"})}function v(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 y(){return Object(r.a)({url:"system/file",method:"GET"})}function k(){return Object(r.a)({url:"system/backup",method:"GET"})}function C(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function T(t){return Object(r.a)({url:"system/backup/backup",method:"put",data:t})}function E(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 w(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 U(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function V(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function P(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function L(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function S(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function I(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function F(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function H(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function $(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function M(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function R(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function W(){return Object(r.a)({url:"auth",method:"get"})}function A(){return Object(r.a)({url:"setting/group_all",method:"get"})}function B(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function D(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function J(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function q(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function z(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function N(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function K(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function Q(){return Object(r.a)({url:"setting/get_version",method:"get"})}function X(){return Object(r.a)({url:"copyright",method:"get"})}function Y(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function Z(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function tt(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function et(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function nt(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function rt(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function ut(t){return Object(r.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function at(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function it(t){return Object(r.a)({url:"system/crontab/list",params:t})}function ot(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function ct(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function st(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function dt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function lt(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function ft(){return Object(r.a)({url:"system/crontab/mark"})}},9911:function(t,e,n){var r=n("23e7"),u=n("857a");r({target:"String",proto:!0,forced:n("af03")("link")},{link:function(t){return u(this,"a","href",t)}})},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||3<e.split('"').length}))}},c3ab:function(t,e,n){n("4335")},cc2e:function(t,e,n){n.r(e);var r=n("c7eb"),u=n("1da1"),a=n("5530"),i=(n("b0c0"),n("ac1f"),n("5319"),n("9911"),n("a069")),o=n("d708"),c=n("2f62"),s=(n("c4c8"),n("8593")),d=n("b0e7");n("c276"),d={name:"list",components:{uploadPictures:d.a,WangEditor:i.a},computed:Object(a.a)({bgcolors:function(){return{"--color-theme":this.bgCol}},labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}},Object(c.c)("admin/layout",["menuCollapse"])),data:function(){return{formValidate:{content:""},ruleValidate:{},myConfig:{autoHeightEnabled:!1,initialFrameHeight:500,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/UEditor/",serverUrl:""},a:1,guide:0,bgimg:0,columns1:[],bgCol:"",name:"",content:"",grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,sginList:[],progress:0,url:"",BaseURL:o.a.apiBaseURL.replace(/adminapi/,""),pageId:0,groupAll:[],activeIndex:0,sortName:null,activeIndexs:0,cmsList:[],loadingExist:!1,formItem:{time:"",type:"pic",status:1,value:[],video_link:""},header:{},type:0}},created:function(){this.color(),this.a=1,this.guide=0,this.getAgreement()},mounted:function(){},methods:{linkUrl:function(t){this.tabList.list[this.activeIndexs].link=t},getEditorContent:function(t){this.content=t},color:function(){},link:function(t){this.activeIndexs=t,this.$refs.linkaddres.modals=!0},getListHeader:function(){var t=this;this.loading=!0,Object(s.F)({config_name:this.name},"setting/sign_data/header").then((function(e){e=e.data.header,t.columns1=e,t.loading=!1})).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},getContent:function(t){this.formValidate.content=t},onsubmit:function(t){var e=this;this.formValidate.content=this.content,Object(s.U)(this.formValidate).then((()=>{var t=Object(u.a)(Object(r.a)().mark((function t(n){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){e.$message.error(t.msg)}))},getAgreement:function(){var t=this;Object(s.x)().then((()=>{var e=Object(u.a)(Object(r.a)().mark((function e(n){var u;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=n.data,t.formValidate={content:u.content},t.content=u.content;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))}}},n("c3ab"),i=n("2877"),a=Object(i.a)(d,(function(){var t=this,e=t._self._c;return e("div",{style:t.bgcolors},[e("div",{staticClass:"i-layout-page-header header-title"},[e("span",{staticClass:"ivu-page-header-title mr20"},[t._v(t._s(t.$route.meta.title))]),e("div",{staticStyle:{float:"right"}},[e("el-button",{staticClass:"bnt",attrs:{type:"primary"},on:{click:function(e){return t.onsubmit("formValidate")}}},[t._v("保存")])],1)]),e("div",{staticClass:"box-wrapper"},[e("div",{staticClass:"iframe",attrs:{bordered:!1}},[e("div",{staticClass:"agreement-box"},[e("div",{staticClass:"template"}),e("div",{staticClass:"htmls_box"},[e("div",{staticClass:"htmls_top"},[t._v("服务协议与隐私政策")]),t._m(0),e("div",{staticClass:"htmls",domProps:{innerHTML:t._s(t.content)}})])])]),e("div",{staticStyle:{"margin-left":"40px"}},[e("div",{staticClass:"table_box"},[e("div",[e("div",t._b({},"div",t.grid,!1),[e("div",{staticClass:"title"},[t._v("隐私权限页面展示:")])])]),e("div",[e("el-form",{ref:"formValidate",staticClass:"form",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[e("div",{staticClass:"goodsTitle acea-row"}),e("el-form-item",{staticStyle:{margin:"0px"},attrs:{label:""}},[e("WangEditor",{staticStyle:{width:"90%"},attrs:{content:t.formValidate.content},on:{editorContent:t.getEditorContent}})],1)],1)],1)])])])])}),[function(){var t=this._self._c;return t("div",{staticClass:"htmls_font"},[t("div",{staticClass:"ok"},[this._v("我同意")]),t("div",[this._v("不同意")])])}],!1,null,"957a2e60",null);e.default=a.exports}}]); |