htui-yllkbz 1.3.13 → 1.3.16

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htui-yllkbz",
3
- "version": "1.3.13",
3
+ "version": "1.3.16",
4
4
  "typings": "types/index.d.ts",
5
5
  "main": "lib/htui.common.js",
6
6
  "style": "lib/htui.css",
@@ -0,0 +1,14 @@
1
+ /*
2
+ * @Descripttion:选择部门
3
+ * @version:
4
+ * @Author: hutao
5
+ * @Date: 2021-11-15 15:00:57
6
+ * @LastEditors: hutao
7
+ * @LastEditTime: 2022-04-12 17:59:54
8
+ */
9
+ import HtOrgInfo from "./index.vue";
10
+ (HtOrgInfo as any).install = function (Vue: any) {
11
+
12
+ Vue.component("HtOrgInfo", HtOrgInfo);
13
+ };
14
+ export default HtOrgInfo;
@@ -0,0 +1,77 @@
1
+ <!--
2
+ * @Descripttion:
3
+ * @version:
4
+ * @Author: hutao
5
+ * @Date: 2021-07-14 16:40:33
6
+ * @LastEditors: hutao
7
+ * @LastEditTime: 2022-04-12 18:00:15
8
+ -->
9
+ <template>
10
+ <div :style="wapperStyle"
11
+ v-if="orgId">
12
+ <el-tag type="success"
13
+ size="medium"
14
+ v-if="type==='tag'"
15
+ :style="comStyle">
16
+ {{getOrgNameFunc(orgId)}}
17
+ </el-tag>
18
+ <span v-else
19
+ :style="comStyle">
20
+ {{getOrgNameFunc(orgId)}}
21
+ </span>
22
+ </div>
23
+ </template>
24
+ <script lang='ts'>
25
+ import { Component, Vue, Prop } from "vue-property-decorator";
26
+ interface State {
27
+ /** 数据状态 */
28
+ loading: boolean;
29
+ }
30
+ @Component({
31
+ name: "HtOrgInfo",
32
+ })
33
+ export default class Index extends Vue {
34
+ /** 是否用tag标签展示 tag表示是 */
35
+ @Prop() type!: string;
36
+ /** 机构id */
37
+ @Prop() orgId!: string;
38
+ /** 节点样式 */
39
+ @Prop() comStyle!: string;
40
+ /** 外层样式 */
41
+ @Prop() wapperStyle!: string;
42
+
43
+ /** 数据 */
44
+ state: State = {
45
+ loading: false,
46
+ };
47
+ /** 生命周期 */
48
+ /** 方法 */
49
+ /** 监听 */
50
+ /** 计算属性 */
51
+ /** 查询所属部门 */
52
+ getOrgNameFunc(id: string | undefined) {
53
+ // console.log("id", id);
54
+ let commonDatas: any = window.localStorage.getItem("commonDatas");
55
+ let getOrganizaList: any[] = [];
56
+ if (commonDatas) {
57
+ commonDatas = JSON.parse(commonDatas);
58
+ getOrganizaList = commonDatas.organizationUnit;
59
+ }
60
+ if (id) {
61
+ return this.getOrgName(id, getOrganizaList);
62
+ } else {
63
+ return "";
64
+ }
65
+ }
66
+ getOrgName(id: string, list: any[]) {
67
+ const arr = list.filter((item) => id === item.id);
68
+
69
+ if (arr.length) {
70
+ return arr[0].displayName;
71
+ } else {
72
+ return "--";
73
+ }
74
+ }
75
+ }
76
+ </script>
77
+ <style lang='scss' scoped></style>
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 15:47:47
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-03-08 14:47:24
7
+ * @LastEditTime: 2022-04-12 18:12:54
8
8
  -->
9
9
 
10
10
  <template>
@@ -24,12 +24,19 @@
24
24
 
25
25
  </template>
26
26
  <div v-else>
27
- <div is='common-datas-info-id'
27
+ <HtShowBaseData v-if="this.value"
28
+ :hide-code="hideCode"
29
+ :base-data-id='this.value'
30
+ :base-data-info='true'
31
+ com-style="font-size:12px"
32
+ style="font-size:12px">
33
+ </HtShowBaseData>
34
+ <!-- <div is='common-datas-info-id'
28
35
  com-style="font-size:12px"
