From d286ea98663537e2ff4bd477da5b4e040ee5fbdb Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 三月 2026 17:46:03 +0800
Subject: [PATCH] 附件上传路径和查看路径修改
---
src/pages/managementMeetings/sealManagement/index.vue | 38 ++++++++++++++++++++++----------------
1 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/src/pages/managementMeetings/sealManagement/index.vue b/src/pages/managementMeetings/sealManagement/index.vue
index 6d92c96..2979152 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 />
@@ -77,7 +77,7 @@
@click="viewDetail(item,3)">
鏌ョ湅
</u-button>
- <u-button type="primary"
+ <!-- <u-button type="primary"
size="small"
class="action-btn"
v-if="item.status === 'pending'"
@@ -90,28 +90,28 @@
v-if="item.status === 'pending'"
@click="confirmApprove(item,false)">
鎷掔粷
- </u-button>
+ </u-button> -->
</view>
</view>
</view>
</view>
<view v-else
class="no-data">
- <text>鏆傛棤浼氳瀹よ褰�</text>
+ <text>鏆傛棤鐢ㄥ嵃璁板綍</text>
</view>
<!-- 娴姩鏂板鎸夐挳 -->
- <view class="fab-button"
+ <!-- <view class="fab-button"
@click="addVisit">
<up-icon name="plus"
size="24"
color="#ffffff"></up-icon>
- </view>
+ </view> -->
</view>
</template>
<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