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