diff --git a/src/api/cs-device-boot/fileService.ts b/src/api/cs-device-boot/fileService.ts index 7a09ec3..ad04a50 100644 --- a/src/api/cs-device-boot/fileService.ts +++ b/src/api/cs-device-boot/fileService.ts @@ -24,6 +24,14 @@ export function downLoadDeviceFile(data) { }) } +//装置重启 +export function reStartDevice(data) { + return createAxios({ + url: `/cs-device-boot/EquipmentDelivery/rebootDevice?nDid=${data.nDid}`, + method: 'POST' + }) +} + //上传文件至装置 export function uploadDeviceFile(data) { let form = new FormData() diff --git a/src/views/govern/device/fileService/index.vue b/src/views/govern/device/fileService/index.vue index 610fe96..a2ccb83 100644 --- a/src/views/govern/device/fileService/index.vue +++ b/src/views/govern/device/fileService/index.vue @@ -5,19 +5,25 @@
-