Files
aaPanel/BTPanel/static/vite/js/batch2.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
2.9 KiB
JavaScript

import{_ as a}from"./index.vue_vue_type_script_setup_true_lang.js?v=1744703330658";import{_ as e}from"./index.vue_vue_type_script_setup_true_lang2.js?v=1744703330658";import{_ as l}from"./index.vue_vue_type_script_setup_true_lang17.js?v=1744703330658";import{aj as t}from"./mail.js?v=1744703330658";import{d as u,O as o,r as s,j as n,R as i,$ as r,a0 as m,P as p,V as _,U as d,ap as v}from"./vue.js?v=1744703330658";import{ch as c,_ as x,bY as f,b$ as b,cn as q}from"./naive.js?v=1744703330658";import"./index96.js?v=1744703330658";import"./page_layout.js?v=1744703330658";import"./common.js?v=1744703330658";import"./__commonjsHelpers__.js?v=1744703330658";import"./public.js?v=1744703330658";const w={class:"w-100px ml-10px"},h=u({__name:"batch",props:{data:{}},setup(u,{expose:h}){const j=u,{getList:g}=j.data,{t:B}=o(),y=s(null),M=n({domain:"",password:"",random_str:"",maxnum:20,quota:5,quota_unit:"GB",quota_limit:1}),U=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],$={password:{required:!0,trigger:"blur",message:B("Config.Panel.index_67")}};return h({onConfirm:async()=>{var a;await(null==(a=y.value)?void 0:a.validate()),await t({domain:M.domain,password:M.password,random_str:M.random_str,maxnum:M.maxnum||20,quota:M.quota?M.quota+" "+M.quota_unit:"5 GB",quota_active:M.quota_limit}),null==g||g()}}),(t,u)=>{const o=c,s=e,n=x,h=f,j=b,g=q,B=a;return i(),r(B,{ref_key:"formRef",ref:y,model:_(M),rules:$,class:"p-20px"},{default:m((()=>[p(o,{label:t.$t("Layout.Sider.mail_3"),"show-require-mark":!0},{default:m((()=>[p(l,{class:"w-280px",value:_(M).domain,"onUpdate:value":u[0]||(u[0]=a=>_(M).domain=a),all:!1},null,8,["value"])])),_:1},8,["label"]),p(o,{label:t.$t("Config.Panel.index_66"),path:"password","show-require-mark":!0},{default:m((()=>[p(s,{class:"w-280px",value:_(M).password,"onUpdate:value":u[1]||(u[1]=a=>_(M).password=a),length:8,placeholder:t.$t("Config.Panel.index_67")},null,8,["value","placeholder"])])),_:1},8,["label"]),p(o,{label:t.$t("Mail.MailBox.index_32")},{default:m((()=>[p(n,{class:"w-280px!",value:_(M).random_str,"onUpdate:value":u[2]||(u[2]=a=>_(M).random_str=a),placeholder:""},null,8,["value"])])),_:1},8,["label"]),p(o,{label:t.$t("Mail.MailBox.index_33")},{default:m((()=>[p(h,{class:"w-280px!",min:1,"show-button":!1,value:_(M).maxnum,"onUpdate:value":u[3]||(u[3]=a=>_(M).maxnum=a)},null,8,["value"])])),_:1},8,["label"]),p(o,{label:"Quota limit"},{default:m((()=>[p(j,{"checked-value":1,"unchecked-value":0,value:_(M).quota_limit,"onUpdate:value":u[4]||(u[4]=a=>_(M).quota_limit=a)},null,8,["value"])])),_:1}),_(M).quota_limit?(i(),r(o,{key:0,label:t.$t("Mail.MailBox.index_3"),path:"quota"},{default:m((()=>[p(h,{value:_(M).quota,"onUpdate:value":u[5]||(u[5]=a=>_(M).quota=a),class:"w-170px",min:1,"show-button":!1,placeholder:""},null,8,["value"]),d("div",w,[p(g,{value:_(M).quota_unit,"onUpdate:value":u[6]||(u[6]=a=>_(M).quota_unit=a),options:U},null,8,["value"])])])),_:1},8,["label"])):v("",!0)])),_:1},8,["model"])}}});export{h as default};