diff --git a/src/api/devops/info.js b/src/api/devops/info.js new file mode 100644 index 0000000..0a15abf --- /dev/null +++ b/src/api/devops/info.js @@ -0,0 +1,28 @@ +import request from '@/utils/request' + +// 系统运维->设备信息->查询设备信息 +export function getDeviceInfoAPI(params) { + return request({ + url: '/smartCar/data/device/getDeviceInfo', + method: 'GET', + params + }) +} + +// 系统运维->设备信息->修改设备信息 +export function updateDeviceInfoAPI(data) { + return request({ + url: '/smartCar/data/device/updateDevice', + method: 'POST', + data + }) +} + +// 系统运维->设备信息->更新告警状态 +export function updateDeviceAlarmStatusAPI(data) { + return request({ + url: '/smartCar/data/device/updateAlarmStatus', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/src/views/devops/info/components/SystemInfoForm.vue b/src/views/devops/info/components/SystemInfoForm.vue new file mode 100644 index 0000000..61ba37d --- /dev/null +++ b/src/views/devops/info/components/SystemInfoForm.vue @@ -0,0 +1,263 @@ + + + \ No newline at end of file diff --git a/src/views/devops/info/index.vue b/src/views/devops/info/index.vue new file mode 100644 index 0000000..edad2ed --- /dev/null +++ b/src/views/devops/info/index.vue @@ -0,0 +1,360 @@ + + + + + +