@lambo-design/workflow-approve 1.0.0-beta.45 → 1.0.0-beta.46

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": "@lambo-design/workflow-approve",
3
- "version": "1.0.0-beta.45",
3
+ "version": "1.0.0-beta.46",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -12,8 +12,8 @@
12
12
  "devDependencies": {
13
13
  "axios": "^0.24.0",
14
14
  "axios-cache-plugin": "^0.1.0",
15
- "@lambo-design/shared": "^1.0.0-beta.246",
16
- "@lambo-design/core": "^4.7.1-beta.154"
15
+ "@lambo-design/core": "^4.7.1-beta.154",
16
+ "@lambo-design/shared": "^1.0.0-beta.246"
17
17
  },
18
18
  "dependencies": {
19
19
  "bpmn-js": "^7.3.1",
@@ -446,23 +446,26 @@ export default {
446
446
 
447
447
  //权限范围人员单条删除
448
448
  readingRangeScPerDel(res, info) {
449
+ debugger
450
+ let self =this
449
451
  let index = this.treeUserValue.findIndex(item => {
450
452
  return item.replace(',', ':') === info
451
453
  })
452
454
  if (index !== -1) {
453
- this.treeUserValue.splice(index, 1)
454
- this.selectedKeys.splice(index, 1)
455
+ self.treeUserValue = self.treeUserValue.filter((_, i) => i !== index);
456
+ self.selectedKeys = self.selectedKeys.filter((_, i) => i !== index);
457
+ // self.selectedKeys.splice(index, 1)
455
458
  }
456
459
  let orgList = []
457
460
  let organList = []
458
461
  orgList.push(info)
459
462
  info = info.replace(',', ':')
460
- this.countersignersTagsData.forEach(organ => {
463
+ self.countersignersTagsData.forEach(organ => {
461
464
  if (organ.indexOf(info) == -1) {
462
465
  organList.push(organ)
463
466
  }
464
467
  })
465
- this.countersignersTagsData = organList
468
+ self.countersignersTagsData = organList
466
469
  },
467
470
 
468
471
  selectUserChange(node) {