Commit 14766c58 authored by jiaxu.yan's avatar jiaxu.yan

页面搭建

parent aba77d57
......@@ -26,7 +26,7 @@
<script lang="ts" setup>
import { reactive, ref } from 'vue'
import MyMenu from './MyMenu.vue';
import { toRaw } from '@vue/reactivity'
import { toRaw } from 'vue'
const props = defineProps(['meun']);
const emit= defineEmits(['subEvent','openM','closeM']);
......
<template>
状态
<el-table>
<el-card class="remoteTitle">
<div class="card-content">
<div class="demo-button">
<el-button type="primary" size="small" @click="ReadStatus">读取全部</el-button>
<el-button type="primary" size="small" @click="WriteStatus" disabled="false">写入全部</el-button>
</div>
<div class="demo-image">
<div class="block">
<span class="demonstration">读写成功</span>
<el-icon><CircleCheckFilled color="rgb(0,255,0)"/></el-icon>
</div>
<div class="block">
<span class="demonstration">通讯异常</span>
<el-icon><Connection /></el-icon>
</div>
<div class="block">
<span class="demonstration">读写失败</span>
<el-icon><Failed color="rgb(255,0,0)"/></el-icon>
</div>
</div>
</div>
</el-card>
<el-table
ref="tableRef"
v-model:checked="selectedRows"
show-header="true"
:height="tableHeight"
:cell-style="setCellStyle"
border
highlight-current-row
:header-cell-style="setHeaderCellStyle"
:data="visibleData"
v-loading="isLoading"
element-loading-text="数据加载中......"
row-class-name="fixed-row-height"
element-loading-background="rgba(0, 0, 0, 0.8)"
>
<el-table-column type="selection" width="55" />
<el-table-column prop="rowIndex" label="序号" width="45px" fixed />
<el-table-column prop="transferId" label="机组编号" v-if="false" width="80px" fixed />
<el-table-column prop="transferName" label="换热机组" width="150px" fixed />
<el-table-column prop="jDValue" label="华为控制模式" width="80px" />
<el-table-column prop="gainMode" label="增益模式" width="80px" />
<el-table-column prop="weatherMode" label="气象仪模式" width="80px" />
<el-table-column prop="curveMode" label="曲线对应模式" width="80px" />
<el-table-column prop="criclePump1" label="1#循环泵启停" width="80px" />
<el-table-column prop="criclePump2" label="2#循环泵启停" width="80px" />
<el-table-column prop="Pump3" label="3#循环泵启停" width="80px" />
<el-table-column prop="Pump4" label="4#循环泵启停" width="80px" />
<el-table-column prop="ReplenishingPump" label="补水泵启停" width="80px" />
<el-table-column prop="SecPump1" label="1#二级泵启停" width="80px" />
<el-table-column prop="Evc1AutoOrManual" label="1#电动调节阀手动/自动切换" width="100px" />
<el-table-column prop="Evc2AutoOrManual" label="2#电动调节阀手动/自动切换" width="100px" />
<el-table-column prop="Evc3AutoOrManual" label="3#电动调节阀手动/自动切换" width="100px" />
<el-table-column prop="Evc4AutoOrManual" label="4#电动调节阀手动/自动切换" width="100px" />
<el-table-column prop="CriclePump1AutoOrManual" label="一号循环泵 手动/自动切换" width="100px" />
<el-table-column prop="CriclePump2AutoOrManual" label="二号循环泵 手动/自动切换" width="100px" />
<el-table-column prop="CriclePump3AutoOrManual" label="三号循环泵 手动/自动切换" width="100px" />
<el-table-column prop="CriclePump4AutoOrManual" label="四号循环泵 手动/自动切换" width="100px" />
<el-table-column prop="SecCriclePumpAutoOrManual" label="二级泵 手动/自动切换" width="100px" />
<el-table-column fixed="right" label="操作" width="100">
<template #default>
<el-button link type="primary" size="small" @click="ReadStatus">读取</el-button>
<el-button link type="primary" size="small" @click="WriteStatus">写入</el-button>
</template>
</el-table-column>
</el-table>
<el-card style="height: 50px; padding: 0;">
<el-progress
:text-inside="true"
:stroke-width="16"
status="success"
:percentage="progress"
/>
</el-card>
</template>
<script lang="ts" setup>
import { ref, reactive, onMounted, onUnmounted, watch } from 'vue';
import { ref, reactive, onMounted, onUnmounted, watch,toRefs } from 'vue';
import http from '../../api/http';
import store from "../../store/index";
const enterpriseId = store.getters.getEnterpriseId();
const props = defineProps(['activeRadio']);
console.log("1actionValue:"+props.activeRadio);
const tableRef = ref(null);
const selectedRows = ref([]);
const isLoading= ref(true);
const visibleData = ref([]);
const tableHeight = ref(500);
const progress =ref(0);
const state = reactive({
fits: ['Success', 'fale', 'cover', 'none', 'scale-down'],
url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
})
const { fits, url } = toRefs(state);
//监听修改actionValue状态
watch(() =>props.activeRadio, (oldValue, newValue) => {
......@@ -18,8 +100,100 @@
initData();
},{deep:true});
function initData(){
function setContentHeight() {
tableHeight.value = window.innerHeight - 300;
}
async function initData(){
isLoading.value = true;
var type = 0;
if(enterpriseId === "9BCA54BC-8F27-4849-8D7D-50C5099E1949".toLowerCase()){
type = 1;
}
var result = await http.post('/api/remote/GetTransferStatus',{"SupplyType":type, "DeviceId": props.activeRadio});
console.log(result);
visibleData.value = result.data;
isLoading.value = false;
}
initData();
async function ReadStatus(){
if(selectedRows){
selectedRows.value.forEach(item =>{
ReadStation(item);
})
}
}
async function WriteStatus(){
}
async function ReadStation(value){
var result = await http.post('', value);
var jobj = result.data;
console.log(jobj);
}
onMounted(() => {
setContentHeight();
window.addEventListener('resize', setContentHeight);
})
onUnmounted(() => {
window.removeEventListener('resize', setContentHeight);
})
function setCellStyle({ row, column, rowIndex, columnIndex }) {
let css_color = {};
css_color['padding-left'] = '0px';
css_color['padding-right'] = '0px';
css_color['borderColor'] = '#97d5fd';
css_color['padding'] = '0px';
return css_color;
}
function setHeaderCellStyle({ row, column, rowIndex, columnIndex }) {
let css_color;
var backcolor = 'd9f1ff';
css_color = { 'background-color': '#' + backcolor, 'padding-left': '0px', 'padding-right': '0px', 'borderColor': '#97d5fd', 'color': '#000', 'text-align': 'center', 'vertical-align': 'top' };
var backcolor = 'd9f1ff';
css_color = { 'background-color': '#' + backcolor, 'padding-left': '0px', 'padding-right': '0px', 'borderColor': '#97d5fd', 'color': '#000', 'text-align': 'center', 'vertical-align': 'top' };
return css_color;
}
</script>
<style scoped>
.remoteTitle{
width: 100%;
}
.card-content {
display: flex;
justify-content: space-between;
}
.demo-image {
width: 70%;
display: right;
flex: 9;
}
.demo-image .block {
padding: 1px 0;
text-align: center;
border-right: solid 1px var(--el-border-color);
display: inline-block;
width: 80px;
box-sizing: border-box;
vertical-align: top;
}
.demo-image .block:last-child {
border-right: none;
}
.demo-image .demonstration {
display: block;
color: var(--el-text-color-secondary);
font-size: 12px;
margin-bottom: 0px;
}
</style>
\ No newline at end of file
......@@ -1009,673 +1009,6 @@ export default defineComponent({
}
this.gYSupplyWaterTime = [];
this.gYSupplyWater = res.data.hourWater;
// this.gYSupplyWater = {
// success: true,
// status: 0,
// message: "操作成功",
// data: [
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-01 22:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 22,
// temperature: -1.6,
// waterRecord: 1.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-01 23:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 23,
// temperature: -2.1,
// waterRecord: 2.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 00:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 0,
// temperature: -2.2,
// waterRecord: 1.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 01:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 1,
// temperature: -2.5,
// waterRecord: 1.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 02:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 2,
// temperature: -2.7,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 03:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 3,
// temperature: -2.9,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 04:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 4,
// temperature: -3.1,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 05:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 5,
// temperature: -3.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 06:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 6,
// temperature: -3.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 07:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 7,
// temperature: -4.2,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 08:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 8,
// temperature: -3.5,
// waterRecord: 0.0,
// },
// {
// supplyId: "a523dc33-c8b8-41c2-9751-a32083627344",
// supplyName: "重阳里供热站",
// gatherTime: "2024-01-02 09:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 9,
// temperature: -1.8,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-01 22:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 22,
// temperature: -1.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-01 23:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 23,
// temperature: -2.1,
// waterRecord: 2.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 00:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 0,
// temperature: -2.2,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 01:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 1,
// temperature: -2.5,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 02:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 2,
// temperature: -2.7,
// waterRecord: 1.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 03:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 3,
// temperature: -2.9,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 04:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 4,
// temperature: -3.1,
// waterRecord: 1.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 05:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 5,
// temperature: -3.6,
// waterRecord: 4.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 06:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 6,
// temperature: -3.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 07:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 7,
// temperature: -4.2,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 08:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 8,
// temperature: -3.5,
// waterRecord: 0.0,
// },
// {
// supplyId: "ccfb0595-86f7-4c0a-a134-8e945180ee48",
// supplyName: "行政区供热站",
// gatherTime: "2024-01-02 09:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 9,
// temperature: -1.8,
// waterRecord: 0.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-01 22:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 22,
// temperature: -1.6,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-01 23:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 23,
// temperature: -2.1,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 00:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 0,
// temperature: -2.2,
// waterRecord: 2.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 01:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 1,
// temperature: -2.5,
// waterRecord: 2.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 02:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 2,
// temperature: -2.7,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 03:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 3,
// temperature: -2.9,
// waterRecord: 3.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 04:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 4,
// temperature: -3.1,
// waterRecord: 3.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 05:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 5,
// temperature: -3.6,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 06:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 6,
// temperature: -3.6,
// waterRecord: 2.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 07:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 7,
// temperature: -4.2,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 08:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 8,
// temperature: -3.5,
// waterRecord: 1.0,
// },
// {
// supplyId: "33104782-c1ad-432c-953e-e31c2e031be4",
// supplyName: "福苑里供热站",
// gatherTime: "2024-01-02 09:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 9,
// temperature: -1.8,
// waterRecord: 0.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-01 22:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 22,
// temperature: -1.6,
// waterRecord: 3.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-01 23:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 23,
// temperature: -2.1,
// waterRecord: 4.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 00:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 0,
// temperature: -2.2,
// waterRecord: 1.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 01:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 1,
// temperature: -2.5,
// waterRecord: 2.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 02:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 2,
// temperature: -2.7,
// waterRecord: 1.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 03:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 3,
// temperature: -2.9,
// waterRecord: 2.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 04:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 4,
// temperature: -3.1,
// waterRecord: 5.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 05:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 5,
// temperature: -3.6,
// waterRecord: 5.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 06:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 6,
// temperature: -3.6,
// waterRecord: 2.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 07:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 7,
// temperature: -4.2,
// waterRecord: 3.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 08:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 8,
// temperature: -3.5,
// waterRecord: 4.0,
// },
// {
// supplyId: "dfa20074-8731-457f-b63f-4e1858cfe266",
// supplyName: "东部供热站",
// gatherTime: "2024-01-02 09:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 9,
// temperature: -1.8,
// waterRecord: 2.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-01 22:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 22,
// temperature: -1.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-01 23:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 1,
// gatherHour: 23,
// temperature: -2.1,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 00:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 0,
// temperature: -2.2,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 01:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 1,
// temperature: -2.5,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 02:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 2,
// temperature: -2.7,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 03:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 3,
// temperature: -2.9,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 04:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 4,
// temperature: -3.1,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 05:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 5,
// temperature: -3.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 06:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 6,
// temperature: -3.6,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 07:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 7,
// temperature: -4.2,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 08:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 8,
// temperature: -3.5,
// waterRecord: 0.0,
// },
// {
// supplyId: "b354f45b-23e5-42be-a210-0fb92394f457",
// supplyName: "小王庄供热站",
// gatherTime: "2024-01-02 09:00:00",
// gatherYear: 2024,
// gatherMonth: 1,
// gatherDay: 2,
// gatherHour: 9,
// temperature: -1.8,
// waterRecord: 0.0,
// },
// ],
//};
var huor = this.gYSupplyWater[0].gatherHour;
for (var i = 0; i < 12; i++) {
if (huor < 24) {
......
<template>
<el-card class="card-contianer">
<div>
</div>
<label>{{radioTitle}}</label>
<el-radio-group v-model="activeRadio" style="margin-left: 50px;">
<el-radio
......@@ -182,7 +185,7 @@
.card-contianer {
display: flex;
width: auto;
width: 100%;
height: 50px;
align-items: center;
vertical-align: middle;
......
<template>
生产与结算数据分析表
</template>
\ No newline at end of file
<template>
年度参数管理
</template>
\ No newline at end of file
<template>
锅炉参数配置
</template>
\ No newline at end of file
<template>
能源消耗
</template>
\ No newline at end of file
<template>
瞬时热量对比配置
</template>
\ No newline at end of file
<template>
天气工况
</template>
\ No newline at end of file
<template>
气象干预
</template>
\ No newline at end of file
<template>
风力配置管理
</template>
\ No newline at end of file
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