From 3a45da15c947c2d478a44a51bd0f926647b1b841 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 11 四月 2025 16:33:17 +0800
Subject: [PATCH] 提交
---
company/src/components/business/ApplyChangeUnitDetails.vue | 56 ++++++++++++++++++++++++++++++++++----------------------
1 files changed, 34 insertions(+), 22 deletions(-)
diff --git a/company/src/components/business/ApplyChangeUnitDetails.vue b/company/src/components/business/ApplyChangeUnitDetails.vue
index 68195e5..c68082e 100644
--- a/company/src/components/business/ApplyChangeUnitDetails.vue
+++ b/company/src/components/business/ApplyChangeUnitDetails.vue
@@ -12,22 +12,22 @@
</div>
<div class="box_table">
<div class="box_table_head">
- <div class="box_table_head_item">鎶曚繚浼佷笟</div>
- <div class="box_table_head_item">淇濋櫓鏂规</div>
+ <div class="box_table_head_item" style="flex: 3">鎶曚繚浼佷笟</div>
+ <div class="box_table_head_item" style="flex: 2">淇濋櫓鏂规</div>
<div class="box_table_head_item">淇濆崟鍙�</div>
- <div class="box_table_head_item">淇濋櫓鐢熸晥璧锋湡</div>
- <div class="box_table_head_item">淇濋櫓鐢熸晥姝㈡湡</div>
+ <div class="box_table_head_item" style="flex: 2">淇濋櫓鐢熸晥璧锋湡</div>
+ <div class="box_table_head_item" style="flex: 2">淇濋櫓鐢熸晥姝㈡湡</div>
<div class="box_table_head_item">鏇存崲娲鹃仯鍗曚綅浜烘暟</div>
- <div class="box_table_head_item">鎵瑰崟鐢熸晥鏈�</div>
+ <div class="box_table_head_item" style="flex: 2">{{getChangApplyTimeTitle(2,model)}}</div>
</div>
<div class="box_table_content " >
- <div class="box_table_content_item box_table_content_header">{{ apply.companyName }}</div>
- <div class="box_table_content_item box_table_content_header">{{ apply.solutionsName }}</div>
- <div class="box_table_content_item box_table_content_header">{{ apply.code }}</div>
- <div class="box_table_content_item box_table_content_header">{{ apply.startTime }}</div>
- <div class="box_table_content_item box_table_content_header">{{ apply.endTime }}</div>
+ <div class="box_table_content_item box_table_content_header" style="flex: 3">{{ apply.companyName }}</div>
+ <div class="box_table_content_item box_table_content_header" style="flex: 2">{{ apply.solutionsName }}</div>
+ <div class="box_table_content_item box_table_content_header" >{{ apply.code }}</div>
+ <div class="box_table_content_item box_table_content_header" style="flex: 2">{{ apply.startTime }}</div>
+ <div class="box_table_content_item box_table_content_header" style="flex: 2">{{ apply.endTime }}</div>
<div class="box_table_content_item box_table_content_header">{{ model.changeNum}}</div>
- <div class="box_table_content_item box_table_content_header">{{ model.applyStartTime}}</div>
+ <div class="box_table_content_item box_table_content_header" style="flex: 2">{{ model.applyStartTime}}</div>
</div>
</div>
<div class="box_table">
@@ -276,6 +276,7 @@
.box_table_head_item {
flex: 1;
height: 50px;
+ padding: 10px;
background: #f2f2f2;
display: flex;
align-items: center;
@@ -339,8 +340,12 @@
border-bottom: 0px solid #b4bbc5 !important;
}
.box_table_content_item {
- flex: 1;
- height: 50px;
+ //white-space: nowrap;
+ overflow: hidden;
+ //text-overflow: ellipsis;
+ flex: 1;
+ height: 50px;
+ padding: 10px;
background: #ffffff;
display: flex;
align-items: center;
@@ -350,15 +355,22 @@
border-right: 1px solid #b4bbc5;
border-bottom: 1px solid #b4bbc5;
box-sizing: border-box;
- &:nth-child(4) {
- flex: 1.5;
- }
- &:nth-child(6) {
- flex: 1.5;
- }
- &:nth-child(8) {
- flex: 1.5;
- }
+ &:nth-child(4) {
+ flex: 1.5;
+ }
+ &:nth-child(6) {
+ flex: 1.5;
+ }
+ &:nth-child(8) {
+ flex: 1.5;
+ }
+ span{
+ width: 100%;
+ white-space: nowrap;
+ word-wrap: break-word;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ }
}
}
}
--
Gitblit v1.9.3