From b1633ce7fe777d6e6ef47c653f18a54432238e29 Mon Sep 17 00:00:00 2001
From: zhongwenkai <3478244299@qq.com>
Date: Fri, 12 Jun 2026 09:41:03 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E4=B8=8A=E4=B8=8B=E6=A8=A1?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=8C=89=E9=92=AE=E4=BA=A4=E4=BA=92=E5=92=8C?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/moldoperate/deviceSelect.vue | 10 ++++----
.../pages/moldoperate/dismount.vue | 25 +++++++++++++++----
.../pages/moldoperate/index.vue | 4 +++
.../pages/moldoperate/moldSelect.vue | 10 ++++----
4 files changed, 34 insertions(+), 15 deletions(-)
diff --git a/src/pages_function/pages/moldoperate/deviceSelect.vue b/src/pages_function/pages/moldoperate/deviceSelect.vue
index a8d5afa..4bbf07c 100644
--- a/src/pages_function/pages/moldoperate/deviceSelect.vue
+++ b/src/pages_function/pages/moldoperate/deviceSelect.vue
@@ -403,7 +403,7 @@ onShow(async () => {
left: 0;
right: 0;
bottom: 0;
- padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom));
+ padding: 18rpx 24rpx calc(18rpx + env(safe-area-inset-bottom));
background: #fff;
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
z-index: 99;
@@ -411,16 +411,16 @@ onShow(async () => {
.bottom-btn {
width: 100%;
- height: 88rpx;
- line-height: 88rpx;
+ height: 84rpx;
+ line-height: 84rpx;
text-align: center;
- border-radius: 12rpx;
+ border-radius: 16rpx;
font-size: 30rpx;
font-weight: 600;
}
.confirm-btn {
- background: #2563eb;
+ background: #1f4b79;
color: #fff;
}
diff --git a/src/pages_function/pages/moldoperate/dismount.vue b/src/pages_function/pages/moldoperate/dismount.vue
index 7a320c0..787ee17 100644
--- a/src/pages_function/pages/moldoperate/dismount.vue
+++ b/src/pages_function/pages/moldoperate/dismount.vue
@@ -169,6 +169,7 @@
+ {{ t('functionCommon.cancel') }}
{{ t('moldOperate.confirmDismount') }}
@@ -600,6 +601,13 @@ async function handleConfirm() {
}
}
+function handleCancel() {
+ // 返回上一页(管理页面)
+ uni.navigateBack({
+ fail: () => uni.switchTab({ url: '/pages/work' })
+ })
+}
+
onShow(async () => {
await Promise.allSettled([loadDevices(), loadLineTree(), loadOperators()])
// 从 globalData 读取设备选择页回传的设备
@@ -983,18 +991,20 @@ onShow(async () => {
left: 0;
right: 0;
bottom: 0;
- padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom));
+ display: flex;
+ gap: 18rpx;
+ padding: 18rpx 24rpx calc(18rpx + env(safe-area-inset-bottom));
background: #fff;
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
z-index: 99;
}
.bottom-btn {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
+ flex: 1;
+ height: 84rpx;
+ line-height: 84rpx;
text-align: center;
- border-radius: 12rpx;
+ border-radius: 16rpx;
font-size: 30rpx;
font-weight: 600;
}
@@ -1004,6 +1014,11 @@ onShow(async () => {
color: #fff;
}
+.cancel-btn {
+ background: #eef2f7;
+ color: #475569;
+}
+
/* ====== 弹窗通用 ====== */
.picker-popup {
background: #fff;
diff --git a/src/pages_function/pages/moldoperate/index.vue b/src/pages_function/pages/moldoperate/index.vue
index 2b0346f..2bd221a 100644
--- a/src/pages_function/pages/moldoperate/index.vue
+++ b/src/pages_function/pages/moldoperate/index.vue
@@ -452,6 +452,10 @@ function handleCancel() {
remarkText.value = ''
selectedOperator.value = null
operatorIndex.value = -1
+ // 返回上一页(管理页面)
+ uni.navigateBack({
+ fail: () => uni.switchTab({ url: '/pages/work' })
+ })
}
function goBack() {
diff --git a/src/pages_function/pages/moldoperate/moldSelect.vue b/src/pages_function/pages/moldoperate/moldSelect.vue
index f7692e1..cfe4b3d 100644
--- a/src/pages_function/pages/moldoperate/moldSelect.vue
+++ b/src/pages_function/pages/moldoperate/moldSelect.vue
@@ -328,7 +328,7 @@ onShow(async () => {
left: 0;
right: 0;
bottom: 0;
- padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom));
+ padding: 18rpx 24rpx calc(18rpx + env(safe-area-inset-bottom));
background: #fff;
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.06);
z-index: 99;
@@ -336,16 +336,16 @@ onShow(async () => {
.bottom-btn {
width: 100%;
- height: 88rpx;
- line-height: 88rpx;
+ height: 84rpx;
+ line-height: 84rpx;
text-align: center;
- border-radius: 12rpx;
+ border-radius: 16rpx;
font-size: 30rpx;
font-weight: 600;
}
.confirm-btn {
- background: #2563eb;
+ background: #1f4b79;
color: #fff;
}
From 57e6b556babb10d81ab4ef057780745dc925b4fa Mon Sep 17 00:00:00 2001
From: zhongwenkai <3478244299@qq.com>
Date: Fri, 12 Jun 2026 11:12:12 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E4=B8=8A=E4=B8=8B=E6=A8=A1?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=AF=BC=E8=88=AA=E6=A0=8F=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/moldoperate/dismount.vue | 75 +++++-------------
.../pages/moldoperate/history.vue | 49 ++----------
.../pages/moldoperate/index.vue | 79 +++++--------------
3 files changed, 49 insertions(+), 154 deletions(-)
diff --git a/src/pages_function/pages/moldoperate/dismount.vue b/src/pages_function/pages/moldoperate/dismount.vue
index 787ee17..ada878e 100644
--- a/src/pages_function/pages/moldoperate/dismount.vue
+++ b/src/pages_function/pages/moldoperate/dismount.vue
@@ -1,16 +1,14 @@
-
-
-
-
- {{ t('moldOperate.tabDown') }}
-
-
- {{ t('moldPressureNet.history') }}
-
-
+
+
+
+
+ {{ t('moldPressureNet.history') }}
+
+
+
@@ -203,6 +201,7 @@
import { computed, reactive, ref } from 'vue'
import { onShow } from '@dcloudio/uni-app'
import { useI18n } from 'vue-i18n'
+import NavBar from '@/components/common/NavBar.vue'
import { getLowerMoldList, getDeviceLedgerList, createMoldOperate } from '@/api/mes/moldoperate'
import { getDeviceLineTree } from '@/api/mes/deviceLine'
import { getSimpleUserList } from '@/api/system/user'
@@ -620,53 +619,21 @@ onShow(async () => {