x-php-Admin/dist/static/js/626.75703638.js

1 line
8.6 KiB
JavaScript
Raw Normal View History

2023-10-13 08:38:45 +00:00
"use strict";(self["webpackChunkX_PHP_Admin"]=self["webpackChunkX_PHP_Admin"]||[]).push([[626],{626:function(e,a,i){i.r(a),i.d(a,{default:function(){return A}});var t=i(6808),s=i(9511);const l=e=>((0,t.dD)("data-v-383af292"),e=e(),(0,t.Cn)(),e),o={class:"x-update"},r={key:0,class:"login-box"},n={class:"face"},d=["src"],u={key:1,style:{"text-transform":"capitalize"}},p={class:"info"},c={class:"name",style:{"text-transform":"capitalize"}},m={class:"title"},g=l((()=>(0,t._)("i",{class:"el-icon-mobile-phone"},null,-1))),h=l((()=>(0,t._)("i",{class:"wk wk-icon-email-outline"},null,-1))),w={key:1,class:"login-box"},f=l((()=>(0,t._)("div",{class:"face"},"登录",-1))),k={class:"info"},v={class:"login-box-title"},_=l((()=>(0,t._)("p",null,"更新前需要先登录云平台账号",-1))),y={class:"last-time"},b={key:2,class:""},D={key:0,class:"version"},U=l((()=>(0,t._)("p",{class:"text"},"您当前是最新版本",-1))),V={key:1,class:"version"},x=l((()=>(0,t._)("p",{class:"text"},"有新的版本可升级",-1))),C={class:"update-wrap"},$=["value"],W={class:"el-dialog__title"},z={class:"description"},H=["href"],L={class:"form-item"},F={class:"form-item password"};function q(e,a,i,l,q,P){const R=(0,t.up)("x-page-header"),N=(0,t.up)("el-alert"),T=(0,t.up)("el-button"),A=(0,t.up)("el-table-column"),Q=(0,t.up)("el-table"),X=(0,t.up)("el-input"),B=(0,t.up)("el-form-item"),I=(0,t.up)("el-form"),M=(0,t.up)("el-dialog"),O=(0,t.Q2)("loading"),Y=(0,t.Q2)("time");return(0,t.wg)(),(0,t.iD)(t.HY,null,[(0,t.Wm)(R,{title:"系统更新",description:"你可以随时检查使用系统是否是最新版本,并进行一键升级",icon:"el-icon-setting"}),(0,t._)("div",o,[(0,t.Wm)(N,{title:"当前为更新系统核心架构; 更新前,您需要备份您的数据,防止数据丢失。",type:"warning",style:{padding:"10px 0"}}),(0,t.Wm)(N,{title:"相关应用请单独更新, 框架更新可能导致部分应用报错。",type:"error",style:{padding:"10px 0"}}),q.userData.uid?((0,t.wg)(),(0,t.iD)("div",r,[(0,t._)("div",n,[q.userData.avatar?((0,t.wg)(),(0,t.iD)("img",{key:0,src:q.userData.avatar,alt:""},null,8,d)):((0,t.wg)(),(0,t.iD)("span",u,(0,s.zw)(q.userData.username),1))]),(0,t._)("div",p,[(0,t._)("span",c,(0,s.zw)(q.userData.username),1),(0,t._)("span",m,"授权 "+(0,s.zw)(q.name),1),(0,t._)("p",null,(0,s.zw)(q.authorizationtime),1),(0,t._)("p",null,[g,(0,t.Uk)(" "+(0,s.zw)(q.userData.mobile),1)]),(0,t._)("p",null,[h,(0,t.Uk)(" "+(0,s.zw)(q.userData.email),1)])]),(0,t._)("div",null,[(0,t.Wm)(T,{type:"info",plain:"",onClick:a[0]||(a[0]=e=>q.dialogVisible=!0)},{default:(0,t.w5)((()=>[(0,t.Uk)("更换绑定")])),_:1})])])):((0,t.wg)(),(0,t.iD)("div",w,[f,(0,t._)("div",k,[(0,t._)("div",v,[(0,t._)("span",{onClick:a[1]||(a[1]=e=>q.dialogVisible=!0)},"请点击登"),_])]),(0,t.Wm)(T,{type:"primary",plain:"",onClick:a[2]||(a[2]=e=>q.dialogVisible=!0)},{default:(0,t.w5)((()=>[(0,t.Uk)("登录")])),_:1})])),(0,t.wy)(((0,t.wg)(),(0,t.iD)("div",y,[(0,t.Wm)(T,{disabled:q.isClick,type:"primary",plain:"",onClick:P.checkHandle},{default:(0,t.w5)((()=>[(0,t.Uk)("检查更新")])),_:1},8,["disabled","onClick"])])),[[O,q.checkLoading]]),q.isCheckUpdate?((0,t.wg)(),(0,t.iD)("div",b,[q.isNewest?((0,t.wg)(),(0,t.iD)("div",D,[U,(0,t.Uk)(" 当前版本:"+(0,s.zw)(q.version)+" ("+(0,s.zw)(q.release)+") ",1)])):(0,t.wy)(((0,t.wg)(),(0,t.iD)("div",V,[x,(0,t.Uk)(" 当前版本:"+(0,s.zw)(q.version)+" ("+(0,s.zw)(q.release)+") ",1),(0,t._)("div",C,[(0,t.Wm)(Q,{data:q.upgradelist,border:"",style:{width:"100%"}},{default:(0,t.w5)((()=>[(0,t.Wm)(A,{label:"版本",width:"170"},{default:(0,t.w5)((e=>[(0,t._)("span",null,(0,s.zw)(e.row.version)+" ("+(0,s.zw)(e.row.release)+")",1)])),_:1}),(0,t.Wm)(A,{label:"更新内容"},{default:(0,t.w5)((e=>[(0,t._)("input",{style:{cursor:"pointer"},class:"el-input__inner",type:"text",readonly:"",value:e.row.message},null,8,$)])),_:1}),(0,t.Wm)(A,{label:"发布时间",width:"170"},{default:(0,t.w5)((e=>[(0,t.wy)((0,t._)("span",null,null,512),[[Y,e.row.timestamp]])])),_:1}),(0,t.Wm)(A,{label:"操作",align:"center",width:"140",fixed:"r