Commit d7074877 authored by 李超鹏's avatar 李超鹏

type:update

scope:self
body:修改bug
parent e3c3d707
......@@ -17,7 +17,6 @@
<view class="img-list">
<u-image class="pic" width="160rpx" height="160rpx" :border-radius="10" @click="selectUpload" :src="uploadImage"></u-image>
</view>
<!-- <u-image class="pic" v-for="item in 6" width="170rpx" height="170" src="'https://cdn.uviewui.com/uview/example/fade.jpg"></u-image> -->
</view>
<u-action-sheet :list="list" v-model="maskShow" :cancel-btn="true" @click="uploadSelect"></u-action-sheet>
</view>
......@@ -118,16 +117,14 @@
return
}
// 使用拍照工具拍摄
this.takeStatus = true
this.photograph()
this.getWatermark()
this.getPhotoStander()
},
setValue() {
const dataValue = []
this.imgList.map(item=>{
dataValue.push(item.src)
})
console.log("dataValue", dataValue)
this.valueChange(dataValue)
},
closeTake(val) {
......@@ -151,7 +148,7 @@
this.imgList.splice(index, 1)
this.setValue()
},
getPhotoStander(){// 获取拍照规范接口
photograph(){// 获取拍照规范接口
let self = this
let param = {"partnerCompanyId":self.partnerCompanyId,
"categoryId":self.categoryId,
......@@ -160,6 +157,7 @@
this.$u.api.orderStandardItem(param).then((res)=>{
if (res.code == 200 && res.data.length>0) {
self.currentItemDate = res.data[0]
self.takeStatus = true
}else{
console.log("获取完工项的拍照标准异常",res.data.message)
}
......
......@@ -87,14 +87,11 @@
<view>
<text>{{record.operationTypeText}}</text>
<text style="color: red;">{{record.overTime?'(超时)':''}}{{record.exception?'(异常)':''}}</text>
<text style="color: #2272FF;" v-show="record.operationType==='报备'">(跟进)</text>
<text style="color: #2272FF;" v-show="record.operationType==='报备' || record.operationType==='改约'">(跟进)</text>
</view>
<view v-show="record.operationType==='报备' || record.operationType==='预约'|| record.operationType==='改约'">
<text>{{record.operationType==='报备' ? '下次联系时间:' : record.operationType==='改约'?'改约时间:': ''}}</text>
<text style="color: #2272FF;">{{
record.operationType==='报备' && record.orderRecordRemark && record.orderRecordRemark.length>1?
record.orderRecordRemark.substring(record.orderRecordRemark.indexOf(':')+1,record.orderRecordRemark.length)
:record.orderRecordRemark}}</text>
<text style="color: #2272FF;">{{record.orderRecordRemark}}</text>
</view>
</view>
</view>
......@@ -429,9 +426,12 @@
res.data.forEach(item =>{
if(item.operationType === '预约'){
item.operationTypeText = '上门时间'
}else if (item.operationType === '报备'){
}else if (item.operationType === '报备' || item.operationType === '改约'){
let arr = item.orderRecordRemark.split(',')
item.operationTypeText = arr[0]
if(arr.length > 1){
item.orderRecordRemark = arr[1].substring(arr[1].indexOf(':')+1,arr[1].length)
}
}else{
item.operationTypeText = item.operationType + '时间'
}
......
......@@ -23,7 +23,7 @@
<!-- <text class="rightContent u-m-t-14 u-m-l-30 u-p-b-30">{{item.describe}}</text> -->
</view>
<view class="rightImageView" v-if="item.orderImages && item.orderImages.length > 0">
<image class="rightImage" v-for="(image, index) in item.orderImages.slice(0 , 10)" :src="image"
<image class="rightImage" v-for="(image, index) in item.orderImages" :src="image"
:key="index" @click.stop="handleClickImage(item, index)" mode="aspectFill"></image>
</view>
</view>
......
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