Commit 1ca0b19b authored by 朱超's avatar 朱超

换热站趋势图能耗排名更新

parent 02795f3d
......@@ -16,8 +16,8 @@
<el-form-item>
<el-switch
v-model="switchV"
active-text="表格"
inactive-text="曲线图"
active-text="曲线图"
inactive-text="表格"
style="
--el-switch-on-color: #13ce66;
--el-switch-off-color: #6589ff;
......@@ -124,7 +124,7 @@
</div>
</el-form>
</el-card>
<div v-show="switchV">
<div v-show="!switchV">
<el-table
:data="tableData"
v-loading="tabloading"
......@@ -141,7 +141,7 @@
<el-table-column prop="uc" :label="enertyTab" />
</el-table>
</div>
<div v-show="!switchV" id="echartsLayerBlock">
<div v-show="switchV" id="echartsLayerBlock">
<div class="echartsLayer" id="echartsLayer"></div>
</div>
</div>
......@@ -170,7 +170,7 @@ import {
const options = reactive([]);
const enterpriseId = ref();
const props = { multiple: true, emitPath: false };
const switchV = ref(false);
const switchV = ref(true);
const echartF = ref(false);
const nodata = ref(false);
const tableData = reactive([]);
......@@ -797,6 +797,7 @@ onMounted(() => {
setContentHeight();
switchV.value = true;
sendClick();
changeFun();
window.addEventListener("resize", function () {
location.reload();
});
......
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