anytrek-front-public-component 1.4.16 → 1.4.17

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
@@ -204,7 +204,7 @@ add or edit vehicle
204
204
  :loginInfo="loginInfo"
205
205
  :customerHabit="customerHabit"
206
206
  :vehicleData="drawerForm"
207
- :allAssetTypes="vehicleType"
207
+ :allAssetTypes="allAssetTypes"
208
208
  :allVehicles="allVehicles"
209
209
  :allDevices="allDevices"
210
210
  :modelTypes="modelTypes"
@@ -213,8 +213,15 @@ add or edit vehicle
213
213
  :assetTypeFn="assetTypeFn"
214
214
  :bindDeviceHis="bindDeviceHis"
215
215
  :deviceBindTimeLimit="deviceBindTimeLimit"
216
- :saveFunction="saveFunctionVehicle"
217
- @jump="handleJumpNew"
216
+ :saveFunctionVehicle="saveFunctionVehicle"
217
+ :allLandmarks="allLandmarks"
218
+ :landmarkGroup="landmarkGroup"
219
+ :saveFunctionTag="saveFunctionTag"
220
+ :unitAllState="unitAllState"
221
+ :GOOGLE_MAP_API_KEY="GOOGLE_MAP_API_KEY"
222
+ :MAP_STYLES="MAP_STYLES"
223
+ :searhTrimblemapAddress="searhTrimblemapAddress"
224
+ :saveFunctionLandmark="saveFunctionLandmark"
218
225
  ></add-or-edit-vehicle>
219
226
  ```
220
227
 
@@ -259,7 +266,7 @@ const deviceBindTimeLimit = async (deviceId: any) => {
259
266
  }
260
267
  };
261
268
 
262
- const saveFunction = async (
269
+ const saveFunctionVehicle = async (
263
270
  params: any,
264
271
  flag = false,
265
272
  successFn: Function,
@@ -324,8 +331,15 @@ const saveFunction = async (
324
331
  | assetTypeFn |资产类型新增/删除方法 | `Function` | |
325
332
  | bindDeviceHis |车辆绑定历史记录 | `Function` | |
326
333
  | deviceBindTimeLimit | 设备绑定时间限制 | `Function` | |
327
- | saveFunction | 车辆保存 | `Function` | |
328
- | @jump |跳转,参数是字符串,跳转的url | `Function` | |
334
+ | saveFunctionVehicle | 车辆保存 | `Function` | |
335
+ | allLandmarks | landmark列表 | `Array` | [] |
336
+ | landmarkGroup | landmarkGroup列表 | `Array` | [] |
337
+ | saveFunctionTag | tag保存 | `Function` | |
338
+ | unitAllState | 城市列表 | `Array` | [] |
339
+ | GOOGLE_MAP_API_KEY | 地图apikey | `String` | |
340
+ | MAP_STYLES | 地图样式 | `Array` | [] |
341
+ | searhTrimblemapAddress |查询地址api | `Function` | |
342
+ | saveFunctionLandmark | landmark保存 | `Function` | |
329
343
 
330
344
 
331
345
  ## 🧩 Component: `<addOrEditTag>`
@@ -335,15 +349,26 @@ add or edit tag
335
349
  <add-or-edit-tag
336
350
  v-model="drawerShow"
337
351
  :loginInfo="loginInfo"
352
+ :customerHabit="customerHabit"
338
353
  :itemData="drawerForm"
339
354
  :allVehicles="allVehicles"
355
+ :allAssetTypes="allAssetTypes"
340
356
  :allDevices="allDevices"
357
+ :modelTypes="modelTypes"
358
+ :allVehicleToDevice="allVehicleToDevice"
341
359
  :allTags="allTags"
342
- :allLandmark="allLandmarks"
360
+ :allLandmarks="allLandmarks"
343
361
  :landmarkGroup="landmarkGroup"
344
- :saveFunction="saveFunctionTag"
345
- @addBurialPoint="handleAddBurialPoint"
346
- @jump="handleJumpNew"
362
+ :saveFunctionTag="saveFunctionTag"
363
+ :assetTypeFn="assetTypeFn"
364
+ :bindDeviceHis="bindDeviceHis"
365
+ :deviceBindTimeLimit="deviceBindTimeLimit"
366
+ :saveFunctionVehicle="saveFunctionVehicle"
367
+ :unitAllState="unitAllState"
368
+ :GOOGLE_MAP_API_KEY="GOOGLE_MAP_API_KEY"
369
+ :MAP_STYLES="MAP_STYLES"
370
+ :searhTrimblemapAddress="searhTrimblemapAddress"
371
+ :saveFunctionLandmark="saveFunctionLandmark"
347
372
  ></add-or-edit-tag>
348
373
  ```
