Commit a69901c6 by zhangxw

找车页 选择框分享者打开显示车牌号

1 parent 020dbcc8
......@@ -258,6 +258,11 @@ export default defineComponent({
routeQuery.value.vin == "undefined"
? "--"
: routeQuery.value.vin,
licensePlate:
routeQuery.value.licensePlate == "null" ||
routeQuery.value.licensePlate == "undefined"
? undefined
: routeQuery.value.licensePlate,
};
getCarInfo(carItem.value);
}
......@@ -278,6 +283,11 @@ export default defineComponent({
routeQuery.value.vin == "undefined"
? "--"
: routeQuery.value.vin,
licensePlate:
routeQuery.value.licensePlate == "null" ||
routeQuery.value.licensePlate == "undefined"
? undefined
: routeQuery.value.licensePlate,
};
getCarInfo(carItem.value);
}
......@@ -289,9 +299,17 @@ export default defineComponent({
(val) => {
if (val && val.sn) {
carItem.value = {
id: val.id,
sns: val.sn,
ownerName: val.ownerName == "null" ? "--" : val.ownerName,
vin: val.vin == "null" ? "--" : val.vin,
ownerName:
val.ownerName == "null" || val.ownerName == "undefined"
? "--"
: val.ownerName,
vin: val.vin == "null" || val.vin == "undefined" ? "--" : val.vin,
licensePlate:
val.licensePlate == "null" || val.licensePlate == "undefined"
? undefined
: val.licensePlate,
};
getCarInfo(carItem.value);
}
......@@ -784,6 +802,7 @@ export default defineComponent({
z-index: 102;
position: absolute;
top: 0;
background: rgba(0, 0, 0, 0);
.search-header {
box-shadow: 0px 5px 12px 0px rgba(0, 0, 0, 0.06);
border-radius: 6px;
......
......@@ -268,7 +268,6 @@ export default defineComponent({
// 查询参数
const getParams = () => {
eParams.value = {
speed: speedId.value,
startTime: searchTime.value[0],
endTime: searchTime.value[1],
locationType: 0,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!