diff --git a/src/views/ems/base/baseMonitorInfoIOTDevice/index.vue b/src/views/ems/base/baseMonitorInfoIOTDevice/index.vue
index 87a1090..4121027 100644
--- a/src/views/ems/base/baseMonitorInfoIOTDevice/index.vue
+++ b/src/views/ems/base/baseMonitorInfoIOTDevice/index.vue
@@ -17,6 +17,16 @@
@keyup.enter.native="handleQuery"
/>
+
+
+
+
+
-
+
+
@@ -163,6 +174,16 @@
+
+
+
+
+
@@ -221,6 +242,7 @@
import { listBaseMonitorInfo, getBaseMonitorInfo, delBaseMonitorInfo, addBaseMonitorInfo, updateBaseMonitorInfo } from "@/api/ems/base/baseMonitorInfo";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+import { getBaseEnergyTypeList } from '@/api/ems/base/baseEnergyType'
export default {
name: "BaseMonitorInfo",
@@ -251,8 +273,9 @@ export default {
parentId: null,
monitorCode: null,
monitorName: null,
+ energyType: null,
monitorAddr: null,
- monitorType: 4,
+ monitorType: null,
monitorStatus: null,
collectDeviceId: null,
ancestors: null,
@@ -281,12 +304,16 @@ export default {
monitorCode: [
{ required: true, message: "计量设备编号不能为空", trigger: "blur" }
],
+ energyTypeId: [
+ { required: true, message: '能源类型不能为空', trigger: 'blur' }
+ ]
},
columns: [
{key: 0, label: `自增标识`, visible: false},
{key: 1, label: `父级编号`, visible: false},
{key: 2, label: `计量设备编号`, visible: true},
{key: 3, label: `计量设备名称`, visible: true},
+ {key: 3, label: `能源类型`, visible: true},
{key: 4, label: `计量设备位置`, visible: true},
{key: 5, label: `计量设备类型`, visible: true},
{key: 6, label: `计量设备状态`, visible: true},
@@ -306,11 +333,16 @@ export default {
{key: 20, label: `更新时间`, visible: false},
{key: 21, label: `公摊表类型`, visible: false},
{key: 22, label: `表具层级`, visible: false},
- ]
+ ],
+ //能源类型选项
+ energyTypeList:[]
};
},
created() {
- this.getList();
+ getBaseEnergyTypeList({}).then(response => {
+ this.energyTypeList = response.data
+ })
+ this.getList()
},
methods: {
/** 查询计量设备信息列表 */
@@ -353,8 +385,9 @@ export default {
parentId: null,
monitorCode: null,
monitorName: null,
+ energyType: null,
monitorAddr: null,
- monitorType: 4,
+ monitorType: null,
monitorStatus: null,
collectDeviceId: null,
ancestors: null,
diff --git a/src/views/ems/base/baseMonitorInfoSteam/index.vue b/src/views/ems/base/baseMonitorInfoSteam/index.vue
index 87a1090..9aaca8d 100644
--- a/src/views/ems/base/baseMonitorInfoSteam/index.vue
+++ b/src/views/ems/base/baseMonitorInfoSteam/index.vue
@@ -252,7 +252,7 @@ export default {
monitorCode: null,
monitorName: null,
monitorAddr: null,
- monitorType: 4,
+ monitorType: 3,
monitorStatus: null,
collectDeviceId: null,
ancestors: null,
@@ -354,7 +354,7 @@ export default {
monitorCode: null,
monitorName: null,
monitorAddr: null,
- monitorType: 4,
+ monitorType: 3,
monitorStatus: null,
collectDeviceId: null,
ancestors: null,
diff --git a/src/views/ems/record/recordIOTInstant/index.vue b/src/views/ems/record/recordIOTInstant/index.vue
new file mode 100644
index 0000000..23c448a
--- /dev/null
+++ b/src/views/ems/record/recordIOTInstant/index.vue
@@ -0,0 +1,496 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.collectTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.recordTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+