mirror of
https://github.com/certd/certd.git
synced 2026-06-27 14:07:33 +08:00
fix: 修复阿里云证书订单orderid 选择出错的问题
This commit is contained in:
@@ -67,7 +67,7 @@ export class AliyunDeployCertToALB extends AbstractTaskPlugin {
|
||||
createRemoteSelectInputDefine({
|
||||
title: "ALB所在地区",
|
||||
typeName: "AliyunDeployCertToALB",
|
||||
multi: false,
|
||||
single: true,
|
||||
action: AliyunDeployCertToALB.prototype.onGetRegionList.name,
|
||||
watches: ["accessId"]
|
||||
})
|
||||
|
||||
@@ -67,7 +67,7 @@ export class AliyunDeployCertToGA extends AbstractTaskPlugin {
|
||||
helper: "请选择要部署证书的全球加速实例",
|
||||
action: AliyunDeployCertToGA.prototype.onGetAcceleratorList.name,
|
||||
watches: ["accessId"],
|
||||
multi: false,
|
||||
single: true,
|
||||
})
|
||||
)
|
||||
acceleratorId!: string;
|
||||
|
||||
@@ -68,7 +68,7 @@ export class AliyunDeployCertToNLB extends AbstractTaskPlugin {
|
||||
createRemoteSelectInputDefine({
|
||||
title: 'NLB所在地区',
|
||||
typeName: 'AliyunDeployCertToNLB',
|
||||
multi: false,
|
||||
single: true,
|
||||
action: AliyunDeployCertToNLB.prototype.onGetRegionList.name,
|
||||
watches: ['accessId'],
|
||||
})
|
||||
|
||||
@@ -70,7 +70,7 @@ export class AliyunDeployCertToSLB extends AbstractTaskPlugin {
|
||||
@TaskInput(
|
||||
createRemoteSelectInputDefine({
|
||||
title: 'LB所在地区',
|
||||
multi: false,
|
||||
single: true,
|
||||
action: AliyunDeployCertToSLB.prototype.onGetRegionList.name,
|
||||
watches: ['accessId'],
|
||||
})
|
||||
|
||||
+9
-3
@@ -51,7 +51,6 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
)
|
||||
apiVersion!: string;
|
||||
|
||||
|
||||
@TaskInput(
|
||||
createRemoteSelectInputDefine({
|
||||
title: "证书订单 ID",
|
||||
@@ -62,6 +61,7 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
name: "RemoteSelect",
|
||||
vModel: "value",
|
||||
pager: true,
|
||||
single: true,
|
||||
},
|
||||
action: CertApplyGetFormAliyunPlugin.prototype.onGetOrderList.name,
|
||||
})
|
||||
@@ -217,7 +217,10 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
});
|
||||
const list = res?.CertificateOrderList || [];
|
||||
if (!list || list.length === 0) {
|
||||
return [];
|
||||
return {
|
||||
list: [],
|
||||
total: 0,
|
||||
};
|
||||
}
|
||||
|
||||
const total = res.TotalCount || 0;
|
||||
@@ -262,7 +265,10 @@ export class CertApplyGetFormAliyunPlugin extends CertApplyBasePlugin {
|
||||
|
||||
const list = res?.InstanceList || [];
|
||||
if (!list || list.length === 0) {
|
||||
return [];
|
||||
return {
|
||||
list: [],
|
||||
total: 0,
|
||||
};
|
||||
}
|
||||
|
||||
const total = res.TotalCount || 0;
|
||||
|
||||
@@ -128,7 +128,7 @@ export class DemoTest extends AbstractTaskPlugin {
|
||||
//当以下参数变化时,触发获取选项
|
||||
watches: ['certDomains', 'accessId'],
|
||||
required: true,
|
||||
multi: true,
|
||||
single: false,
|
||||
})
|
||||
)
|
||||
siteName!: string[];
|
||||
|
||||
@@ -49,7 +49,7 @@ export class HauweiDeployCertToELB extends AbstractTaskPlugin {
|
||||
helper: '请选择项目',
|
||||
typeName: 'HauweiDeployCertToELB',
|
||||
action: HauweiDeployCertToELB.prototype.onGetProjectList.name,
|
||||
multi:false
|
||||
single: true,
|
||||
})
|
||||
)
|
||||
projectId!: string;
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ export class NextTerminalRefreshCert extends AbstractTaskPlugin {
|
||||
action: NextTerminalRefreshCert.prototype.onGetCertList.name,
|
||||
watches: ['accessId'],
|
||||
required: true,
|
||||
multi: true,
|
||||
single: false,
|
||||
})
|
||||
)
|
||||
certIds!: string[];
|
||||
|
||||
@@ -46,7 +46,7 @@ export class UCloudDeployToULB extends AbstractTaskPlugin {
|
||||
title: "地域",
|
||||
helper: "选择UCloud地域",
|
||||
action: UCloudDeployToULB.prototype.onGetRegionList.name,
|
||||
multi: false
|
||||
single: true
|
||||
})
|
||||
)
|
||||
region!: string;
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ export class VolcengineDeployToVKE extends AbstractTaskPlugin {
|
||||
helper: "选择要替换证书的VKE集群,也可以手动输入集群ID",
|
||||
action: VolcengineDeployToVKE.prototype.onGetClusterList.name,
|
||||
watches: ["accessId", "regionId"],
|
||||
multi: false,
|
||||
single: true,
|
||||
required: true
|
||||
})
|
||||
)
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin {
|
||||
helper: "选择要部署证书的点播空间",
|
||||
action: VolcengineDeployToVOD.prototype.onGetSpaceList.name,
|
||||
watches: ["accessId", "regionId"],
|
||||
multi:false,
|
||||
single:true,
|
||||
required: true
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user