diff --git a/src/api/device/device.js b/src/api/device/device.js
new file mode 100644
index 0000000..5845dd4
--- /dev/null
+++ b/src/api/device/device.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+// eslint-disable-next-line no-unused-vars
+import qs from 'qs'
+
+// 添加设备
+export function createDevice(data) {
+ return request({ url: '/device/createDevice', method: 'post', params: data })
+}
+
+// 获取设备列表
+export function getDevicePage(data) {
+ return request({ url: '/device/getDevicePage', method: 'GET', params: data })
+}
+
+// 子系统布防
+export function getCallArm() {
+ return request({ url: '/call/getCallArm', method: 'GET', })
+}
+
+// 子系统撤防
+export function getCallDisArm() {
+ return request({ url: '/call/getCallDisArm', method: 'GET', })
+}
+
+// 创建消息消费者
+export function createCallConsumer() {
+ return request({ url: '/call/createCallConsumer', method: 'GET', })
+}
+
+// 获取消息列表
+export function getCallMessageList(data) {
+ return request({ url: '/call/getCallMessageList', method: 'GET', params: data })
+}
+
+// 提交消息偏移量
+export function doCallMessageOffsets(data) {
+ return request({ url: '/call/doCallMessageOffsets', method: 'GET', params: data })
+}
+
+
+// 获取所有防区状态
+export function getCallZoneStatusList(data) {
+ return request({ url: '/call/getCallZoneStatusList', method: 'GET' })
+}
\ No newline at end of file
diff --git a/src/views/shebeitaizhang/shebeitaizhangAdd.vue b/src/views/shebeitaizhang/shebeitaizhangAdd.vue
index 498746f..2778b40 100644
--- a/src/views/shebeitaizhang/shebeitaizhangAdd.vue
+++ b/src/views/shebeitaizhang/shebeitaizhangAdd.vue
@@ -16,12 +16,11 @@
- *设备编码
+ *设备验证码
-
-
+
+
@@ -29,7 +28,7 @@
-
@@ -39,53 +38,35 @@
*设备类型
-
-
-
+
+
- 安装时间
+ 备注
-
-
+
+
- *出厂时间
-
-
-
-
-
-
-
-
- 供货商
+ *设备名称
-
-
+
+
-
+
-
-
-
-
-
-
-
@@ -190,6 +95,7 @@
+ }
+
-
+
\ No newline at end of file