单体电池点位接口参数更新
This commit is contained in:
@ -53,7 +53,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="onSearch" native-type="button"
|
<el-button type="primary" @click="onSearch" native-type="button"
|
||||||
>搜索</el-button
|
>搜索
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
@ -73,12 +74,14 @@
|
|||||||
<el-button
|
<el-button
|
||||||
:class="{ activeBtn: activeBtn === 'table' }"
|
:class="{ activeBtn: activeBtn === 'table' }"
|
||||||
@click="changeMenu('table')"
|
@click="changeMenu('table')"
|
||||||
>图表</el-button
|
>图表
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
:class="{ activeBtn: activeBtn === 'list' }"
|
:class="{ activeBtn: activeBtn === 'list' }"
|
||||||
@click="changeMenu('list')"
|
@click="changeMenu('list')"
|
||||||
>图形</el-button
|
>图形
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
</div>
|
</div>
|
||||||
@ -111,17 +114,14 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BarChart from "./BarChart";
|
import BarChart from "./BarChart";
|
||||||
import {
|
import {getClusterDataInfoList, getClusterNameList, getStackNameList,} from "@/api/ems/dzjk";
|
||||||
getStackNameList,
|
|
||||||
getClusterNameList,
|
|
||||||
getClusterDataInfoList,
|
|
||||||
} from "@/api/ems/dzjk";
|
|
||||||
import getQuerySiteId from "@/mixins/ems/getQuerySiteId";
|
import getQuerySiteId from "@/mixins/ems/getQuerySiteId";
|
||||||
import ChartDetail from "./ChartDetail.vue";
|
import ChartDetail from "./ChartDetail.vue";
|
||||||
import Table from "./Table.vue";
|
import Table from "./Table.vue";
|
||||||
import List from "./List.vue";
|
import List from "./List.vue";
|
||||||
import pointChart from "./../PointChart.vue";
|
import pointChart from "./../PointChart.vue";
|
||||||
import PointTable from "@/views/ems/site/sblb/PointTable.vue";
|
import PointTable from "@/views/ems/site/sblb/PointTable.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "DzjkSbjkDtdc",
|
name: "DzjkSbjkDtdc",
|
||||||
mixins: [getQuerySiteId],
|
mixins: [getQuerySiteId],
|
||||||
@ -172,7 +172,12 @@ export default {
|
|||||||
// 查看设备电位表格
|
// 查看设备电位表格
|
||||||
pointDetail(row, dataType) {
|
pointDetail(row, dataType) {
|
||||||
const {deviceId, clusterDeviceId} = row
|
const {deviceId, clusterDeviceId} = row
|
||||||
this.$refs.pointTable.showTable({siteId:this.siteId,deviceId,deviceCategory:'BATTERY',parentId:clusterDeviceId},dataType)
|
this.$refs.pointTable.showTable({
|
||||||
|
siteId: this.siteId,
|
||||||
|
deviceId: deviceId + clusterDeviceId,
|
||||||
|
deviceCategory: 'BATTERY',
|
||||||
|
parentId: clusterDeviceId
|
||||||
|
}, dataType)
|
||||||
},
|
},
|
||||||
changeMenu(menu) {
|
changeMenu(menu) {
|
||||||
const {activeBtn} = this;
|
const {activeBtn} = this;
|
||||||
@ -282,13 +287,13 @@ export default {
|
|||||||
this.getTableData();
|
this.getTableData();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.tip-container {
|
.tip-container {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.color-tip {
|
.color-tip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@ -297,9 +302,11 @@ export default {
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
|
||||||
.tip {
|
.tip {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
display: block;
|
display: block;
|
||||||
content: "";
|
content: "";
|
||||||
@ -311,32 +318,41 @@ export default {
|
|||||||
height: 8px;
|
height: 8px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.minwd {
|
&.minwd {
|
||||||
color: #3794ff;
|
color: #3794ff;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: #3794ff;
|
background: #3794ff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.maxwd {
|
&.maxwd {
|
||||||
color: #ff3a3b;
|
color: #ff3a3b;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: #ff3a3b;
|
background: #ff3a3b;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mindy {
|
&.mindy {
|
||||||
color: #de6902;
|
color: #de6902;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: #de6902;
|
background: #de6902;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.maxdy {
|
&.maxdy {
|
||||||
color: #ffb521;
|
color: #ffb521;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: #ffb521;
|
background: #ffb521;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep {
|
::v-deep {
|
||||||
.el-button-group.ems-btns-group {
|
.el-button-group.ems-btns-group {
|
||||||
& > .el-button {
|
& > .el-button {
|
||||||
|
|||||||
Reference in New Issue
Block a user