Commit a7a0fd9b by zhangxw

自测修改

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