2023-12-29 10:08:48 +00:00
|
|
|
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[883],{2883:function(e,a,i){i.r(a),i.d(a,{default:function(){return B}});var t=i(6808),s=i(9511);const l=e=>((0,t.dD)("data-v-398cc4e3"),e=e(),(0,t.Cn)(),e),o={class:"x-update"},r={key:0,class:"login-box"},d={class:"face"},n=["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:""},x={key:0,class:"version"},U=l((()=>(0,t._)("p",{class:"text"},"您当前是最新版本",-1))),D={key:1,class:"version"},V=l((()=>(0,t._)("p",{class:"text"},"有新的版本可升级",-1))),C={class:"update-wrap"},$=["value"],W={class:"el-dialog__title"},z={class:"description"},L=["href"],F={class:"form-item"},H={class:"form-item password"};function q(e,a,i,l,q,R){const N=(0,t.up)("x-page-header"),T=(0,t.up)("el-alert"),Q=(0,t.up)("el-button"),B=(0,t.up)("el-table-column"),I=(0,t.up)("el-table"),M=(0,t.up)("el-input"),O=(0,t.up)("el-form-item"),Y=(0,t.up)("el-form"),Z=(0,t.up)("el-dialog"),j=(0,t.Q2)("loading"),A=(0,t.Q2)("time");return(0,t.wg)(),(0,t.iD)(t.HY,null,[(0,t.Wm)(N,{title:"系统更新",description:"你可以随时检查使用系统是否是最新版本,并进行一键升级",icon:"el-icon-UploadFilled"}),(0,t._)("div",o,[(0,t.Wm)(T,{title:"当前为更新系统核心架构; 更新前,您需要备份您的数据,防止数据丢失。",type:"warning",style:{padding:"10px 0"}}),(0,t.Wm)(T,{title:"相关应用请单独更新, 框架更新可能导致部分应用报错。",type:"error",style:{padding:"10px 0"}}),q.userData.uid?((0,t.wg)(),(0,t.iD)("div",r,[(0,t._)("div",d,[q.userData.avatar?((0,t.wg)(),(0,t.iD)("img",{key:0,src:q.userData.avatar,alt:""},null,8,n)):((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)(Q,{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)(Q,{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)(Q,{disabled:q.isClick,type:"primary",plain:"",onClick:R.checkHandle},{default:(0,t.w5)((()=>[(0,t.Uk)("检查更新")])),_:1},8,["disabled","onClick"])])),[[j,q.checkLoading]]),q.isCheckUpdate?((0,t.wg)(),(0,t.iD)("div",b,[q.isNewest?((0,t.wg)(),(0,t.iD)("div",x,[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",D,[V,(0,t.Uk)(" 当前版本:"+(0,s.zw)(q.version)+" ("+(0,s.zw)(q.release)+") ",1),(0,t._)("div",C,[(0,t.Wm)(I,{data:q.upgradelist,border:"",style:{width:"100%"}},{default:(0,t.w5)((()=>[(0,t.Wm)(B,{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)(B,{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)(B,{label:"发布时间",width:"170"},{default:(0,t.w5)((e=>[(0,t.wy)((0,t._)("span",null,null,512),[[A,e.row.timestamp]])])),_:1}),(0,t.Wm)(B,{label:"操作",align:"center",width:"140",fi
|