Commit e7c85a16 by fengzhaoyu

Merge branch 'dev' into release_beta/1.0.0

parents e92444ff 8d084bbc
...@@ -50,12 +50,7 @@ ...@@ -50,12 +50,7 @@
<view a:if="{{!loading}}"> <view a:if="{{!loading}}">
<view class="scheduleHeader"> <view class="scheduleHeader">
<view>{{currentData.split('/')[0]}}年{{currentData.split('/')[1] || '1'}}月</view> <view>{{currentData.split('/')[0]}}年{{currentData.split('/')[1] || '1'}}月</view>
<view onTap="changesidebar" class="headerIcon"> <!--<view onTap="changesidebar" class="headerIcon"><text class="iconfont iconicon_app1"></text><view></view></view> -->
<text class="iconfont iconicon_app1">
</text>
<view>
</view>
</view>
</view> </view>
<scroll-view class="indexScrollView" scroll-y="{{true}}" onScroll="scroll" lower-threshold="{{400}}" onScrollToLower="lower" scroll-into-view="{{todayStr}}"> <scroll-view class="indexScrollView" scroll-y="{{true}}" onScroll="scroll" lower-threshold="{{400}}" onScrollToLower="lower" scroll-into-view="{{todayStr}}">
<block a:for="{{scheduleList}}" key="{{item.dateStr}}"> <block a:for="{{scheduleList}}" key="{{item.dateStr}}">
......
...@@ -245,6 +245,7 @@ create.Page({ ...@@ -245,6 +245,7 @@ create.Page({
} }
} }
this.setData({ this.setData({
currentPeople: getApp().globalData.userid,
aheadTimes: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [], aheadTimes: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [],
'comListData.aheadTimesListId': !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [-1], 'comListData.aheadTimesListId': !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [-1],
mrReserveStatus: res.data.data.mrReserveStatus, mrReserveStatus: res.data.data.mrReserveStatus,
......
...@@ -25,7 +25,7 @@ async function uploadImg(imgInfo) { ...@@ -25,7 +25,7 @@ async function uploadImg(imgInfo) {
const random = getRndInteger(1000, 10000) const random = getRndInteger(1000, 10000)
const fileName = timestamp.toString() + random.toString() + '.' + imgInfo.files[0].fileType; const fileName = timestamp.toString() + random.toString() + '.' + imgInfo.files[0].fileType;
const key = permisson.data.data.dir + fileName; const key = permisson.data.data.dir + fileName;
return new Promise(resolve => { return new Promise((resolve, rejects) => {
dd.uploadFile({ dd.uploadFile({
url: permisson.data.data.host, url: permisson.data.data.host,
fileType: 'image', fileType: 'image',
......
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