eoss-mobiles 0.2.64 → 0.2.65

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": "eoss-mobiles",
3
- "version": "0.2.64",
3
+ "version": "0.2.65",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -491,34 +491,29 @@ export default {
491
491
  this.peopleObj = res.results.nodeExtr;
492
492
  if (res.results.nodeExtr.userSelectionType) {
493
493
  this.treeType = res.results.nodeExtr.userSelectionType;
494
- let list = res.results.transactorInfos;
495
- let idStr = '';
496
- list.map((r, i) => {
497
- r.showid = r.userId;
498
- r.showname = r.userName;
499
- if (r.userId || r.userName) {
500
- idStr = idStr + r.showid + (i === list.length - 1 ? '' : ',');
501
- }
502
- });
503
- this.form.nextUserId = idStr;
504
494
  if (res.results.nodeExtr) {
495
+ let idStr = '';
505
496
  if (
506
497
  res.results.nodeExtr.isDefSelectedObj == 1 &&
507
498
  this.nextUserList.length > 0
508
499
  ) {
509
500
  this.nextUserList[0].checked = true;
510
501
  this.nextUserSelectList = [this.nextUserList[0]];
502
+ idStr = this.nextUserSelectList[0].showid
511
503
  }
512
504
  if (
513
505
  res.results.nodeExtr.isSelectedAllObj == 1 &&
514
506
  this.nextUserList.length > 0
515
507
  ) {
516
508
  this.nextUserSelectList = []
509
+ idStr = ''
517
510
  this.nextUserList.map(x => {
518
511
  x.checked = true
519
512
  this.nextUserSelectList.push(x)
513
+ idStr = idStr ? idStr + ',' + x.showid : idStr;
520
514
  });
521
515
  }
516
+ this.form.nextUserId = idStr;
522
517
  }
523
518
  // this.nextUserSelectList = list.filter(x => x.showname && x.showid);
524
519
  this.getTreeChangeType();
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.2.64',
108
+ version: '0.2.65',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,