address-book-shell 0.0.35 → 0.0.36
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/CHANGELOG.md +6 -0
- package/README.md +11 -0
- package/lib/address-book-shell.common.js +241 -107
- package/lib/address-book-shell.umd.js +241 -107
- package/lib/address-book-shell.umd.min.js +1 -1
- package/package.json +1 -1
- package/packages/address-book/src/index.vue +141 -28
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### 0.0.35 (2024-12-11)
|
|
6
|
+
* 重复选人时给出提示([ddf8fccd](https://gitlab.cjsc.com.cn/cjsc-backend/address-book/-/commit/8f0594566ae49dadd27cf3469662eb495ddb0798))
|
|
7
|
+
* 新增showOnlyNewPersonnel配置,增加是否只展示新勾选人员功能([ddf8fccd](https://gitlab.cjsc.com.cn/cjsc-backend/address-book/-/commit/23790a1c77c81a96edc5a8eefec12c5bcd1c3a8c))
|
|
8
|
+
* 搜索框自定义下拉框增加滚动监听事件([ddf8fccd](https://gitlab.cjsc.com.cn/cjsc-backend/address-book/-/commit/bcd0064b3870aef2781433fd96dae555251b0391))
|
|
9
|
+
|
|
10
|
+
|
|
5
11
|
### 0.0.35 (2024-09-11)
|
|
6
12
|
* 上传附件增加对wps非标准 MIME 类型支持([ddf8fccd](https://gitlab.cjsc.com.cn/cjsc-backend/address-book/-/commit/ddf8fccdf3a25461c2c645d2406ac8504f59a006))
|
|
7
13
|
* 查询下拉框样式调整([f19991e8](https://gitlab.cjsc.com.cn/cjsc-backend/address-book/-/commit/f19991e8af0fb023fc3d868dedd20b54d812bf55))
|
package/README.md
CHANGED
|
@@ -94,6 +94,16 @@ Vue.use(AddressBookShell, {
|
|
|
94
94
|
/>
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
+
#### showOnlyNewPersonnel
|
|
98
|
+
是否只展示新增的人员列表。
|
|
99
|
+
|
|
100
|
+
值为1,展示全部人员包括selected传进来的人员;值为2则只显示新增人员。不设置则默认取selectDisabled的值;
|
|
101
|
+
```html
|
|
102
|
+
<address-book-shell
|
|
103
|
+
:selectDisabled='2'
|
|
104
|
+
/>
|
|
105
|
+
```
|
|
106
|
+
|
|
97
107
|
#### onlyOriginalData
|
|
98
108
|
默认为false,此时地址本点确定按钮会调用接口,将岗位和部门转化为人员数据,并通过submitted方法返回给业务方。如果仅需要原始的勾选数据,则可以配置needPeopleData属性,直接返回数据避免调用接口,可以减少地址的本反应时间。
|
|
99
109
|
|
|
@@ -267,6 +277,7 @@ Vue.use(AddressBookShell, {
|
|
|
267
277
|
| :--- | :--- | :--- | :---: |:---: |
|
|
268
278
|
| selected | 地址本初始化默认选中的人员数据 | Array | - | [] |
|
|
269
279
|
| selectDisabled | 是否将selected传入的人员置灰不能再选 | Boolean | - | false |
|
|
280
|
+
| showOnlyNewPersonnel | 是否只展示新勾选的人员,默认值为0,取selectDisabled的值;值为1,展示全部人员;值为2,只展示新勾选的人员 | Number | 0,1,2 | 0 |
|
|
270
281
|
| onlyOriginalData | 是否只需要原始勾选的数据(设置为true将勾选的数据直接返回;设置为false则会在submitted回调中返回 【仅人员数据,仅结构数据,勾选的原始数据】三个参数) | Boolean | - | false |
|
|
271
282
|
| typeList | 用来控制模糊搜索下拉选项内容 | Array | [ '全部','部门' ,'岗位' ,'人员'] | ['全部','部门','岗位','人员'] |
|
|
272
283
|
| onlyMailList | 是否只展示通讯录模块 | Boolean | - | false |
|