From 22f79cc9003f5a62873ca144a38e8015da9f2b28 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 十二月 2025 15:17:29 +0800
Subject: [PATCH] 刷新表格 currentCjNum
---
components/WorkOrderStatus.vue | 100 ++++++++++++++++++++++++--------------------------
1 files changed, 48 insertions(+), 52 deletions(-)
diff --git a/components/WorkOrderStatus.vue b/components/WorkOrderStatus.vue
index 15e0e49..6d604a9 100644
--- a/components/WorkOrderStatus.vue
+++ b/components/WorkOrderStatus.vue
@@ -3,7 +3,7 @@
<!-- 鍒锋柊鎸夐挳 -->
<button @click="handleRefresh" class="refresh-btn">鍒锋柊</button>
<view>
- <h4>璇存槑:</br>寮�宸ユ椂闂�=棣栦欢鍚堟牸鍚庡彇閫佹鏃堕棿,</br>瀹屽伐鏃堕棿=鎶ュ伐鏁扮瓑浜庡伐鍗曟暟鐨勬椂闂�</h4>
+ <h4>璇存槑:寮�宸ユ椂闂�=棣栦欢鍚堟牸鍚庡彇閫佹鏃堕棿,</br>瀹屽伐鏃堕棿=鎶ュ伐鏁扮瓑浜庡伐鍗曟暟鐨勬椂闂�</h4>
</view>
<!-- 涓婂崐閮ㄥ垎 -->
<!-- 寮�宸ュ畬宸� -->
@@ -216,12 +216,12 @@
</script>
<style scoped>
- .page {
- padding: 2vh;
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- }
+ .page {
+ padding: 1vh; /* 鍘�2vh锛岀缉灏忔暣浣撲笂涓嬮棿璺� */
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ }
/* 鍒锋柊鎸夐挳鏍峰紡 */
.refresh-btn {
@@ -239,12 +239,12 @@
}
/* 涓婂崐閮ㄥ垎锛氬乏鍙冲竷灞� */
- .top-section {
- display: flex;
- justify-content: space-between;
- flex-grow: 1;
- margin-bottom: 4vh;
- }
+ .top-section {
+ display: flex;
+ justify-content: space-between;
+ flex-grow: 1;
+ margin-bottom: 1.5vh; /* 鍘�4vh锛岀缉灏忎笂涓嬮棿闅� */
+ }
/* 宸﹁竟鎸夐挳鍜岃緭鍏ユ閮ㄥ垎锛堝乏鍙冲竷灞�锛� */
.left-section {
@@ -253,27 +253,26 @@
flex-direction: column;
}
- .item {
- display: flex;
- align-items: center;
- margin-bottom: 1.5vh;
- }
+ .item {
+ display: flex;
+ align-items: center;
+ margin-bottom: 1vh; /* 鍘�2.2vh锛岀缉灏忔瘡琛岄棿闅� */
+ height: 6vh; /* 鍙�傚綋缂╁皬楂樺害 */
+ }
/* 缁熶竴鎸夐挳鍜岃緭鍏ユ鐨勯珮搴� */
- button,
- .input-box {
- height: 5vh;
- /* Adjusted for larger, consistent height */
- }
+ button,
+ .input-box {
+ height: 6vh; /* 鎸夐挳鍜岃緭鍏ユ鏇撮珮 */
+ }
- button {
- width: 30%;
- padding: 0;
- font-size: 1.8vw;
- /* Larger font for buttons */
- margin-right: 1vw;
- line-height: 5vh;
- }
+ button {
+ width: 32%; /* 鎸夐挳鐣ュ */
+ padding: 0;
+ font-size: 2.2vw; /* 瀛椾綋鏇村ぇ */
+ margin-right: 1vw;
+ line-height: 6vh;
+ }
.btn-disabled {
background-color: #ccc;
@@ -287,15 +286,13 @@
border: none;
}
- .input-box {
- width: 70%;
- padding: 0 1vw;
- font-size: 1.5vw;
- /* Increased font size for input */
- border: 1px solid #ccc;
- box-sizing: border-box;
- /* 纭繚楂樺害涓�鑷� */
- }
+ .input-box {
+ width: 68%; /* 杈撳叆妗嗙暐缂╁皬锛岄厤鍚堟寜閽彉瀹� */
+ padding: 0 1vw;
+ font-size: 1.8vw; /* 瀛椾綋鏇村ぇ */
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+ }
/* 鍙宠竟宸ュ崟鐘舵�侀儴鍒� */
.right-section {
@@ -311,11 +308,10 @@
margin-top: -44px;
}
- .status-title {
- margin-bottom: 2vh;
- font-size: 2vw;
- /* Larger font size for titles */
- }
+ .status-title {
+ margin-bottom: 1vh; /* 鍘�2vh锛岀缉灏忔爣棰橀棿闅� */
+ font-size: 2vw;
+ }
.status-circle {
width: 11vw;
@@ -342,12 +338,12 @@
}
/* 涓嬪崐閮ㄥ垎锛氫繚瀛樺拰鍙栨秷鎸夐挳 */
- .bottom-section {
- display: flex;
- justify-content: space-between;
- margin-top: 1vh;
- height: 100%;
- }
+ .bottom-section {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 0.5vh; /* 鍘�1vh锛岀缉灏忎笌涓婃柟闂撮殧 */
+ height: 100%;
+ }
.save-btn,
.cancel-btn {
@@ -364,7 +360,7 @@
/* 璁╁彸渚у伐鍗曞彿杈撳叆妗嗗彉闀� */
.status-title input.status-title {
- width: 100%; /* 鎴� 100%锛屾牴鎹疄闄呴渶姹傝皟鏁� */
+ width: 120%; /* 鎴� 100%锛屾牴鎹疄闄呴渶姹傝皟鏁� */
min-width: 320px; /* 鍙�夛紝淇濊瘉鏈�灏忓搴� */
font-size: 2vw;
box-sizing: border-box;
--
Gitblit v1.9.3