Commit 5cf64c29 by zhangxw

Merge branch 'SAAS+V4.55.0-0730' of http://192.168.3.233:8090/saas_plus/dj-car-b…

…outique-work-wechat into SAAS+V4.55.0-0730
2 parents 27ac03eb 830a220d
......@@ -46,11 +46,11 @@
<view class="flex">
<view class="tire-block" wx:for="{{ imgItem.constructionImgList || [] }}" wx:key="index">
<view class="tire-img-box" catchtap="handlePreviewImg" data-item="{{ item }}" data-imgindex="{{ imgIndex }}">
<image wx:if="{{ userInfo.loginRole == 7 }}" class="icon-delete" catchtap="handleDelete" data-index="{{ index }}" data-imgindex="{{ imgIndex }}" src="/tabWorkOrder/images/icon-delete.png" />
<image wx:if="{{ ( userInfo.loginRole== 7 ||userInfo.userType==2) }}" class="icon-delete" catchtap="handleDelete" data-index="{{ index }}" data-imgindex="{{ imgIndex }}" src="/tabWorkOrder/images/icon-delete.png" />
<image class="tire-img" src="{{ item }}" />
</view>
</view>
<view class="tire-block" bindtap="handleUpload" data-index="{{ imgIndex }}" wx:if="{{ (!imgItem.constructionImgList || imgItem.constructionImgList.length<9 )&& userInfo.loginRole== 7 }}">
<view class="tire-block" bindtap="handleUpload" data-index="{{ imgIndex }}" wx:if="{{ (!imgItem.constructionImgList || imgItem.constructionImgList.length<9 )&&( userInfo.loginRole== 7 ||userInfo.userType==2)}}">
<view>
<image class="icon-plus" src="{{ IMG_URL }}camera_icon.png" />
</view>
......
......@@ -605,7 +605,7 @@ Page({
if (item.technicianName) {
if (str == '') {
str = item.technicianName
} else {
} else if (!str.includes(item.technicianName)) {
str = str + '/' + '' + item.technicianName
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!