Commit a1f24440 by 张晓玮

Merge branch 'zxw-v1.8.0' into 'v1.8.0'

Zxw v1.8.0

See merge request !42
2 parents 9ee78ced 52502543
......@@ -201,12 +201,16 @@ export default {
vehicleId: row.vehicleId
}
let path = `#/alarmCenter/alarm/detail?${qs.stringify(oParams)}`;
window.open(path)
// window.open(path)
var newwindow = window.open('_blank');
newwindow.location = path;
},
// 处理日志
jumpHandleLog() {
let path = `#/alarmCenter/alarmLog`;
window.open(path)
// window.open(path)
var newwindow = window.open('_blank');
newwindow.location = path;
}
},
};
......
......@@ -505,20 +505,26 @@ export default {
// 跳转通用防拆报警
goTamper() {
let path = `#/alarmCenter/tamper?vin=${this.detailInfo.vin}`;
window.open(path)
// window.open(path)
var newwindow = window.open('_blank');
newwindow.location = path;
},
// 监控车辆
goMonitor() {
let o = this.detailInfo;
let path = `/oEshield#/monitor/monitor`;
window.open(`${path}?vin=${o.vin}`);
let path = `/oEshield#/monitor/monitor?vin=${o.vin}`;
// window.open(`${path}?vin=${o.vin}`);
var newwindow = window.open('_blank');
newwindow.location = path;
},
// 跳转通用里程详情
goMileageGeneralDetail() {
let o = this.detailInfo;
let wiredSn = o.wiredSns && o.wiredSns[0] && o.wiredSns[0].sn
let path = `/trialRun#/reportManage/mileageGeneralDetail?sn=${wiredSn}`
window.open(path)
// window.open(path)
var newwindow = window.open('_blank');
newwindow.location = path;
}
},
};
......
......@@ -130,7 +130,7 @@ export default {
let textResult = []
let label = ['措施', '备注']
filedList.map((val, index) => {
textResult.push(hasLabel ? label[index] + ':' + (row[val] || '--') : (row[val] || '--'))
textResult.push(hasLabel ? `<span style="overflow: hidden;text-overflow: ellipsis; white-space: nowrap;margin: 5px 0;">${label[index] + ':' + (row[val] || '--')}</span>` : `${(row[val] || '--')}`)
})
return textResult.join(` ${type} `)
},
......@@ -181,7 +181,9 @@ export default {
vehicleId: row.vehicleId
}
let path = `#/alarmCenter/alarm/detail?${qs.stringify(oParams)}`;
window.open(path)
// window.open(path)
var newwindow = window.open('_blank');
newwindow.location = path;
},
},
};
......@@ -204,4 +206,7 @@ export default {
}
}
}
.el-tooltip__popper{
width: 30%;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!