工单详情,‘生成司机信息’格式更改
This commit is contained in:
@@ -190,13 +190,13 @@ export default {
|
|||||||
'车牌:':this.orderDetailInfo.vehiclePlateNumber,
|
'车牌:':this.orderDetailInfo.vehiclePlateNumber,
|
||||||
'手机:':this.orderDetailInfo.driverPhone,
|
'手机:':this.orderDetailInfo.driverPhone,
|
||||||
}
|
}
|
||||||
let data = {"action":"copyToClipboard","params":JSON.stringify(params)}
|
let data = {"action":"copyToClipboard","params":params}
|
||||||
var u = navigator.userAgent;
|
var u = navigator.userAgent;
|
||||||
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||||
if(isiOS){
|
if(isiOS){
|
||||||
window.webkit.messageHandlers.nativeObject.postMessage(data);
|
window.webkit.messageHandlers.nativeObject.postMessage(data);
|
||||||
}else {
|
}else {
|
||||||
window.android.copyToClipboard(JSON.stringify(params));
|
window.android.copyToClipboard(params);
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
this.$toast('未获取到司机信息')
|
this.$toast('未获取到司机信息')
|
||||||
|
|||||||
Reference in New Issue
Block a user