29
36
  v-if="this.value"
30
37
  :hide-code="hideCode"
31
38
  :base-data-id='this.value'
32
- :base-data-info='true'></div>
39
+ :base-data-info='true'></div> -->
33
40
  </div>
34
41
 
35
42
  </div>
@@ -37,6 +44,7 @@
37
44
  </template>
38
45
  <script lang='ts'>
39
46
  import { Component, Prop, Vue, Watch } from "vue-property-decorator";
47
+ import HtShowBaseData from "@/packages/HtShowBaseData";
40
48
  interface State {
41
49
  /** 数据状态 */
42
50
  loading: boolean;
@@ -44,6 +52,9 @@ interface State {
44
52
  }
45
53
  @Component({
46
54
  name: "HtSelectBaseData",
55
+ components: {
56
+ HtShowBaseData,
57
+ },
47
58
  })
48
59
  export default class HtSelectBaseData extends Vue {
49
60
  @Prop() value!: string;
@@ -4,14 +4,13 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 14:29:14
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-03-08 14:53:19
7
+ * @LastEditTime: 2022-04-12 18:12:02
8
8
  -->
9
9
  <template>
10
10
  <span v-if="readonly">
11
11
 
12
- <div is='common-datas-info-id'
13
- v-if="value"
14
- :department-id="JSON.stringify([value])"></div>
12
+ <HtShowBaseData v-if="value"
13
+ :department-id="JSON.stringify([value])"></HtShowBaseData>
15
14
  <span v-else> </span>
16
15
  </span>
17
16
  <div v-else
@@ -25,12 +24,16 @@
25
24
  </template>
26
25
  <script lang='ts'>
27
26
  import { Component, Prop, Vue } from "vue-property-decorator";
27
+ import HtShowBaseData from "@/packages/HtShowBaseData";
28
28
  interface State {
29
29
  /** 数据状态 */
30
30
  loading: boolean;
31
31
  }
32
32
  @Component({
33
33
  name: "HtSelectOrg",
34
+ components: {
35
+ HtShowBaseData,
36
+ },
34
37
  })
35
38
  export default class HtSelectOrg extends Vue {
36
39
  @Prop() value!: string;
@@ -4,17 +4,15 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-12-30 14:29:14
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-03-08 14:55:09
7
+ * @LastEditTime: 2022-04-12 18:12:09
8
8
  -->
9
9
  <template>
10
10
 
11
11
  <span v-if="readonly">
12
- <div is='common-datas-info-id'
13
- v-if="value"
14
- :user-id="JSON.stringify([value])"></div>
12
+ <HtShowBaseData v-if="value"
13
+ :user-id="JSON.stringify([value])"></HtShowBaseData>
15
14
  <span v-else> </span>
16
15
  </span>
17
-
18
16
  <div v-else
19
17
  :disabled="disabled"
20
18
  is="common-datas-info"
@@ -26,12 +24,16 @@
26
24
  </template>
27
25
  <script lang='ts'>
28
26
  import { Component, Prop, Vue } from "vue-property-decorator";
27
+ import HtShowBaseData from "@/packages/HtShowBaseData";
29
28
  interface State {
30
29
  /** 数据状态 */
31
30
  loading: boolean;
32
31
  }
33
32
  @Component({
34
33
  name: "HtSelectUser",
34
+ components: {
35
+ HtShowBaseData,
36
+ },
35
37
  })
36
38
  export default class HtSelectUser extends Vue {
37
39
  @Prop() value!: string;
@@ -0,0 +1,15 @@
1
+ /*
2
+ * @Descripttion: 基础数据展示组件
3
+ * @version:
4
+ * @Author: hutao
5
+ * @Date: 2022-04-12 17:34:51
6
+ * @LastEditors: hutao
7
+ * @LastEditTime: 2022-04-12 17:43:38
8
+ */
9
+
10
+ import HtShowBaseData from "./index.vue";
11
+ (HtShowBaseData as any).install = function (Vue: any) {
12
+
13
+ Vue.component("HtShowBaseData", HtShowBaseData);
14
+ };
15
+ export default HtShowBaseData;
@@ -0,0 +1,316 @@
1
+ <template>
2
+ <div class="show-common-item">
3
+ <!-- 时间 -->
4
+ <template v-if="timeStr">
5
+ <span>
6
+ {{ timeFormat }}
7
+ </span>
8
+ </template>
9
+ <!-- 部门 -->
10
+ <template v-if="departmentId">
11
+ <span class="item"
12
+ v-for="item in departmentData"
13
+ :key="item">
14
+ {{ getorgById(item).displayName || empty }}
15
+ </span>
16
+ </template>
17
+ <!-- 用户 -->
18
+ <template v-if="userId">
19
+ <span class="item"
20
+ v-for="item in userData"
21
+ :key="item.id">
22
+ {{ item.value || empty }}
23
+ </span>
24
+ </template>
25
+ <!-- 角色 -->
26
+ <template v-if="roleId">
27
+ <span class="item"
28
+ v-for="item in roleData"
29
+ :key="item.id">
30
+ {{ item.name || empty }}
31
+ </span>
32
+ </template>
33
+ <!-- 基础数据,以id查找 -->
34
+ <template v-if="baseDataId">
35
+ <span class="item"
36
+ v-if="baseDataItem[baseDataId]">
37
+ <!-- {{ baseDataItem[baseDataId].name || empty }}
38
+ <span v-if="baseDataInfo&&!hideCode">
39
+ ({{ baseDataItem[baseDataId].value || empty }})
40
+ </span> -->
41
+ {{state.text}}
42
+ </span>
43
+ <span v-else> {{ empty }}</span>
44
+ </template>
45
+ <!-- 基础数据,以value查找 -->
46
+ <template v-if="baseDataValue">
47
+ <span class="item"
48
+ v-if="baseDataItem[baseDataValue]">
49
+ {{ baseDataItem[baseDataValue].name || empty }}
50
+ <span v-if="baseDataInfo&&!hideCode">
51
+ ({{ baseDataItem[baseDataValue].value || empty }})
52
+ </span>
53
+ </span>
54
+ <span v-else> {{ empty }}</span>
55
+ </template>
56
+ <!-- 基础数据,以namg查找 -->
57
+ <template v-if="baseDataName">
58
+ <span class="item"
59
+ v-if="baseDataItem[baseDataName]">
60
+ {{ baseDataItem[baseDataName].name || empty }}
61
+ <span v-if="baseDataInfo&&!hideCode">
62
+ ({{ baseDataItem[baseDataName].value || empty }})
63
+ </span>
64
+ </span>
65
+ <span v-else> {{ empty }}</span>
66
+ </template>
67
+ </div>
68
+ </template>
69
+
70
+ <script lang="ts">
71
+ import { Vue, Prop, Component, Watch } from "vue-property-decorator";
72
+ import { baseConfig } from "vue-kst-auth";
73
+ interface Inuser {
74
+ concurrencyStamp: string;
75
+ email: string;
76
+ emailConfirmed: boolean;
77
+ extraProperties: any;
78
+ id: string;
79
+ isLockedOut: boolean;
80
+ lockoutEnabled: boolean;
81
+ name: string;
82
+ organizationIds: string[];
83
+ phoneNumber: string;
84
+ phoneNumberConfirmed: boolean;
85
+ surname: string;
86
+ tenantId: string;
87
+ userName: string;
88
+ value: string;
89
+ }
90
+ interface State {
91
+ /** api返回数据 */
92
+ resData: {
93
+ /** 基础数据 */
94
+ baseData: {
95
+ items: any[];
96
+ };
97
+ /** 字典类别 */
98
+ dictionaryCategory: {
99
+ items: any[];
100
+ };
101
+ /** 字典数据 */
102
+ dictionaryData: any[];
103
+ /** 严重等级 */
104
+ severityLevel: any[];
105
+ /** 部门 */
106
+ organizationUnit: any[];
107
+ /** 部门树结构 */
108
+ organizationUsersTree: any[];
109
+ /** 用户 */
110
+ users: {
111
+ items?: Array<Inuser>;
112
+ };
113
+ /** 当前登录用户相关信息 */
114
+ SessionState: any;
115
+ /** 当前登录用户所在部门 */
116
+ userInOrganiza: any[];
117
+ organizationUsers: any;
118
+ roleList: any[];
119
+ };
120
+ /** 递归基础数据 */
121
+ baseDataItem: {
122
+ [key: string]: any;
123
+ };
124
+ text: string;
125
+ }
126
+
127
+ @Component({
128
+ name: "HtShowBaseData",
129
+ })
130
+ export default class CommonDatas extends Vue {
131
+ /** 查找不到为空时显示 */
132
+ @Prop({ default: "" }) empty?: string;
133
+ /** 显示用户信息 */
134
+ @Prop() userId?: string;
135
+ /** 是否展示所有关联节点 */
136
+ @Prop() showAllLevel?: boolean;
137
+ /** 隐藏编码 */
138
+ @Prop() hideCode?: boolean;
139
+ /** 显示角色信息 */
140
+ @Prop() roleId?: string;
141
+ /** 显示部门信息 */
142
+ @Prop() departmentId?: string;
143
+ /** 严重性信息 */
144
+ @Prop() severityValue?: string;
145
+ /** 时间格式处理 */
146
+ @Prop() timeStr?: string;
147
+ /** 基础数据 */
148
+ @Prop() baseDataId?: string;
149
+ /** 基础数据value */
150
+ @Prop() baseDataValue?: string;
151
+ /** 基础数据name */
152
+ @Prop() baseDataName?: string;
153
+ /** 基础数据详情,显示名称加编码 */
154
+ @Prop({ default: false }) baseDataInfo?: boolean;
155
+ /** 人员 */
156
+ /** 数据 */
157
+ state: State = {
158
+ text: "",
159
+ resData: {
160
+ baseData: {
161
+ items: [],
162
+ },
163
+ dictionaryCategory: {
164
+ items: [],
165
+ },
166
+ dictionaryData: [],
167
+ severityLevel: [],
168
+ organizationUnit: [],
169
+ organizationUsersTree: [],
170
+ users: {
171
+ items: [],
172
+ },
173
+ SessionState: "",
174
+ userInOrganiza: [],
175
+ organizationUsers: {},
176
+ roleList: [],
177
+ },
178
+ baseDataItem: {},
179
+ };
180
+ /** 生命周期 */
181
+ created() {
182
+ if (!baseConfig.getLoginState()) {
183
+ return;
184
+ }
185
+ const data = window.localStorage.getItem("commonDatas");
186
+ if (data) {
187
+ this.state.resData = Object.assign(this.state.resData, JSON.parse(data));
188
+ }
189
+ const { items = [] } = this.state.resData.baseData;
190
+ this.getBaseDataItem(items);
191
+ this.setText();
192
+ }
193
+ /** 方法 */
194
+ /** 根据id获取用户部门 */
195
+ getorgById(id: string) {
196
+ return (
197
+ this.state.resData.organizationUnit.find((val) => val.id == id) || {}
198
+ );
199
+ }
200
+ /** 递归处理基础数据 */
201
+ getBaseDataItem(list: any[]) {
202
+ // const list = this.state.resData.baseData.items || []
203
+ list.forEach((item) => {
204
+ this.state.baseDataItem[item.id || ""] = item;
205
+ this.state.baseDataItem[item.value || ""] = item;
206
+ this.state.baseDataItem[item.name || ""] = item;
207
+ if (item.children) {
208
+ this.getBaseDataItem(item.children);
209
+ }
210
+ });
211
+ }
212
+ /** 获取节点相关的所有父节点信息--只针对基础数据 */
213
+ setAllLevel(id: any) {
214
+ const { baseDataItem } = this.state;
215
+ const hideCode = this.hideCode;
216
+ let text = "";
217
+
218
+ if (baseDataItem[id]) {
219
+ if (hideCode) {
220
+ text = `${baseDataItem[id].name || ""}`;
221
+ } else {
222
+ text = `${baseDataItem[id].name || ""}(${baseDataItem[id].value})`;
223
+ }
224
+ if (baseDataItem[id].parentId && this.showAllLevel) {
225
+ const tempText = this.setAllLevel(baseDataItem[id]["parentId"]);
226
+ text = `${tempText}/${text}`;
227
+ }
228
+ }
229
+
230
+ return text;
231
+ }
232
+ @Watch("baseDataItem")
233
+ setText() {
234
+ if (this.baseDataId) {
235
+ const tempText = this.setAllLevel(this.baseDataId);
236
+ this.state.text = tempText;
237
+ }
238
+ }
239
+
240
+ /** 计算属性 */
241
+ /** 基础数据 */
242
+ get baseDataItem() {
243
+ return this.state.baseDataItem || {};
244
+ }
245
+ /** 获取严重等级 */
246
+ get SeverityLevel() {
247
+ return this.state.resData.severityLevel || [];
248
+ }
249
+ /** 获取用户数据 */
250
+ get userDataList() {
251
+ return this.state.resData.users.items || [];
252
+ }
253
+ /** 根据id获取用户数据 */
254
+ get userData() {
255
+ if (!this.userId) {
256
+ return [];
257
+ }
258
+
259
+ if (this.state.resData.users.items) {
260
+ const ids: string[] = JSON.parse(this.userId);
261
+
262
+ const data = this.state.resData.users.items.filter((val) =>
263
+ ids.includes(val.id)
264
+ );
265
+ return data;
266
+ } else {
267
+ return [];
268
+ }
269
+ }
270
+ /** 根据id获取角色数据 */
271
+ get roleData() {
272
+ if (!this.roleId) {
273
+ return [];
274
+ }
275
+
276
+ if (this.state.resData.roleList) {
277
+ const ids: string[] = JSON.parse(this.roleId);
278
+
279
+ const data = this.state.resData.roleList.filter((val) =>
280
+ ids.includes(val.id || "")
281
+ );
282
+ return data;
283
+ } else {
284
+ return [];
285
+ }
286
+ }
287
+ /** 根据id获取部门数据 */
288
+ get departmentData() {
289
+ if (!this.departmentId) {
290
+ return [];
291
+ }
292
+ const ids = JSON.parse(this.departmentId);
293
+
294
+ return ids;
295
+ }
296
+ /** 时间格式 */
297
+ get timeFormat() {
298
+ if (this.timeStr && this.timeStr.startsWith("0")) {
299
+ return this.empty;
300
+ } else {
301
+ return this.timeStr?.replace(/T/, " ").slice(0, 19) || this.empty;
302
+ }
303
+ }
304
+ }
305
+ </script>
306
+
307
+ <style lang="scss" scoped>
308
+ .show-common-item {
309
+ display: inline-block;
310
+ .item {
311
+ + .item {
312
+ padding-left: 10px;
313
+ }
314
+ }
315
+ }
316
+ </style>
@@ -5,7 +5,7 @@
5
5
  * @Author: hutao
6
6
  * @Date: 2021-11-11 11:23:24
7
7
  * @LastEditors: hutao
8
- * @LastEditTime: 2022-04-07 09:13:22
8
+ * @LastEditTime: 2022-04-12 18:11:24
9
9
  -->
10
10
  <template>
11
11
  <div v-loading="state.loading"
@@ -105,32 +105,33 @@
105
105
  :rowIndex="rowIndex">
106
106
  <!-- 处理部门 -->
107
107
  <template v-if="item.type==='org'">
108
- <common-org-info v-if="getPropByPath(row,item.key)"
109
- :org-id="getPropByPath(row,item.key)"
110
- type="tag"></common-org-info>
108
+ <HtOrgInfo v-if="getPropByPath(row,item.key)"
109
+ :org-id="getPropByPath(row,item.key)"
110
+ type="tag"></HtOrgInfo>
111
111
  <span v-else>--</span>
112
112
  </template>
113
113
  <!-- 处理基础数据 -->
114
114
  <template v-else-if="item.type==='common'">
115
+ <HtShowBaseData v-if="getPropByPath(row,item.key)"
116
+ :hide-code="item.hideCode"
117
+ :user-id="item.commonType==='userId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
118
+ :department-id="item.commonType==='departmentId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
119
+ :role-id="item.commonType==='roleId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
120
+ :base-data-id="item.commonType==='baseDataId'?getPropByPath(row,item.key):''"
121
+ :base-data-value="item.commonType==='baseDataValue'?getPropByPath(row,item.key):''"
122
+ :base-data-name="item.commonType==='baseDataName'?getPropByPath(row,item.key):''"
123
+ :base-data-info='true'>
124
+ </HtShowBaseData>
115
125
 
116
- <div v-if="getPropByPath(row,item.key)"
117
- is='common-datas-info-id'
118
- :hide-code="item.hideCode"
119
- :user-id="item.commonType==='userId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
120
- :department-id="item.commonType==='departmentId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
121
- :role-id="item.commonType==='roleId'?JSON.stringify([getPropByPath(row,item.key)]):'[]'"
122
- :base-data-id="item.commonType==='baseDataId'?getPropByPath(row,item.key):''"
123
- :base-data-value="item.commonType==='baseDataValue'?getPropByPath(row,item.key):''"
124
- :base-data-name="item.commonType==='baseDataName'?getPropByPath(row,item.key):''"
125
- :base-data-info='true'></div>
126
126
  <span v-else>--</span>
127
127
  </template>
128
128
  <!-- 处理部门人员 -->
129
129
  <template v-else-if="item.type==='userId'">
130
- <div is='common-datas-info-id'
131
- v-if="getPropByPath(row,item.key)"
132
- :user-id="JSON.stringify(getPropByPath(row,item.key))"
133
- :base-data-info='true'></div>
130
+ <HtShowBaseData v-if="getPropByPath(row,item.key)"
131
+ :user-id="JSON.stringify(getPropByPath(row,item.key))"
132
+ :base-data-info='true'>
133
+ </HtShowBaseData>
134
+
134
135
  <span v-else>--</span>
135
136
  </template>
136
137
  <!-- 处理时间 -->
@@ -274,6 +275,8 @@ import { Component, Prop, Vue, Watch } from "vue-property-decorator";
274
275
  import { Column, PageInfoType } from "@/packages/type";
275
276
  import PageInfo from "@/packages/PageInfo/index.vue";
276
277
  import HtUploadFiles from "@/packages/HtUploadFiles/index.vue";
278
+ import HtShowBaseData from "@/packages/HtShowBaseData";
279
+ import HtOrgInfo from "@/packages/HtOrgInfo";
277
280
  interface State {
278
281
  pageInfo: PageInfoType;
279
282
  loading: boolean;
@@ -299,6 +302,8 @@ interface State {
299
302
  components: {
300
303
  PageInfo,
301
304
  HtUploadFiles,
305
+ HtShowBaseData,
306
+ HtOrgInfo,
302
307
  },
303
308
  })
304
309
  export default class HtTable extends Vue {
@@ -4,7 +4,7 @@
4
4
  * @Author: hutao
5
5
  * @Date: 2021-10-21 10:08:41
6
6
  * @LastEditors: hutao
7
- * @LastEditTime: 2022-03-08 14:57:05
7
+ * @LastEditTime: 2022-04-12 18:02:13
8
8
  */
9
9
 
10
10
  // 导入组件
@@ -22,10 +22,12 @@ import HtUploadFiles from './HtUploadFiles/index'
22
22
  import HtSelectBaseData from './HtSelectBaseData/index'
23
23
  import HtSelectOrg from './HtSelectOrg/index'
24
24
  import HtSelectUser from './HtSelectUser/index'
25
+ import HtShowBaseData from './HtShowBaseData/index'
26
+ import HtOrgInfo from './HtOrgInfo/index'
25
27
 
26
28
 
27
29
  // 存储组件列表
28
- const components = [HtSelectTable, HtPagination, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles, HtSelectBaseData, HtSelectOrg, HtSelectUser]
30
+ const components = [HtSelectTable, HtPagination, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles, HtSelectBaseData, HtSelectOrg, HtSelectUser, HtShowBaseData, HtOrgInfo]
29
31
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
30
32
  const install = function (Vue: any) {
31
33
  // 判断是否安装
@@ -42,6 +44,6 @@ export default {
42
44
  install,
43
45
  // 以下是具体的组件列表
44
46
  HtSelectTable, HtPagination, HtTable, HtExport, HtUpload, HtMd, HtCountDown, HtUploadFiles,
45
- HtSelectBaseData, HtSelectOrg, HtSelectUser
47
+ HtSelectBaseData, HtSelectOrg, HtSelectUser, HtShowBaseData, HtOrgInfo
46
48
  }
47
49