Commit a7a0fd9b by zhangxw

自测修改

1 parent 2268014a
......@@ -185,10 +185,10 @@ Page({
data = {
...data,
...data.teachingDetail,
bcCourseIdList: data.taskbcCourseIdList || [],
bcCourseIdList: data.bcCourseIdList?.map((val, index) => { return {bcCourseId: val, bcCourseName: data.bcCourseNameList[index]} }) || [],
merchantList: data?.taskMerchantId ? [{merchantName: data?.taskMerchantName, merchantId: data?.taskMerchantId}] : [],
taskStaffList: data?.taskStaffList?.map(val => { return {participantName: val} }),
assigneeImages: data.assigneeImages?.map(val => {return {imageUrl: val.imageUrl}}) || []
assigneeImages: data.assigneeImages?.map(val => {return {imageUrl: val}}) || []
}
const lockedFields = this._calcLockedFields(data)
let assigneeDetailLength = data?.assigneeDetail?.length || 0
......@@ -500,7 +500,8 @@ Page({
taskStaffList: orderObj?.taskStaffList?.map(val => val.participantName),
taskStaffPhoneList: orderObj?.taskStaffPhoneList,
assigneeImages: orderObj?.assigneeImages?.map(val => val.imageUrl),
bcCourseIdList: orderObj?.bcCourseIdList
bcCourseIdList: orderObj?.bcCourseIdList?.map(val => val.bcCourseId),
bcCourseNameList: orderObj?.bcCourseIdList?.map(val => val.bcCourseName)
}
wx.$util.showLoading()
indexApi.executeTaskCenter(params).then(res => {
......
......@@ -211,11 +211,11 @@
</view>
</block>
</block>
</block>
<block wx:if="{{ nothing }}">
<view class="list-nothing">
到底了~
</view>
<block wx:if="{{ nothing }}">
<view class="list-nothing">
到底了~
</view>
</block>
</block>
<block wx:else>
<empty-data />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!