描述:会议协议

This commit is contained in:
SelfRidicule 2024-03-20 17:38:12 +08:00
parent 98e6e03ed8
commit 1f5e7d9e99
4 changed files with 36 additions and 22 deletions

View File

@ -0,0 +1,12 @@
import {
request
} from '../selfRequest';
// 查询协议
export function policyRq() {
return request({
url: '/api/visitor/policy',
method: "get",
});
}

View File

@ -34,11 +34,8 @@
</view> </view>
<!-- 声明信息 --> <!-- 声明信息 -->
<!-- <view class="statementView"> <view class="statementView">
<view class="content">如果您需要获取增值服务,请随时联系我们的现场运营人员如果您需要获取增值服务,请随时联系我们的现场运营人员</view> 如果您需要获取增值服务,请随时联系我们的现场运营人员,张三15116171818、李四15161718999我们将竭诚为您提供帮助
<view class="content">张三15116171818</view> </view>
<view class="content">李四15161718999</view>
<view class="content">我们将竭诚为您提供帮助</view>
</view> -->
</view> </view>

View File

@ -78,15 +78,8 @@
} }
.statementView { .statementView {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 80rpx 40rpx; padding: 80rpx 40rpx;
}
.statementView .content {
font-size: 24rpx; font-size: 24rpx;
text-indent: 48rpx;
color: gray; color: gray;
margin-bottom: 10rpx;
} }

View File

@ -1,24 +1,36 @@
// pages/meeting/meetingRoom/meetingProtocol/meetingProtocol.js import {
policyRq
} from "../../../../api/meeting/protocol.js"
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
content : `1乙方应保证会议室内财物的安全并注意防火、防盗会议期间不影响甲方的正常办公。会议室内的设备使用需提前向甲方商议。 content: ``
2需保持会议中安静严禁在会议室内及公共场所大声喧哗嬉戏打闹影响甲方正常工作
3保持使用场地的清洁卫生严禁在会议室范围内乱吐痰乱扔垃圾未经甲方同意不能在使用场地内搭设棚架
4乙方不得擅自将该会议室转租转让转借给第三人或和第三人交换使用
5请于使用前如实提供会议内容不得在会议室内进行非法违纪活动如经发现即停止服务并做报警处理`
}, },
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
let _this = this;
// 页面初始化 options为页面跳转所带来的参数 // 页面初始化 options为页面跳转所带来的参数
let title = options.title;
if (!title) {
title = "《服务协议》"
}
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: options.title title
})
// 查询协议
policyRq().then(res => {
console.log('policyRq', res);
let content = res.data.content;
_this.setData({
content
})
}) })
}, },