wenhongquan 3 years ago
parent
commit
6468bcc667
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/api/resource.ts
  2. 1 1
      src/components/MarkerMap/dialog.ts

+ 1 - 0
src/api/resource.ts

@@ -21,6 +21,7 @@ export interface ResourceListItem {
 export interface GetResourceListParams {
   name?: string;
   manageUnit?: string; // 管理单位
+  carType?: null;
   resourceType: 1 | 2 | 3; // 资源类型。1-仓库。2-队伍.3-车辆
 }
 

+ 1 - 1
src/components/MarkerMap/dialog.ts

@@ -139,7 +139,7 @@ export const GET_VEHICLES_DIALOG_HTML = (item: ResourceItemDetail) => {
       <div class="content">
         <div><span>车牌号:</span><span>${item.name ?? '-'}</span></div>
         <div><span>管理单位:</span><span>${item.manageUnit ?? '-'}</span></div>
-        <div><span>车辆类型:</span><span>-</span></div>
+        <div><span>车辆类型:</span><span>${item.carType ?? '-'}</span></div>
       </div>
       <i class="card-border-bottom-left"></i>
       <i class="card-border-bottom-right"></i>