@sy-common/organize-select-help 1.0.0-beta.5 → 1.0.0-beta.6

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": "@sy-common/organize-select-help",
3
- "version": "1.0.0-beta.5",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
package/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- {
1
+ data:{
2
2
  //组织节点
3
3
  orgList:{
4
4
  includeLevel:true/false,//是否包含下级组织节点
@@ -17,6 +17,7 @@
17
17
  staffList:{
18
18
  name:'名称’//名称
19
19
  orgNodeName:‘’//
20
+ id:''//id
20
21
  }
21
22
 
22
23
  }
package/src/index.vue CHANGED
@@ -274,7 +274,7 @@ export default {
274
274
  },
275
275
  //staff
276
276
  addStaffList(){
277
- let staffList = this.staffAllList.filter((item)=>item.checked=true)
277
+ let staffList = this.staffAllList.filter((item)=>item.checked===true)
278
278
  let list = this.staffList.concat(staffList)
279
279
  let uniqueArray = list.filter((item, index, self) =>
280
280
  index === self.findIndex(t => (