diff --git a/src/views/centerairC/enSourceAnalysis/components/equipment.vue b/src/views/centerairC/enSourceAnalysis/components/equipment.vue index 2947695..184c3e1 100644 --- a/src/views/centerairC/enSourceAnalysis/components/equipment.vue +++ b/src/views/centerairC/enSourceAnalysis/components/equipment.vue @@ -512,7 +512,7 @@ export default { }; }), ]; - this.pageParm.total = res.data.totalSize; + this.pageParm.total = res.data[3].total; console.log("header", this.headers); } else { this.tableData = []; diff --git a/src/views/centerairC/overview/index.vue b/src/views/centerairC/overview/index.vue index 7a5f7c3..c326b4e 100644 --- a/src/views/centerairC/overview/index.vue +++ b/src/views/centerairC/overview/index.vue @@ -427,7 +427,7 @@ export default { electData: res.data[1].meter[index].toString(), // 转换为字符串 copData: res.data[2].cop[index].toString(), // 转换为字符串 })); - this.pageParm.total = res.data.totalSize; + this.pageParm.total = res.data[5].total; } else { this.tableData = []; } diff --git a/src/views/device/spare/index.vue b/src/views/device/spare/index.vue index f765f7e..98a33db 100644 --- a/src/views/device/spare/index.vue +++ b/src/views/device/spare/index.vue @@ -123,7 +123,14 @@ - + + + - + + + + + + + @@ -274,6 +297,16 @@ import { export default { name: "spare", + dicts: [ + "sys_mt_type", + "sys_type", + "sys_param_type", + "sys_data_type", + "sys_protocol_type", + "sys_communication_type", + "sys_device_type", + "alarm_collection_type", + ], data() { return { timeArr: [], diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 1e6fd1c..615b454 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -584,4 +584,15 @@ export default { align-items: center; } } + + \ No newline at end of file