1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-a3fb5620"],{"2ea0":function(t,e,n){n("9330")},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 o})),n.d(e,"W",(function(){return c})),n.d(e,"m",(function(){return i})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return d})),n.d(e,"J",(function(){return f})),n.d(e,"B",(function(){return m})),n.d(e,"I",(function(){return p})),n.d(e,"G",(function(){return b})),n.d(e,"D",(function(){return g})),n.d(e,"E",(function(){return h})),n.d(e,"F",(function(){return y})),n.d(e,"H",(function(){return O})),n.d(e,"T",(function(){return j})),n.d(e,"Y",(function(){return _})),n.d(e,"s",(function(){return v})),n.d(e,"c",(function(){return k})),n.d(e,"e",(function(){return T})),n.d(e,"b",(function(){return C})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return x})),n.d(e,"w",(function(){return E})),n.d(e,"u",(function(){return G})),n.d(e,"v",(function(){return N})),n.d(e,"M",(function(){return P})),n.d(e,"L",(function(){return F})),n.d(e,"N",(function(){return S})),n.d(e,"S",(function(){return U})),n.d(e,"o",(function(){return $})),n.d(e,"n",(function(){return J})),n.d(e,"O",(function(){return L})),n.d(e,"q",(function(){return Y})),n.d(e,"t",(function(){return z})),n.d(e,"P",(function(){return B})),n.d(e,"a",(function(){return D})),n.d(e,"C",(function(){return q})),n.d(e,"kb",(function(){return A})),n.d(e,"jb",(function(){return H})),n.d(e,"x",(function(){return I})),n.d(e,"U",(function(){return K})),n.d(e,"y",(function(){return M})),n.d(e,"V",(function(){return Q})),n.d(e,"p",(function(){return R})),n.d(e,"A",(function(){return V})),n.d(e,"z",(function(){return W})),n.d(e,"Q",(function(){return X})),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 ot})),n.d(e,"X",(function(){return ct})),n.d(e,"ab",(function(){return it})),n.d(e,"R",(function(){return st})),n.d(e,"cb",(function(){return lt})),n.d(e,"K",(function(){return dt})),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 o(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function c(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 l(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function d(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 p(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function b(t,e){return Object(r.a)({url:e,method:"get",params:t})}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 y(t,e){return Object(r.a)({url:e,method:"get",params:t})}function O(t){return Object(r.a)({url:t,method:"PUT"})}function j(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 k(){return Object(r.a)({url:"system/backup",method:"GET"})}function T(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function C(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 E(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 N(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 F(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function S(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 $(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function J(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 Y(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function z(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function B(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function D(){return Object(r.a)({url:"auth",method:"get"})}function q(){return Object(r.a)({url:"setting/group_all",method:"get"})}function A(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function H(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function I(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function K(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function M(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function Q(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function R(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function V(){return Object(r.a)({url:"setting/get_version",method:"get"})}function W(){return Object(r.a)({url:"copyright",method:"get"})}function X(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 ot(t){return Object(r.a)({url:"system/crontab/list",params:t})}function ct(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function it(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 lt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function dt(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"})}},9330:function(t,e,n){},b4f0:function(t,e,n){n.r(e);var r=n("8593"),u={name:"systemCleardata",data:function(){return{value6:"",modals:!1,grid:{xl:6,lg:8,md:12,sm:24,xs:24},tabList:[{title:"更换域名",tlt:"替换所有本地上传的图片域名",typeName:"primary",type:"11"},{title:"清除用户生成的临时附件",tlt:"清除用户生成的临时附件,不会影响商品图",typeName:"error",type:"temp"},{title:"清除回收站商品",tlt:"清除回收站商品,谨慎操作",typeName:"error",type:"recycle"},{title:"清除用户数据",tlt:"用户相关的所有表都将被清除,谨慎操作",typeName:"error",type:"user"},{title:"清除商城数据",tlt:"清除所有商城数据,谨慎操作",typeName:"error",type:"store"},{title:"清除商品分类",tlt:"会清除所有商品分类,谨慎操作",typeName:"error",type:"category"},{title:"清除微信数据",tlt:"清除微信菜单保存数据,微信关键字无效回复",typeName:"error",type:"wechat"},{title:"清除内容分类",tlt:"清除添加的文章和文章分类,谨慎操作",typeName:"error",type:"article"},{title:"清除所有附件",tlt:"清除所有附件用户生成和后台上传,谨慎操作",typeName:"error",type:"attachment"},{title:"清除系统记录",tlt:"清除系统记录,谨慎操作",typeName:"error",type:"system"}]}},methods:{onChange:function(t){"11"===t.type?this.modals=!0:this.clearFroms(t)},clearFroms:function(t){var e=this;t={title:t.title,url:"system/clear/".concat(t.type),method:"get",ids:""};this.$modalSure(t).then((function(t){e.$message.success(t.msg)})).catch((function(t){e.$message.error(t.msg)}))},changeYU:function(){var t=this;Object(r.P)({url:this.value6}).then((function(e){t.modals=!1,t.$message.success(e.msg)})).catch((function(e){t.$message.error(e.msg)}))}}};n("2ea0"),n=n("2877"),n=Object(n.a)(u,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"i-layout-page-header header-title"},[e("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))]),t._m(0)]),e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[e("el-row",{attrs:{gutter:24}},t._l(t.tabList,(function(n,r){return e("el-col",t._b({key:r,staticClass:"mb20"},"el-col",t.grid,!1),[e("div",{staticClass:"clear_box"},[e("span",{staticClass:"clear_box_sp1",domProps:{textContent:t._s(n.title)}}),e("span",{staticClass:"clear_box_sp2",domProps:{textContent:t._s(n.tlt)}}),e("el-button",{attrs:{type:n.typeName},domProps:{textContent:t._s("primary"===n.typeName?"立即更换":"立即清理")},on:{click:function(e){return t.onChange(n)}}})],1)])})),1)],1),e("el-dialog",{staticClass:"tableBox",attrs:{visible:t.modals,title:"更换域名",width:"540px","close-on-click-modal":!1},on:{"update:visible":function(e){t.modals=e}}},[e("div",{staticClass:"acea-row row-column"},[e("span",[t._v("请输入需要替换的域名,格式为:http://域名。")]),e("span",[t._v("替换规则:会使用当前[设置]里面的[网站域名]去替换成当前您输入的域名。")]),e("span",{staticClass:"mb15"},[t._v("替换成功后再去更换[网站域名]。")]),e("el-input",{attrs:{type:"textarea",rows:4,placeholder:"请输入网站域名..."},model:{value:t.value6,callback:function(e){t.value6=e},expression:"value6"}})],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.modals=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.changeYU}},[t._v("确 定")])],1)])],1)}),[function(){var t=this._self._c;return t("span",{staticClass:"clear_tit"},[t("i",{staticClass:"el-icon-info",staticStyle:{color:"#ED4014"}}),t("span",[this._v("清除数据请谨慎,清除就无法恢复哦!")])])}],!1,null,"067240f5",null);e.default=n.exports}}]); |