From fd82105a3dfe347c4c9acb0410c117d8d67c9339 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 18 三月 2026 10:40:16 +0800
Subject: [PATCH] #
---
src/main/webapp/components/DevpCard.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/components/DevpCard.js b/src/main/webapp/components/DevpCard.js
index d699cfc..c2a89b3 100644
--- a/src/main/webapp/components/DevpCard.js
+++ b/src/main/webapp/components/DevpCard.js
@@ -3,7 +3,7 @@
<div class="mc-root">
<div class="mc-toolbar">
<div class="mc-title">杈撻�佺洃鎺�</div>
- <div class="mc-search">
+ <div v-if="!readOnly" class="mc-search">
<input class="mc-input" v-model="searchStationId" placeholder="璇疯緭鍏ョ珯鍙�" />
<button type="button" class="mc-btn mc-btn-ghost" @click="getDevpStateInfo">鏌ヨ</button>
</div>
@@ -88,7 +88,7 @@
<div v-if="displayStationList.length === 0" class="mc-empty">褰撳墠娌℃湁鍙睍绀虹殑绔欑偣鏁版嵁</div>
</div>
- <div class="mc-footer">
+ <div v-if="!readOnly || totalPages > 1" class="mc-footer">
<button type="button" class="mc-page-btn" :disabled="currentPage <= 1" @click="handlePageChange(currentPage - 1)">涓婁竴椤�</button>
<span>{{ currentPage }} / {{ totalPages }}</span>
<button type="button" class="mc-page-btn" :disabled="currentPage >= totalPages" @click="handlePageChange(currentPage + 1)">涓嬩竴椤�</button>
@@ -113,7 +113,7 @@
targetStationId: ""
},
barcodePreviewCache: {},
- pageSize: 12,
+ pageSize: this.readOnly ? 24 : 12,
currentPage: 1,
timer: null
};
--
Gitblit v1.9.1