Commit a69901c6 by zhangxw

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

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