diff --git a/src/utils/enum.js b/src/utils/enum.js index 3ac712fa..4d671134 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -104,4 +104,17 @@ export const iMEnum = new EnumFactory({ 10: '单开为开/单停为停', 20: '单开为开/都停为停', 30: '都开为开/单停为停', +}, parseInt) + + +export const mpointTypeEnum = new EnumFactory({ + 10: '自动采集', + 20: '计算测点', + 30: '手动录入', +}, parseInt) + +export const mpointGatherStateEnum = new EnumFactory({ + "0": { text: '正常', type: 'success' }, + "-1": { text: '错误', type: 'danger' }, + "-2": { text: '无', type: 'info' }, }, parseInt) \ No newline at end of file diff --git a/src/views/em/mpoint.vue b/src/views/em/mpoint.vue index 3b19dafd..38bf1995 100644 --- a/src/views/em/mpoint.vue +++ b/src/views/em/mpoint.vue @@ -8,18 +8,22 @@ 批量修改
- + - - + - + + + + - - + + + - + + + + + + + + + + + + + + + - - - - - - - + -