Files
aaPanel/BTPanel/static/vite/js/batch2.js
T
Jack ed55fa708d Update to 7.7.0
Since version 7.7.0, we recommend yours update python to 3.12.

[+] Using nginx technology to load static files improves access speed
[+] Refactor homepage, website, FTP, and database using vue3
[+] Table loading changed to skeleton screen
[+] Add Website statistics-v2 professional plug-in
[+] Add Home page - top 5 resource occupancy
[+] Add protection for Files management (requires Tamper-proof for Enterprise 3.7)
[+] Website, FTP, Databases page add program status
[+] Add FTP log analysis (only supports Centos)
[+] Add password-free login to phpMyAdmin
[+] Add Proxy Project in Website (Supported when web service uses Nginx)
[+] Add WP Toolkit (Pro version only)
[+] Redesigned Docker module
[+] Add WP Toolkit Protection
[+] Add WP Toolkit Backup and Restore
[+] Add WP Toolkit Migrated
[+] Add WP Toolkit Clone site (supports new domain and subdomain)
[+] Add WP Toolkit Create site from backup of other panel
[+] Add WP Toolkit support for Cron automatic backup (only save Local disk)
[+] Add WP Toolkit operation log
[+] Add Integrity check for WP Toolkit
[+] Add WP Toolkit plug-in management and themes management

[*] Optimize phpMyAdmin formula access method
[*] Optimize Home page PHP display problem
[*] Optimize jump to the login interface after the login expires
[*] Optimize automatic renewal of SSL at some times
[*] Optimize Let's Encrypt to increase application success rate

[-] Fix Logs Audit cannot be opened
[-] Fix apache URL rewrite issue
[-] Fix phpmyadmin installation problem
[-] Fix the problem that some servers cannot install software
[-] Fix upload file error
[-] Fix left menu hiding problem
[-] Fix aaPanel Mobile QR code display problem
[-] Fix problem that third-party plug-ins are not displayed in the App Store
[-] Fix issue where the menu bar is blank when opening new tabs
[-] Fixed panel not being accessible in some cases
[-] Fix the issue where Curl warning caused the inability to apply for SSL
[-] Fix Quota issues for Website, FTP, Databases
[-] Fix file interface display problem on mobile terminal
2024-07-19 11:25:10 +08:00

2 lines
2.6 KiB
JavaScript

import{_ as e}from"./index68.js?v=1721298337096";import{_ as s,a as t}from"./index.vue_vue_type_script_setup_true_lang6.js?v=1721298337096";import{cC as a,k as i,j as o,J as n,n as r}from"./index.js?v=1721298337096";import{u as l}from"./useLoading.js?v=1721298337096";import{an as m,b2 as p}from"./site2.js?v=1721298337096";import{_ as d}from"./index.vue_vue_type_script_setup_true_lang14.js?v=1721298337096";import{l as u,ad as _,f as c,r as v,S as f,Z as P,P as g,V as j,_ as x,W as h,a3 as S}from"./vue.js?v=1721298337096";import{_ as b}from"./Select.js?v=1721298337096";import"./pinia.js?v=1721298337096";import"./Progress.js?v=1721298337096";import"./DataTable.js?v=1721298337096";import"./Checkbox.js?v=1721298337096";import"./Ellipsis.js?v=1721298337096";import"./Empty.js?v=1721298337096";import"./omit.js?v=1721298337096";import"./Tag.js?v=1721298337096";const w={class:"p-20px"},H={class:"w-200px"},y=u({__name:"batch",props:{data:{}},setup(u,{expose:y}){const{t:E}=_(),$=u,{rows:k}=$.data,C=a(),T=c({version:null}),q={version:{trigger:"change",validator:()=>null!==T.version||new Error(E("Site.PHP.add_site_27"))}},L=v([]),{loading:M,setLoading:R}=l();(async()=>{try{R(!0);const{message:e}=await m();i(e)&&e.length>0?(L.value=e.map((e=>({label:e.name,value:e.version}))),T.version=e[0].version):(T.version=null,L.value=[])}finally{R(!1)}})();return y({onConfirm:async({hide:e})=>{const{message:s}=await p((()=>{const{version:e}=T;if(null===e)throw r.error(E("Site.PHP.index_67")),new Error(E("Site.PHP.index_67"));return{version:e,sites_id:k.map((e=>e.id)).join(",")}})());C.setRefresh(!0),o(s)&&(e=>{const{success:s,error:t}=e,a=[];s.forEach((e=>{const s=k.find((s=>s.name===e));s&&a.push({name:s.name,batchStatus:"success",reqMsg:E("Site.PHP.index_64")})})),Object.entries(t).forEach((([e,s])=>{const t=k.find((s=>s.name===e));t&&a.push({name:t.name,batchStatus:"error",reqMsg:s})})),n({title:E("Site.PHP.index_65"),width:440,footer:!0,component:d,data:{title:E("Site.PHP.index_66"),data:a,status:"done",columns:[{key:"name",title:E("Site.TableRow.SiteName"),ellipsis:{tooltip:{width:"trigger"}}}]}})})(s),e()}}),(a,i)=>{const o=b,n=s,r=t,l=e;return f(),P("div",w,[g(r,{model:h(T),rules:q},{default:j((()=>[g(n,{label:a.$t("Site.PHP.add_site_21"),path:"version"},{default:j((()=>[x("div",H,[g(o,{value:h(T).version,"onUpdate:value":i[0]||(i[0]=e=>h(T).version=e),loading:h(M),options:h(L)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1},8,["model"]),g(l,{class:"mt-8px"},{default:j((()=>[x("li",null,S(a.$t("Site.PHP.index_61")),1),x("li",null,S(a.$t("Site.PHP.index_62")),1),x("li",null,S(a.$t("Site.PHP.index_63")),1)])),_:1})])}}});export{y as default};