task#10950,记账界面,显示一个查看照片的按钮。
This commit is contained in:
@ -235,19 +235,6 @@ export default {
|
|||||||
z-index: 1111111;
|
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{
|
.common{
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
|
@ -51,7 +51,11 @@
|
|||||||
<span class="titleLeft">扣除责任险费:</span>
|
<span class="titleLeft">扣除责任险费:</span>
|
||||||
<span class="content">{{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount}}</span>
|
<span class="content">{{orderInfo.policyAmount}} {{orderInfo.cutInsuranceAmount}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="item">
|
||||||
|
<span class="leftTitle fontColor">工单照片:</span><span class="rightContent">
|
||||||
|
<span class="driverPoiBtn" @click="checkPhoto">查看照片</span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="supplierData common" v-show="!auditFormShow">
|
<div class="supplierData common" v-show="!auditFormShow">
|
||||||
<div class="title">供应商数据:</div>
|
<div class="title">供应商数据:</div>
|
||||||
@ -379,6 +383,25 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods:{
|
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) {
|
previewPhoto(index) {
|
||||||
let url=[]
|
let url=[]
|
||||||
this.auditPhotoList.forEach((item)=>{
|
this.auditPhotoList.forEach((item)=>{
|
||||||
@ -470,6 +493,7 @@ export default {
|
|||||||
})
|
})
|
||||||
if(res.code === 200){
|
if(res.code === 200){
|
||||||
this.orderInfo=res.data
|
this.orderInfo=res.data
|
||||||
|
console.log("this.orderInfo",this.orderInfo)
|
||||||
this.serviceType=this.orderInfo.serviceName
|
this.serviceType=this.orderInfo.serviceName
|
||||||
this.taskFlowId=this.orderInfo.taskFlowId
|
this.taskFlowId=this.orderInfo.taskFlowId
|
||||||
this.settleType=this.orderInfo.settleType?.label
|
this.settleType=this.orderInfo.settleType?.label
|
||||||
@ -741,6 +765,33 @@ export default {
|
|||||||
opacity: .5;
|
opacity: .5;
|
||||||
line-height: 27px;
|
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{
|
img{
|
||||||
@include wh(35px,15px);
|
@include wh(35px,15px);
|
||||||
@ -753,7 +804,7 @@ img{
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.baseInfo{
|
.baseInfo{
|
||||||
@include wh(100%,276px);
|
@include wh(100%,286px);
|
||||||
|
|
||||||
}
|
}
|
||||||
.supplierData{
|
.supplierData{
|
||||||
|
Reference in New Issue
Block a user