|
|
@ -40,9 +40,20 @@
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="(acme, index) in acmeAccounts"
|
|
|
|
v-for="(acme, index) in acmeAccounts"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
|
:label="acme.email"
|
|
|
|
:label="acme.email + ' [' + getAccountName(acme.type) + '] '"
|
|
|
|
:value="acme.id"
|
|
|
|
:value="acme.id"
|
|
|
|
></el-option>
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
|
|
|
<span>{{ acme.email }}</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
<el-tag type="success">{{ getAccountName(acme.type) }}</el-tag>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item :label="$t('website.keyType')" prop="keyType">
|
|
|
|
<el-form-item :label="$t('website.keyType')" prop="keyType">
|
|
|
@ -80,7 +91,7 @@
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="(dns, index) in dnsAccounts"
|
|
|
|
v-for="(dns, index) in dnsAccounts"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
|
:label="dns.name"
|
|
|
|
:label="dns.name + ' [' + getDNSName(dns.type) + '] '"
|
|
|
|
:value="dns.id"
|
|
|
|
:value="dns.id"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
@ -89,7 +100,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-col :span="11">
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<el-tag type="success">{{ dns.type }}</el-tag>
|
|
|
|
<el-tag type="success">{{ getDNSName(dns.type) }}</el-tag>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -136,6 +147,7 @@ import { FormInstance } from 'element-plus';
|
|
|
|
import { computed, reactive, ref } from 'vue';
|
|
|
|
import { computed, reactive, ref } from 'vue';
|
|
|
|
import { MsgSuccess } from '@/utils/message';
|
|
|
|
import { MsgSuccess } from '@/utils/message';
|
|
|
|
import { KeyTypes } from '@/global/mimetype';
|
|
|
|
import { KeyTypes } from '@/global/mimetype';
|
|
|
|
|
|
|
|
import { getDNSName, getAccountName } from '@/utils/util';
|
|
|
|
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
const props = defineProps({
|
|
|
|
id: {
|
|
|
|
id: {
|
|
|
|