Commit 8fc74cef by zhangxw

督导带教任务新增带教目标字段

1 parent 90cc4185
......@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let index = 1;
let index = 2;
const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion;
......
......@@ -219,6 +219,16 @@ page{
}
}
}
.column_box {
flex-flow: column;
align-items: flex-start;
justify-content: flex-start;
min-height: 192rpx;
height: auto;
.label {
margin: 28rpx 0;
}
}
.image-box {
margin: 0 32rpx;
padding-bottom: 28rpx;
......
......@@ -52,7 +52,7 @@
<view class="text">{{subItem.itemName}}</view>
</view>
</view>
<view wx:else class="value" bindtap="chooseTime">
<view wx:elif="{{item.type == 'timePicker'}}" class="value" bindtap="chooseTime">
<text wx:if="{{orderObj[item.value]}}" class="value-text">{{orderObj[item.value]}}</text>
<block wx:else>
<text wx:if="{{!isCompleted && !lockedFields[item.value]}}" class="placeholder">点击选择</text>
......@@ -60,6 +60,9 @@
</block>
<image wx:if="{{!isCompleted && !lockedFields[item.value]}}" src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/arrow.png" mode=""/>
</view>
<view wx:else class="value">
<text class="value-text">{{orderObj[item.value] || '-'}}</text>
</view>
</view>
</block>
</block>
......@@ -70,6 +73,10 @@
<view class="currentWordNumber">{{assigneeDetailLength || 0}} / 1000</view>
</view>
</view>
<view class="item-box column_box">
<view class="label">带教目标</view>
<view style="word-break: break-all;margin-bottom: 20rpx;">{{orderObj.teachingTarget || '-'}}</view>
</view>
<view class="image-box">
<view class="label">带教照片佐证<text class='required'>*</text></view>
<view class="upload_box">
......
......@@ -96,6 +96,17 @@
src="{{ IMG_URL }}special-task-merchant.png"
mode="" />
<view class="label">
带教目标:
</view>
<view class="text-hide">
{{ item.teachingTarget || '-' }}
</view>
</view>
<view class="list-item">
<image class="icon"
src="{{ IMG_URL }}special-task-merchant.png"
mode="" />
<view class="label">
归属门店:
</view>
<view class="text-hide">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!