349
374
 
@@ -377,6 +402,7 @@ const handleAddBurialPoint = (type: string) => {
377
402
  | ---------- | --------------------- | ---------------- | ------------------- |
378
403
  | drawerShow | 控制drawer的显示和隐藏 | `Boolean` | false |
379
404
  | loginInfo | 用户信息,包含用户的type和customerId | `Object` | {} |
405
+ | customerHabit | 用户的偏好设置,包含localTimezone、timeZone | `Object` | {} |
380
406
  | itemData | 新增/编辑的tag | `Object` | {
381
407
  id: eleForm.id,
382
408
  name: eleForm.name,
@@ -390,12 +416,21 @@ const handleAddBurialPoint = (type: string) => {
390
416
  } |
391
417
  | allVehicles | 车辆列表 | `Array` | [] |
392
418
  | allDevices | 设备列表 | `Array` | [] |
419
+ | modelTypes | 设备类型列表 | `Array` | [] |
420
+ | allVehicleToDevice | 车辆设备绑定关系列表 | `Array` | [] |
393
421
  | allTags | tag列表 | `Array` | [] |
394
- | allLandmark | landmark列表 | `Array` | [] |
422
+ | allLandmarks | landmark列表 | `Array` | [] |
395
423
  | landmarkGroup | landmarkGroup列表 | `Array` | [] |
396
- | saveFunction | tag保存 | `Function` | |
397
- | @jump |跳转,参数是字符串,跳转的url | `Function` | |
398
- | addBurialPoint | 添加埋点 | `Function` | |
424
+ | saveFunctionTag | tag保存 | `Function` | |
425
+ | assetTypeFn |资产类型新增/删除方法 | `Function` | |
426
+ | bindDeviceHis |车辆绑定历史记录 | `Function` | |
427
+ | deviceBindTimeLimit | 设备绑定时间限制 | `Function` | |
428
+ | saveFunctionVehicle | 车辆保存 | `Function` | |
429
+ | unitAllState | 城市列表 | `Array` | [] |
430
+ | GOOGLE_MAP_API_KEY | 地图apikey | `String` | |
431
+ | MAP_STYLES | 地图样式 | `Array` | [] |
432
+ | searhTrimblemapAddress |查询地址api | `Function` | |
433
+ | saveFunctionLandmark | landmark保存 | `Function` | |
399
434
 
400
435
 
401
436
  ## 🧩 Component: `<addOrEditLandmark>`
@@ -410,7 +445,7 @@ add or edit landmark
410
445
  :MAP_STYLES="MAP_STYLES"
411
446
  :allLandmarkGroup="landmarkGroup"
412
447
  :searhTrimblemapAddress="searhTrimblemapAddress"
413
- :saveFunction="saveFunctionLandmark"
448
+ :saveFunctionLandmark="saveFunctionLandmark"
414
449
  @addGroup="handleAddGroup"
415
450
  ></add-or-edit-landmark>
416
451
  ```
@@ -422,7 +457,7 @@ const searhTrimblemapAddress = async (params: any) => {
422
457
  return res;
423
458
  };
424
459
 
425
- const saveFunction = async (
460
+ const saveFunctionLandmark = async (
426
461
  params: any,
427
462
  successFn: Function,
428
463
  failFn: Function,
@@ -457,5 +492,5 @@ const handleAddGroup = (params: any) => {
457
492
  | MAP_STYLES | 地图样式 | `Array` | [] |
458
493
  | allLandmarkGroup | landmarkGroup列表 | `Array` | [] |
459
494
  | searhTrimblemapAddress |查询地址api | `Function` | |
460
- | saveFunction | landmark保存 | `Function` | |
495
+ | saveFunctionLandmark | landmark保存 | `Function` | |
461
496
  | @addGroup | 新增group | `Function` | |