CRM_26-01-29#story#8070,调度APP-司机信息复制-仅子公司

This commit is contained in:
2026-01-27 15:12:39 +08:00
parent 19c5809af2
commit 044832a8f7

View File

@@ -174,14 +174,17 @@ export default {
'车牌:':this.orderDetailInfo.plateNumber,
'手机:':this.orderDetailInfo.driverPhone,
}
console.log('')
let data = {"action":"copyToClipboard","params":params}
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.copyToClipboard(params);
window.android.copyToClipboard(JSON.stringify(params));
}
}else {
this.$toast('未获取到司机信息')
}
},
async getDetail(){