Commit 3fa4701d authored by co_dengxiongwen's avatar co_dengxiongwen

页面调整

parent f32969b6
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
{ {
align: 'center', align: 'center',
prop: 'electric_energy', prop: 'electric_energy',
label: '今日用电量(kwh)' label: '用电量(kwh)'
}, },
// { // {
// align: 'center', // align: 'center',
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<span v-if="data.scope.setting_mode == 0"></span> <span v-if="data.scope.setting_mode == 0"></span>
<span v-if="data.scope.setting_mode == 2">制冷模式</span> <span v-if="data.scope.setting_mode == 2">制冷模式</span>
<span v-if="data.scope.setting_mode == 4">除湿模式</span> <span v-if="data.scope.setting_mode == 4">除湿模式</span>
<span v-if="data.scope.setting_mode == 8">模式</span> <span v-if="data.scope.setting_mode == 8">模式</span>
<span v-if="data.scope.setting_mode == 16">制热模式</span> <span v-if="data.scope.setting_mode == 16">制热模式</span>
</template> </template>
<template #setting_wind_speed="data"> <template #setting_wind_speed="data">
......
...@@ -120,6 +120,8 @@ export default { ...@@ -120,6 +120,8 @@ export default {
url: this.$http.adornUrl('/sysCommandLog/pageList'), url: this.$http.adornUrl('/sysCommandLog/pageList'),
method: 'post', method: 'post',
data: { data: {
page: this.pageIndex,
rows: this.pageSize,
comMark: this.dataForm.comMark, comMark: this.dataForm.comMark,
comType: this.dataForm.comType, comType: this.dataForm.comType,
startTime: this.dataForm.startTime, startTime: this.dataForm.startTime,
......
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
checkList: [], //筛选数据 checkList: [], //筛选数据
tableHeader: [ tableHeader: [
{ label: '点位名称', prop: 'name' }, { label: '点位名称', prop: 'name' },
{ label: '点位类型', prop: 'type', slot: true}, { label: '点位类型', prop: 'type', slot: true },
{ label: '网关IP', prop: 'addressIp' }, { label: '网关IP', prop: 'addressIp' },
{ label: '从机ID', prop: 'slaveId' }, { label: '从机ID', prop: 'slaveId' },
{ label: '功能码', prop: 'functionCodeType', slot: true }, { label: '功能码', prop: 'functionCodeType', slot: true },
...@@ -286,17 +286,15 @@ export default { ...@@ -286,17 +286,15 @@ export default {
this.checkedData.resourceId = '' this.checkedData.resourceId = ''
} }
}, },
getDataList(sort, order) { getDataList(page, size) {
this.dataListLoading = true this.dataListLoading = true
this.$http({ this.$http({
url: this.$http.adornUrl('/liResourcePoints/pageList'), url: this.$http.adornUrl('/liResourcePoints/pageList'),
method: 'post', method: 'post',
data: { data: {
page: this.pageIndex, page: page || this.pageIndex,
rows: this.pageSize, rows: size || this.pageSize,
resourceId: this.checkedData.resourceId, resourceId: this.checkedData.resourceId,
sort: sort || 'create_time',
order: order || 'asc',
stationId: this.stationId stationId: this.stationId
} }
}).then((data) => { }).then((data) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment