From edff1cc69050e970abffb29a4be48a4ca181c328 Mon Sep 17 00:00:00 2001
From: Leo_Ding <2405260743@qq.com>
Date: Fri, 29 Aug 2025 18:15:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E5=92=8C=E5=8D=95=E4=BD=8D?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=88=86=E5=BC=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/meetingDetail/index.vue | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/pages/meetingDetail/index.vue b/pages/meetingDetail/index.vue
index 5db753e..62248f1 100644
--- a/pages/meetingDetail/index.vue
+++ b/pages/meetingDetail/index.vue
@@ -53,9 +53,9 @@
申请人类型
-
+
{{applyName}}
-
+
@@ -305,8 +305,8 @@
applyTypeColumns: [
['个人申请', '单位申请']
],
- applyType: 1, //个人1 企业2
- applyName: '个人申请',
+ applyType: 1, //企业1 个人2
+
concatName: '', //联系人姓名
concatPhone: '', //联系人电话
// 时间选择器控制
@@ -398,8 +398,16 @@
return `${month}月${day}日 ${weekday}`;
}
+ },
+ applyName(){
+ if(this.applyType===1){
+ return '单位申请'
+ }else{
+ return '个人申请'
+ }
}
},
+
mounted() {
this.getDetail();
},
@@ -432,6 +440,8 @@
this.detail = {
...res.data
};
+ this.applyType=res.data.roomType
+ console.log(this.applyType)
} catch (err) {
console.error('获取详情失败:', err);
}
@@ -610,7 +620,8 @@
reason: this.reason,
applyTheme: this.applyTheme
};
- if (this.applyType === 1) {
+ //个人申请
+ if (this.applyType === 2) {
const userApplyInfo = {
userName: this.userName,
userPhone: this.userPhone,
@@ -629,7 +640,8 @@
app.globalData.applyInfo = applyInfo
this.readShow=true
}
- if (this.applyType === 2) {
+ //单位申请
+ if (this.applyType === 1) {
if (!this.stampUrl) return uni.showToast({
title: '请上传印章',
icon:'none'