kz-ui-base 2.5.162 → 2.5.164

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.
@@ -63,10 +63,10 @@
63
63
  icon="el-icon-search"
64
64
  size="mini"
65
65
  @click="handleQuery"
66
- >{{ this.t('common.search') }}</el-button
66
+ >{{ t('common.search') }}</el-button
67
67
  >
68
68
  <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
69
- >{{ this.t('common.reset') }}</el-button
69
+ >{{ t('common.reset') }}</el-button
70
70
  >
71
71
  </el-form-item>
72
72
  </el-form>
@@ -139,7 +139,7 @@
139
139
  <el-table-column
140
140
  v-if="listSetting.isShowIndexColumn != false"
141
141
  type="index"
142
- :label="this.t('component.table.serialNumber')"
142
+ :label="t('component.table.serialNumber')"
143
143
  width="50"
144
144
  align="center"
145
145
  >
@@ -256,7 +256,7 @@
256
256
  </template>
257
257
 
258
258
  <el-table-column
259
- :label="this.t('common.operation')"
259
+ :label="t('common.operation')"
260
260
  align="center"
261
261
  min-width="160"
262
262
  class-name="small-padding fixed-width"
@@ -323,13 +323,13 @@
323
323
  icon="el-icon-search"
324
324
  size="mini"
325
325
  @click="doubleHandleQuery(dex)"
326
- >{{ this.t('common.search') }}</el-button
326
+ >{{ t('common.search') }}</el-button
327
327
  >
328
328
  <el-button
329
329
  icon="el-icon-refresh"
330
330
  size="mini"
331
331
  @click="doubleResetQuery(dex)"
332
- >{{ this.t('common.reset') }}</el-button
332
+ >{{ t('common.reset') }}</el-button
333
333
  >
334
334
  </el-form-item>
335
335
  </el-form>
@@ -376,7 +376,7 @@
376
376
  <el-table-column
377
377
  v-if="tableSetting[dex].isShowIndexColumn != false"
378
378
  type="index"
379
- :label="this.t('component.table.serialNumber')"
379
+ :label="t('component.table.serialNumber')"
380
380
  width="50"
381
381
  align="center"
382
382
  >
@@ -414,6 +414,25 @@
414
414
  )
415
415
  }}
416
416
  </div>
417
+ <el-tag
418
+ v-else-if="
419
+ column.setting &&
420
+ column.setting.urlFormat &&
421
+ column.setting.eltag &&
422
+ eltag(scope.row[column.property])
423
+ "
424
+ size="small"
425
+ :type="eltag(scope.row[column.property])"
426
+ disable-transitions
427
+ >
428
+ {{
429
+ tableDisplayFormatByUrl(
430
+ scope.row,
431
+ column,
432
+ scope.row[column.property]
433
+ )
434
+ }}
435
+ </el-tag>
417
436
  <div
418
437
  v-else-if="
419
438
  column.setting &&
@@ -429,6 +448,15 @@
429
448
  )
430
449
  }}
431
450
  </div>
451
+ <div v-else-if="column.setting && column.setting.urlFormat">
452
+ {{
453
+ tableDisplayFormatByUrl(
454
+ scope.row,
455
+ column,
456
+ scope.row[column.property]
457
+ )
458
+ }}
459
+ </div>
432
460
  <div v-else-if="column.htmlFormat">
433
461
  <span
434
462
  v-html="
@@ -498,7 +526,7 @@
498
526
  </template>
499
527
 
500
528
  <el-table-column
501
- :label="this.t('common.operation')"
529
+ :label="t('common.operation')"
502
530
  align="center"
503
531
  min-width="160"
504
532
  class-name="small-padding fixed-width"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kz-ui-base",
3
- "version": "2.5.162",
3
+ "version": "2.5.164",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {