mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-14 12:32:50 +00:00
1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-74ca5faa"],{"3f8d":function(t,e,n){"use strict";var r=n("ecdb");n.n(r).a},"857a":function(t,e,n){var r=n("e330"),o=n("1d80"),i=n("577e"),a=/"/g,u=r("".replace);t.exports=function(t,e,n,r){t=i(o(t));var c="<"+e;return""!==n&&(c+=" "+n+'="'+u(i(r),a,""")+'"'),c+">"+t+"</"+e+">"}},8593:function(t,e,n){"use strict";n.d(e,"i",(function(){return o})),n.d(e,"g",(function(){return i})),n.d(e,"h",(function(){return a})),n.d(e,"db",(function(){return u})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return f})),n.d(e,"L",(function(){return d})),n.d(e,"D",(function(){return h})),n.d(e,"K",(function(){return m})),n.d(e,"I",(function(){return g})),n.d(e,"F",(function(){return p})),n.d(e,"G",(function(){return b})),n.d(e,"H",(function(){return v})),n.d(e,"J",(function(){return y})),n.d(e,"Z",(function(){return O})),n.d(e,"fb",(function(){return j})),n.d(e,"s",(function(){return _})),n.d(e,"c",(function(){return w})),n.d(e,"e",(function(){return k})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return x})),n.d(e,"f",(function(){return L})),n.d(e,"w",(function(){return C})),n.d(e,"u",(function(){return T})),n.d(e,"v",(function(){return G})),n.d(e,"Q",(function(){return P})),n.d(e,"P",(function(){return S})),n.d(e,"R",(function(){return F})),n.d(e,"Y",(function(){return U})),n.d(e,"o",(function(){return V})),n.d(e,"n",(function(){return I})),n.d(e,"U",(function(){return N})),n.d(e,"q",(function(){return $})),n.d(e,"t",(function(){return A})),n.d(e,"V",(function(){return H})),n.d(e,"a",(function(){return M})),n.d(e,"A",(function(){return R})),n.d(e,"cb",(function(){return W})),n.d(e,"E",(function(){return D})),n.d(e,"rb",(function(){return q})),n.d(e,"qb",(function(){return B})),n.d(e,"M",(function(){return J})),n.d(e,"O",(function(){return Y})),n.d(e,"B",(function(){return z})),n.d(e,"S",(function(){return K})),n.d(e,"T",(function(){return Q})),n.d(e,"x",(function(){return X})),n.d(e,"ab",(function(){return Z})),n.d(e,"y",(function(){return tt})),n.d(e,"bb",(function(){return et})),n.d(e,"p",(function(){return nt})),n.d(e,"C",(function(){return rt})),n.d(e,"z",(function(){return ot})),n.d(e,"W",(function(){return it})),n.d(e,"lb",(function(){return at})),n.d(e,"nb",(function(){return ut})),n.d(e,"kb",(function(){return ct})),n.d(e,"ob",(function(){return st})),n.d(e,"mb",(function(){return lt})),n.d(e,"r",(function(){return ft})),n.d(e,"pb",(function(){return dt})),n.d(e,"gb",(function(){return ht})),n.d(e,"eb",(function(){return mt})),n.d(e,"hb",(function(){return gt})),n.d(e,"X",(function(){return pt})),n.d(e,"jb",(function(){return bt})),n.d(e,"N",(function(){return vt})),n.d(e,"ib",(function(){return yt})),n("99af");var r=n("6b6c");function o(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function i(t){return Object(r.a)({url:"setting/config_class/create",method:"get"})}function a(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function u(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 l(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function f(t,e){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function d(t){return Object(r.a)({url:"setting/group",method:"get",params:t})}function h(t){return Object(r.a)({url:t.url,method:t.method,data:t.datas})}function m(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 p(t,e){return Object(r.a)({url:e,method:"get",params:t})}function b(t,e){return Object(r.a)({url:e,method:"get",params:t})}function v(t,e){return Object(r.a)({url:e,method:"get",params:t})}function y(t){return Object(r.a)({url:t,method:"PUT"})}function O(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function j(t){return Object(r.a)({url:"system/log",method:"GET",params:t})}function _(){return Object(r.a)({url:"system/file",method:"GET"})}function w(){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 x(t){return Object(r.a)({url:"system/backup/optimize",method:"put",data:t})}function L(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 T(t){return Object(r.a)({url:"backup/download",method:"get",params:t})}function G(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function P(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function S(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function F(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function U(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function V(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function I(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function N(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 A(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function H(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function M(){return Object(r.a)({url:"auth",method:"get"})}function R(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function W(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function D(){return Object(r.a)({url:"setting/group_all",method:"get"})}function q(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function B(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function J(t){return Object(r.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function Y(t){return Object(r.a)({url:"diy/open_adv/add",method:"POST",data:t})}function z(){return Object(r.a)({url:"diy/open_adv/info",method:"get"})}function K(t){return Object(r.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function Q(t){return Object(r.a)({url:"setting/config/save_basics",method:"POST",data:t})}function X(){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 et(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function nt(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 ot(){return Object(r.a)({url:"copyright",method:"get"})}function it(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function at(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function ut(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function ct(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function st(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function lt(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 dt(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function ht(t){return Object(r.a)({url:"system/crontab/list",params:t})}function mt(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function gt(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function pt(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function bt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function vt(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function yt(){return Object(r.a)({url:"system/crontab/mark"})}},9911:function(t,e,n){"use strict";var r=n("23e7"),o=n("857a");r({target:"String",proto:!0,forced:n("af03")("link")},{link:function(t){return o(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}))}},cc2e:function(t,e,n){"use strict";n.r(e);var r=n("0122"),o=n("c964"),i=n("f3f3"),a=(n("ac1f"),n("5319"),n("9911"),n("b0c0"),n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("d9e2"),n("159b"),n("131a"),n("fb6a"),n("a069")),u=n("d708"),c=n("f478"),s=n("2f62"),l=(n("c4c8"),n("8593")),f=n("b0e7"),d=n("7af3");function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i,a,u,c;e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),r=new w(r||[]);return o(e,"_invoke",{value:(i=t,a=n,u=r,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return E()}for(u.method=t,u.arg=e;;){var n=u.delegate;if(n&&(n=function t(e,n){var r=n.method,o=e.iterator[r];return void 0===o?(n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=void 0,t(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d):(r=f(o,e.iterator,n.arg),"throw"===r.type?(n.method="throw",n.arg=r.arg,n.delegate=null,d):(o=r.arg,o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)))}(n,u),n)){if(n===d)continue;return n}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===c)throw c="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);if(c="executing",n=f(i,a,u),"normal"===n.type){if(c=u.done?"completed":"suspendedYield",n.arg===d)continue;return{value:n.arg,done:u.done}}"throw"===n.type&&(c="completed",u.method="throw",u.arg=n.arg)}})}),e}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var d={};function m(){}function g(){}function p(){}i={};var b=(s(i,a,(function(){return this})),Object.getPrototypeOf),v=(b=b&&b(b(k([]))),b&&b!==e&&n.call(b,a)&&(i=b),p.prototype=m.prototype=Object.create(i));function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){var i;o(this,"_invoke",{value:function(o,a){function u(){return new e((function(i,u){!function o(i,a,u,c){var s;i=f(t[i],t,a);if("throw"!==i.type)return(a=(s=i.arg).value)&&"object"==Object(r.a)(a)&&n.call(a,"__await")?e.resolve(a.__await).then((function(t){o("next",t,u,c)}),(function(t){o("throw",t,u,c)})):e.resolve(a).then((function(t){s.value=t,u(s)}),(function(t){return o("throw",t,u,c)}));c(i.arg)}(o,a,i,u)}))}return i=i?i.then(u,u):u()}})}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function k(t){if(t){var e,r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(r=function r(){for(;++e<t.length;)if(n.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r}).next=r}return{next:E}}function E(){return{value:void 0,done:!0}}return o(v,"constructor",{value:g.prototype=p,configurable:!0}),o(p,"constructor",{value:g,configurable:!0}),g.displayName=s(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,s(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(O.prototype),s(O.prototype,u,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(v),s(v,c,"Generator"),s(v,a,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,n=Object(t),r=[];for(e in n)r.push(e);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=k,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;0<=o;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}var a=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n,r,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(n=o.completion).type&&(r=n.arg,_(o)),r}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},t}n("c276"),f={name:"list",components:{uploadPictures:f.a,linkaddress:d.a,WangEditor:a.a},computed:Object(i.a)({bgcolors:function(){return{"--color-theme":this.bgCol}},labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}},Object(s.d)("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:u.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(){var t=this;Object(c.h)("color_change").then((function(e){switch(e.data.status){case 1:t.bgCol="#3875EA",t.bgimg=1;break;case 2:t.bgCol="#00C050",t.bgimg=2;break;case 3:t.bgCol="#E93323",t.bgimg=3;break;case 4:t.bgCol="#FF448F",t.bgimg=4;break;case 5:t.bgCol="#FE5C2D",t.bgimg=5}}))},link:function(t){this.activeIndexs=t,this.$refs.linkaddres.modals=!0},getListHeader:function(){var t=this;this.loading=!0,Object(l.H)({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(l.ab)(this.formValidate).then(function(){var t=Object(o.a)(h().mark((function t(n){return h().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(l.x)().then(function(){var e=Object(o.a)(h().mark((function e(n){var r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data,t.formValidate={content:r.content},t.content=r.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("3f8d"),d=n("2877"),a=Object(d.a)(f,(function(){var t=this,e=t.$createElement;e=t._self._c||e;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)])])]),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1)}),[function(){var t=this.$createElement;t=this._self._c||t;return t("div",{staticClass:"htmls_font"},[t("div",{staticClass:"ok"},[this._v("我同意")]),t("div",[this._v("不同意")])])}],!1,null,"5c11b593",null),e.default=a.exports},ecdb:function(t,e,n){}}]); |