From 64e1db9d04bd4e2dd8ee4e61f2ec1de922c2f84d Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期二, 28 十一月 2023 10:53:06 +0800 Subject: [PATCH] 标绘查询点,多边形添加最大最小值,线查询添加单位 --- src/views/plotting/plottingInquire.vue | 41 +++++++++++++++++++++++++---------------- 1 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/views/plotting/plottingInquire.vue b/src/views/plotting/plottingInquire.vue index 8dad568..8dc5768 100644 --- a/src/views/plotting/plottingInquire.vue +++ b/src/views/plotting/plottingInquire.vue @@ -147,6 +147,8 @@ <div class="table_head_td">搴忓彿</div> <div class="table_head_td"> <span>鍥惧眰鍚�</span> + <span>鏈�澶у��</span> + <span>鏈�灏忓��</span> <span>鍒嗘瀽缁撴灉</span> </div> </div> @@ -154,7 +156,10 @@ <div class="table_tr" v-for="(e, i) in resultList" :key="i"> <div class="table_td">{{ i + 1 }}</div> <div class="table_td"> - <span>{{ e.layerName }}锛堢背锛�</span> + + <span>{{ e.layerName }}</span> + <span>{{ e.max }}</span> + <span>{{ e.min }}</span> <span>{{ e.avg }}</span> </div> </div> @@ -411,6 +416,7 @@ return ElMessage.error("鏌ヨ閿欒"); } + debugger dt.result.forEach((e) => { if (e.code != 200) { e.avg = "-"; @@ -425,6 +431,7 @@ resultList.value.push(e); }); + console.log(resultList.value); }; //闈㈡煡璇㈡帴鍙� @@ -689,7 +696,7 @@ position: absolute; right: 26px; top: 80px; - width: 320px; + width: 400px; background: rgba(7, 8, 14, 0.8); z-index: 100; @@ -857,7 +864,7 @@ } .table_head_td:nth-child(2) { - width: 237px; + width:16.34375vw; display: flex; justify-content: space-between; align-items: center; @@ -887,12 +894,17 @@ align-items: center; border-right: 1px solid rgba(214, 228, 255, 0.4); box-sizing: border-box; - + div{ + width: 100%; + background: skyblue; + height: 100%; + } // padding: 5px; // white-space: nowrap; span { + display: block; - width: 50%; + width: 17%; word-wrap: break-word; // white-space: pre; text-align: left; @@ -903,22 +915,19 @@ // justify-content: flex-end; // margin-left: 5%; // float: right; - width: 40%; - text-align: right; + // width:16.34375vw; + text-align: center; + // background: skyblue; } } .table_td:nth-child(2) { - width: 237px; + width: 16.34375vw; display: flex; - justify-content: space-between; - align-items: center; - // padding: 0 10px; - padding-left: 10px; - padding-right: 10px; - padding-top: 5px; - padding-bottom: 5px; - border-right: 0; + justify-content: space-between; + align-items: center; + padding: 0 10px; + border-right: 0; } } -- Gitblit v1.9.3