no message
This commit is contained in:
parent
da10d6f561
commit
c6a949edcb
3
dist/config.js
vendored
3
dist/config.js
vendored
@ -1,8 +1,7 @@
|
||||
// 此文件非必要,在生产环境下此文件配置可覆盖运行配置,开发环境下不起效
|
||||
// 详情见 src/config/index.js
|
||||
|
||||
const APP_CONFIG = {
|
||||
//标题
|
||||
APP_NAME: "文书宝",
|
||||
//主题设置
|
||||
THEMESETTING: true,
|
||||
// Cookie name
|
||||
|
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1,4 +1,4 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/static/js/elicons.6242e25e.js"></script><script defer="defer" src="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/static/js/modules.b880bc1d.js"></script><script defer="defer" src="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/static/js/app.32464ae8.js"></script><link href="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/static/css/modules.853ca01a.css" rel="stylesheet"><link href="https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/static/css/app.b6e7182d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="aminui"><div class="app-loading"><div class="app-loading__logo"></div><div class="app-loading__loader"></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>.app-loading {
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.2cc2e056.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.d82a0636.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.dc29eba6.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.853ca01a.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.b6e7182d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="aminui"><div class="app-loading"><div class="app-loading__logo"></div><div class="app-loading__loader"></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>.app-loading {
|
||||
position: absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
|
4
dist/report.html
vendored
4
dist/report.html
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/1.738a4161.js
vendored
Normal file
1
dist/static/js/1.738a4161.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/105.4b695e40.js
vendored
1
dist/static/js/105.4b695e40.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[105],{5105:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var r=s(6252);const p=e=>((0,r.dD)("data-v-616a86ed"),e=e(),(0,r.Cn)(),e),i={class:"x-cropper"},a={class:"x-cropper__img"},o=["src"],c={class:"x-cropper__preview"},n=p((()=>(0,r._)("h4",null,"图像预览",-1))),d={class:"x-cropper__preview__img",ref:"preview"};function l(e,t,s,p,l,g){return(0,r.wg)(),(0,r.iD)("div",i,[(0,r._)("div",a,[(0,r._)("img",{src:s.src,ref:"img"},null,8,o)]),(0,r._)("div",c,[n,(0,r._)("div",d,null,512)])])}var g=s(3129),u=s.n(g),m={props:{src:{type:String,default:""},compress:{type:Number,default:1},aspectRatio:{type:Number,default:NaN}},data(){return{crop:null}},watch:{aspectRatio(e){this.crop.setAspectRatio(e)}},mounted(){this.init()},methods:{init(){this.crop=new(u())(this.$refs.img,{viewMode:2,dragMode:"move",responsive:!1,aspectRatio:this.aspectRatio,preview:this.$refs.preview})},setAspectRatio(e){this.crop.setAspectRatio(e)},getCropData(e,t="image/jpeg"){e(this.crop.getCroppedCanvas().toDataURL(t,this.compress))},getCropBlob(e,t="image/jpeg"){this.crop.getCroppedCanvas().toBlob((t=>{e(t)}),t,this.compress)},getCropFile(e,t="fileName.jpg",s="image/jpeg"){this.crop.getCroppedCanvas().toBlob((r=>{let p=new File([r],t,{type:s});e(p)}),s,this.compress)}}},v=s(3744);const h=(0,v.Z)(m,[["render",l],["__scopeId","data-v-616a86ed"]]);var _=h}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[669],{2669:function(e,t,r){r.r(t),r.d(t,{default:function(){return s}});var a=r(6252);function o(e,t,r,o,l,u){const n=(0,a.up)("el-progress"),f=(0,a.up)("x-statistic"),s=(0,a.up)("el-card"),d=(0,a.up)("el-col"),p=(0,a.up)("el-row");return(0,a.wg)(),(0,a.j4)(s,{shadow:"never",header:"当前已用量",style:{margin:"10px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(n,{"text-inside":!0,"stroke-width":20,color:l.color,percentage:l.value,format:u.format},null,8,["color","percentage","format"]),(0,a.Wm)(p,{gutter:15,style:{"margin-top":"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"文档",value:"7.41",suffix:"GB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"图片",value:"12.90",suffix:"GB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"视音频",value:"68.79",suffix:"MB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"其他",value:"17.58",suffix:"GB",groupSeparator:""})])),_:1})])),_:1})])),_:1})])),_:1})}var l=r(8872),u={components:{xStatistic:l.Z},data(){return{value:39.58,color:[{color:"#67C23A",percentage:40},{color:"#E6A23C",percentage:60},{color:"#F56C6C",percentage:80}]}},methods:{format(e){return e+"G"}}},n=r(3744);const f=(0,n.Z)(u,[["render",o]]);var s=f}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[135],{7135:function(e,t,r){r.r(t),r.d(t,{default:function(){return s}});var a=r(6808);function o(e,t,r,o,l,u){const n=(0,a.up)("el-progress"),f=(0,a.up)("x-statistic"),s=(0,a.up)("el-card"),d=(0,a.up)("el-col"),p=(0,a.up)("el-row");return(0,a.wg)(),(0,a.j4)(s,{shadow:"never",header:"当前已用量",style:{margin:"10px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(n,{"text-inside":!0,"stroke-width":20,color:l.color,percentage:l.value,format:u.format},null,8,["color","percentage","format"]),(0,a.Wm)(p,{gutter:15,style:{"margin-top":"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"文档",value:"7.41",suffix:"GB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"图片",value:"12.90",suffix:"GB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"视音频",value:"68.79",suffix:"MB",groupSeparator:""})])),_:1})])),_:1}),(0,a.Wm)(d,{lg:6},{default:(0,a.w5)((()=>[(0,a.Wm)(s,{shadow:"never"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,{title:"其他",value:"17.58",suffix:"GB",groupSeparator:""})])),_:1})])),_:1})])),_:1})])),_:1})}var l=r(6692),u={components:{xStatistic:l.Z},data(){return{value:39.58,color:[{color:"#67C23A",percentage:40},{color:"#E6A23C",percentage:60},{color:"#F56C6C",percentage:80}]}},methods:{format(e){return e+"G"}}},n=r(8700);const f=(0,n.Z)(u,[["render",o]]);var s=f}}]);
|
1
dist/static/js/148.ddbf8233.js
vendored
Normal file
1
dist/static/js/148.ddbf8233.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[148],{1148:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var a=t(6808);const c={class:"ec-container"};function s(e,n,t,s,u,o){const r=(0,a.up)("xTable");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a.Wm)(r,{name:"url"})])}var u=t(9965),o={name:"Message",props:{info:{type:Object,default:()=>{}}},components:{xTable:u["default"]},data(){return{selectionList:[]}},computed:{},watch:{},mounted(){},methods:{}},r=t(8700);const d=(0,r.Z)(o,[["render",s],["__scopeId","data-v-08b738e5"]]);var i=d}}]);
|
1
dist/static/js/179.d58a4096.js
vendored
Normal file
1
dist/static/js/179.d58a4096.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[179],{5179:function(e,s,r){r.r(s),r.d(s,{default:function(){return c}});var l=r(6808);const o=(0,l._)("div",{class:"el-form-item-msg"},"必须提供当前登录用户密码才能进行更改",-1),t=(0,l._)("div",{class:"el-form-item-msg"},"请输入包含英文、数字的8位以上密码",-1);function a(e,s,r,a,d,n){const m=(0,l.up)("el-alert"),u=(0,l.up)("el-input"),w=(0,l.up)("el-form-item"),p=(0,l.up)("x-password-strength"),i=(0,l.up)("el-button"),f=(0,l.up)("el-form"),h=(0,l.up)("el-card");return(0,l.wg)(),(0,l.j4)(h,{shadow:"never",header:"修改密码",style:{margin:"10px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(m,{title:"密码更新成功后,您将被重定向到登录页面,您可以使用新密码重新登录。",type:"info","show-icon":"",style:{"margin-bottom":"15px"}}),(0,l.Wm)(f,{ref:"form",model:d.form,rules:d.rules,"label-width":"120px",style:{"margin-top":"20px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(w,{label:"当前密码",prop:"userPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.userPassword,"onUpdate:modelValue":s[0]||(s[0]=e=>d.form.userPassword=e),type:"password","show-password":"",placeholder:"请输入当前密码"},null,8,["modelValue"]),o])),_:1}),(0,l.Wm)(w,{label:"新密码",prop:"newPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.newPassword,"onUpdate:modelValue":s[1]||(s[1]=e=>d.form.newPassword=e),type:"password","show-password":"",placeholder:"请输入新密码"},null,8,["modelValue"]),(0,l.Wm)(p,{modelValue:d.form.newPassword,"onUpdate:modelValue":s[2]||(s[2]=e=>d.form.newPassword=e)},null,8,["modelValue"]),t])),_:1}),(0,l.Wm)(w,{label:"确认新密码",prop:"confirmNewPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.confirmNewPassword,"onUpdate:modelValue":s[3]||(s[3]=e=>d.form.confirmNewPassword=e),type:"password","show-password":"",placeholder:"请再次输入新密码"},null,8,["modelValue"])])),_:1}),(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(i,{type:"primary",onClick:n.save},{default:(0,l.w5)((()=>[(0,l.Uk)("保存密码")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["model","rules"])])),_:1})}var d=r(9511);const n={class:"x-password-strength"};function m(e,s,r,o,t,a){return(0,l.wg)(),(0,l.iD)("div",n,[(0,l._)("div",{class:(0,d.C_)(["x-password-strength-bar",`x-password-strength-level-${t.level}`])},null,2)])}var u={props:{modelValue:{type:String,default:""}},data(){return{level:0}},watch:{modelValue(){this.strength(this.modelValue)}},mounted(){this.strength(this.modelValue)},methods:{strength(e){var s=0,r=e.length>=6,l=/\d/.test(e),o=/[a-z]/.test(e),t=/[A-Z]/.test(e),a=!/(\w)\1{2}/.test(e),d=/[`~!@#$%^&*()_+<>?:"{},./;'[\]]/.test(e);return e.length<=0?(s=0,this.level=s,!1):r?(l&&(s+=1),o&&(s+=1),t&&(s+=1),a&&(s+=1),d&&(s+=1),void(this.level=s)):(s=1,this.level=s,!1)}}},w=r(8700);const p=(0,w.Z)(u,[["render",m],["__scopeId","data-v-f6e10340"]]);var i=p,f={components:{xPasswordStrength:i},data(){return{form:{userPassword:"",newPassword:"",confirmNewPassword:""},rules:{userPassword:[{required:!0,message:"请输入当前密码"}],newPassword:[{required:!0,message:"请输入新密码"}],confirmNewPassword:[{required:!0,message:"请再次输入新密码"},{validator:(e,s,r)=>{s!==this.form.newPassword?r(new Error("两次输入密码不一致")):r()}}]}}},methods:{save(){this.$refs.form.validate((e=>{if(!e)return!1;this.$alert("密码修改成功,是否跳转至登录页使用新密码登录","修改成功",{type:"success",center:!0}).then((()=>{this.$router.replace({path:"/login"})})).catch((()=>{}))}))}}};const h=(0,w.Z)(f,[["render",a]]);var c=h}}]);
|
1
dist/static/js/195.fe387d38.js
vendored
1
dist/static/js/195.fe387d38.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[195],{1195:function(n,e,a){a.r(e),a.d(e,{default:function(){return s}});var t=a(6252);function u(n,e,a,u,r,d){const c=(0,t.up)("xTable"),i=(0,t.up)("el-main");return(0,t.wg)(),(0,t.j4)(i,{class:"nopadding"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{name:"weixin"})])),_:1})}var r=a(6338),d={components:{xTable:r["default"]},data(){return{data:[]}}},c=a(3744);const i=(0,c.Z)(d,[["render",u]]);var s=i}}]);
|
1
dist/static/js/197.93bf20a2.js
vendored
1
dist/static/js/197.93bf20a2.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[197],{8197:function(n,e,t){t.r(e),t.d(e,{default:function(){return c}});var u=t(6252);function a(n,e,t,a,r,i){const o=(0,u.up)("xTable");return(0,u.wg)(),(0,u.j4)(o,{name:"weixin"})}var r=t(6338),i={name:"weixin",components:{xTable:r["default"]},data(){return{loading:!1,leftType:"",info:{}}},computed:{},mounted(){},methods:{}},o=t(3744);const d=(0,o.Z)(i,[["render",a]]);var c=d}}]);
|
1
dist/static/js/309.9ae12981.js
vendored
1
dist/static/js/309.9ae12981.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/321.3fbfde97.js
vendored
1
dist/static/js/321.3fbfde97.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[321],{1321:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var i=n(6252),a=n(3577),r=n(9963);function l(e,t,n,l,h,o){return(0,i.wg)(),(0,i.iD)("div",{class:"x-code-editor",style:(0,a.j5)({height:o._height})},[(0,i.wy)((0,i._)("textarea",{ref:"textarea","onUpdate:modelValue":t[0]||(t[0]=e=>h.contentValue=e)},null,512),[[r.nr,h.contentValue]])],4)}var h=n(2262),o=n(4631),u=n.n(o),s=(n(17),n(6876),n(4086),{props:{modelValue:{type:String,default:""},mode:{type:String,default:"javascript"},height:{type:[String,Number],default:300},options:{type:Object,default:()=>{}},theme:{type:String,default:"idea"},readOnly:{type:Boolean,default:!1}},data(){return{contentValue:this.modelValue,coder:null,opt:{theme:this.theme,styleActiveLine:!0,lineNumbers:!0,lineWrapping:!1,tabSize:4,indentUnit:4,indentWithTabs:!0,mode:this.mode,readOnly:this.readOnly,...this.options}}},computed:{_height(){return Number(this.height)?Number(this.height)+"px":this.height}},watch:{modelValue(e){this.contentValue=e,e!==this.coder.getValue()&&this.coder.setValue(e)}},mounted(){this.init()},methods:{init(){this.coder=(0,h.Xl)(u().fromTextArea(this.$refs.textarea,this.opt)),this.coder.on("change",(e=>{this.contentValue=e.getValue(),this.$emit("update:modelValue",this.contentValue)}))},formatStrInJson(e){return JSON.stringify(JSON.parse(e),null,4)}}}),d=n(3744);const c=(0,d.Z)(s,[["render",l],["__scopeId","data-v-1c04bc3c"]]);var p=c}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[152],{2152:function(e,l,o){o.r(l),o.d(l,{default:function(){return r}});var a=o(6252);function m(e,l,o,m,t,u){const d=(0,a.up)("el-checkbox"),r=(0,a.up)("el-form-item"),n=(0,a.up)("el-form"),f=(0,a.up)("el-card");return(0,a.wg)(),(0,a.j4)(f,{shadow:"never",header:"事务待办",style:{margin:"10px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(n,{ref:"form","label-width":"180px","label-position":"left",style:{"margin-top":"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(r,{label:"有新的待办"},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:t.form.new,"onUpdate:modelValue":l[0]||(l[0]=e=>t.form.new=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("短信推送")])),_:1},8,["modelValue"]),(0,a.Wm)(d,{modelValue:t.form.new_wx,"onUpdate:modelValue":l[1]||(l[1]=e=>t.form.new_wx=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("微信推送")])),_:1},8,["modelValue"])])),_:1}),(0,a.Wm)(r,{label:"待办有效时剩24小时"},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:t.form.timeout,"onUpdate:modelValue":l[2]||(l[2]=e=>t.form.timeout=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("短信推送")])),_:1},8,["modelValue"]),(0,a.Wm)(d,{modelValue:t.form.timeout_wx,"onUpdate:modelValue":l[3]||(l[3]=e=>t.form.timeout_wx=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("微信推送")])),_:1},8,["modelValue"])])),_:1})])),_:1},512)])),_:1})}var t={data(){return{form:{new:!0,timeout:!0}}}},u=o(3744);const d=(0,u.Z)(t,[["render",m]]);var r=d}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[330],{5330:function(e,l,o){o.r(l),o.d(l,{default:function(){return r}});var a=o(6808);function m(e,l,o,m,t,u){const d=(0,a.up)("el-checkbox"),r=(0,a.up)("el-form-item"),n=(0,a.up)("el-form"),f=(0,a.up)("el-card");return(0,a.wg)(),(0,a.j4)(f,{shadow:"never",header:"事务待办",style:{margin:"10px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(n,{ref:"form","label-width":"180px","label-position":"left",style:{"margin-top":"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(r,{label:"有新的待办"},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:t.form.new,"onUpdate:modelValue":l[0]||(l[0]=e=>t.form.new=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("短信推送")])),_:1},8,["modelValue"]),(0,a.Wm)(d,{modelValue:t.form.new_wx,"onUpdate:modelValue":l[1]||(l[1]=e=>t.form.new_wx=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("微信推送")])),_:1},8,["modelValue"])])),_:1}),(0,a.Wm)(r,{label:"待办有效时剩24小时"},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:t.form.timeout,"onUpdate:modelValue":l[2]||(l[2]=e=>t.form.timeout=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("短信推送")])),_:1},8,["modelValue"]),(0,a.Wm)(d,{modelValue:t.form.timeout_wx,"onUpdate:modelValue":l[3]||(l[3]=e=>t.form.timeout_wx=e)},{default:(0,a.w5)((()=>[(0,a.Uk)("微信推送")])),_:1},8,["modelValue"])])),_:1})])),_:1},512)])),_:1})}var t={data(){return{form:{new:!0,timeout:!0}}}},u=o(8700);const d=(0,u.Z)(t,[["render",m]]);var r=d}}]);
|
1
dist/static/js/351.35d91be8.js
vendored
1
dist/static/js/351.35d91be8.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/371.9a64b6d5.js
vendored
1
dist/static/js/371.9a64b6d5.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[371],{4371:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var a=t(6252);const c={class:"ec-container"};function s(e,n,t,s,u,o){const r=(0,a.up)("xTable");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a.Wm)(r,{name:"url"})])}var u=t(6338),o={name:"Message",props:{info:{type:Object,default:()=>{}}},components:{xTable:u["default"]},data(){return{selectionList:[]}},computed:{},watch:{},mounted(){},methods:{}},r=t(3744);const d=(0,r.Z)(o,[["render",s],["__scopeId","data-v-08b738e5"]]);var i=d}}]);
|
1
dist/static/js/40.b36ca06d.js
vendored
1
dist/static/js/40.b36ca06d.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[40],{7040:function(e,s,r){r.r(s),r.d(s,{default:function(){return c}});var l=r(6252);const o=(0,l._)("div",{class:"el-form-item-msg"},"必须提供当前登录用户密码才能进行更改",-1),t=(0,l._)("div",{class:"el-form-item-msg"},"请输入包含英文、数字的8位以上密码",-1);function a(e,s,r,a,d,n){const m=(0,l.up)("el-alert"),u=(0,l.up)("el-input"),w=(0,l.up)("el-form-item"),p=(0,l.up)("x-password-strength"),i=(0,l.up)("el-button"),f=(0,l.up)("el-form"),h=(0,l.up)("el-card");return(0,l.wg)(),(0,l.j4)(h,{shadow:"never",header:"修改密码",style:{margin:"10px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(m,{title:"密码更新成功后,您将被重定向到登录页面,您可以使用新密码重新登录。",type:"info","show-icon":"",style:{"margin-bottom":"15px"}}),(0,l.Wm)(f,{ref:"form",model:d.form,rules:d.rules,"label-width":"120px",style:{"margin-top":"20px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(w,{label:"当前密码",prop:"userPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.userPassword,"onUpdate:modelValue":s[0]||(s[0]=e=>d.form.userPassword=e),type:"password","show-password":"",placeholder:"请输入当前密码"},null,8,["modelValue"]),o])),_:1}),(0,l.Wm)(w,{label:"新密码",prop:"newPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.newPassword,"onUpdate:modelValue":s[1]||(s[1]=e=>d.form.newPassword=e),type:"password","show-password":"",placeholder:"请输入新密码"},null,8,["modelValue"]),(0,l.Wm)(p,{modelValue:d.form.newPassword,"onUpdate:modelValue":s[2]||(s[2]=e=>d.form.newPassword=e)},null,8,["modelValue"]),t])),_:1}),(0,l.Wm)(w,{label:"确认新密码",prop:"confirmNewPassword"},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{modelValue:d.form.confirmNewPassword,"onUpdate:modelValue":s[3]||(s[3]=e=>d.form.confirmNewPassword=e),type:"password","show-password":"",placeholder:"请再次输入新密码"},null,8,["modelValue"])])),_:1}),(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(i,{type:"primary",onClick:n.save},{default:(0,l.w5)((()=>[(0,l.Uk)("保存密码")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["model","rules"])])),_:1})}var d=r(3577);const n={class:"x-password-strength"};function m(e,s,r,o,t,a){return(0,l.wg)(),(0,l.iD)("div",n,[(0,l._)("div",{class:(0,d.C_)(["x-password-strength-bar",`x-password-strength-level-${t.level}`])},null,2)])}var u={props:{modelValue:{type:String,default:""}},data(){return{level:0}},watch:{modelValue(){this.strength(this.modelValue)}},mounted(){this.strength(this.modelValue)},methods:{strength(e){var s=0,r=e.length>=6,l=/\d/.test(e),o=/[a-z]/.test(e),t=/[A-Z]/.test(e),a=!/(\w)\1{2}/.test(e),d=/[`~!@#$%^&*()_+<>?:"{},./;'[\]]/.test(e);return e.length<=0?(s=0,this.level=s,!1):r?(l&&(s+=1),o&&(s+=1),t&&(s+=1),a&&(s+=1),d&&(s+=1),void(this.level=s)):(s=1,this.level=s,!1)}}},w=r(3744);const p=(0,w.Z)(u,[["render",m],["__scopeId","data-v-f6e10340"]]);var i=p,f={components:{xPasswordStrength:i},data(){return{form:{userPassword:"",newPassword:"",confirmNewPassword:""},rules:{userPassword:[{required:!0,message:"请输入当前密码"}],newPassword:[{required:!0,message:"请输入新密码"}],confirmNewPassword:[{required:!0,message:"请再次输入新密码"},{validator:(e,s,r)=>{s!==this.form.newPassword?r(new Error("两次输入密码不一致")):r()}}]}}},methods:{save(){this.$refs.form.validate((e=>{if(!e)return!1;this.$alert("密码修改成功,是否跳转至登录页使用新密码登录","修改成功",{type:"success",center:!0}).then((()=>{this.$router.replace({path:"/login"})})).catch((()=>{}))}))}}};const h=(0,w.Z)(f,[["render",a]]);var c=h}}]);
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[596],{6230:function(r,o,e){e.r(o),e.d(o,{default:function(){return g}});var n=e(6252),t=e(5747);const i=r=>((0,n.dD)("data-v-26f35ebe"),r=r(),(0,n.Cn)(),r),c={class:"x"},s={class:"y"},u={class:"router-err"},a=i((()=>(0,n._)("div",{class:"router-err__icon"},[(0,n._)("img",{src:t})],-1))),l={class:"router-err__content"},d=i((()=>(0,n._)("h2",null,"无权限或找不到页面",-1))),_=i((()=>(0,n._)("p",null,"当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。",-1)));function k(r,o,e,t,i,k){const p=(0,n.up)("el-button");return(0,n.wg)(),(0,n.iD)("div",c,[(0,n._)("div",s,[(0,n._)("div",u,[a,(0,n._)("div",l,[d,_,(0,n.Wm)(p,{type:"primary",plain:"",round:"",onClick:k.gohome},{default:(0,n.w5)((()=>[(0,n.Uk)("返回首页")])),_:1},8,["onClick"]),(0,n.Wm)(p,{type:"primary",round:"",onClick:k.goback},{default:(0,n.w5)((()=>[(0,n.Uk)("返回上一页")])),_:1},8,["onClick"])])])])])}e(7658);var p={methods:{gohome(){location.href="#/"},goback(){this.$router.go(-1)},gologin(){this.$router.push("/login")}}},f=e(3744);const h=(0,f.Z)(p,[["render",k],["__scopeId","data-v-26f35ebe"]]);var g=h}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[596],{4399:function(r,o,e){e.r(o),e.d(o,{default:function(){return g}});var n=e(6808),t=e(5747);const i=r=>((0,n.dD)("data-v-26f35ebe"),r=r(),(0,n.Cn)(),r),c={class:"x"},s={class:"y"},u={class:"router-err"},a=i((()=>(0,n._)("div",{class:"router-err__icon"},[(0,n._)("img",{src:t})],-1))),l={class:"router-err__content"},d=i((()=>(0,n._)("h2",null,"无权限或找不到页面",-1))),_=i((()=>(0,n._)("p",null,"当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。",-1)));function k(r,o,e,t,i,k){const p=(0,n.up)("el-button");return(0,n.wg)(),(0,n.iD)("div",c,[(0,n._)("div",s,[(0,n._)("div",u,[a,(0,n._)("div",l,[d,_,(0,n.Wm)(p,{type:"primary",plain:"",round:"",onClick:k.gohome},{default:(0,n.w5)((()=>[(0,n.Uk)("返回首页")])),_:1},8,["onClick"]),(0,n.Wm)(p,{type:"primary",round:"",onClick:k.goback},{default:(0,n.w5)((()=>[(0,n.Uk)("返回上一页")])),_:1},8,["onClick"])])])])])}e(8311);var p={methods:{gohome(){location.href="#/"},goback(){this.$router.go(-1)},gologin(){this.$router.push("/login")}}},f=e(8700);const h=(0,f.Z)(p,[["render",k],["__scopeId","data-v-26f35ebe"]]);var g=h}}]);
|
1
dist/static/js/424.1bd0387a.js
vendored
Normal file
1
dist/static/js/424.1bd0387a.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[424],{8424:function(n,e,a){a.r(e),a.d(e,{default:function(){return s}});var t=a(6808);function u(n,e,a,u,r,d){const c=(0,t.up)("xTable"),i=(0,t.up)("el-main");return(0,t.wg)(),(0,t.j4)(i,{class:"nopadding"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{name:"weixin"})])),_:1})}var r=a(9965),d={components:{xTable:r["default"]},data(){return{data:[]}}},c=a(8700);const i=(0,c.Z)(d,[["render",u]]);var s=i}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/static/js/44.91ad5d46.js
vendored
Normal file
1
dist/static/js/44.91ad5d46.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[44],{7044:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var r=s(6808);const p=e=>((0,r.dD)("data-v-616a86ed"),e=e(),(0,r.Cn)(),e),i={class:"x-cropper"},a={class:"x-cropper__img"},o=["src"],c={class:"x-cropper__preview"},n=p((()=>(0,r._)("h4",null,"图像预览",-1))),d={class:"x-cropper__preview__img",ref:"preview"};function l(e,t,s,p,l,g){return(0,r.wg)(),(0,r.iD)("div",i,[(0,r._)("div",a,[(0,r._)("img",{src:s.src,ref:"img"},null,8,o)]),(0,r._)("div",c,[n,(0,r._)("div",d,null,512)])])}var g=s(9151),u=s.n(g),m={props:{src:{type:String,default:""},compress:{type:Number,default:1},aspectRatio:{type:Number,default:NaN}},data(){return{crop:null}},watch:{aspectRatio(e){this.crop.setAspectRatio(e)}},mounted(){this.init()},methods:{init(){this.crop=new(u())(this.$refs.img,{viewMode:2,dragMode:"move",responsive:!1,aspectRatio:this.aspectRatio,preview:this.$refs.preview})},setAspectRatio(e){this.crop.setAspectRatio(e)},getCropData(e,t="image/jpeg"){e(this.crop.getCroppedCanvas().toDataURL(t,this.compress))},getCropBlob(e,t="image/jpeg"){this.crop.getCroppedCanvas().toBlob((t=>{e(t)}),t,this.compress)},getCropFile(e,t="fileName.jpg",s="image/jpeg"){this.crop.getCroppedCanvas().toBlob((r=>{let p=new File([r],t,{type:s});e(p)}),s,this.compress)}}},v=s(8700);const h=(0,v.Z)(m,[["render",l],["__scopeId","data-v-616a86ed"]]);var _=h}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[974],{1097:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var a=n(6252),s=n(3577);const i={class:"custom-tree-node"},l={class:"label"},d={key:0,class:"do"};function r(e,t,n,r,u,m){const o=(0,a.up)("el-input"),h=(0,a.up)("el-header"),c=(0,a.up)("el-icon"),p=(0,a.up)("el-tree"),g=(0,a.up)("el-main"),f=(0,a.up)("el-container"),w=(0,a.up)("el-aside"),v=(0,a.up)("save"),$=(0,a.Q2)("loading");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((()=>[(0,a.wy)(((0,a.wg)(),(0,a.j4)(w,{width:"300px"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a.Wm)(h,null,{default:(0,a.w5)((()=>[(0,a.Wm)(o,{clearable:"",placeholder:"输入关键字进行过滤",modelValue:u.menuFilterText,"onUpdate:modelValue":t[0]||(t[0]=e=>u.menuFilterText=e)},null,8,["modelValue"])])),_:1}),(0,a.Wm)(g,{class:"nopadding"},{default:(0,a.w5)((()=>[(0,a.Wm)(p,{data:u.menuList,"expand-on-click-node":!1,"filter-node-method":m.menuFilterNode,props:u.menuProps,onNodeClick:m.menuClick,onNodeDrop:m.nodeDrop,"check-strictly":"",class:"menu",draggable:"","highlight-current":"","node-key":"id",ref:"menu","show-checkbox":!1},{default:(0,a.w5)((({node:e,data:t})=>[(0,a._)("span",i,[(0,a._)("span",l,[(0,a.Wm)(c,{style:{"margin-right":"2px"}},{default:(0,a.w5)((()=>[((0,a.wg)(),(0,a.j4)((0,a.LL)(t.meta.icon||"el-icon-menu")))])),_:2},1024),(0,a.Uk)(" "+(0,s.zw)(e.label),1)]),t.parentid?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",d))])])),_:1},8,["data","filter-node-method","props","onNodeClick","onNodeDrop"])])),_:1})])),_:1})])),_:1})),[[$,u.menuloading]]),(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a.Wm)(g,{class:"nopadding",ref:"main",style:{padding:"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(v,{menu:u.menuList,ref:"save"},null,8,["menu"])])),_:1},512)])),_:1})])),_:1})}n(7658);var u=n(8480);let m=1;var o={name:"systemmenu",components:{save:u["default"]},data(){return{menuloading:!1,menuList:[],menuProps:{label:e=>e.meta.title},menuFilterText:""}},watch:{menuFilterText(e){this.$refs.menu.filter(e)}},mounted(){this.getMenu()},methods:{async getMenu(){this.menuloading=!0;var e=await this.$http.get("menu");this.menuloading=!1,this.menuList=e.data},menuClick(e,t){var n=1==t.level?0:t.parent.data.id;this.$refs.save.setData(e,n),this.$refs.main.$el.scrollTop=0},menuFilterNode(e,t){if(!e)return!0;var n=t.meta.title;return-1!==n.indexOf(e)},getAllIds(e){let t=[];return e.forEach((e=>{let n={id:e.id};e.children&&(n.children=this.getAllIds(e.children)),t.push(n)})),t},async nodeDrop(e){let t=this.getAllIds(this.menuList);var n=await this.$http.post("menu/update",{id:e.data.id,ids:t});if(200!==n.code)return this.$message.warning(n.message),!1;this.$refs.save.setData({}),this.$message.success(n.message)},async add(e,t){var n="未命名"+m++,a={parentid:t?t.id:0,name:"",path:t?t.path+"/":"",component:"",meta:{title:n,type:"menu"}};this.menuloading=!0;var s=await this.$http.post("menu/submit",a);if(this.menuloading=!1,200!==s.code)return this.$message.warning(s.message),!1;a.id=s.data,this.$refs.menu.append(a,e),this.$refs.menu.setCurrentKey(a.id);var i=e?e.data.id:0;this.$refs.save.setData(a,i)},async delMenu(){var e=this.$refs.menu.getCheckedNodes();if(0==e.length)return this.$message.warning("请选择需要删除的项"),!1;var t=await this.$confirm("确认删除已选择的菜单吗?","提示",{type:"warning",confirmButtonText:"删除",confirmButtonClass:"el-button--danger"}).catch((()=>{}));if("confirm"!=t)return!1;this.menuloading=!0;var n={ids:e.map((e=>e.id))},a=await this.$http.post("menu/delete",n);this.menuloading=!1,200==a.code?e.forEach((e=>{var t=this.$refs.menu.getNode(e);t.isCurrent&&this.$refs.save.setData({}),this.$refs.menu.remove(e)})):this.$message.warning(a.message)}}},h=n(3744);const c=(0,h.Z)(o,[["render",r],["__scopeId","data-v-194ed0e8"]]);var p=c}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[458],{8458:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var a=n(6808),s=n(9511);const i={class:"custom-tree-node"},l={class:"label"},d={key:0,class:"do"};function r(e,t,n,r,u,m){const o=(0,a.up)("el-input"),h=(0,a.up)("el-header"),c=(0,a.up)("el-icon"),p=(0,a.up)("el-tree"),g=(0,a.up)("el-main"),f=(0,a.up)("el-container"),w=(0,a.up)("el-aside"),v=(0,a.up)("save"),$=(0,a.Q2)("loading");return(0,a.wg)(),(0,a.j4)(f,null,{default:(0,a.w5)((()=>[(0,a.wy)(((0,a.wg)(),(0,a.j4)(w,{width:"300px"},{default:(0,a.w5)((()=>[(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a.Wm)(h,null,{default:(0,a.w5)((()=>[(0,a.Wm)(o,{clearable:"",placeholder:"输入关键字进行过滤",modelValue:u.menuFilterText,"onUpdate:modelValue":t[0]||(t[0]=e=>u.menuFilterText=e)},null,8,["modelValue"])])),_:1}),(0,a.Wm)(g,{class:"nopadding"},{default:(0,a.w5)((()=>[(0,a.Wm)(p,{data:u.menuList,"expand-on-click-node":!1,"filter-node-method":m.menuFilterNode,props:u.menuProps,onNodeClick:m.menuClick,onNodeDrop:m.nodeDrop,"check-strictly":"",class:"menu",draggable:"","highlight-current":"","node-key":"id",ref:"menu","show-checkbox":!1},{default:(0,a.w5)((({node:e,data:t})=>[(0,a._)("span",i,[(0,a._)("span",l,[(0,a.Wm)(c,{style:{"margin-right":"2px"}},{default:(0,a.w5)((()=>[((0,a.wg)(),(0,a.j4)((0,a.LL)(t.meta.icon||"el-icon-menu")))])),_:2},1024),(0,a.Uk)(" "+(0,s.zw)(e.label),1)]),t.parentid?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("span",d))])])),_:1},8,["data","filter-node-method","props","onNodeClick","onNodeDrop"])])),_:1})])),_:1})])),_:1})),[[$,u.menuloading]]),(0,a.Wm)(f,null,{default:(0,a.w5)((()=>[(0,a.Wm)(g,{class:"nopadding",ref:"main",style:{padding:"20px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(v,{menu:u.menuList,ref:"save"},null,8,["menu"])])),_:1},512)])),_:1})])),_:1})}n(8311);var u=n(2867);let m=1;var o={name:"systemmenu",components:{save:u["default"]},data(){return{menuloading:!1,menuList:[],menuProps:{label:e=>e.meta.title},menuFilterText:""}},watch:{menuFilterText(e){this.$refs.menu.filter(e)}},mounted(){this.getMenu()},methods:{async getMenu(){this.menuloading=!0;var e=await this.$http.get("menu");this.menuloading=!1,this.menuList=e.data},menuClick(e,t){var n=1==t.level?0:t.parent.data.id;this.$refs.save.setData(e,n),this.$refs.main.$el.scrollTop=0},menuFilterNode(e,t){if(!e)return!0;var n=t.meta.title;return-1!==n.indexOf(e)},getAllIds(e){let t=[];return e.forEach((e=>{let n={id:e.id};e.children&&(n.children=this.getAllIds(e.children)),t.push(n)})),t},async nodeDrop(e){let t=this.getAllIds(this.menuList);var n=await this.$http.post("menu/update",{id:e.data.id,ids:t});if(200!==n.code)return this.$message.warning(n.message),!1;this.$refs.save.setData({}),this.$message.success(n.message)},async add(e,t){var n="未命名"+m++,a={parentid:t?t.id:0,name:"",path:t?t.path+"/":"",component:"",meta:{title:n,type:"menu"}};this.menuloading=!0;var s=await this.$http.post("menu/submit",a);if(this.menuloading=!1,200!==s.code)return this.$message.warning(s.message),!1;a.id=s.data,this.$refs.menu.append(a,e),this.$refs.menu.setCurrentKey(a.id);var i=e?e.data.id:0;this.$refs.save.setData(a,i)},async delMenu(){var e=this.$refs.menu.getCheckedNodes();if(0==e.length)return this.$message.warning("请选择需要删除的项"),!1;var t=await this.$confirm("确认删除已选择的菜单吗?","提示",{type:"warning",confirmButtonText:"删除",confirmButtonClass:"el-button--danger"}).catch((()=>{}));if("confirm"!=t)return!1;this.menuloading=!0;var n={ids:e.map((e=>e.id))},a=await this.$http.post("menu/delete",n);this.menuloading=!1,200==a.code?e.forEach((e=>{var t=this.$refs.menu.getNode(e);t.isCurrent&&this.$refs.save.setData({}),this.$refs.menu.remove(e)})):this.$message.warning(a.message)}}},h=n(8700);const c=(0,h.Z)(o,[["render",r],["__scopeId","data-v-194ed0e8"]]);var p=c}}]);
|
1
dist/static/js/49.2983ea6e.js
vendored
Normal file
1
dist/static/js/49.2983ea6e.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[49],{5596:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var i=n(6808),a=n(9511),r=n(1441);function l(e,t,n,l,h,o){return(0,i.wg)(),(0,i.iD)("div",{class:"x-code-editor",style:(0,a.j5)({height:o._height})},[(0,i.wy)((0,i._)("textarea",{ref:"textarea","onUpdate:modelValue":t[0]||(t[0]=e=>h.contentValue=e)},null,512),[[r.nr,h.contentValue]])],4)}var h=n(3839),o=n(3322),u=n.n(o),s=(n(5935),n(8881),n(2876),{props:{modelValue:{type:String,default:""},mode:{type:String,default:"javascript"},height:{type:[String,Number],default:300},options:{type:Object,default:()=>{}},theme:{type:String,default:"idea"},readOnly:{type:Boolean,default:!1}},data(){return{contentValue:this.modelValue,coder:null,opt:{theme:this.theme,styleActiveLine:!0,lineNumbers:!0,lineWrapping:!1,tabSize:4,indentUnit:4,indentWithTabs:!0,mode:this.mode,readOnly:this.readOnly,...this.options}}},computed:{_height(){return Number(this.height)?Number(this.height)+"px":this.height}},watch:{modelValue(e){this.contentValue=e,e!==this.coder.getValue()&&this.coder.setValue(e)}},mounted(){this.init()},methods:{init(){this.coder=(0,h.Xl)(u().fromTextArea(this.$refs.textarea,this.opt)),this.coder.on("change",(e=>{this.contentValue=e.getValue(),this.$emit("update:modelValue",this.contentValue)}))},formatStrInJson(e){return JSON.stringify(JSON.parse(e),null,4)}}}),d=n(8700);const c=(0,d.Z)(s,[["render",l],["__scopeId","data-v-1c04bc3c"]]);var p=c}}]);
|
1
dist/static/js/49.ddefe359.js
vendored
1
dist/static/js/49.ddefe359.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[770],{3770:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var r=n(6252);function a(e,t,n,a,u,s){const o=(0,r.up)("x-user");return(0,r.wg)(),(0,r.j4)(o,{modelValue:u.user,"onUpdate:modelValue":t[0]||(t[0]=e=>u.user=e)},null,8,["modelValue"])}var u={name:"userCenter",components:{},data(){return{user:{avatar:""},page:"account"}},beforeRouteEnter(e,t,n){n((e=>{t.is&&(delete t.is,e.$alert("路由跳转过来后含有特殊标识,做特殊处理","提示",{type:"success",center:!0}).then((()=>{})).catch((()=>{})))}))},created(){var e=this.$tool.data.get("user");this.user=e},methods:{openPage(e){this.page=e.index}}},s=n(3744);const o=(0,s.Z)(u,[["render",a]]);var c=o}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[546],{4875:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var r=n(6808);function a(e,t,n,a,u,s){const o=(0,r.up)("x-user");return(0,r.wg)(),(0,r.j4)(o,{modelValue:u.user,"onUpdate:modelValue":t[0]||(t[0]=e=>u.user=e)},null,8,["modelValue"])}var u={name:"userCenter",components:{},data(){return{user:{avatar:""},page:"account"}},beforeRouteEnter(e,t,n){n((e=>{t.is&&(delete t.is,e.$alert("路由跳转过来后含有特殊标识,做特殊处理","提示",{type:"success",center:!0}).then((()=>{})).catch((()=>{})))}))},created(){var e=this.$tool.data.get("user");this.user=e},methods:{openPage(e){this.page=e.index}}},s=n(8700);const o=(0,s.Z)(u,[["render",a]]);var c=o}}]);
|
File diff suppressed because one or more lines are too long
1
dist/static/js/590.c40e8c74.js
vendored
Normal file
1
dist/static/js/590.c40e8c74.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[590],{7590:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var i=n(6808);const l={class:"x-editor"};function a(e,t,n,a,o,s){const r=(0,i.up)("Editor");return(0,i.wg)(),(0,i.iD)("div",l,[(0,i.Wm)(r,{modelValue:o.contentValue,"onUpdate:modelValue":t[0]||(t[0]=e=>o.contentValue=e),init:o.init,disabled:n.disabled,placeholder:n.placeholder,onOnClick:s.onClick},null,8,["modelValue","init","disabled","placeholder","onOnClick"])])}var o=n(7536),s=n(5401),r=n(642),c=n.n(r),d=(n(4499),n(3910),n(5062),n(8529),n(9840),n(6024),n(2574),n(5877),n(3415),n(2684),n(187),n(9889),n(453),n(2274),{components:{Editor:s.Z},props:{modelValue:{type:String,default:""},placeholder:{type:String,default:""},height:{type:Number,default:300},disabled:{type:Boolean,default:!1},plugins:{type:[String,Array],default:"code image media link preview table quickbars template pagebreak lists advlist"},toolbar:{type:[String,Array],default:"undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \t\t\t\t\talignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | pagebreak | \t\t\t\t\timage media table template preview | code selectall"},templates:{type:Array,default:()=>[]},options:{type:Object,default:()=>{}}},data(){return{init:{language_url:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/langs/zh_CN.js",language:"zh_CN",skin_url:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/skins/ui/oxide",content_css:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/skins/content/default/content.css",menubar:!1,statusbar:!0,plugins:this.plugins,toolbar:this.toolbar,toolbar_mode:"sliding",font_size_formats:"12px 14px 16px 18px 22px 24px 36px 72px",height:this.height,placeholder:this.placeholder,branding:!1,resize:!0,elementpath:!0,content_style:"",templates:this.templates,quickbars_selection_toolbar:"forecolor backcolor bold italic underline strikethrough link",quickbars_image_toolbar:"alignleft aligncenter alignright",quickbars_insert_toolbar:!1,image_caption:!0,image_advtab:!0,convert_urls:!1,images_upload_handler:function(e){return new Promise(((t,n)=>{const i=new FormData;i.append("files",e.blob(),e.filename()),o.Z.common.upload.post(i).then((e=>{t(e.data.url)})).catch((()=>{n("Image upload failed")}))}))},setup:function(e){e.on("init",(function(){this.getBody().style.fontSize="14px"})),e.on("OpenWindow",(function(e){var t=document.querySelector(".el-drawer.open"),n=e.target.editorContainer;if(t&&t.contains(n)){var i=document.activeElement;setTimeout((()=>{document.activeElement.blur(),i.focus()}),0)}}))},...this.options},contentValue:this.modelValue}},watch:{modelValue(e){this.contentValue=e},contentValue(e){this.$emit("update:modelValue",e)}},mounted(){console.log({NODE_ENV:"production",VUE_APP_TITLE:"X-PHP",BASE_URL:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/"}),c().init({})},methods:{onClick(e){this.$emit("onClick",e,c())}}}),u=n(8700);const p=(0,u.Z)(d,[["render",a]]);var m=p}}]);
|
1
dist/static/js/626.75703638.js
vendored
Normal file
1
dist/static/js/626.75703638.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/649.f5b65530.js
vendored
Normal file
1
dist/static/js/649.f5b65530.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/650.23b307f8.js
vendored
1
dist/static/js/650.23b307f8.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[650],{8650:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var o=n(6252);const i={class:"x-editor"};function l(e,t,n,l,a,s){const c=(0,o.up)("Editor");return(0,o.wg)(),(0,o.iD)("div",i,[(0,o.Wm)(c,{modelValue:a.contentValue,"onUpdate:modelValue":t[0]||(t[0]=e=>a.contentValue=e),init:a.init,disabled:n.disabled,placeholder:n.placeholder,onOnClick:s.onClick},null,8,["modelValue","init","disabled","placeholder","onOnClick"])])}var a=n(7877),s=n(396),c=n(7575),r=n.n(c),u=(n(8860),n(6890),n(7490),n(8190),n(2170),n(2540),n(2682),n(4446),n(1449),n(8619),n(8843),n(6552),n(4400),n(8672),{components:{Editor:s.Z},props:{modelValue:{type:String,default:""},placeholder:{type:String,default:""},height:{type:Number,default:300},disabled:{type:Boolean,default:!1},plugins:{type:[String,Array],default:"code image media link preview table quickbars template pagebreak lists advlist"},toolbar:{type:[String,Array],default:"undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \t\t\t\t\talignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | pagebreak | \t\t\t\t\timage media table template preview | code selectall"},templates:{type:Array,default:()=>[]},options:{type:Object,default:()=>{}}},data(){return{init:{language_url:"https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/tinymce/langs/zh_CN.js",language:"zh_CN",skin_url:"https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/tinymce/skins/ui/oxide",content_css:"https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/tinymce/skins/content/default/content.css",menubar:!1,statusbar:!0,plugins:this.plugins,toolbar:this.toolbar,toolbar_mode:"sliding",font_size_formats:"12px 14px 16px 18px 22px 24px 36px 72px",height:this.height,placeholder:this.placeholder,branding:!1,resize:!0,elementpath:!0,content_style:"",templates:this.templates,quickbars_selection_toolbar:"forecolor backcolor bold italic underline strikethrough link",quickbars_image_toolbar:"alignleft aligncenter alignright",quickbars_insert_toolbar:!1,image_caption:!0,image_advtab:!0,convert_urls:!1,images_upload_handler:function(e){return new Promise(((t,n)=>{const o=new FormData;o.append("files",e.blob(),e.filename()),a.Z.common.upload.post(o).then((e=>{t(e.data.url)})).catch((()=>{n("Image upload failed")}))}))},setup:function(e){e.on("init",(function(){this.getBody().style.fontSize="14px"})),e.on("OpenWindow",(function(e){var t=document.querySelector(".el-drawer.open"),n=e.target.editorContainer;if(t&&t.contains(n)){var o=document.activeElement;setTimeout((()=>{document.activeElement.blur(),o.focus()}),0)}}))},...this.options},contentValue:this.modelValue}},watch:{modelValue(e){this.contentValue=e},contentValue(e){this.$emit("update:modelValue",e)}},mounted(){console.log({NODE_ENV:"production",VUE_APP_TITLE:"X-PHP",BASE_URL:"https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/x-Admin/"}),r().init({})},methods:{onClick(e){this.$emit("onClick",e,r())}}}),d=n(3744);const p=(0,d.Z)(u,[["render",l]]);var m=p}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[467],{2467:function(e,l,a){a.r(l),a.d(l,{default:function(){return n}});var u=a(6252);const m=(0,u._)("div",{class:"el-form-item-msg"},"账号信息用于登录,系统不允许修改",-1);function o(e,l,a,o,t,d){const r=(0,u.up)("el-input"),n=(0,u.up)("el-form-item"),s=(0,u.up)("x-upload"),p=(0,u.up)("el-option"),i=(0,u.up)("el-select"),f=(0,u.up)("x-item"),c=(0,u.up)("el-button"),b=(0,u.up)("el-form"),V=(0,u.up)("el-card");return(0,u.wg)(),(0,u.j4)(V,{shadow:"never",header:"个人信息",style:{margin:"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(b,{ref:"form",model:t.user,"label-width":"120px",style:{"margin-top":"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(n,{label:"账号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.username,"onUpdate:modelValue":l[0]||(l[0]=e=>t.user.username=e),disabled:""},null,8,["modelValue"]),m])),_:1}),(0,u.Wm)(n,{label:"头像"},{default:(0,u.w5)((()=>[(0,u.Wm)(s,{modelValue:t.user.avatar,"onUpdate:modelValue":l[1]||(l[1]=e=>t.user.avatar=e),icon:"el-icon-avatar",cropper:!0,compress:1,aspectRatio:1},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"姓名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.nickname,"onUpdate:modelValue":l[2]||(l[2]=e=>t.user.nickname=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"邮箱"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.email,"onUpdate:modelValue":l[3]||(l[3]=e=>t.user.email=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"手机号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.mobile,"onUpdate:modelValue":l[4]||(l[4]=e=>t.user.mobile=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"性别"},{default:(0,u.w5)((()=>[(0,u.Wm)(i,{modelValue:t.user.gender,"onUpdate:modelValue":l[5]||(l[5]=e=>t.user.gender=e),placeholder:"请选择"},{default:(0,u.w5)((()=>[(0,u.Wm)(p,{label:"保密",value:"0"}),(0,u.Wm)(p,{label:"男",value:"1"}),(0,u.Wm)(p,{label:"女",value:"2"})])),_:1},8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"个性签名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.about,"onUpdate:modelValue":l[6]||(l[6]=e=>t.user.about=e),type:"textarea"},null,8,["modelValue"])])),_:1}),((0,u.wg)(!0),(0,u.iD)(u.HY,null,(0,u.Ko)(t.form,((e,a)=>((0,u.wg)(),(0,u.j4)(n,{label:e.label,key:a},{default:(0,u.w5)((()=>[(0,u.Wm)(f,{item:e,modelValue:t.user,"onUpdate:modelValue":l[7]||(l[7]=e=>t.user=e)},null,8,["item","modelValue"])])),_:2},1032,["label"])))),128)),(0,u.Wm)(n,null,{default:(0,u.w5)((()=>[(0,u.Wm)(c,{type:"primary",onClick:d.submit},{default:(0,u.w5)((()=>[(0,u.Uk)("保存")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["model"])])),_:1})}var t={props:{data:{type:Object,default:()=>({})}},components:{},data(){return{user:{},form:[],token:null}},watch:{},mounted(){},methods:{updateParentValue(e){console.log(e),alert("fdsafa")},submit(){alert(1)}}},d=a(3744);const r=(0,d.Z)(t,[["render",o]]);var n=r}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[715],{2715:function(e,l,a){a.r(l),a.d(l,{default:function(){return n}});var u=a(6808);const m=(0,u._)("div",{class:"el-form-item-msg"},"账号信息用于登录,系统不允许修改",-1);function o(e,l,a,o,t,d){const r=(0,u.up)("el-input"),n=(0,u.up)("el-form-item"),s=(0,u.up)("x-upload"),p=(0,u.up)("el-option"),i=(0,u.up)("el-select"),f=(0,u.up)("x-item"),c=(0,u.up)("el-button"),b=(0,u.up)("el-form"),V=(0,u.up)("el-card");return(0,u.wg)(),(0,u.j4)(V,{shadow:"never",header:"个人信息",style:{margin:"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(b,{ref:"form",model:t.user,"label-width":"120px",style:{"margin-top":"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(n,{label:"账号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.username,"onUpdate:modelValue":l[0]||(l[0]=e=>t.user.username=e),disabled:""},null,8,["modelValue"]),m])),_:1}),(0,u.Wm)(n,{label:"头像"},{default:(0,u.w5)((()=>[(0,u.Wm)(s,{modelValue:t.user.avatar,"onUpdate:modelValue":l[1]||(l[1]=e=>t.user.avatar=e),icon:"el-icon-avatar",cropper:!0,compress:1,aspectRatio:1},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"姓名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.nickname,"onUpdate:modelValue":l[2]||(l[2]=e=>t.user.nickname=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"邮箱"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.email,"onUpdate:modelValue":l[3]||(l[3]=e=>t.user.email=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"手机号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.mobile,"onUpdate:modelValue":l[4]||(l[4]=e=>t.user.mobile=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"性别"},{default:(0,u.w5)((()=>[(0,u.Wm)(i,{modelValue:t.user.gender,"onUpdate:modelValue":l[5]||(l[5]=e=>t.user.gender=e),placeholder:"请选择"},{default:(0,u.w5)((()=>[(0,u.Wm)(p,{label:"保密",value:"0"}),(0,u.Wm)(p,{label:"男",value:"1"}),(0,u.Wm)(p,{label:"女",value:"2"})])),_:1},8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"个性签名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.about,"onUpdate:modelValue":l[6]||(l[6]=e=>t.user.about=e),type:"textarea"},null,8,["modelValue"])])),_:1}),((0,u.wg)(!0),(0,u.iD)(u.HY,null,(0,u.Ko)(t.form,((e,a)=>((0,u.wg)(),(0,u.j4)(n,{label:e.label,key:a},{default:(0,u.w5)((()=>[(0,u.Wm)(f,{item:e,modelValue:t.user,"onUpdate:modelValue":l[7]||(l[7]=e=>t.user=e)},null,8,["item","modelValue"])])),_:2},1032,["label"])))),128)),(0,u.Wm)(n,null,{default:(0,u.w5)((()=>[(0,u.Wm)(c,{type:"primary",onClick:d.submit},{default:(0,u.w5)((()=>[(0,u.Uk)("保存")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["model"])])),_:1})}var t={props:{data:{type:Object,default:()=>({})}},components:{},data(){return{user:{},form:[],token:null}},watch:{},mounted(){},methods:{updateParentValue(e){console.log(e),alert("fdsafa")},submit(){alert(1)}}},d=a(8700);const r=(0,d.Z)(t,[["render",o]]);var n=r}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[623],{4623:function(r,n,o){o.r(n),o.d(n,{default:function(){return p}});var e=o(6252),t=o(5747);const a=r=>((0,e.dD)("data-v-73690a9f"),r=r(),(0,e.Cn)(),r),c={class:"router-err"},u=a((()=>(0,e._)("div",{class:"router-err__icon"},[(0,e._)("img",{src:t})],-1))),i={class:"router-err__content"},l=a((()=>(0,e._)("h2",null,"无权限或找不到页面",-1))),s=a((()=>(0,e._)("p",null,"当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。",-1)));function d(r,n,o,t,a,d){const _=(0,e.up)("el-button");return(0,e.wg)(),(0,e.iD)("div",c,[u,(0,e._)("div",i,[l,s,(0,e.Wm)(_,{type:"primary",plain:"",round:"",onClick:d.gohome},{default:(0,e.w5)((()=>[(0,e.Uk)("返回首页")])),_:1},8,["onClick"]),(0,e.Wm)(_,{type:"primary",round:"",onClick:d.goback},{default:(0,e.w5)((()=>[(0,e.Uk)("返回上一页")])),_:1},8,["onClick"])])])}var _={methods:{gohome(){location.href="#/"},goback(){this.$router.go(-1)}}},k=o(3744);const f=(0,k.Z)(_,[["render",d],["__scopeId","data-v-73690a9f"]]);var p=f}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[727],{4727:function(r,n,o){o.r(n),o.d(n,{default:function(){return p}});var e=o(6808),t=o(5747);const a=r=>((0,e.dD)("data-v-73690a9f"),r=r(),(0,e.Cn)(),r),c={class:"router-err"},u=a((()=>(0,e._)("div",{class:"router-err__icon"},[(0,e._)("img",{src:t})],-1))),i={class:"router-err__content"},l=a((()=>(0,e._)("h2",null,"无权限或找不到页面",-1))),s=a((()=>(0,e._)("p",null,"当前页面无权限访问或者打开了一个不存在的链接,请检查当前账户权限和链接的可访问性。",-1)));function d(r,n,o,t,a,d){const _=(0,e.up)("el-button");return(0,e.wg)(),(0,e.iD)("div",c,[u,(0,e._)("div",i,[l,s,(0,e.Wm)(_,{type:"primary",plain:"",round:"",onClick:d.gohome},{default:(0,e.w5)((()=>[(0,e.Uk)("返回首页")])),_:1},8,["onClick"]),(0,e.Wm)(_,{type:"primary",round:"",onClick:d.goback},{default:(0,e.w5)((()=>[(0,e.Uk)("返回上一页")])),_:1},8,["onClick"])])])}var _={methods:{gohome(){location.href="#/"},goback(){this.$router.go(-1)}}},k=o(8700);const f=(0,k.Z)(_,[["render",d],["__scopeId","data-v-73690a9f"]]);var p=f}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[286],{4286:function(e,n,t){t.r(n),t.d(n,{default:function(){return l}});var o=t(6252);const d={key:0};function u(e,n,t,u,a,r){const s=(0,o.up)("el-skeleton"),i=(0,o.up)("el-card"),l=(0,o.up)("el-main"),m=(0,o.up)("widgets");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a.pageLoading?((0,o.wg)(),(0,o.iD)("div",d,[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o.Wm)(i,{shadow:"never"},{default:(0,o.w5)((()=>[(0,o.Wm)(s,{rows:1})])),_:1}),(0,o.Wm)(i,{shadow:"never",style:{"margin-top":"15px"}},{default:(0,o.w5)((()=>[(0,o.Wm)(s)])),_:1})])),_:1})])):(0,o.kq)("",!0),(0,o.Wm)(m,{onOnMounted:r.onMounted},null,8,["onOnMounted"])],64)}const a=(0,o.RC)((()=>Promise.all([t.e(759),t.e(54),t.e(915),t.e(309)]).then(t.bind(t,9309))));var r={name:"home",components:{widgets:a},data(){return{pageLoading:!0}},created(){},mounted(){},methods:{onMounted(){this.pageLoading=!1}}},s=t(3744);const i=(0,s.Z)(r,[["render",u]]);var l=i}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[730],{1730:function(e,n,t){t.r(n),t.d(n,{default:function(){return l}});var o=t(6808);const d={key:0};function u(e,n,t,u,a,r){const s=(0,o.up)("el-skeleton"),i=(0,o.up)("el-card"),l=(0,o.up)("el-main"),m=(0,o.up)("widgets");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a.pageLoading?((0,o.wg)(),(0,o.iD)("div",d,[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o.Wm)(i,{shadow:"never"},{default:(0,o.w5)((()=>[(0,o.Wm)(s,{rows:1})])),_:1}),(0,o.Wm)(i,{shadow:"never",style:{"margin-top":"15px"}},{default:(0,o.w5)((()=>[(0,o.Wm)(s)])),_:1})])),_:1})])):(0,o.kq)("",!0),(0,o.Wm)(m,{onOnMounted:r.onMounted},null,8,["onOnMounted"])],64)}const a=(0,o.RC)((()=>Promise.all([t.e(759),t.e(54),t.e(915),t.e(853)]).then(t.bind(t,853))));var r={name:"home",components:{widgets:a},data(){return{pageLoading:!0}},created(){},mounted(){},methods:{onMounted(){this.pageLoading=!1}}},s=t(8700);const i=(0,s.Z)(r,[["render",u]]);var l=i}}]);
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[360],{8360:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var l=a(6252);function i(e,t,a,i,n,o){const d=(0,l.up)("x-page-header"),u=(0,l.up)("x-form"),s=(0,l.up)("el-tab-pane"),m=(0,l.up)("el-alert"),r=(0,l.up)("el-input"),p=(0,l.up)("el-table-column"),c=(0,l.up)("x-form-table"),f=(0,l.up)("el-button"),g=(0,l.up)("el-tabs"),h=(0,l.up)("el-card"),w=(0,l.up)("el-main"),b=(0,l.up)("el-footer"),y=(0,l.up)("el-container"),V=(0,l.Q2)("loading");return(0,l.wg)(),(0,l.j4)(y,null,{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(h,{shadow:"never",class:"setting"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{title:"系统设置",description:"可以配置和修改网站的各种设置",icon:"el-icon-setting"}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(g,{"tab-position":n.tabposition,modelValue:n.activename,"onUpdate:modelValue":t[2]||(t[2]=e=>n.activename=e)},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(n.settingList,(e=>((0,l.wg)(),(0,l.j4)(s,{key:e.key,label:e.name,name:e.key},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{ref_for:!0,ref:"formref",config:n.formList[e.key],modelValue:n.info,"onUpdate:modelValue":t[0]||(t[0]=e=>n.info=e),loading:n.loading},null,8,["config","modelValue","loading"])])),_:2},1032,["label","name"])))),128)),(0,l.Wm)(s,{label:"扩展配置"},{default:(0,l.w5)((()=>[(0,l.Wm)(m,{title:"扩展配置为系统业务所有的配置",type:"warning",style:{"margin-bottom":"15px"}}),(0,l.Wm)(c,{modelValue:n.extend,"onUpdate:modelValue":t[1]||(t[1]=e=>n.extend=e),hideAdd:!0,"drag-sort":"",placeholder:"暂无数据"},{default:(0,l.w5)((()=>[(0,l.Wm)(p,{label:"KEY",prop:"key",width:"150"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.key,"onUpdate:modelValue":t=>e.row.key=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,l.Wm)(p,{label:"VALUE",prop:"value",width:"350"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.value,"onUpdate:modelValue":t=>e.row.value=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,l.Wm)(p,{label:"备注",prop:"title"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.title,"onUpdate:modelValue":t=>e.row.title=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(f,{type:"primary",icon:"el-icon-plus",onClick:o.table_add,style:{"margin-top":"20px"}},null,8,["onClick"])])),_:1})])),_:1},8,["tab-position","modelValue"])),[[V,n.loading]])])),_:1})])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(f,{type:"primary",onClick:o.submit,style:{"max-width":"500px",width:"100%"},loading:n.submitloading},{default:(0,l.w5)((()=>[(0,l.Uk)("保存")])),_:1},8,["onClick","loading"])])),_:1})])),_:1})}a(7658);var n={name:"setting",data(){return{info:{},activename:"init",tabposition:"left",settingList:[],extend:[],formList:{},loading:!1,submitloading:!1}},mounted(){this.render()},created(){this.onLayoutResize(),window.addEventListener("resize",this.onLayoutResize)},methods:{onLayoutResize(){this.tabposition=document.body.clientWidth<992?"top":"left"},render(){this.loading=!0,setTimeout((async()=>{var e=await this.$http.get("setting/get");if(200!=e.code)return this.$message.warning(e.message),!1;this.settingList=e.data.settingList,this.info=e.data.info,this.formList=e.data.formList,this.extend=e.data.extend||[],this.loading=!1,e.data.activename&&(this.activename=e.data.activename)}),100)},async submit(){this.submitloading=!0;var e=this.$http.post("setting/submit",{info:this.info,extend:this.extend});this.submitloading=!1,this.$message.success(e.message||"操作成功")},table_add(){var e={key:"",value:"",title:""};this.extend.push(e)}}},o=a(3744);const d=(0,o.Z)(n,[["render",i],["__scopeId","data-v-6cef1a8e"]]);var u=d}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[776],{9776:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var l=a(6808);function i(e,t,a,i,n,o){const d=(0,l.up)("x-page-header"),u=(0,l.up)("x-form"),s=(0,l.up)("el-tab-pane"),m=(0,l.up)("el-alert"),r=(0,l.up)("el-input"),p=(0,l.up)("el-table-column"),c=(0,l.up)("x-form-table"),f=(0,l.up)("el-button"),g=(0,l.up)("el-tabs"),h=(0,l.up)("el-card"),w=(0,l.up)("el-main"),b=(0,l.up)("el-footer"),y=(0,l.up)("el-container"),V=(0,l.Q2)("loading");return(0,l.wg)(),(0,l.j4)(y,null,{default:(0,l.w5)((()=>[(0,l.Wm)(w,null,{default:(0,l.w5)((()=>[(0,l.Wm)(h,{shadow:"never",class:"setting"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{title:"系统设置",description:"可以配置和修改网站的各种设置",icon:"el-icon-setting"}),(0,l.wy)(((0,l.wg)(),(0,l.j4)(g,{"tab-position":n.tabposition,modelValue:n.activename,"onUpdate:modelValue":t[2]||(t[2]=e=>n.activename=e)},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(n.settingList,(e=>((0,l.wg)(),(0,l.j4)(s,{key:e.key,label:e.name,name:e.key},{default:(0,l.w5)((()=>[(0,l.Wm)(u,{ref_for:!0,ref:"formref",config:n.formList[e.key],modelValue:n.info,"onUpdate:modelValue":t[0]||(t[0]=e=>n.info=e),loading:n.loading},null,8,["config","modelValue","loading"])])),_:2},1032,["label","name"])))),128)),(0,l.Wm)(s,{label:"扩展配置"},{default:(0,l.w5)((()=>[(0,l.Wm)(m,{title:"扩展配置为系统业务所有的配置",type:"warning",style:{"margin-bottom":"15px"}}),(0,l.Wm)(c,{modelValue:n.extend,"onUpdate:modelValue":t[1]||(t[1]=e=>n.extend=e),hideAdd:!0,"drag-sort":"",placeholder:"暂无数据"},{default:(0,l.w5)((()=>[(0,l.Wm)(p,{label:"KEY",prop:"key",width:"150"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.key,"onUpdate:modelValue":t=>e.row.key=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,l.Wm)(p,{label:"VALUE",prop:"value",width:"350"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.value,"onUpdate:modelValue":t=>e.row.value=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,l.Wm)(p,{label:"备注",prop:"title"},{default:(0,l.w5)((e=>[(0,l.Wm)(r,{modelValue:e.row.title,"onUpdate:modelValue":t=>e.row.title=t,placeholder:"请输入内容"},null,8,["modelValue","onUpdate:modelValue"])])),_:1})])),_:1},8,["modelValue"]),(0,l.Wm)(f,{type:"primary",icon:"el-icon-plus",onClick:o.table_add,style:{"margin-top":"20px"}},null,8,["onClick"])])),_:1})])),_:1},8,["tab-position","modelValue"])),[[V,n.loading]])])),_:1})])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(f,{type:"primary",onClick:o.submit,style:{"max-width":"500px",width:"100%"},loading:n.submitloading},{default:(0,l.w5)((()=>[(0,l.Uk)("保存")])),_:1},8,["onClick","loading"])])),_:1})])),_:1})}a(8311);var n={name:"setting",data(){return{info:{},activename:"init",tabposition:"left",settingList:[],extend:[],formList:{},loading:!1,submitloading:!1}},mounted(){this.render()},created(){this.onLayoutResize(),window.addEventListener("resize",this.onLayoutResize)},methods:{onLayoutResize(){this.tabposition=document.body.clientWidth<992?"top":"left"},render(){this.loading=!0,setTimeout((async()=>{var e=await this.$http.get("setting/get");if(200!=e.code)return this.$message.warning(e.message),!1;this.settingList=e.data.settingList,this.info=e.data.info,this.formList=e.data.formList,this.extend=e.data.extend||[],this.loading=!1,e.data.activename&&(this.activename=e.data.activename)}),100)},async submit(){this.submitloading=!0;var e=this.$http.post("setting/submit",{info:this.info,extend:this.extend});this.submitloading=!1,this.$message.success(e.message||"操作成功")},table_add(){var e={key:"",value:"",title:""};this.extend.push(e)}}},o=a(8700);const d=(0,o.Z)(n,[["render",i],["__scopeId","data-v-6cef1a8e"]]);var u=d}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[863],{8863:function(e,l,t){t.r(l),t.d(l,{default:function(){return g}});var n=t(6252),a=t(3577),o=t(5080);const c={class:"common-header-left"},i={class:"common-header-logo"},s=["alt"],r={class:"common-header-title"},u={class:"common-header-right"},d={class:"common-container"},m={class:"common-title"},_={class:"common-main el-card"};function f(e,l,t,f,h,p){const w=(0,n.up)("router-link"),g=(0,n.up)("el-header"),v=(0,n.up)("el-main"),P=(0,n.up)("el-container");return(0,n.wg)(),(0,n.j4)(P,null,{default:(0,n.w5)((()=>[(0,n.Wm)(g,{style:{height:"50px"}},{default:(0,n.w5)((()=>[(0,n._)("div",c,[(0,n._)("div",i,[(0,n._)("img",{alt:e.$config.APP_NAME,src:o},null,8,s),(0,n._)("label",null,(0,a.zw)(e.$config.APP_NAME),1)]),(0,n._)("div",r,(0,a.zw)(t.title),1)]),(0,n._)("div",u,[(0,n.Wm)(w,{to:"/login"},{default:(0,n.w5)((()=>[(0,n.Uk)("返回登录")])),_:1})])])),_:1}),(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n._)("div",d,[(0,n._)("h2",m,(0,a.zw)(t.title),1),(0,n._)("div",_,[(0,n.WI)(e.$slots,"default")])])])),_:3})])),_:3})}var h={props:{title:{type:String,default:""}}},p=t(3744);const w=(0,p.Z)(h,[["render",f]]);var g=w}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[778],{3778:function(e,l,t){t.r(l),t.d(l,{default:function(){return g}});var n=t(6808),a=t(9511),o=t(5080);const c={class:"common-header-left"},i={class:"common-header-logo"},s=["alt"],r={class:"common-header-title"},u={class:"common-header-right"},d={class:"common-container"},m={class:"common-title"},_={class:"common-main el-card"};function f(e,l,t,f,h,p){const w=(0,n.up)("router-link"),g=(0,n.up)("el-header"),v=(0,n.up)("el-main"),P=(0,n.up)("el-container");return(0,n.wg)(),(0,n.j4)(P,null,{default:(0,n.w5)((()=>[(0,n.Wm)(g,{style:{height:"50px"}},{default:(0,n.w5)((()=>[(0,n._)("div",c,[(0,n._)("div",i,[(0,n._)("img",{alt:e.$config.APP_NAME,src:o},null,8,s),(0,n._)("label",null,(0,a.zw)(e.$config.APP_NAME),1)]),(0,n._)("div",r,(0,a.zw)(t.title),1)]),(0,n._)("div",u,[(0,n.Wm)(w,{to:"/login"},{default:(0,n.w5)((()=>[(0,n.Uk)("返回登录")])),_:1})])])),_:1}),(0,n.Wm)(v,null,{default:(0,n.w5)((()=>[(0,n._)("div",d,[(0,n._)("h2",m,(0,a.zw)(t.title),1),(0,n._)("div",_,[(0,n.WI)(e.$slots,"default")])])])),_:3})])),_:3})}var h={props:{title:{type:String,default:""}}},p=t(8700);const w=(0,p.Z)(h,[["render",f]]);var g=w}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[959],{3959:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var l=a(6252),n=a(3577);const r={class:"left-panel"},i={class:"right-panel"},o={class:"right-panel-search"};function u(e,t,a,u,c,s){const d=(0,l.up)("el-tree"),h=(0,l.up)("el-aside"),p=(0,l.up)("el-date-picker"),m=(0,l.up)("el-input"),g=(0,l.up)("el-button"),f=(0,l.up)("el-header"),w=(0,l.up)("xEcharts"),y=(0,l.up)("el-table-column"),k=(0,l.up)("xTable"),C=(0,l.up)("el-main"),b=(0,l.up)("el-container"),_=(0,l.up)("info"),W=(0,l.up)("el-drawer");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(h,{width:"220px"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{ref:"typeList",class:"menu","node-key":"label",data:c.typeList,"default-expand-all":!0,onNodeClick:s.nodeClick,"current-node-key":c.current,"highlight-current":!0,"expand-on-click-node":!1},null,8,["data","onNodeClick","current-node-key"])])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(C,{class:"nopadding"},{default:(0,l.w5)((()=>[(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(f,null,{default:(0,l.w5)((()=>[(0,l._)("div",r,[(0,l.Wm)(p,{modelValue:c.date,"onUpdate:modelValue":t[0]||(t[0]=e=>c.date=e),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),(0,l._)("div",i,[(0,l._)("div",o,[(0,l.Wm)(m,{modelValue:c.search.keyword,"onUpdate:modelValue":t[1]||(t[1]=e=>c.search.keyword=e),placeholder:"输入关键词",clearable:""},null,8,["modelValue"]),(0,l.Wm)(g,{type:"primary",icon:"el-icon-search",onClick:s.upsearch},null,8,["onClick"])])])])),_:1}),"object"===typeof c.chartoption&&Object.keys(c.chartoption).length>0?((0,l.wg)(),(0,l.j4)(f,{key:0,style:{height:"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(w,{height:"100%",option:c.chartoption},null,8,["option"])])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(C,{class:"nopadding"},{default:(0,l.w5)((()=>[(0,l.Wm)(k,{ref:"table",api:c.api,params:c.search,tableColumn:c.tableColumn,stripe:"",highlightCurrentRow:"",onRowClick:s.rowClick},{default:(0,l.w5)((()=>[(0,l.Wm)(y,{type:"index",width:"60",align:"center"},{default:(0,l.w5)((e=>[(0,l._)("span",null,(0,n.zw)(e.$index+(c.currentPage-1)*c.limit+1),1)])),_:1})])),_:1},8,["api","params","tableColumn","onRowClick"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),(0,l.Wm)(W,{modelValue:c.infoDrawer,"onUpdate:modelValue":t[2]||(t[2]=e=>c.infoDrawer=e),title:"日志详情",size:700,"destroy-on-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(_,{ref:"info"},null,512)])),_:1},8,["modelValue"])],64)}var c=a(7979),s=a(7015),d=a(7450),h={name:"log",components:{info:c["default"],columnItem:d.Z,xEcharts:s.Z},data(){return{infoDrawer:!1,chartoption:{},typeList:[],date:[],data:[],search:{keyword:this.$route.query.keyword||"",type:this.$route.query.type||""},api:"",current:"",config:{},tableColumn:{},column:"default",currentPage:1,limit:20}},mounted(){this.getType()},watch:{current(){this.search.type=this.current,this.getCurrent()}},methods:{changeURLArg(e,t,a){var l=t+"=([^&]*)";if(""===a)return e=e.replace(new RegExp("&?"+l,"gi"),""),e=e.replace(new RegExp("\\??"+l+"&?","gi"),"?"),e;var n=t+"="+a;if(e.match(l)){var r="("+t+"=)([^&]*)";return r=e.replace(new RegExp(r,"gi"),n),r}return e.match("[?]")?e+"&"+n:e+"?"+n},nodeClick(e){if(e.disabled)return!1;this.current=e.label,this.column=e.column||"column"},getType(){this.$http.get("log/admin/types",{type:this.search.type},{cacheparameters:!0}).then((e=>{200==e.code&&Object.assign(this.$data,e.data)}))},getCurrent(){this.tableColumn=this.config[this.column]||this.config.default,this.api||(this.api="log/admin/lists"),this.$refs.table.reload(this.search);var e=this.changeURLArg(window.location.href,"type",this.current);e=this.changeURLArg(e,"keyword",this.search.keyword),history.replaceState(Object.assign({},window.history.state,{url:e}),"null",e)},upsearch(){this.getCurrent()},rowClick(e){this.infoDrawer=!0,this.$nextTick((()=>{this.$refs.info.setData(e)}))}}},p=a(3744);const m=(0,p.Z)(h,[["render",u]]);var g=m}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[804],{3804:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var l=a(6808),n=a(9511);const r={class:"left-panel"},i={class:"right-panel"},o={class:"right-panel-search"};function u(e,t,a,u,c,s){const d=(0,l.up)("el-tree"),h=(0,l.up)("el-aside"),p=(0,l.up)("el-date-picker"),m=(0,l.up)("el-input"),g=(0,l.up)("el-button"),f=(0,l.up)("el-header"),w=(0,l.up)("xEcharts"),y=(0,l.up)("el-table-column"),k=(0,l.up)("xTable"),C=(0,l.up)("el-main"),b=(0,l.up)("el-container"),_=(0,l.up)("info"),W=(0,l.up)("el-drawer");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(h,{width:"220px"},{default:(0,l.w5)((()=>[(0,l.Wm)(d,{ref:"typeList",class:"menu","node-key":"label",data:c.typeList,"default-expand-all":!0,onNodeClick:s.nodeClick,"current-node-key":c.current,"highlight-current":!0,"expand-on-click-node":!1},null,8,["data","onNodeClick","current-node-key"])])),_:1}),(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(C,{class:"nopadding"},{default:(0,l.w5)((()=>[(0,l.Wm)(b,null,{default:(0,l.w5)((()=>[(0,l.Wm)(f,null,{default:(0,l.w5)((()=>[(0,l._)("div",r,[(0,l.Wm)(p,{modelValue:c.date,"onUpdate:modelValue":t[0]||(t[0]=e=>c.date=e),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),(0,l._)("div",i,[(0,l._)("div",o,[(0,l.Wm)(m,{modelValue:c.search.keyword,"onUpdate:modelValue":t[1]||(t[1]=e=>c.search.keyword=e),placeholder:"输入关键词",clearable:""},null,8,["modelValue"]),(0,l.Wm)(g,{type:"primary",icon:"el-icon-search",onClick:s.upsearch},null,8,["onClick"])])])])),_:1}),"object"===typeof c.chartoption&&Object.keys(c.chartoption).length>0?((0,l.wg)(),(0,l.j4)(f,{key:0,style:{height:"120px"}},{default:(0,l.w5)((()=>[(0,l.Wm)(w,{height:"100%",option:c.chartoption},null,8,["option"])])),_:1})):(0,l.kq)("",!0),(0,l.Wm)(C,{class:"nopadding"},{default:(0,l.w5)((()=>[(0,l.Wm)(k,{ref:"table",api:c.api,params:c.search,tableColumn:c.tableColumn,stripe:"",highlightCurrentRow:"",onRowClick:s.rowClick},{default:(0,l.w5)((()=>[(0,l.Wm)(y,{type:"index",width:"60",align:"center"},{default:(0,l.w5)((e=>[(0,l._)("span",null,(0,n.zw)(e.$index+(c.currentPage-1)*c.limit+1),1)])),_:1})])),_:1},8,["api","params","tableColumn","onRowClick"])])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),(0,l.Wm)(W,{modelValue:c.infoDrawer,"onUpdate:modelValue":t[2]||(t[2]=e=>c.infoDrawer=e),title:"日志详情",size:700,"destroy-on-close":""},{default:(0,l.w5)((()=>[(0,l.Wm)(_,{ref:"info"},null,512)])),_:1},8,["modelValue"])],64)}var c=a(6344),s=a(7844),d=a(9370),h={name:"log",components:{info:c["default"],columnItem:d.Z,xEcharts:s.Z},data(){return{infoDrawer:!1,chartoption:{},typeList:[],date:[],data:[],search:{keyword:this.$route.query.keyword||"",type:this.$route.query.type||""},api:"",current:"",config:{},tableColumn:{},column:"default",currentPage:1,limit:20}},mounted(){this.getType()},watch:{current(){this.search.type=this.current,this.getCurrent()}},methods:{changeURLArg(e,t,a){var l=t+"=([^&]*)";if(""===a)return e=e.replace(new RegExp("&?"+l,"gi"),""),e=e.replace(new RegExp("\\??"+l+"&?","gi"),"?"),e;var n=t+"="+a;if(e.match(l)){var r="("+t+"=)([^&]*)";return r=e.replace(new RegExp(r,"gi"),n),r}return e.match("[?]")?e+"&"+n:e+"?"+n},nodeClick(e){if(e.disabled)return!1;this.current=e.label,this.column=e.column||"column"},getType(){this.$http.get("log/admin/types",{type:this.search.type},{cacheparameters:!0}).then((e=>{200==e.code&&Object.assign(this.$data,e.data)}))},getCurrent(){this.tableColumn=this.config[this.column]||this.config.default,this.api||(this.api="log/admin/lists"),this.$refs.table.reload(this.search);var e=this.changeURLArg(window.location.href,"type",this.current);e=this.changeURLArg(e,"keyword",this.search.keyword),history.replaceState(Object.assign({},window.history.state,{url:e}),"null",e)},upsearch(){this.getCurrent()},rowClick(e){this.infoDrawer=!0,this.$nextTick((()=>{this.$refs.info.setData(e)}))}}},p=a(8700);const m=(0,p.Z)(h,[["render",u]]);var g=m}}]);
|
1
dist/static/js/824.a497679d.js
vendored
Normal file
1
dist/static/js/824.a497679d.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[824],{4824:function(n,e,t){t.r(e),t.d(e,{default:function(){return c}});var u=t(6808);function a(n,e,t,a,r,i){const o=(0,u.up)("xTable");return(0,u.wg)(),(0,u.j4)(o,{name:"weixin"})}var r=t(9965),i={name:"weixin",components:{xTable:r["default"]},data(){return{loading:!1,leftType:"",info:{}}},computed:{},mounted(){},methods:{}},o=t(8700);const d=(0,o.Z)(i,[["render",a]]);var c=d}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[599],{5599:function(e,l,a){a.r(l),a.d(l,{default:function(){return f}});var t=a(6252),o=a(3577);const m={class:"el-form-item-msg"},n={class:"el-form-item-msg"},i=(0,t._)("div",{class:"el-form-item-msg"},"自动登出设置将在下次登录时生效",-1);function r(e,l,a,r,d,u){const c=(0,t.up)("el-switch"),s=(0,t.up)("el-form-item"),f=(0,t.up)("el-color-picker"),g=(0,t.up)("el-option"),p=(0,t.up)("el-select"),h=(0,t.up)("el-form"),_=(0,t.up)("el-card");return(0,t.wg)(),(0,t.iD)(t.HY,null,[(0,t.Wm)(_,{shadow:"never",header:"语言主题",style:{margin:"10px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(h,{ref:"form","label-width":"120px",style:{"margin-top":"20px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(s,{label:e.$t("user.nightmode")},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.config.dark,"onUpdate:modelValue":l[0]||(l[0]=e=>d.config.dark=e),"inline-prompt":"","active-icon":"el-icon-moon","inactive-icon":"el-icon-sunny"},null,8,["modelValue"]),(0,t._)("div",m,(0,o.zw)(e.$t("user.nightmode_msg")),1)])),_:1},8,["label"]),(0,t.Wm)(s,{label:"主题颜色"},{default:(0,t.w5)((()=>[(0,t.Wm)(f,{modelValue:d.config.colorPrimary,"onUpdate:modelValue":l[1]||(l[1]=e=>d.config.colorPrimary=e),predefine:d.colorList},{default:(0,t.w5)((()=>[(0,t.Uk)(">")])),_:1},8,["modelValue","predefine"])])),_:1}),(0,t.Wm)(s,{label:e.$t("user.language")},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.config.lang,"onUpdate:modelValue":l[2]||(l[2]=e=>d.config.lang=e)},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{label:"简体中文",value:"zh-cn"}),(0,t.Wm)(g,{label:"English",value:"en"})])),_:1},8,["modelValue"]),(0,t._)("div",n,(0,o.zw)(e.$t("user.language_msg")),1)])),_:1},8,["label"])])),_:1},512)])),_:1}),(0,t.Wm)(_,{shadow:"never",header:"个人设置",style:{margin:"10px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(h,{ref:"form","label-width":"120px",style:{"margin-top":"20px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(s,{label:"自动登出"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.config.autoExit,"onUpdate:modelValue":l[3]||(l[3]=e=>d.config.autoExit=e)},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{label:"从不",value:0}),(0,t.Wm)(g,{label:"1分钟",value:1}),(0,t.Wm)(g,{label:"5分钟",value:5}),(0,t.Wm)(g,{label:"10分钟",value:10}),(0,t.Wm)(g,{label:"15分钟",value:15}),(0,t.Wm)(g,{label:"20分钟",value:20}),(0,t.Wm)(g,{label:"25分钟",value:25}),(0,t.Wm)(g,{label:"30分钟",value:30}),(0,t.Wm)(g,{label:"35分钟",value:35}),(0,t.Wm)(g,{label:"40分钟",value:40}),(0,t.Wm)(g,{label:"45分钟",value:45}),(0,t.Wm)(g,{label:"50分钟",value:50}),(0,t.Wm)(g,{label:"55分钟",value:55}),(0,t.Wm)(g,{label:"60分钟",value:60})])),_:1},8,["modelValue"]),i])),_:1})])),_:1},512)])),_:1})],64)}var d=a(3111),u={data(){return{colorList:["#409EFF","#009688","#536dfe","#ff5c93","#c62f2f","#fd726d"],config:{lang:this.$tool.data.get("APP_LANG")||this.$config.LANG,dark:this.$tool.data.get("APP_DARK")||!1,colorPrimary:this.$tool.data.get("APP_COLOR")||this.$config.COLOR||"#409EFF",autoExit:this.$tool.data.get("AUTO_EXIT")||0}}},watch:{"config.dark"(e){e?(document.documentElement.classList.add("dark"),this.$tool.data.set("APP_DARK",e)):(document.documentElement.classList.remove("dark"),this.$tool.data.remove("APP_DARK"))},"config.lang"(e){this.$i18n.locale=e,this.$tool.data.set("APP_LANG",e)},"config.colorPrimary"(e){e||(e="#409EFF",this.config.colorPrimary="#409EFF"),document.documentElement.style.setProperty("--el-color-primary",e);for(let l=1;l<=9;l++)document.documentElement.style.setProperty(`--el-color-primary-light-${l}`,d.Z.lighten(e,l/10));for(let l=1;l<=9;l++)document.documentElement.style.setProperty(`--el-color-primary-dark-${l}`,d.Z.darken(e,l/10));this.$tool.data.set("APP_COLOR",e)},"config.autoExit"(e){0==e?this.$tool.data.remove("AUTO_EXIT"):this.$tool.data.set("AUTO_EXIT",e)}}},c=a(3744);const s=(0,c.Z)(u,[["render",r]]);var f=s}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[828],{6828:function(e,l,a){a.r(l),a.d(l,{default:function(){return f}});var t=a(6808),o=a(9511);const m={class:"el-form-item-msg"},n={class:"el-form-item-msg"},i=(0,t._)("div",{class:"el-form-item-msg"},"自动登出设置将在下次登录时生效",-1);function r(e,l,a,r,d,u){const c=(0,t.up)("el-switch"),s=(0,t.up)("el-form-item"),f=(0,t.up)("el-color-picker"),g=(0,t.up)("el-option"),p=(0,t.up)("el-select"),h=(0,t.up)("el-form"),_=(0,t.up)("el-card");return(0,t.wg)(),(0,t.iD)(t.HY,null,[(0,t.Wm)(_,{shadow:"never",header:"语言主题",style:{margin:"10px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(h,{ref:"form","label-width":"120px",style:{"margin-top":"20px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(s,{label:e.$t("user.nightmode")},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.config.dark,"onUpdate:modelValue":l[0]||(l[0]=e=>d.config.dark=e),"inline-prompt":"","active-icon":"el-icon-moon","inactive-icon":"el-icon-sunny"},null,8,["modelValue"]),(0,t._)("div",m,(0,o.zw)(e.$t("user.nightmode_msg")),1)])),_:1},8,["label"]),(0,t.Wm)(s,{label:"主题颜色"},{default:(0,t.w5)((()=>[(0,t.Wm)(f,{modelValue:d.config.colorPrimary,"onUpdate:modelValue":l[1]||(l[1]=e=>d.config.colorPrimary=e),predefine:d.colorList},{default:(0,t.w5)((()=>[(0,t.Uk)(">")])),_:1},8,["modelValue","predefine"])])),_:1}),(0,t.Wm)(s,{label:e.$t("user.language")},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.config.lang,"onUpdate:modelValue":l[2]||(l[2]=e=>d.config.lang=e)},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{label:"简体中文",value:"zh-cn"}),(0,t.Wm)(g,{label:"English",value:"en"})])),_:1},8,["modelValue"]),(0,t._)("div",n,(0,o.zw)(e.$t("user.language_msg")),1)])),_:1},8,["label"])])),_:1},512)])),_:1}),(0,t.Wm)(_,{shadow:"never",header:"个人设置",style:{margin:"10px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(h,{ref:"form","label-width":"120px",style:{"margin-top":"20px"}},{default:(0,t.w5)((()=>[(0,t.Wm)(s,{label:"自动登出"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.config.autoExit,"onUpdate:modelValue":l[3]||(l[3]=e=>d.config.autoExit=e)},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{label:"从不",value:0}),(0,t.Wm)(g,{label:"1分钟",value:1}),(0,t.Wm)(g,{label:"5分钟",value:5}),(0,t.Wm)(g,{label:"10分钟",value:10}),(0,t.Wm)(g,{label:"15分钟",value:15}),(0,t.Wm)(g,{label:"20分钟",value:20}),(0,t.Wm)(g,{label:"25分钟",value:25}),(0,t.Wm)(g,{label:"30分钟",value:30}),(0,t.Wm)(g,{label:"35分钟",value:35}),(0,t.Wm)(g,{label:"40分钟",value:40}),(0,t.Wm)(g,{label:"45分钟",value:45}),(0,t.Wm)(g,{label:"50分钟",value:50}),(0,t.Wm)(g,{label:"55分钟",value:55}),(0,t.Wm)(g,{label:"60分钟",value:60})])),_:1},8,["modelValue"]),i])),_:1})])),_:1},512)])),_:1})],64)}var d=a(9158),u={data(){return{colorList:["#409EFF","#009688","#536dfe","#ff5c93","#c62f2f","#fd726d"],config:{lang:this.$tool.data.get("APP_LANG")||this.$config.LANG,dark:this.$tool.data.get("APP_DARK")||!1,colorPrimary:this.$tool.data.get("APP_COLOR")||this.$config.COLOR||"#409EFF",autoExit:this.$tool.data.get("AUTO_EXIT")||0}}},watch:{"config.dark"(e){e?(document.documentElement.classList.add("dark"),this.$tool.data.set("APP_DARK",e)):(document.documentElement.classList.remove("dark"),this.$tool.data.remove("APP_DARK"))},"config.lang"(e){this.$i18n.locale=e,this.$tool.data.set("APP_LANG",e)},"config.colorPrimary"(e){e||(e="#409EFF",this.config.colorPrimary="#409EFF"),document.documentElement.style.setProperty("--el-color-primary",e);for(let l=1;l<=9;l++)document.documentElement.style.setProperty(`--el-color-primary-light-${l}`,d.Z.lighten(e,l/10));for(let l=1;l<=9;l++)document.documentElement.style.setProperty(`--el-color-primary-dark-${l}`,d.Z.darken(e,l/10));this.$tool.data.set("APP_COLOR",e)},"config.autoExit"(e){0==e?this.$tool.data.remove("AUTO_EXIT"):this.$tool.data.set("AUTO_EXIT",e)}}},c=a(8700);const s=(0,c.Z)(u,[["render",r]]);var f=s}}]);
|
1
dist/static/js/853.fddf2853.js
vendored
Normal file
1
dist/static/js/853.fddf2853.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/9.af105e48.js
vendored
1
dist/static/js/9.af105e48.js
vendored
@ -1 +0,0 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[9],{2552:function(t,e,a){a.r(e),a.d(e,{default:function(){return v}});var i=a(6252),n=a(3577);const s={class:"dis-f",style:{"flex-direction":"column",height:"100%"}},l={class:"tab-list-box dis-f jus-x al-item"},c=["onClick"],d={class:"flex-1 dis-f"},o={class:"hid-box tran-width"},u={class:"tab-info-box tab-info-box-hid"};function r(t,e,a,r,m,p){const b=(0,i.up)("InstalledApplist"),f=(0,i.up)("plugin-market");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(m.tabList,((t,e)=>((0,i.wg)(),(0,i.iD)("div",{key:e,class:(0,n.C_)(["tab-box",{"click-tab":t.type===m.activeName}]),onClick:e=>p.changeTab(t.type)},(0,n.zw)(t.title),11,c)))),128))]),(0,i._)("div",d,[(0,i._)("div",o,[(0,i._)("div",u,["manage"==m.activeName?((0,i.wg)(),(0,i.j4)(b,{key:0})):(0,i.kq)("",!0),"market"==m.activeName?((0,i.wg)(),(0,i.j4)(f,{key:1})):(0,i.kq)("",!0)])])])])}var m=a(7440),p=a(1799),b={data(){return{activeName:"manage",tabList:[{title:"插件管理",type:"manage"},{title:"插件市场",type:"market"}]}},components:{pluginMarket:m["default"],InstalledApplist:p["default"]},mounted(){},methods:{changeTab(t){this.activeName=t}}},f=a(3744);const k=(0,f.Z)(b,[["render",r],["__scopeId","data-v-7e72d1fc"]]);var v=k}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[732],{3732:function(e,t,l){l.r(t),l.d(t,{default:function(){return _}});var i=l(6252),s=l(3577);const a=e=>((0,i.dD)("data-v-116ca45f"),e=e(),(0,i.Cn)(),e),o=a((()=>(0,i._)("p",null,"添加计划任务",-1))),n=a((()=>(0,i._)("h4",null,"执行类",-1))),d=a((()=>(0,i._)("h4",null,"定时规则",-1))),u={class:"bottom"},r={class:"state"},c={class:"handler"};function m(e,t,l,a,m,g){const h=(0,i.up)("el-icon-plus"),p=(0,i.up)("el-icon"),f=(0,i.up)("el-card"),w=(0,i.up)("el-col"),_=(0,i.up)("el-tag"),k=(0,i.up)("el-button"),v=(0,i.up)("el-popconfirm"),b=(0,i.up)("el-dropdown-item"),$=(0,i.up)("el-dropdown-menu"),W=(0,i.up)("el-dropdown"),y=(0,i.up)("el-row"),C=(0,i.up)("el-main"),x=(0,i.up)("save-dialog"),D=(0,i.up)("logs"),z=(0,i.up)("el-drawer");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(C,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y,{gutter:15},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{xl:6,lg:6,md:8,sm:12,xs:24},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{class:"task task-add",shadow:"never",onClick:g.add},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h)])),_:1}),o])),_:1},8,["onClick"])])),_:1}),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(m.list,(e=>((0,i.wg)(),(0,i.j4)(w,{xl:6,lg:6,md:8,sm:12,xs:24,key:e.id},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{class:"task task-item",shadow:"hover"},{default:(0,i.w5)((()=>[(0,i._)("h2",null,(0,s.zw)(e.title),1),(0,i._)("ul",null,[(0,i._)("li",null,[n,(0,i._)("p",null,(0,s.zw)(e.type),1)]),(0,i._)("li",null,[d,(0,i._)("p",null,[(0,i.Uk)((0,s.zw)(e.schedule)+" ",1),(0,i._)("code",null,"("+(0,s.zw)(e.executetime)+")",1)])])]),(0,i._)("div",u,[(0,i._)("div",r,["1"==e.status?((0,i.wg)(),(0,i.j4)(_,{key:0,size:"small"},{default:(0,i.w5)((()=>[(0,i.Uk)("准备就绪")])),_:1})):(0,i.kq)("",!0),"0"==e.status?((0,i.wg)(),(0,i.j4)(_,{key:1,size:"small",type:"info"},{default:(0,i.w5)((()=>[(0,i.Uk)("停用")])),_:1})):(0,i.kq)("",!0)]),(0,i._)("div",c,[(0,i.Wm)(v,{title:"立即执行吗?",onConfirm:t=>g.run(e)},{reference:(0,i.w5)((()=>[(0,i.Wm)(k,{type:"primary",icon:"el-icon-caret-right",circle:""})])),_:2},1032,["onConfirm"]),(0,i.Wm)(W,{trigger:"click"},{dropdown:(0,i.w5)((()=>[(0,i.Wm)($,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{onClick:t=>g.edit(e)},{default:(0,i.w5)((()=>[(0,i.Uk)("编辑")])),_:2},1032,["onClick"]),(0,i.Wm)(b,{onClick:t=>g.logs(e)},{default:(0,i.w5)((()=>[(0,i.Uk)("日志")])),_:2},1032,["onClick"]),(0,i.Wm)(b,{onClick:t=>g.crontabdelete(e),divided:""},{default:(0,i.w5)((()=>[(0,i.Uk)("删除")])),_:2},1032,["onClick"])])),_:2},1024)])),default:(0,i.w5)((()=>[(0,i.Wm)(k,{type:"primary",icon:"el-icon-more",circle:"",plain:""})])),_:2},1024)])])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),m.dialog.save?((0,i.wg)(),(0,i.j4)(x,{key:0,ref:"saveDialog",onSuccess:g.handleSuccess,onClosed:t[0]||(t[0]=e=>m.dialog.save=!1)},null,8,["onSuccess"])):(0,i.kq)("",!0),(0,i.Wm)(z,{title:m.loginfo.title+"计划任务日志",modelValue:m.dialog.logsVisible,"onUpdate:modelValue":t[1]||(t[1]=e=>m.dialog.logsVisible=e),size:600,direction:"rtl","destroy-on-close":""},{default:(0,i.w5)((()=>[(0,i.Wm)(D,{ref:"logs"},null,512)])),_:1},8,["title","modelValue"])],64)}l(7658);var g=l(1005),h=l(2953),p={name:"crontab",components:{saveDialog:g["default"],logs:h["default"]},provide(){return{list:this.list}},data(){return{dialog:{save:!1,logsVisible:!1},list:[],loginfo:{},logslist:[]}},mounted(){this.loaddata()},methods:{loaddata(){this.$http.get("crontab/admin/lists").then((e=>{200!=e.code?this.$alert(e.message,"提示",{type:"error"}):this.list=e.data}))},add(){this.dialog.save=!0,this.$nextTick((()=>{this.$refs.saveDialog.open()}))},edit(e){this.dialog.save=!0,this.$nextTick((()=>{this.$refs.saveDialog.open("edit").setData(e)}))},crontabdelete(e){this.$confirm(`确认删除 ${e.title} 计划任务吗?`,"提示",{type:"warning",confirmButtonText:"删除",confirmButtonClass:"el-button--danger"}).then((()=>{this.$http.get("crontab/admin/delete").then((t=>{200!=t.code?this.$alert(t.message,"提示",{type:"error"}):this.list.splice(this.list.findIndex((t=>t.id===e.id)),1)}))})).catch((()=>{}))},logs(e){this.loginfo=e,this.dialog.logsVisible=!0,this.$nextTick((()=>{this.$refs.logs.setApi("crontab/admin/logs?id="+e.id)}))},run(e){this.$message.success(`已成功执行计划任务:${e.title}`)},handleSuccess(e,t){this.$http.post("crontab/admin/submit",{type:t,info:e}).then((l=>{if(this.$refs.saveDialog.isSaveing=!1,200==l.code)return l.data&&l.data.id?"add"==t?this.list.push(e):"edit"==t&&this.list.filter((t=>t.id===e.id)).forEach((t=>{Object.assign(t,e)})):this.loaddata({}),this.$refs.saveDialog.visible=!1,void this.$message.success(l.message||"操作成功");this.$alert(l.message||"错误","提示",{type:"error"})}))}}},f=l(3744);const w=(0,f.Z)(p,[["render",m],["__scopeId","data-v-116ca45f"]]);var _=w}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[924],{5924:function(e,t,l){l.r(t),l.d(t,{default:function(){return _}});var i=l(6808),s=l(9511);const a=e=>((0,i.dD)("data-v-116ca45f"),e=e(),(0,i.Cn)(),e),o=a((()=>(0,i._)("p",null,"添加计划任务",-1))),n=a((()=>(0,i._)("h4",null,"执行类",-1))),d=a((()=>(0,i._)("h4",null,"定时规则",-1))),u={class:"bottom"},r={class:"state"},c={class:"handler"};function m(e,t,l,a,m,g){const h=(0,i.up)("el-icon-plus"),p=(0,i.up)("el-icon"),f=(0,i.up)("el-card"),w=(0,i.up)("el-col"),_=(0,i.up)("el-tag"),k=(0,i.up)("el-button"),v=(0,i.up)("el-popconfirm"),b=(0,i.up)("el-dropdown-item"),$=(0,i.up)("el-dropdown-menu"),W=(0,i.up)("el-dropdown"),y=(0,i.up)("el-row"),C=(0,i.up)("el-main"),x=(0,i.up)("save-dialog"),D=(0,i.up)("logs"),z=(0,i.up)("el-drawer");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(C,null,{default:(0,i.w5)((()=>[(0,i.Wm)(y,{gutter:15},{default:(0,i.w5)((()=>[(0,i.Wm)(w,{xl:6,lg:6,md:8,sm:12,xs:24},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{class:"task task-add",shadow:"never",onClick:g.add},{default:(0,i.w5)((()=>[(0,i.Wm)(p,null,{default:(0,i.w5)((()=>[(0,i.Wm)(h)])),_:1}),o])),_:1},8,["onClick"])])),_:1}),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(m.list,(e=>((0,i.wg)(),(0,i.j4)(w,{xl:6,lg:6,md:8,sm:12,xs:24,key:e.id},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{class:"task task-item",shadow:"hover"},{default:(0,i.w5)((()=>[(0,i._)("h2",null,(0,s.zw)(e.title),1),(0,i._)("ul",null,[(0,i._)("li",null,[n,(0,i._)("p",null,(0,s.zw)(e.type),1)]),(0,i._)("li",null,[d,(0,i._)("p",null,[(0,i.Uk)((0,s.zw)(e.schedule)+" ",1),(0,i._)("code",null,"("+(0,s.zw)(e.executetime)+")",1)])])]),(0,i._)("div",u,[(0,i._)("div",r,["1"==e.status?((0,i.wg)(),(0,i.j4)(_,{key:0,size:"small"},{default:(0,i.w5)((()=>[(0,i.Uk)("准备就绪")])),_:1})):(0,i.kq)("",!0),"0"==e.status?((0,i.wg)(),(0,i.j4)(_,{key:1,size:"small",type:"info"},{default:(0,i.w5)((()=>[(0,i.Uk)("停用")])),_:1})):(0,i.kq)("",!0)]),(0,i._)("div",c,[(0,i.Wm)(v,{title:"立即执行吗?",onConfirm:t=>g.run(e)},{reference:(0,i.w5)((()=>[(0,i.Wm)(k,{type:"primary",icon:"el-icon-caret-right",circle:""})])),_:2},1032,["onConfirm"]),(0,i.Wm)(W,{trigger:"click"},{dropdown:(0,i.w5)((()=>[(0,i.Wm)($,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{onClick:t=>g.edit(e)},{default:(0,i.w5)((()=>[(0,i.Uk)("编辑")])),_:2},1032,["onClick"]),(0,i.Wm)(b,{onClick:t=>g.logs(e)},{default:(0,i.w5)((()=>[(0,i.Uk)("日志")])),_:2},1032,["onClick"]),(0,i.Wm)(b,{onClick:t=>g.crontabdelete(e),divided:""},{default:(0,i.w5)((()=>[(0,i.Uk)("删除")])),_:2},1032,["onClick"])])),_:2},1024)])),default:(0,i.w5)((()=>[(0,i.Wm)(k,{type:"primary",icon:"el-icon-more",circle:"",plain:""})])),_:2},1024)])])])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),m.dialog.save?((0,i.wg)(),(0,i.j4)(x,{key:0,ref:"saveDialog",onSuccess:g.handleSuccess,onClosed:t[0]||(t[0]=e=>m.dialog.save=!1)},null,8,["onSuccess"])):(0,i.kq)("",!0),(0,i.Wm)(z,{title:m.loginfo.title+"计划任务日志",modelValue:m.dialog.logsVisible,"onUpdate:modelValue":t[1]||(t[1]=e=>m.dialog.logsVisible=e),size:600,direction:"rtl","destroy-on-close":""},{default:(0,i.w5)((()=>[(0,i.Wm)(D,{ref:"logs"},null,512)])),_:1},8,["title","modelValue"])],64)}l(8311);var g=l(7467),h=l(5560),p={name:"crontab",components:{saveDialog:g["default"],logs:h["default"]},provide(){return{list:this.list}},data(){return{dialog:{save:!1,logsVisible:!1},list:[],loginfo:{},logslist:[]}},mounted(){this.loaddata()},methods:{loaddata(){this.$http.get("crontab/admin/lists").then((e=>{200!=e.code?this.$alert(e.message,"提示",{type:"error"}):this.list=e.data}))},add(){this.dialog.save=!0,this.$nextTick((()=>{this.$refs.saveDialog.open()}))},edit(e){this.dialog.save=!0,this.$nextTick((()=>{this.$refs.saveDialog.open("edit").setData(e)}))},crontabdelete(e){this.$confirm(`确认删除 ${e.title} 计划任务吗?`,"提示",{type:"warning",confirmButtonText:"删除",confirmButtonClass:"el-button--danger"}).then((()=>{this.$http.get("crontab/admin/delete").then((t=>{200!=t.code?this.$alert(t.message,"提示",{type:"error"}):this.list.splice(this.list.findIndex((t=>t.id===e.id)),1)}))})).catch((()=>{}))},logs(e){this.loginfo=e,this.dialog.logsVisible=!0,this.$nextTick((()=>{this.$refs.logs.setApi("crontab/admin/logs?id="+e.id)}))},run(e){this.$message.success(`已成功执行计划任务:${e.title}`)},handleSuccess(e,t){this.$http.post("crontab/admin/submit",{type:t,info:e}).then((l=>{if(this.$refs.saveDialog.isSaveing=!1,200==l.code)return l.data&&l.data.id?"add"==t?this.list.push(e):"edit"==t&&this.list.filter((t=>t.id===e.id)).forEach((t=>{Object.assign(t,e)})):this.loaddata({}),this.$refs.saveDialog.visible=!1,void this.$message.success(l.message||"操作成功");this.$alert(l.message||"错误","提示",{type:"error"})}))}}},f=l(8700);const w=(0,f.Z)(p,[["render",m],["__scopeId","data-v-116ca45f"]]);var _=w}}]);
|
1
dist/static/js/934.e8cbdb5d.js
vendored
Normal file
1
dist/static/js/934.e8cbdb5d.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[934],{6934:function(t,e,a){a.r(e),a.d(e,{default:function(){return v}});var i=a(6808),n=a(9511);const s={class:"dis-f",style:{"flex-direction":"column",height:"100%"}},l={class:"tab-list-box dis-f jus-x al-item"},c=["onClick"],d={class:"flex-1 dis-f"},o={class:"hid-box tran-width"},u={class:"tab-info-box tab-info-box-hid"};function r(t,e,a,r,m,p){const b=(0,i.up)("InstalledApplist"),f=(0,i.up)("plugin-market");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(m.tabList,((t,e)=>((0,i.wg)(),(0,i.iD)("div",{key:e,class:(0,n.C_)(["tab-box",{"click-tab":t.type===m.activeName}]),onClick:e=>p.changeTab(t.type)},(0,n.zw)(t.title),11,c)))),128))]),(0,i._)("div",d,[(0,i._)("div",o,[(0,i._)("div",u,["manage"==m.activeName?((0,i.wg)(),(0,i.j4)(b,{key:0})):(0,i.kq)("",!0),"market"==m.activeName?((0,i.wg)(),(0,i.j4)(f,{key:1})):(0,i.kq)("",!0)])])])])}var m=a(2376),p=a(7118),b={data(){return{activeName:"manage",tabList:[{title:"插件管理",type:"manage"},{title:"插件市场",type:"market"}]}},components:{pluginMarket:m["default"],InstalledApplist:p["default"]},mounted(){},methods:{changeTab(t){this.activeName=t}}},f=a(8700);const k=(0,f.Z)(b,[["render",r],["__scopeId","data-v-7e72d1fc"]]);var v=k}}]);
|
1
dist/static/js/951.e13d3581.js
vendored
1
dist/static/js/951.e13d3581.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[364],{3364:function(e,l,t){t.r(l),t.d(l,{default:function(){return m}});var a=t(6252);function u(e,l,t,u,o,n){const d=(0,a.up)("el-input"),m=(0,a.up)("el-form-item"),r=(0,a.up)("el-button"),i=(0,a.up)("el-form"),p=(0,a.up)("el-table-column"),c=(0,a.up)("x-table-select");return(0,a.wg)(),(0,a.j4)(c,(0,a.dG)({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=e=>o.value=e)},t.item.options,{style:{width:"100%"}}),{header:(0,a.w5)((({data:e,form:l,submit:t})=>[l&&l.length>0?((0,a.wg)(),(0,a.j4)(i,{key:0,inline:!0,model:e},{default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(l,((l,t)=>((0,a.wg)(),(0,a.j4)(m,{style:{"margin-bottom":"0px"},key:t},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:e[l.name],"onUpdate:modelValue":t=>e[l.name]=t,placeholder:l.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128)),(0,a.Wm)(m,{style:{"margin-bottom":"0px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(r,{type:"primary",onClick:t},{default:(0,a.w5)((()=>[(0,a.Uk)("查询")])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1032,["model"])):(0,a.kq)("",!0)])),default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.item.options.column,((e,l)=>((0,a.wg)(),(0,a.j4)(p,(0,a.dG)({key:l},e),null,16)))),128))])),_:1},16,["modelValue"])}var o={name:"tableselectRender",props:{modelValue:[String,Number,Boolean,Date,Object,Array],item:{type:Object,default:()=>{}}},data(){return{value:this.modelValue}},watch:{value(e){this.$emit("update:modelValue",e)}},mounted(){},methods:{}},n=t(3744);const d=(0,n.Z)(o,[["render",u]]);var m=d}}]);
|
||||
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[955],{4955:function(e,l,t){t.r(l),t.d(l,{default:function(){return m}});var a=t(6808);function u(e,l,t,u,o,n){const d=(0,a.up)("el-input"),m=(0,a.up)("el-form-item"),r=(0,a.up)("el-button"),i=(0,a.up)("el-form"),p=(0,a.up)("el-table-column"),c=(0,a.up)("x-table-select");return(0,a.wg)(),(0,a.j4)(c,(0,a.dG)({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=e=>o.value=e)},t.item.options,{style:{width:"100%"}}),{header:(0,a.w5)((({data:e,form:l,submit:t})=>[l&&l.length>0?((0,a.wg)(),(0,a.j4)(i,{key:0,inline:!0,model:e},{default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(l,((l,t)=>((0,a.wg)(),(0,a.j4)(m,{style:{"margin-bottom":"0px"},key:t},{default:(0,a.w5)((()=>[(0,a.Wm)(d,{modelValue:e[l.name],"onUpdate:modelValue":t=>e[l.name]=t,placeholder:l.placeholder},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128)),(0,a.Wm)(m,{style:{"margin-bottom":"0px"}},{default:(0,a.w5)((()=>[(0,a.Wm)(r,{type:"primary",onClick:t},{default:(0,a.w5)((()=>[(0,a.Uk)("查询")])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1032,["model"])):(0,a.kq)("",!0)])),default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.item.options.column,((e,l)=>((0,a.wg)(),(0,a.j4)(p,(0,a.dG)({key:l},e),null,16)))),128))])),_:1},16,["modelValue"])}var o={name:"tableselectRender",props:{modelValue:[String,Number,Boolean,Date,Object,Array],item:{type:Object,default:()=>{}}},data(){return{value:this.modelValue}},watch:{value(e){this.$emit("update:modelValue",e)}},mounted(){},methods:{}},n=t(8700);const d=(0,n.Z)(o,[["render",u]]);var m=d}}]);
|
File diff suppressed because one or more lines are too long
1
dist/static/js/app.32464ae8.js
vendored
1
dist/static/js/app.32464ae8.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/app.dc29eba6.js
vendored
Normal file
1
dist/static/js/app.dc29eba6.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/codemirror.12459829.js
vendored
1
dist/static/js/codemirror.12459829.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/codemirror.3aba6aac.js
vendored
Normal file
1
dist/static/js/codemirror.3aba6aac.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/echarts.401e9081.js
vendored
1
dist/static/js/echarts.401e9081.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/echarts.5bfea994.js
vendored
Normal file
1
dist/static/js/echarts.5bfea994.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
111
dist/static/js/modules.b880bc1d.js
vendored
111
dist/static/js/modules.b880bc1d.js
vendored
File diff suppressed because one or more lines are too long
111
dist/static/js/modules.d82a0636.js
vendored
Normal file
111
dist/static/js/modules.d82a0636.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/tinymce.3861eabb.js
vendored
Normal file
1
dist/static/js/tinymce.3861eabb.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/tinymce.72aeaa35.js
vendored
1
dist/static/js/tinymce.72aeaa35.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/xChunks.787fc27c.js
vendored
1
dist/static/js/xChunks.787fc27c.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/xChunks.910fb515.js
vendored
Normal file
1
dist/static/js/xChunks.910fb515.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user