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/lib/eoss-mobile.common.js +13 -18
- package/lib/flow.js +12 -17
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/StartFlow.vue +5 -10
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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();
|