From 042029100c2a0d79f83a9254bf622b59166727f7 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 12 二月 2026 11:04:13 +0800
Subject: [PATCH] 打卡限制
---
src/pages/managementMeetings/sealManagement/index.vue | 30 ++++++++++++++++++------------
1 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/src/pages/managementMeetings/sealManagement/index.vue b/src/pages/managementMeetings/sealManagement/index.vue
index 6d92c96..569e372 100644
--- a/src/pages/managementMeetings/sealManagement/index.vue
+++ b/src/pages/managementMeetings/sealManagement/index.vue
@@ -8,7 +8,7 @@
<view class="search-bar">
<view class="search-input">
<up-input class="search-text"
- placeholder="璇疯緭鍏ョ敵璇锋爣棰�"
+ placeholder="璇疯緭鍏ョ敵璇风紪鍙�"
v-model="name"
@blur="getList"
clearable />
@@ -97,7 +97,7 @@
</view>
<view v-else
class="no-data">
- <text>鏆傛棤浼氳瀹よ褰�</text>
+ <text>鏆傛棤鐢ㄥ嵃璁板綍</text>
</view>
<!-- 娴姩鏂板鎸夐挳 -->
<view class="fab-button"
@@ -111,7 +111,7 @@
<script setup>
import { ref, onMounted, computed } from "vue";
- import { onShow } from "@dcloudio/uni-app";
+ import { onShow, onLoad } from "@dcloudio/uni-app";
import { useDict } from "@/utils/dict";
import PageHeader from "@/components/PageHeader.vue";
import {
@@ -195,18 +195,18 @@
const params = {
current: -1,
size: -1,
- title: name.value,
+ applicationNum: name.value,
};
listSealApplication(params)
.then(res => {
- const currentFactoryName = userStore.currentFactoryName;
- if (currentFactoryName) {
- visitList.value = res.data.records.filter(
- item => item.department === currentFactoryName
- );
- } else {
- visitList.value = res.data.records;
- }
+ // const currentFactoryName = userStore.currentFactoryName;
+ // if (currentFactoryName) {
+ // visitList.value = res.data.records.filter(
+ // item => item.department === currentFactoryName
+ // );
+ // } else {
+ visitList.value = res.data.records;
+ // }
closeToast();
})
.catch(() => {
@@ -287,6 +287,12 @@
},
});
};
+ onLoad(options => {
+ // 瑙f瀽applicationNum
+ if (options.applicationNum) {
+ name.value = options.applicationNum;
+ }
+ });
onMounted(() => {
getList();
--
Gitblit v1.9.3