t20-common-lib 0.12.22 → 0.12.23

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.12.22",
3
+ "version": "0.12.23",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -29,6 +29,7 @@
29
29
  :validate-event="false"
30
30
  clearable
31
31
  @input="debounce(searchTree, 1000)"
32
+ :placeholder="$lc('请输入')"
32
33
  class="input-w nstc-unit-search"
33
34
  ></el-input>
34
35
  <Filters :isEnableCommonConfigControl="isEnableCommonConfigControl" @filterChange="filterChange" v-bind="$attrs" />
@@ -50,6 +51,7 @@
50
51
  <button
51
52
  type="button"
52
53
  @click="changeType('list')"
54
+ v-title="$lc('列表结构')"
53
55
  :class="
54
56
  isList ? 'el-button--primary' : 'el-button--default is-plain'
55
57
  "
@@ -67,6 +69,7 @@
67
69
  v-if="showAllCheck && !single"
68
70
  v-model="checkD"
69
71
  class="m-l-lg nstc-unit-content-heightfix"
72
+ :label="$lc('全部单位')"
70
73
  @change="handleCheckBox"
71
74
  />
72
75
  <Tree
@@ -32,6 +32,7 @@
32
32
  :validate-event="false"
33
33
  clearable
34
34
  @input="debounce(searchTree, 1000)"
35
+ :placeholder="$lc('请输入')"
35
36
  class="input-w nstc-unit-search"
36
37
  ></el-input>
37
38
  <Filters :isEnableCommonConfigControl="isEnableCommonConfigControl" @filterChange="filterChange" v-bind="$attrs" />
@@ -9,6 +9,7 @@
9
9
  :multiple="item.multiple"
10
10
  v-model="searchForm[item.prop]"
11
11
  :validate-event="false"
12
+ :placeholder="$lc('请选择')"
12
13
  @change="(val) => handleSearch(val, item)"
13
14
  >
14
15
  <el-option
package/src/i18n.json CHANGED
@@ -31,5 +31,11 @@
31
31
  },
32
32
  "取消勾选所有下级单位": {
33
33
  "en": "Unselect all sub-units"
34
+ },
35
+ "请选择": {
36
+ "en": "Please select"
37
+ },
38
+ "请输入": {
39
+ "en": "Please enter"
34
40
  }
35
41
  }