接口配置更新
This commit is contained in:
parent
0b96ff4ff7
commit
eb12d8f38a
@ -5222,12 +5222,50 @@ export const IoTDBDynamicObjectPagedResultDtoSchema = {
|
|||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
export const IoTPlatformAccountInfoInputSchema = {
|
||||||
|
required: ['ioTPlatformType'],
|
||||||
|
type: 'object',
|
||||||
|
properties: {
|
||||||
|
ioTPlatformType: {
|
||||||
|
'$ref': '#/components/schemas/IoTPlatformTypeEnum'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
additionalProperties: false,
|
||||||
|
description: '平台账号信息输入'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export const IoTPlatformAccountInfoOutputSchema = {
|
||||||
|
type: 'object',
|
||||||
|
properties: {
|
||||||
|
ioTPlatformType: {
|
||||||
|
'$ref': '#/components/schemas/IoTPlatformTypeEnum'
|
||||||
|
},
|
||||||
|
ioTPlatformAccount: {
|
||||||
|
type: 'string',
|
||||||
|
description: '平台账号',
|
||||||
|
nullable: true
|
||||||
|
},
|
||||||
|
ioTPlatformPhoneNumber: {
|
||||||
|
type: 'string',
|
||||||
|
description: '平台账号手机号',
|
||||||
|
nullable: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
additionalProperties: false,
|
||||||
|
description: '平台账号信息'
|
||||||
|
} as const;
|
||||||
|
|
||||||
export const IoTPlatformProductInfoInputSchema = {
|
export const IoTPlatformProductInfoInputSchema = {
|
||||||
required: ['ioTPlatformType'],
|
required: ['ioTPlatformType'],
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
ioTPlatformType: {
|
ioTPlatformType: {
|
||||||
'$ref': '#/components/schemas/IoTPlatformTypeEnum'
|
'$ref': '#/components/schemas/IoTPlatformTypeEnum'
|
||||||
|
},
|
||||||
|
ioTPlatformAccount: {
|
||||||
|
type: 'string',
|
||||||
|
description: '平台账号',
|
||||||
|
nullable: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
additionalProperties: false,
|
additionalProperties: false,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -2600,11 +2600,37 @@ export type IoTDBDynamicObjectPagedResultDto = {
|
|||||||
totalCount?: number;
|
totalCount?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台账号信息输入
|
||||||
|
*/
|
||||||
|
export type IoTPlatformAccountInfoInput = {
|
||||||
|
ioTPlatformType: IoTPlatformTypeEnum;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台账号信息
|
||||||
|
*/
|
||||||
|
export type IoTPlatformAccountInfoOutput = {
|
||||||
|
ioTPlatformType?: IoTPlatformTypeEnum;
|
||||||
|
/**
|
||||||
|
* 平台账号
|
||||||
|
*/
|
||||||
|
ioTPlatformAccount?: (string) | null;
|
||||||
|
/**
|
||||||
|
* 平台账号手机号
|
||||||
|
*/
|
||||||
|
ioTPlatformPhoneNumber?: (string) | null;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 产品信息输入
|
* 产品信息输入
|
||||||
*/
|
*/
|
||||||
export type IoTPlatformProductInfoInput = {
|
export type IoTPlatformProductInfoInput = {
|
||||||
ioTPlatformType: IoTPlatformTypeEnum;
|
ioTPlatformType: IoTPlatformTypeEnum;
|
||||||
|
/**
|
||||||
|
* 平台账号
|
||||||
|
*/
|
||||||
|
ioTPlatformAccount?: (string) | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -6309,6 +6335,16 @@ export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse = (
|
|||||||
|
|
||||||
export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError = unknown;
|
export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError = unknown;
|
||||||
|
|
||||||
|
export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncData = {
|
||||||
|
query?: {
|
||||||
|
input?: IoTPlatformAccountInfoInput;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncResponse = (Array<IoTPlatformAccountInfoOutput>);
|
||||||
|
|
||||||
|
export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncError = unknown;
|
||||||
|
|
||||||
export type PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncData = {
|
export type PostAggregationIoTplatformGetIoTplatformProductPropertyInfoAsyncData = {
|
||||||
query?: {
|
query?: {
|
||||||
input?: IoTPlatformProductPropertyInfoInput;
|
input?: IoTPlatformProductPropertyInfoInput;
|
||||||
|
|||||||
@ -79,12 +79,12 @@ export const querySchema = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postOneNetProductListAsync,
|
api: postOneNetProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -134,12 +134,12 @@ export const querySchema = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postCtWingProductListAsync,
|
api: postCtWingProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -434,15 +434,15 @@ export const addDeviceFormSchema: any = computed(() => [
|
|||||||
},
|
},
|
||||||
triggerFields: ['ioTPlatform', 'oneNETAccountId'],
|
triggerFields: ['ioTPlatform', 'oneNETAccountId'],
|
||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: (formValues: any) => ({
|
||||||
api: postOneNetProductListAsync,
|
api: postOneNetProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
oneNETAccountId: formValues.oneNETAccountId,
|
oneNETAccountId: formValues?.oneNETAccountId,
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -472,8 +472,8 @@ export const addDeviceFormSchema: any = computed(() => [
|
|||||||
return [];
|
return [];
|
||||||
},
|
},
|
||||||
placeholder: `${$t('common.pleaseSelect')}${$t('abp.deviceInfos.ioTPlatformProductName')}`,
|
placeholder: `${$t('common.pleaseSelect')}${$t('abp.deviceInfos.ioTPlatformProductName')}`,
|
||||||
},
|
rules: z.string().optional(),
|
||||||
rules: z.string().optional(),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'ApiSelect',
|
component: 'ApiSelect',
|
||||||
@ -499,13 +499,12 @@ export const addDeviceFormSchema: any = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postCtWingProductListAsync,
|
api: postCtWingProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
ctWingAccountId: formValues.ctWingAccountId,
|
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -800,13 +799,12 @@ export const editDeviceFormSchemaEdit: any = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postOneNetProductListAsync,
|
api: postOneNetProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
oneNETAccountId: formValues.oneNETAccountId,
|
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -863,13 +861,12 @@ export const editDeviceFormSchemaEdit: any = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postCtWingProductListAsync,
|
api: postCtWingProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
ctWingAccountId: formValues.ctWingAccountId,
|
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -1106,13 +1103,12 @@ export const batchAddDeviceFormSchema: any = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postOneNetProductListAsync,
|
api: postOneNetProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
oneNETAccountId: formValues.oneNETAccountId,
|
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
@ -1169,13 +1165,12 @@ export const batchAddDeviceFormSchema: any = computed(() => [
|
|||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: postCtWingProductListAsync,
|
api: postCtWingProductListAsync,
|
||||||
params: (formValues: any) => ({
|
params: {
|
||||||
body: {
|
body: {
|
||||||
pageIndex: 1,
|
pageIndex: 1,
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
ctWingAccountId: formValues.ctWingAccountId,
|
|
||||||
},
|
},
|
||||||
}),
|
},
|
||||||
labelField: 'productName',
|
labelField: 'productName',
|
||||||
valueField: 'ioTPlatformProductId',
|
valueField: 'ioTPlatformProductId',
|
||||||
immediate: true,
|
immediate: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user