|
@@ -259,6 +259,8 @@ async function handleExport() {
|
|
|
|
|
|
|
|
const unfilledDialogRef = ref()
|
|
const unfilledDialogRef = ref()
|
|
|
|
|
|
|
|
|
|
+const alarmCollapse = ref<string[]>([])
|
|
|
|
|
+
|
|
|
const openUnfilledDialog = () => {
|
|
const openUnfilledDialog = () => {
|
|
|
if (!query.value.createTime || query.value.createTime.length === 0) {
|
|
if (!query.value.createTime || query.value.createTime.length === 0) {
|
|
|
message.warning('请先选择创建时间范围')
|
|
message.warning('请先选择创建时间范围')
|
|
@@ -399,19 +401,25 @@ const openUnfilledDialog = () => {
|
|
|
is-index
|
|
is-index
|
|
|
@current-change="handleCurrentChange"
|
|
@current-change="handleCurrentChange"
|
|
|
@size-change="handleSizeChange" />
|
|
@size-change="handleSizeChange" />
|
|
|
- <div class="p-2 bg-white dark:bg-[#1d1e1f] rounded-lg shadow flex flex-col gap-2">
|
|
|
|
|
- <el-alert
|
|
|
|
|
- class="h-8!"
|
|
|
|
|
- title="运行时效=当日注气量/产能 超过120%红色预警"
|
|
|
|
|
- type="error"
|
|
|
|
|
- show-icon
|
|
|
|
|
- :closable="false" />
|
|
|
|
|
- <el-alert
|
|
|
|
|
- class="h-8!"
|
|
|
|
|
- title="气电比计算结果大于15橙色预警"
|
|
|
|
|
- type="warning"
|
|
|
|
|
- show-icon
|
|
|
|
|
- :closable="false" />
|
|
|
|
|
|
|
+ <div class="p-1 bg-white dark:bg-[#1d1e1f] rounded-lg shadow">
|
|
|
|
|
+ <el-collapse v-model="alarmCollapse" class="alarm-collapse">
|
|
|
|
|
+ <el-collapse-item title="告警提示" name="alarm">
|
|
|
|
|
+ <div class="flex flex-col gap-2">
|
|
|
|
|
+ <el-alert
|
|
|
|
|
+ class="h-8!"
|
|
|
|
|
+ title="运行时效=当日注气量/产能 超过120%红色预警"
|
|
|
|
|
+ type="error"
|
|
|
|
|
+ show-icon
|
|
|
|
|
+ :closable="false" />
|
|
|
|
|
+ <el-alert
|
|
|
|
|
+ class="h-8!"
|
|
|
|
|
+ title="气电比计算结果大于15橙色预警"
|
|
|
|
|
+ type="warning"
|
|
|
|
|
+ show-icon
|
|
|
|
|
+ :closable="false" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-collapse-item>
|
|
|
|
|
+ </el-collapse>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -428,4 +436,26 @@ const openUnfilledDialog = () => {
|
|
|
height: 42px;
|
|
height: 42px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+:deep(.alarm-collapse) {
|
|
|
|
|
+ border-top: 0;
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+
|
|
|
|
|
+ .el-collapse-item__header {
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ padding-left: 12px;
|
|
|
|
|
+ font-size: 15px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-collapse-item__wrap {
|
|
|
|
|
+ border-bottom: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-collapse-item__content {
|
|
|
|
|
+ padding-bottom: 4px;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|