|
@@ -19,6 +19,7 @@ import { uploadThumbnail } from '/@/api/configuration/center/configurationCenter |
|
@@ -19,6 +19,7 @@ import { uploadThumbnail } from '/@/api/configuration/center/configurationCenter |
19
|
import { getDeviceProfileOtaPackages, getOtaPackageInfo } from '/@/api/ota';
|
19
|
import { getDeviceProfileOtaPackages, getOtaPackageInfo } from '/@/api/ota';
|
20
|
import { QueryDeviceProfileOtaPackagesType } from '/@/api/ota/model';
|
20
|
import { QueryDeviceProfileOtaPackagesType } from '/@/api/ota/model';
|
21
|
import { OTAPackageType } from '/@/enums/otaEnum';
|
21
|
import { OTAPackageType } from '/@/enums/otaEnum';
|
|
|
22
|
+import { TransportTypeEnum } from '/@/enums/deviceEnum';
|
22
|
|
23
|
|
23
|
export enum Mode {
|
24
|
export enum Mode {
|
24
|
CARD = 'card',
|
25
|
CARD = 'card',
|
|
@@ -406,6 +407,11 @@ export const step2Schemas: FormSchema[] = [ |
|
@@ -406,6 +407,11 @@ export const step2Schemas: FormSchema[] = [ |
406
|
required: true,
|
407
|
required: true,
|
407
|
label: '接入协议',
|
408
|
label: '接入协议',
|
408
|
defaultValue: 'DEFAULT',
|
409
|
defaultValue: 'DEFAULT',
|
|
|
410
|
+ helpMessage({ model }) {
|
|
|
411
|
+ return model?.transportType === TransportTypeEnum.GBT28181
|
|
|
412
|
+ ? ['GBT28181协议使用的是ZLMediaKit流媒体服务框架']
|
|
|
413
|
+ : [];
|
|
|
414
|
+ },
|
409
|
componentProps() {
|
415
|
componentProps() {
|
410
|
return {
|
416
|
return {
|
411
|
options: [
|
417
|
options: [
|
|
@@ -418,7 +424,7 @@ export const step2Schemas: FormSchema[] = [ |
|
@@ -418,7 +424,7 @@ export const step2Schemas: FormSchema[] = [ |
418
|
getPopupContainer: () => document.body,
|
424
|
getPopupContainer: () => document.body,
|
419
|
};
|
425
|
};
|
420
|
},
|
426
|
},
|
421
|
- colProps: { span: 10 },
|
427
|
+ colProps: { span: 12 },
|
422
|
},
|
428
|
},
|
423
|
];
|
429
|
];
|
424
|
|
430
|
|