diff --git a/src/api/system/data.js b/src/api/system/data.js
new file mode 100644
index 0000000..ae4b042
--- /dev/null
+++ b/src/api/system/data.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询DTU温湿度上报数据列表
+export function listData(query) {
+ return request({
+ url: '/system/data/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询DTU温湿度上报数据详细
+export function getData(id) {
+ return request({
+ url: '/system/data/' + id,
+ method: 'get'
+ })
+}
+
+// 新增DTU温湿度上报数据
+export function addData(data) {
+ return request({
+ url: '/system/data',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改DTU温湿度上报数据
+export function updateData(data) {
+ return request({
+ url: '/system/data',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除DTU温湿度上报数据
+export function delData(id) {
+ return request({
+ url: '/system/data/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/main.js b/src/main.js
index f66be2c..7e6dd3c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -74,7 +74,7 @@ Vue.use(Element, {
})
Vue.config.productionTip = false
-
+Vue.config.devtools = false
new Vue({
el: '#app',
router,
diff --git a/src/views/system/data/index.vue b/src/views/system/data/index.vue
new file mode 100644
index 0000000..1b311f0
--- /dev/null
+++ b/src/views/system/data/index.vue
@@ -0,0 +1,411 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.time, '{y}-{m}-{d}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/icon/index.vue b/src/views/system/icon/index.vue
new file mode 100644
index 0000000..515ef3a
--- /dev/null
+++ b/src/views/system/icon/index.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+