From 2a994d156f01072d865af6e8ff36d40c0a752796 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 22 十月 2025 16:39:33 +0800
Subject: [PATCH] 还原版本
---
components/machine.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index 49d98c2..70d4adb 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -1,6 +1,6 @@
<template>
<view class="page">
-
+ <!--璋冩満閫佹-->
<!-- 鍙充笂瑙掑埛鏂版寜閽� -->
<view class="top-right">
<button class="refresh-btn" @click="refresh">鍒锋柊</button>
@@ -26,7 +26,7 @@
<button :class="maShoutTime ? 'btn-disabled' : 'btn-blue'"
:disabled="!!maShoutTime"
@click="handleMaShoutTime">
- 閫佹鍛煎彨锛堢偣鍑绘寜閽畖娓呴浂鏈哄彴闈㈡澘鏁帮級
+ 閫佹鍛煎彨
</button>
<!-- 鏄剧ず閫佹鍛煎彨鏃堕棿 -->
<input class="txt-inp" v-model="maShoutTime" placeholder="鐐瑰嚮鎸夐挳甯﹀嚭鏃堕棿" disabled="true" />
@@ -43,7 +43,7 @@
</view>-->
<view class="item">
<button class="btn-disabled" disabled>
- 璋冩満瀹屾垚锛�=妫�楠岄�氳繃锛�
+ 璋冩満瀹屾垚锛�=妫�楠岄�氳繃=寮�宸ワ級
</button>
<input class="txt-inp" v-model="maEndTime" placeholder="棣栨棣栨纭閫氳繃鍐欏叆" disabled="true" />
</view>
@@ -86,11 +86,12 @@
},
methods: {
// 澶勭悊璋冩満寮�濮嬫寜閽偣鍑�
- handleMaStartTime() {
- if (!this.maStartTime) {
- this.setMaStartTime();
- }
- },
+ handleMaStartTime() {
+ if (!this.maStartTime) {
+ this.setMaStartTime();
+ this.flag = -1; // 璋冩満寮�濮嬫寜閽寜涓嬫椂鍥炰紶鐨刦lag=-1
+ }
+ },
// 澶勭悊閫佹鍛煎彨鎸夐挳鐐瑰嚮
handleMaShoutTime() {
if (!this.maShoutTime) {
@@ -156,6 +157,7 @@
break;
case 1:
this.maShoutTime = this.$getDate('yyyy-mm-dd hh24:mi:ss');
+ this.flag = -1; // 閫佹鍛煎彨鏈夊�煎悗锛宖lag濮嬬粓涓�-1
break;
case 2:
break;
--
Gitblit v1.9.3