anytrek-front-public-component 1.4.82 → 1.4.84
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 +12 -0
- package/anytrek-front-public-component.mjs +18976 -18369
- package/anytrek-front-public-component.umd.js +40 -55
- package/package.json +1 -1
- package/style.css +1 -1
package/README.md
CHANGED
|
@@ -233,6 +233,7 @@ add or edit vehicle
|
|
|
233
233
|
:searhTrimblemapAddress="searhTrimblemapAddress"
|
|
234
234
|
:saveFunctionLandmark="saveFunctionLandmark"
|
|
235
235
|
:conDetSensorList="conDetSensorList"
|
|
236
|
+
:needConDetSensor="needConDetSensor"
|
|
236
237
|
></add-or-edit-vehicle>
|
|
237
238
|
```
|
|
238
239
|
|
|
@@ -304,6 +305,14 @@ const saveFunctionVehicle = async (
|
|
|
304
305
|
]);
|
|
305
306
|
|
|
306
307
|
if (!res || res.errorCode) return failFn();
|
|
308
|
+
if (Array.isArray(result) && result[0].errorCode) {
|
|
309
|
+
let errorCode = result[0].errorCode;
|
|
310
|
+
|
|
311
|
+
const errLang1 = errLang[errorCode as string];
|
|
312
|
+
const errMessage = errLang1 || `Error Code: ${errorCode}`;
|
|
313
|
+
|
|
314
|
+
return failFn(errMessage);
|
|
315
|
+
}
|
|
307
316
|
}
|
|
308
317
|
|
|
309
318
|
if (!result || result.errorCode) return failFn();
|
|
@@ -338,6 +347,7 @@ const saveFunctionVehicle = async (
|
|
|
338
347
|
| searhTrimblemapAddress |查询地址api | `Function` | |
|
|
339
348
|
| saveFunctionLandmark | landmark保存 | `Function` | |
|
|
340
349
|
| conDetSensorList | 传感器列表 | `Array` | [] |
|
|
350
|
+
| needConDetSensor | 是否显示集装箱检测传感器功能 | `Boolean` | true |
|
|
341
351
|
|
|
342
352
|
|
|
343
353
|
|
|
@@ -369,6 +379,7 @@ add or edit tag
|
|
|
369
379
|
:searhTrimblemapAddress="searhTrimblemapAddress"
|
|
370
380
|
:saveFunctionLandmark="saveFunctionLandmark"
|
|
371
381
|
:conDetSensorList="conDetSensorList"
|
|
382
|
+
:needConDetSensor="needConDetSensor"
|
|
372
383
|
></add-or-edit-tag>
|
|
373
384
|
```
|
|
374
385
|
|
|
@@ -422,6 +433,7 @@ const handleAddBurialPoint = (type: string) => {
|
|
|
422
433
|
| searhTrimblemapAddress |查询地址api | `Function` | |
|
|
423
434
|
| saveFunctionLandmark | landmark保存 | `Function` | |
|
|
424
435
|
| conDetSensorList | 传感器列表 | `Array` | [] |
|
|
436
|
+
| needConDetSensor | 是否显示集装箱检测传感器功能 | `Boolean` | true |
|
|
425
437
|
|
|
426
438
|
|
|
427
439
|
## 🧩 Component: `<addOrEditLandmark>`
|