Commit 3f46eaf0 by fengzhaoyu

从工作通知进入

parent 3a576696
{ {
"pages": [ "pages": [
"pages/index/index", "pages/index/index",
"pages/hhh/hhh",
"pages/uploadFile/uploadFile", "pages/uploadFile/uploadFile",
"pages/editFile/editFile", "pages/editFile/editFile",
"pages/place/place", "pages/place/place",
......
<view>
New Page
</view>
\ No newline at end of file
Page({
data: {},
onLoad() {},
});
{}
\ No newline at end of file
<!--<mw-select></mw-select> --> <!--<mw-select></mw-select> -->
版本号:143 版本 版本号:151 版本
<view class="index"> <view class="index">
<view a:if="{{startPageOnLoad&&startPageOnShow}}"> <view a:if="{{startPageOnLoad&&startPageOnShow}}">
<scroll-view a:if="{{todayStr !== ''}}" scroll-y="{{true}}" upper-threshold="50" lower-threshold="50" onScrollToLower="lower" onScroll="onScroll" style="height: 100vh;" scroll-into-view="{{todayStr}}"> <scroll-view a:if="{{todayStr !== ''}}" scroll-y="{{true}}" upper-threshold="50" lower-threshold="50" onScrollToLower="lower" onScroll="onScroll" style="height: 100vh;" scroll-into-view="{{todayStr}}">
......
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
.modalOccupyTimeSlot { .modalOccupyTimeSlot {
height: 504rpx; height: 504rpx;
width: 100%; width: 750rpx;
} }
.modalOccupyTimeSlot>view { .modalOccupyTimeSlot>view {
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<!-- <view onTap="selectDate">自定义</view> --> <!-- <view onTap="selectDate">自定义</view> -->
</view> </view>
<scroll-view scroll-y='{{true}}' class="modalOccupyTimeSlot" onScroll="modalScroll" scroll-into-view="{{toThisTime}}"> <scroll-view scroll-y='{{true}}' class="modalOccupyTimeSlot" onScroll="modalScroll" scroll-into-view="{{toThisTime}}">
<view class="OccupyTimeList" a:for="{{modalList}}" data-index="{{index}}" onTap="onChangeModalTime" id="{{item.reserveStartTime.substr(10,15)}}"> <view class="OccupyTimeList" a:for="{{modalList}}" data-index="{{index}}" onTap="onChangeModalTime" id="{{item.reserveStartTime.substr(11,15)}}">
<!-- <view data-status="{{item.reserveStatus}}" data-index="{{index}}"> <!-- <view data-status="{{item.reserveStatus}}" data-index="{{index}}">
<timecheckmodal <timecheckmodal
startTime="{{meetingTime.startTime}}" startTime="{{meetingTime.startTime}}"
......
...@@ -41,7 +41,7 @@ create.Page({ ...@@ -41,7 +41,7 @@ create.Page({
meetingRoomName: '' meetingRoomName: ''
}, },
canScroll: true, canScroll: true,
toThisTime: '123', toThisTime: '',
tomorrowTime: '', tomorrowTime: '',
afterTomorrowTime: '' afterTomorrowTime: ''
}, },
...@@ -176,18 +176,19 @@ create.Page({ ...@@ -176,18 +176,19 @@ create.Page({
} }
} }
}) })
that.setData({ that.setData({
modalList: modalList, modalList: modalList,
isShowModal: true, isShowModal: true,
toThisTime: `${modalHour}:${modalMins < 30 ? '30' : '00'}`, canScroll: false,
canScroll: false toThisTime: `${modalHour}:${modalMins < 30 ? '30' : '00'}`
}) })
}) })
}, },
modalScroll() { modalScroll() {
this.setData({ // this.setData({
toThisTime: '12312312' // toThisTime: '12312312'
}) // })
}, },
// 修改弹框checkBox // 修改弹框checkBox
onChangeModalTime(e) { onChangeModalTime(e) {
......
...@@ -50,19 +50,21 @@ create.Page({ ...@@ -50,19 +50,21 @@ create.Page({
}, },
onShow() { onShow() {
let data = { let data = {
id: this.data.scheduleItem.id , id: this.data.scheduleItem.id,
planDate: this.data.scheduleItem.planDate, planDate: this.data.scheduleItem.planDate,
templateId: this.data.scheduleItem.scheduleTemplateId templateId: !!this.data.scheduleItem.scheduleTemplateId ? this.data.scheduleItem.scheduleTemplateId : this.data.scheduleItem.templateId
} }
getScheduleDetail(data).then(res => { getScheduleDetail(data).then(res => {
res.data.data.userList.forEach((item, index) => { res.data.data.userList.forEach((item, index) => {
if (item.participator.userId == getApp().globalData.userid) { if (item.participator.userId == getApp().globalData.userid) {
this.setData({ this.setData({
currentParStaus: item.confirmAttendance == null ? -1 : item.confirmAttendance currentParStaus: item.confirmAttendance == null ? -1 : item.confirmAttendance,
pemissions: getApp().globalData.userid
}) })
} }
}) })
this.setData({ this.setData({
'scheduleItem.scheduleTemplateId': res.data.data.scheduleTemplateId,
mrReserveStatus: res.data.data.mrReserveStatus, mrReserveStatus: res.data.data.mrReserveStatus,
title: res.data.data.title, title: res.data.data.title,
isRepeatable: res.data.data.repeatable, isRepeatable: res.data.data.repeatable,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment