fix:页面高度
This commit is contained in:
parent
0bb6eb8a58
commit
6c29d13004
@ -157,54 +157,54 @@
|
||||
</el-table>
|
||||
</el-main>
|
||||
</el-container>
|
||||
<el-dialog v-model="multiTaskVisible" :title="mutiTaskTitle" width="400" :close-on-click-modal="false">
|
||||
<el-row v-for="item in mutiTaskList" :key="item.sendData.deviceId">
|
||||
<el-col :span="18">
|
||||
<div class="mutiTaskName">
|
||||
{{ item.deviceName }}
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<div class="mutiTaskStatus">
|
||||
<el-icon style="color: #f56c6c" size="30" v-if="item.loading === 3">
|
||||
<CircleClose />
|
||||
</el-icon>
|
||||
<el-icon style="color: #06b429" size="30" v-if="item.loading === 2">
|
||||
<CircleCheck />
|
||||
</el-icon>
|
||||
<el-icon style="color: #4fa5ff" size="30" class="mutiTaskLoading" v-if="item.loading === 1">
|
||||
<Loading />
|
||||
</el-icon>
|
||||
<div v-if="item.loading === 0">等待发送</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
<el-dialog v-model="selectPointVisible" title="选择测点" width="1000">
|
||||
<SelectPoint ref="selectPointDialogRef" :defaultAttr="defaultAttr" :visible="selectPointVisible"></SelectPoint>
|
||||
<template #footer>
|
||||
<div class="selectPointDialogFooter">
|
||||
<el-button type="primary" @click="saveSelectPoint">保存</el-button>
|
||||
<el-button @click="selectPointVisible = false">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
<el-dialog v-model="realDataLineChartVisible" title="实时曲线" @close="closeLineChart" width="1000">
|
||||
<RealDataChart
|
||||
ref="realDataChartRef"
|
||||
:visible="realDataLineChartVisible"
|
||||
:id="clickRow!.irn"
|
||||
@clearChart="() => (linePause = false)"
|
||||
></RealDataChart>
|
||||
<template #header>
|
||||
<div>
|
||||
<span style="font-size: 18px">实时曲线</span>
|
||||
<el-button class="saveBtn" @click="saveLineChart" type="primary" plain>保存</el-button>
|
||||
<el-button v-if="linePause" class="continueBtn" @click="continueLineChart" type="primary" plain>继续</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</div>
|
||||
<el-dialog v-model="multiTaskVisible" :title="mutiTaskTitle" width="400" :close-on-click-modal="false">
|
||||
<el-row v-for="item in mutiTaskList" :key="item.sendData.deviceId">
|
||||
<el-col :span="18">
|
||||
<div class="mutiTaskName">
|
||||
{{ item.deviceName }}
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<div class="mutiTaskStatus">
|
||||
<el-icon style="color: #f56c6c" size="30" v-if="item.loading === 3">
|
||||
<CircleClose />
|
||||
</el-icon>
|
||||
<el-icon style="color: #06b429" size="30" v-if="item.loading === 2">
|
||||
<CircleCheck />
|
||||
</el-icon>
|
||||
<el-icon style="color: #4fa5ff" size="30" class="mutiTaskLoading" v-if="item.loading === 1">
|
||||
<Loading />
|
||||
</el-icon>
|
||||
<div v-if="item.loading === 0">等待发送</div>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
<el-dialog v-model="selectPointVisible" title="选择测点" width="1000">
|
||||
<SelectPoint ref="selectPointDialogRef" :defaultAttr="defaultAttr" :visible="selectPointVisible"></SelectPoint>
|
||||
<template #footer>
|
||||
<div class="selectPointDialogFooter">
|
||||
<el-button type="primary" @click="saveSelectPoint">保存</el-button>
|
||||
<el-button @click="selectPointVisible = false">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
<el-dialog v-model="realDataLineChartVisible" title="实时曲线" @close="closeLineChart" width="1000">
|
||||
<RealDataChart
|
||||
ref="realDataChartRef"
|
||||
:visible="realDataLineChartVisible"
|
||||
:id="clickRow!.irn"
|
||||
@clearChart="() => (linePause = false)"
|
||||
></RealDataChart>
|
||||
<template #header>
|
||||
<div>
|
||||
<span style="font-size: 18px">实时曲线</span>
|
||||
<el-button class="saveBtn" @click="saveLineChart" type="primary" plain>保存</el-button>
|
||||
<el-button v-if="linePause" class="continueBtn" @click="continueLineChart" type="primary" plain>继续</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@ -692,7 +692,6 @@ const openMeasure = () => {
|
||||
const saveSelectPoint = () => {
|
||||
const list = selectPointDialogRef.value?.getSelectList()
|
||||
if (list) {
|
||||
|
||||
const addCoulmn = list.map((item: any) => {
|
||||
return {
|
||||
label: item.unit ? item.attributeName + item.unit : item.attributeName,
|
||||
|
Loading…
Reference in New Issue
Block a user