From 4b275f2093954cc58bbc23e4fc67e67d6fe81c0b Mon Sep 17 00:00:00 2001 From: Riku <risaku@163.com> Date: 星期日, 13 七月 2025 22:46:35 +0800 Subject: [PATCH] 2025.7.13 污染动态溯源 --- src/views/sourcetrace/component/ClueRecordItem.vue | 43 ++++++++++++++++++++++++++----------------- 1 files changed, 26 insertions(+), 17 deletions(-) diff --git a/src/views/sourcetrace/component/ClueRecordItem.vue b/src/views/sourcetrace/component/ClueRecordItem.vue index a8aecbb..dedec77 100644 --- a/src/views/sourcetrace/component/ClueRecordItem.vue +++ b/src/views/sourcetrace/component/ClueRecordItem.vue @@ -9,19 +9,22 @@ <el-col :span="21"> <el-row justify="space-between"> <el-space> - <el-text type="primary" size="default"> + <el-text type="info" size="default"> <el-icon><Timer /></el-icon> {{ - item.pollutedData.startTime + ' - ' + item.pollutedData.endTime + item.pollutedData._startTime + + ' - ' + + item.pollutedData._endTime }} </el-text> </el-space> - <el-link type="primary" @click="emits('open', item)"> 璇︽儏 </el-link> + <el-link type="info" @click="emits('open', item)"> 璇︽儏 </el-link> </el-row> <div> <el-tag effect="plain" type="info" + style="color: black" size="small" hit round @@ -29,13 +32,13 @@ > <div v-html="formatFactorName(item.pollutedData.factorName)"></div> </el-tag> - <el-text type="primary"> + <el-text type="info"> {{ item.pollutedData.exception + '锛�' }} </el-text> - <el-text type="primary">{{ + <el-text type="info">{{ formatDistanceType(item.pollutedArea.distanceType) }}</el-text> - <el-text :type="noWarn ? 'primary' : 'warning'"> + <el-text :type="noWarn ? 'info' : 'warning'"> {{ item.pollutedSource.sceneList.length == 0 ? '鏈壘鍒伴闄╂簮' @@ -62,9 +65,12 @@ <div v-else-if="item._type == '2'"> <el-row justify="space-between"> <el-tag type="danger" effect="dark" size="small">绾跨储</el-tag> - <el-link type="primary" @click="emits('open')"> 璇︽儏 </el-link> + <el-link type="info" @click="emits('open')"> 璇︽儏 </el-link> </el-row> - <el-text type="danger">{{ item.advice }}</el-text> + <el-space> + <el-icon color="#F56C6C" :size="40"><WarnTriangleFilled /></el-icon> + <el-text type="info">{{ item.advice }}</el-text> + </el-space> </div> <el-row v-else-if="item._type == '3'"> <el-col :span="3"> @@ -73,27 +79,30 @@ <el-col :span="21"> <el-row justify="space-between"> <el-space> - <el-text type="primary" size="default"> + <el-text type="info" size="default"> <el-icon><Timer /></el-icon> {{ - item.pollutedData.startTime + ' - ' + item.pollutedData.endTime + item.pollutedData._startTime + + ' - ' + + item.pollutedData._endTime }} </el-text> </el-space> - <el-link type="primary" @click="emits('open', item)"> 璇︽儏 </el-link> + <el-link type="info" @click="emits('open', item)"> 璇︽儏 </el-link> </el-row> <div> <el-tag effect="plain" type="info" size="small" + style="color: black" hit round class="m-r-4" > <div v-html="formatFactorName(item.pollutedData.factorName)"></div> </el-tag> - <el-text type="primary">{{ item.pollutedData.exception }}</el-text> + <el-text type="info">{{ item.pollutedData.exception }}</el-text> </div> <div v-if="item.pollutedSource.sceneList.length > 0"> <div v-for="s in item.pollutedSource.sceneList" :key="s.guid"> @@ -113,18 +122,18 @@ <!-- <el-row justify="space-between"> <el-space> - <el-tag type="primary" effect="dark" size="small">鎻愰啋</el-tag> - <el-text type="primary">{{ + <el-tag type="info" effect="dark" size="small">鎻愰啋</el-tag> + <el-text type="info">{{ item.pollutedData.startTime + ' - ' + item.pollutedData.endTime }}</el-text> </el-space> - <el-link type="primary" @click="emits('open', item)"> 璇︽儏 </el-link> + <el-link type="info" @click="emits('open', item)"> 璇︽儏 </el-link> </el-row> <el-col :span="24"> <el-tag effect="plain" type="info" size="small" hit round class="m-r-4"> <div v-html="formatFactorName(item.pollutedData.factorName)"></div> </el-tag> - <el-text type="primary">{{ item.pollutedData.exception }}</el-text> + <el-text type="info">{{ item.pollutedData.exception }}</el-text> </el-col> --> </el-row> </div> @@ -158,7 +167,7 @@ function formatDistanceType(value) { switch (value) { case 'TYPE1': - return '50绫充互鍐�'; + return '100绫充互鍐�'; case 'TYPE2': return '50绫� - 500绫充互鍐�'; case 'TYPE3': -- Gitblit v1.9.3