From 8e2829ff083cbdae57c2c1cf11367a056eac1105 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Mon, 19 Feb 2024 16:57:36 +0800 Subject: [PATCH] =?UTF-8?q?task#10950,=E8=AE=B0=E8=B4=A6=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E6=98=BE=E7=A4=BA=E4=B8=80=E4=B8=AA=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=85=A7=E7=89=87=E7=9A=84=E6=8C=89=E9=92=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/workOrderDetail.vue | 13 ----- src/views/workOrder/accounting.vue | 55 ++++++++++++++++++- .../workOrder/workOrderReconciliation.vue | 2 +- 3 files changed, 54 insertions(+), 16 deletions(-) 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 @@
-
+