anytrek-front-public-component 1.4.19 → 1.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -307,21 +307,7 @@ const saveFunctionVehicle = async (
307
307
  | drawerShow | 控制drawer的显示和隐藏 | `Boolean` | false |
308
308
  | loginInfo | 用户信息,包含用户的type和customerId | `Object` | {} |
309
309
  | customerHabit | 用户的偏好设置,包含localTimezone、timeZone | `Object` | {} |
310
- | vehicleData | 新增/编辑的车辆 | `Object` | `{
311
- id: row.id,
312
- name: row.name,
313
- deviceId: row.deviceId,
314
- dataTime: '',
315
- tagContent: row.tagContent,
316
- assetType: row.assetType,
317
- newIcon: row.newIcon,
318
- vehicleTypeId: row.vehicleTypeId,
319
- make: row.make,
320
- year: row.year,
321
- licensePlateNumber: row.licensePlateNumber,
322
- vin: row.vin,
323
- description: row.description,
324
- }` |
310
+ | vehicleData | 新增/编辑的车辆,编辑是需要传id | `Object` | `{ }` |
325
311
  | allAssetTypes | 资产类型列表 | `Array` | [] |
326
312
  | allVehicles | 车辆列表 | `Array` | [] |
327
313
  | allDevices | 设备列表 | `Array` | [] |
@@ -342,6 +328,7 @@ const saveFunctionVehicle = async (
342
328
  | saveFunctionLandmark | landmark保存 | `Function` | |
343
329
 
344
330
 
331
+
345
332
  ## 🧩 Component: `<addOrEditTag>`
346
333
  add or edit tag
347
334
 
@@ -403,17 +390,7 @@ const handleAddBurialPoint = (type: string) => {
403
390
  | drawerShow | 控制drawer的显示和隐藏 | `Boolean` | false |
404
391
  | loginInfo | 用户信息,包含用户的type和customerId | `Object` | {} |
405
392
  | customerHabit | 用户的偏好设置,包含localTimezone、timeZone | `Object` | {} |
406
- | itemData | 新增/编辑的tag | `Object` | `{
407
- id: eleForm.id,
408
- name: eleForm.name,
409
- description: eleForm.description,
410
- content: {
411
- vehicle: vehicle,
412
- device: device,
413
- tag: tag,
414
- landmark: landmark,
415
- },
416
- }` |
393
+ | itemData | 新增/编辑的tag,编辑是需要传id | `Object` | `{ }` |
417
394
  | allVehicles | 车辆列表 | `Array` | [] |
418
395
  | allDevices | 设备列表 | `Array` | [] |
419
396
  | modelTypes | 设备类型列表 | `Object` | {} |