1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4015072d"],{"45c9":function(t,e,n){"use strict";n("6204")},6204:function(t,e,n){},8593:function(t,e,n){"use strict";n.d(e,"i",(function(){return u})),n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return c})),n.d(e,"db",(function(){return a})),n.d(e,"m",(function(){return i})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return d})),n.d(e,"j",(function(){return f})),n.d(e,"L",(function(){return l})),n.d(e,"D",(function(){return m})),n.d(e,"K",(function(){return b})),n.d(e,"I",(function(){return p})),n.d(e,"F",(function(){return g})),n.d(e,"G",(function(){return h})),n.d(e,"H",(function(){return O})),n.d(e,"J",(function(){return j})),n.d(e,"Z",(function(){return _})),n.d(e,"fb",(function(){return y})),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 w})),n.d(e,"d",(function(){return E})),n.d(e,"f",(function(){return I})),n.d(e,"w",(function(){return G})),n.d(e,"u",(function(){return x})),n.d(e,"v",(function(){return P})),n.d(e,"Q",(function(){return S})),n.d(e,"P",(function(){return C})),n.d(e,"R",(function(){return F})),n.d(e,"Y",(function(){return $})),n.d(e,"o",(function(){return z})),n.d(e,"n",(function(){return U})),n.d(e,"U",(function(){return q})),n.d(e,"q",(function(){return D})),n.d(e,"t",(function(){return J})),n.d(e,"V",(function(){return M})),n.d(e,"a",(function(){return Q})),n.d(e,"A",(function(){return A})),n.d(e,"cb",(function(){return B})),n.d(e,"E",(function(){return H})),n.d(e,"rb",(function(){return K})),n.d(e,"qb",(function(){return L})),n.d(e,"M",(function(){return N})),n.d(e,"O",(function(){return R})),n.d(e,"B",(function(){return V})),n.d(e,"S",(function(){return W})),n.d(e,"T",(function(){return X})),n.d(e,"x",(function(){return Y})),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 ut})),n.d(e,"W",(function(){return ot})),n.d(e,"lb",(function(){return ct})),n.d(e,"nb",(function(){return at})),n.d(e,"kb",(function(){return it})),n.d(e,"ob",(function(){return st})),n.d(e,"mb",(function(){return dt})),n.d(e,"r",(function(){return ft})),n.d(e,"pb",(function(){return lt})),n.d(e,"gb",(function(){return mt})),n.d(e,"eb",(function(){return bt})),n.d(e,"hb",(function(){return pt})),n.d(e,"X",(function(){return gt})),n.d(e,"jb",(function(){return ht})),n.d(e,"N",(function(){return Ot})),n.d(e,"ib",(function(){return jt})),n("99af");var r=n("6b6c");function u(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function o(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 a(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,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 b(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 h(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 _(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function y(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 w(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 I(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function G(t){return Object(r.a)({url:"system/backup/file_list",method:"GET"})}function x(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 C(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 $(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function z(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function U(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function q(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function D(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 Q(){return Object(r.a)({url:"auth",method:"get"})}function A(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function B(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function H(){return Object(r.a)({url:"setting/group_all",method:"get"})}function K(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function L(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 R(t){return Object(r.a)({url:"diy/open_adv/add",method:"POST",data:t})}function V(){return Object(r.a)({url:"diy/open_adv/info",method:"get"})}function W(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 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 ut(){return Object(r.a)({url:"copyright",method:"get"})}function ot(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 at(){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,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 ht(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function Ot(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function jt(){return Object(r.a)({url:"system/crontab/mark"})}},a8d2:function(t,e,n){"use strict";n.r(e);var r=n("c7eb"),u=n("1da1"),o=(n("d9e2"),n("ac1f"),n("00b4"),n("14d9"),n("8593")),c=n("c276"),a={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(o.Q)(e.formInline).then(function(){var t=Object(u.a)(Object(r.a)().mark((function t(n){var u;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$message.success("登录成功!"),u=e.getExpiresTime(n.data.expires_time),Object(c.o)("file_token",n.data.token,u),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("45c9"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t._self._c;return e("div",[e("el-row",[e("el-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("el-form",{ref:"formInline",attrs:{model:t.formInline,rules:t.ruleInline},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{staticClass:"maxInpt",attrs:{prop:"sms_token"}},[e("el-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("el-form-item",{staticClass:"maxInpt"},[e("el-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,"0b1b119d",null);e.default=n.exports}}]);
|