Files
aaPanel/BTPanel/static/vite/js/batch.js
T
Jack 8eadc94c98 Update to 7.32.0
1. Added: Mail Server - Add Domain with Domain management center to Automatic DNS record & apply SSL
2. Added: Mail Server - DNS record with One-click Parsing
3. Added: Mail Server - Compatible with Domain management center to apply for renewal SSL
4. Added: Mail Server - Mail Marketing - Add Template supports Upload HTML
5. Added: bt default command supports displaying separate IPV4, IPV6 and bound domain info
6. Added: Settings - Panel SSL supports using Domains SSL Certificate
7. Added: PHP Project - Automatic Add Record & SSL with progress display
8. Fixed: Mail Server quota limit issue
9. Fixed: WP Toolkit incorrect cache directory issue
10. Optimized: Enhanced domain validation in the Domain module
11. Fixed: Issue with automatic domain resolution prompts in Mail Server editing
12. Fixed: "Internal Server Error" occurring in certain scenarios
2025-04-15 17:11:22 +08:00

2 lines
1.4 KiB
JavaScript

import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1744703330658";import{cx as e,I as s,m as n}from"./page_layout.js?v=1744703330658";import{c as l}from"./public.js?v=1744703330658";import{g as o,o as t}from"./planned.js?v=1744703330658";import{d as r,O as i,r as u,R as d,S as p,P as m,a0 as _,U as c,V as v,af as f}from"./vue.js?v=1744703330658";import{cn as b,ch as g}from"./naive.js?v=1744703330658";import"./common.js?v=1744703330658";import"./__commonjsHelpers__.js?v=1744703330658";const j={class:"p-20px"},x={class:"w-150px"},h=r({__name:"batch",props:{data:{}},setup(r,{expose:h}){const{t:w}=i(),y=r,{rows:C}=y.data,P=e(),O=u(null),R=u([]),{loading:S,setLoading:U}=l();(async()=>{try{U(!0);const{message:a}=await o();s(a)&&a.length>0?(R.value=a.map((a=>({label:a.name,value:a.id}))),O.value=a[0].id):(O.value=null,R.value=[])}finally{U(!1)}})();return h({onConfirm:async({hide:a})=>{await t((()=>{if(null===O.value)throw n.error(w("Crontab.Planned.index_28")),new Error(w("Crontab.Planned.index_28"));return{id:O.value,crontab_ids:JSON.stringify(C.map((a=>a.id)))}})()),P.setRefresh(!0),a()}}),(e,s)=>{const n=b,l=g,o=a;return d(),p("div",j,[m(o,null,{default:_((()=>[m(l,{label:e.$t("Crontab.Planned.index_27"),"show-feedback":!1},{default:_((()=>[c("div",x,[m(n,{value:v(O),"onUpdate:value":s[0]||(s[0]=a=>f(O)?O.value=a:null),loading:v(S),options:v(R)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}});export{h as default};