【调整】申请证书-证书颁发机构/授权(可选)的顺序

This commit is contained in:
chudong
2025-05-24 10:12:49 +08:00
parent 05fd614fd6
commit bd7a6a59b1
41 changed files with 10655 additions and 10697 deletions

View File

@@ -53,11 +53,6 @@ export default defineComponent({
param.value.domains = val.replace(//g, ',').replace(/;/g, ',') // 中文逗号分隔
},
}),
useFormInput($t('t_1_1745735764953'), 'email', {
placeholder: $t('t_2_1745735773668'),
allowInput: noSideSpace,
readonly: param.value.ca !== 'letsencrypt',
}),
{
type: 'custom' as const,
render: () => {
@@ -78,6 +73,31 @@ export default defineComponent({
)
},
},
{
type: 'custom' as const,
render: () => {
return (
<CAProviderSelect
path="eabId"
value={param.value.eabId}
email={param.value.email}
ca={param.value.ca}
{...{
'onUpdate:value': (val: { value: string; ca: string; email: string }) => {
param.value.eabId = val.value
param.value.ca = val.ca
if (val.value) param.value.email = val.email
},
}}
/>
)
},
},
useFormInput($t('邮件'), 'email', {
placeholder: $t('请输入邮箱信息,用于接收证书验证邮件'),
allowInput: noSideSpace,
}),
{
type: 'custom' as const,
render: () => {
@@ -95,27 +115,6 @@ export default defineComponent({
useFormMore(advancedOptions),
...(advancedOptions.value
? [
{
type: 'custom' as const,
render: () => {
return (
<CAProviderSelect
path="eabId"
value={param.value.eabId}
email={param.value.email}
ca={param.value.ca}
{...{
'onUpdate:value': (val: { value: string; ca: string; email: string }) => {
param.value.eabId = val.value
param.value.ca = val.ca
if (val.value) param.value.email = val.email
},
}}
/>
)
},
},
useFormSelect(
$t('t_0_1747647014927'),
'algorithm',
@@ -165,11 +164,9 @@ export default defineComponent({
useFormHelp([
{
content: $t('t_0_1747040228657'),
isHtml: false,
},
{
content: $t('t_1_1747040226143'),
isHtml: false,
},
]),
]