mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-12 19:12:49 +00:00
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-80bbfe02"],{"3a15":function(t,e,n){"use strict";var r=n("70b6");n.n(r).a},"70b6":function(t,e,n){},8593:function(t,e,n){"use strict";n.d(e,"i",(function(){return o})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return i})),n.d(e,"db",(function(){return a})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return f})),n.d(e,"j",(function(){return d})),n.d(e,"L",(function(){return l})),n.d(e,"D",(function(){return m})),n.d(e,"K",(function(){return h})),n.d(e,"I",(function(){return p})),n.d(e,"F",(function(){return g})),n.d(e,"G",(function(){return b})),n.d(e,"H",(function(){return y})),n.d(e,"J",(function(){return v})),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 x})),n.d(e,"d",(function(){return E})),n.d(e,"f",(function(){return T})),n.d(e,"w",(function(){return L})),n.d(e,"u",(function(){return G})),n.d(e,"v",(function(){return I})),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 C})),n.d(e,"o",(function(){return N})),n.d(e,"n",(function(){return $})),n.d(e,"U",(function(){return z})),n.d(e,"q",(function(){return M})),n.d(e,"t",(function(){return U})),n.d(e,"V",(function(){return q})),n.d(e,"a",(function(){return A})),n.d(e,"A",(function(){return D})),n.d(e,"cb",(function(){return J})),n.d(e,"E",(function(){return Y})),n.d(e,"rb",(function(){return B})),n.d(e,"qb",(function(){return Q})),n.d(e,"M",(function(){return R})),n.d(e,"O",(function(){return H})),n.d(e,"B",(function(){return K})),n.d(e,"S",(function(){return V})),n.d(e,"T",(function(){return W})),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 ut})),n.d(e,"lb",(function(){return it})),n.d(e,"nb",(function(){return at})),n.d(e,"kb",(function(){return ct})),n.d(e,"ob",(function(){return st})),n.d(e,"mb",(function(){return ft})),n.d(e,"r",(function(){return dt})),n.d(e,"pb",(function(){return lt})),n.d(e,"gb",(function(){return mt})),n.d(e,"eb",(function(){return ht})),n.d(e,"hb",(function(){return pt})),n.d(e,"X",(function(){return gt})),n.d(e,"jb",(function(){return bt})),n.d(e,"N",(function(){return yt})),n.d(e,"ib",(function(){return vt})),n("99af");var r=n("6b6c");function o(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function u(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 a(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 f(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 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 h(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function p(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 b(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 v(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 x(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 T(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function L(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 I(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 C(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function N(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function $(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function z(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function M(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function U(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function q(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function A(){return Object(r.a)({url:"auth",method:"get"})}function D(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function J(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function Y(){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 Q(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function R(t){return Object(r.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function H(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 V(t){return Object(r.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function W(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 ut(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function it(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function at(){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 ft(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function dt(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 ht(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function pt(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function gt(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 yt(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function vt(){return Object(r.a)({url:"system/crontab/mark"})}},a8d2:function(t,e,n){"use strict";n.r(e);var r=n("0122"),o=n("c964"),u=(n("d9e2"),n("ac1f"),n("00b4"),n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("159b"),n("b0c0"),n("131a"),n("fb6a"),n("8593")),i=n("c276");function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */a=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},i=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var u,i,a,c;e=e&&e.prototype instanceof h?e:h,e=Object.create(e.prototype),r=new w(r||[]);return o(e,"_invoke",{value:(u=t,i=n,a=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 x()}for(a.method=t,a.arg=e;;){var n=a.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")),m):(r=l(o,e.iterator,n.arg),"throw"===r.type?(n.method="throw",n.arg=r.arg,n.delegate=null,m):(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,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)))}(n,a),n)){if(n===m)continue;return n}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===c)throw c="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);if(c="executing",n=l(u,i,a),"normal"===n.type){if(c=a.done?"completed":"suspendedYield",n.arg===m)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(c="completed",a.method="throw",a.arg=n.arg)}})}),e}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var m={};function h(){}function p(){}function g(){}u={};var b=(f(u,i,(function(){return this})),Object.getPrototypeOf),y=(b=b&&b(b(k([]))),b&&b!==e&&n.call(b,i)&&(u=b),g.prototype=h.prototype=Object.create(u));function v(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){var u;o(this,"_invoke",{value:function(o,i){function a(){return new e((function(u,a){!function o(u,i,a,c){var s;u=l(t[u],t,i);if("throw"!==u.type)return(i=(s=u.arg).value)&&"object"==Object(r.a)(i)&&n.call(i,"__await")?e.resolve(i.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(i).then((function(t){s.value=t,a(s)}),(function(t){return o("throw",t,a,c)}));c(u.arg)}(o,i,u,a)}))}return u=u?u.then(a,a):a()}})}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[i];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:x}}function x(){return{value:void 0,done:!0}}return o(y,"constructor",{value:p.prototype=g,configurable:!0}),o(g,"constructor",{value:p,configurable:!0}),p.displayName=f(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,f(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},v(O.prototype),f(O.prototype,c,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,u){void 0===u&&(u=Promise);var i=new O(d(e,n,r,o),u);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},v(y),f(y,s,"Generator"),f(y,i,(function(){return this})),f(y,"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 i.type="throw",i.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 u=this.tryEntries[o],i=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var a=n.call(u,"catchLoc"),c=n.call(u,"finallyLoc");if(a&&c){if(this.prev<u.catchLoc)return r(u.catchLoc,!0);if(this.prev<u.finallyLoc)return r(u.finallyLoc)}else if(a){if(this.prev<u.catchLoc)return r(u.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return r(u.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 u=o;break}}var i=(u=u&&("break"===t||"continue"===t)&&u.tryLoc<=e&&e<=u.finallyLoc?null:u)?u.completion:{};return i.type=t,i.arg=e,u?(this.method="next",this.next=u.finallyLoc,m):this.complete(i)},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),m},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),m}},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),m}},t}var c={name:"file_login",data:function(){return{formInline:{password:""},ruleInline:{password:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},created:function(){var t=this;document.onkeydown=function(e){13===window.event.keyCode&&t.handleSubmit("formInline")}},methods:{handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return!1;Object(u.Q)(e.formInline).then(function(){var t=Object(o.a)(a().mark((function t(n){var r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success("登录成功!"),r=e.getExpiresTime(n.data.expires_time),Object(i.o)("file_token",n.data.token,r),e.$router.push({path:e.$routeProStr+"/system/maintain/system_file/opendir"});case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))}))},getExpiresTime:function(t){var e=Math.round(new Date/1e3);return parseFloat(parseFloat(parseFloat((t-e)/60)/60)/24)}}};n("3a15"),n=n("2877"),n=Object(n.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("Row",{attrs:{type:"flex"}},[e("Col",{attrs:{span:"24"}},[e("div",{staticClass:"index_from page-account-container"},[e("div",{staticClass:"page-account-top"},[e("span",{staticClass:"page-account-top-tit"},[t._v("文件管理登录")])]),e("Form",{ref:"formInline",attrs:{model:t.formInline,rules:t.ruleInline},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{staticClass:"maxInpt",attrs:{prop:"sms_token"}},[e("Input",{attrs:{type:"password",size:"large",prefix:"ios-lock-outline",placeholder:"请输入密码"},model:{value:t.formInline.password,callback:function(e){t.$set(t.formInline,"password",e)},expression:"formInline.password"}}),e("div",{staticClass:"trip"},[t._v("提示:密码配置在 /config/filesystem.php 文件中修改 'password' => '密码'")])],1),e("FormItem",{staticClass:"maxInpt"},[e("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(e){return t.handleSubmit("formInline")}}},[t._v("登录")])],1)],1)],1)])],1)],1)}),[],!1,null,"62aeb076",null);e.default=n.exports}}]); |