diff --git a/src/views/index/workOrderDetail.vue b/src/views/index/workOrderDetail.vue index 104435ca..e5413c36 100644 --- a/src/views/index/workOrderDetail.vue +++ b/src/views/index/workOrderDetail.vue @@ -235,19 +235,6 @@ export default { z-index: 1111111; } } -//.map:before{ -// content: ""; -// background-color: #FFFFFF; -// background: url('@/assets/delKey.png') no-repeat; -// background-size: 100% 100%; -// position: absolute; -// right: 0; -// top: 0; -// @include wh(25px,25px); -// display: inline-block; -// z-index: 1111; -// pointer-events: auto; -//} .common{ background: #FFFFFF; diff --git a/src/views/workOrder/accounting.vue b/src/views/workOrder/accounting.vue index b530b81b..188ec94d 100644 --- a/src/views/workOrder/accounting.vue +++ b/src/views/workOrder/accounting.vue @@ -51,7 +51,11 @@ 扣除责任险费: {{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount}} - +
+ 工单照片: + 查看照片 + +
供应商数据:
@@ -379,6 +383,25 @@ export default { }, }, methods:{ + checkPhoto(){ + let isAllowImage = 1 + let data = { + "action": "orderPhoto", + "params": { + "userOrderId": this.orderInfo.userOrderId, + "orderCode": this.orderInfo.orderCode, + "taskOrderId": this.orderInfo.taskOrderId, + "isAllowImage":isAllowImage, + } + } + var u = navigator.userAgent; + var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); + if(isiOS){ + window.webkit.messageHandlers.nativeObject.postMessage(data); + }else { + window.android.sendMessage("orderPhoto,"+this.userOrderId+","+this.orderCode+","+this.taskOrderId+","+isAllowImage); + } + }, previewPhoto(index) { let url=[] this.auditPhotoList.forEach((item)=>{ @@ -470,6 +493,7 @@ export default { }) if(res.code === 200){ this.orderInfo=res.data + console.log("this.orderInfo",this.orderInfo) this.serviceType=this.orderInfo.serviceName this.taskFlowId=this.orderInfo.taskFlowId this.settleType=this.orderInfo.settleType?.label @@ -741,6 +765,33 @@ export default { opacity: .5; line-height: 27px; } + .leftTitle{ + opacity: .5; + @include wh(60px,189px); + } + .rightContent{ + height: 189px; + width: calc(100% - 60px); + } + .fontColor{ + @include fontWeightSize(400,12px); + color: #000000; + line-height: 24px; + } + .rightContent{ + width: calc(100% - 90px); + @include fontWeightSize(bold,12px); + .driverPoiBtn{ + display: inline-block; + padding: 3px 8px; + @include bgFontColor(#FFFFFF,#354D93); + opacity: .7; + border-radius: 3px; + text-align: center; + //margin-left: 6px; + cursor: pointer; + } + } } img{ @include wh(35px,15px); @@ -753,7 +804,7 @@ img{ margin-bottom: 10px; } .baseInfo{ - @include wh(100%,276px); + @include wh(100%,286px); } .supplierData{ diff --git a/src/views/workOrder/workOrderReconciliation.vue b/src/views/workOrder/workOrderReconciliation.vue index 80483910..e9e75e8a 100644 --- a/src/views/workOrder/workOrderReconciliation.vue +++ b/src/views/workOrder/workOrderReconciliation.vue @@ -66,7 +66,7 @@
-
+