diff --git a/pages/meetingDetail/index.vue b/pages/meetingDetail/index.vue
index 915f42a..322fea6 100644
--- a/pages/meetingDetail/index.vue
+++ b/pages/meetingDetail/index.vue
@@ -626,9 +626,7 @@
// 页面A设置参数
const app = getApp()
app.globalData.applyInfo = applyInfo
- uni.navigateTo({
- url: `/pages/sign/sign?isSelfStudy=${this.isSelfStudy}`
- })
+ this.readShow=true
}
if (this.applyType === 2) {
if (!this.stampUrl) return uni.showToast({
@@ -659,20 +657,27 @@
},
async postApply(){
this.readShow=false
- // 这里可以添加实际的API调用
- const res = await post('/api/v1/app_auth/metting-room/order/register', this.applyInfo)
- if (!res || !res.success) {
- throw new Error('会议室预定失败');
- }
- uni.showToast({
- title: '预约完成,请致电社区,并关注预约记录留意审核状态,谢谢!',
- icon: 'success'
- });
- if (res.success == true) {
- uni.redirectTo({
- url: `/pages/docList/index?files=${JSON.stringify(res.data)}&&isSelfStudy=${this.isSelfStudy}`
+ if(this.applyType===1){
+ uni.navigateTo({
+ url: `/pages/sign/sign?isSelfStudy=${this.isSelfStudy}`
})
+ }else{
+ // 这里可以添加实际的API调用
+ const res = await post('/api/v1/app_auth/metting-room/order/register', this.applyInfo)
+ if (!res || !res.success) {
+ throw new Error('会议室预定失败');
+ }
+ uni.showToast({
+ title: '预约完成,请致电社区,并关注预约记录留意审核状态,谢谢!',
+ icon: 'success'
+ });
+ if (res.success == true) {
+ uni.redirectTo({
+ url: `/pages/docList/index?files=${JSON.stringify(res.data)}&&isSelfStudy=${this.isSelfStudy}`
+ })
+ }
}
+
}
}
diff --git a/pages/sign/sign.vue b/pages/sign/sign.vue
index 50bc51b..2e29393 100644
--- a/pages/sign/sign.vue
+++ b/pages/sign/sign.vue
@@ -31,17 +31,17 @@
-
+
-
+