ol-base-components 3.2.8 → 3.2.9
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/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -278,101 +278,42 @@ export default {
|
|
|
278
278
|
// inputType: "text"
|
|
279
279
|
// }
|
|
280
280
|
],
|
|
281
|
-
tableSearch: [
|
|
282
|
-
{
|
|
283
|
-
label: "选项1",
|
|
284
|
-
value: "code1",
|
|
285
|
-
inputType: "text",
|
|
286
|
-
compare: "contains",
|
|
287
|
-
children: [],
|
|
288
|
-
props: {},
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
label: "选项2",
|
|
292
|
-
value: "code2",
|
|
293
|
-
inputType: "number",
|
|
294
|
-
compare: "eq",
|
|
295
|
-
children: [],
|
|
296
|
-
props: {},
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
label: "选项3",
|
|
300
|
-
value: "code3",
|
|
301
|
-
inputType: "select",
|
|
302
|
-
compare: "eq",
|
|
303
|
-
children: [
|
|
304
|
-
{
|
|
305
|
-
key: 0,
|
|
306
|
-
value: "货位点",
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
key: 1,
|
|
310
|
-
value: "环线载货通道点",
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
key: 2,
|
|
314
|
-
value: "其它载货通道点",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
key: 3,
|
|
318
|
-
value: "提升机点",
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
key: 4,
|
|
322
|
-
value: "充电点",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
key: 5,
|
|
326
|
-
value: "暂停位点",
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
key: 6,
|
|
330
|
-
value: "提升机等待位",
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
key: 7,
|
|
334
|
-
value: "入库口",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
key: 8,
|
|
338
|
-
value: "出库口",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
key: 9,
|
|
342
|
-
value: "地图外",
|
|
343
|
-
},
|
|
344
|
-
],
|
|
345
|
-
props: {},
|
|
346
|
-
optionSource: {
|
|
347
|
-
sourceType: "dict",
|
|
348
|
-
dictKey: "pointType",
|
|
349
|
-
apiUrl: "",
|
|
350
|
-
valueField: "id",
|
|
351
|
-
labelField: "name",
|
|
352
|
-
options: [],
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
],
|
|
281
|
+
tableSearch: [],
|
|
356
282
|
customs: [
|
|
357
283
|
{
|
|
358
|
-
name: "
|
|
359
|
-
key: "code1",
|
|
284
|
+
name: "库位编码",
|
|
360
285
|
keyType: 1,
|
|
286
|
+
key: "WarehouseLocationCode",
|
|
287
|
+
enumName: null,
|
|
288
|
+
custom: false,
|
|
361
289
|
},
|
|
362
290
|
{
|
|
363
|
-
name: "
|
|
364
|
-
|
|
365
|
-
|
|
291
|
+
name: "使用状态",
|
|
292
|
+
keyType: 3,
|
|
293
|
+
key: "UsageStatus",
|
|
294
|
+
enumName: "usageStatusEnum",
|
|
295
|
+
custom: false,
|
|
366
296
|
},
|
|
367
297
|
{
|
|
368
|
-
name: "
|
|
369
|
-
|
|
370
|
-
|
|
298
|
+
name: "是否启用",
|
|
299
|
+
keyType: 1,
|
|
300
|
+
key: "Enabled",
|
|
301
|
+
enumName: null,
|
|
302
|
+
custom: false,
|
|
371
303
|
},
|
|
372
304
|
{
|
|
373
|
-
name: "
|
|
374
|
-
key: "code4",
|
|
305
|
+
name: "创建时间",
|
|
375
306
|
keyType: 4,
|
|
307
|
+
key: "CreationTime",
|
|
308
|
+
enumName: null,
|
|
309
|
+
custom: false,
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: "备注",
|
|
313
|
+
keyType: 1,
|
|
314
|
+
key: "Remark",
|
|
315
|
+
enumName: null,
|
|
316
|
+
custom: false,
|
|
376
317
|
},
|
|
377
318
|
],
|
|
378
319
|
},
|
|
@@ -853,6 +853,11 @@ export default {
|
|
|
853
853
|
valueFormat: "yyyy-MM-dd",
|
|
854
854
|
format: "yyyy/MM/dd",
|
|
855
855
|
};
|
|
856
|
+
} else if (custom.keyType === 3) {
|
|
857
|
+
newItem.optionSource = {
|
|
858
|
+
sourceType: "dict",
|
|
859
|
+
dictKey: custom.enumName,
|
|
860
|
+
};
|
|
856
861
|
}
|
|
857
862
|
|
|
858
863
|
this.configList.push(newItem);
|