diff --git a/.env.development b/.env.development
index 229bfa11..e7a976f0 100644
--- a/.env.development
+++ b/.env.development
@@ -11,6 +11,6 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
port= 9988
# 服务端地址
-// target = http://192.168.18.135:8899
- target = http://192.168.18.139:8899
+ target = http://192.168.18.134:8899
+ //target = http://192.168.18.139:8899
// target = http://192.168.18.136:8899
diff --git a/src/api/alarm/record.js b/src/api/alarm/record.js
index cd994f58..4af00b05 100644
--- a/src/api/alarm/record.js
+++ b/src/api/alarm/record.js
@@ -51,3 +51,12 @@ export function exportRecord(query) {
params: query
})
}
+
+// 新增报警记录
+export function addAlarmRecord(data) {
+ return request({
+ url: '/iot/maintenance/',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/views/iot/alarm/record/index.vue b/src/views/iot/alarm/record/index.vue
index 5840f4a9..b71aa1a3 100644
--- a/src/views/iot/alarm/record/index.vue
+++ b/src/views/iot/alarm/record/index.vue
@@ -95,7 +95,9 @@
width="150"
>
- {{ parseTime(scope.row.alarmTime, "{y}-{m}-{d} {h}:{i}:{s}") }}
+ {{
+ parseTime(scope.row.alarmTime, "{y}-{m}-{d} {h}:{i}:{s}")
+ }}
- {{ parseTime(scope.row.processTime, "{y}-{m}-{d} {h}:{i}:{s}") }}
+ {{
+ parseTime(scope.row.processTime, "{y}-{m}-{d} {h}:{i}:{s}")
+ }}
+
+
+
+ 创建工单
+
+