@lambo-design/workflow-approve 1.0.0-beta.42 → 1.0.0-beta.43
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
|
@@ -1384,7 +1384,7 @@ export default {
|
|
|
1384
1384
|
directChild: true,
|
|
1385
1385
|
}
|
|
1386
1386
|
}).then(function (resp) {
|
|
1387
|
-
if (resp.data.message == "成功") {
|
|
1387
|
+
if (resp.data.message == "成功" || resp.data.code == 1 || resp.data.code == 200) {
|
|
1388
1388
|
let nodeUser = resp.data.data.rows ? resp.data.data.rows : resp.data.data;
|
|
1389
1389
|
nodeUser.forEach(item => {
|
|
1390
1390
|
if (!userIdSet.has(item.userId)) {
|
|
@@ -1413,8 +1413,8 @@ export default {
|
|
|
1413
1413
|
directChild: true,
|
|
1414
1414
|
}
|
|
1415
1415
|
}).then(function (resp) {
|
|
1416
|
-
if (resp.data.message == "成功") {
|
|
1417
|
-
let nodeUser = resp.data.data
|
|
1416
|
+
if (resp.data.message == "成功" || resp.data.code == 1 || resp.data.code == 200) {
|
|
1417
|
+
let nodeUser = resp.data.data.rows ? resp.data.data.rows : resp.data.data
|
|
1418
1418
|
nodeUser.forEach(item => {
|
|
1419
1419
|
if (!userIdSet.has(item.userId) && userPermScope.includes(item.userId)) {
|
|
1420
1420
|
userIdSet.add(item.userId)
|
|
@@ -576,7 +576,7 @@ export default {
|
|
|
576
576
|
directChild: true,
|
|
577
577
|
}
|
|
578
578
|
}).then(function (resp) {
|
|
579
|
-
if (resp.data.message ==
|
|
579
|
+
if (resp.data.message == "成功" || resp.data.code == 1 || resp.data.code == 200) {
|
|
580
580
|
let nodeUser = resp.data.data.rows ? resp.data.data.rows : resp.data.data;
|
|
581
581
|
nodeUser.forEach(item => {
|
|
582
582
|
if (!userIdSet.has(item.userId)) {
|
|
@@ -604,8 +604,8 @@ export default {
|
|
|
604
604
|
directChild: true,
|
|
605
605
|
}
|
|
606
606
|
}).then(function (resp) {
|
|
607
|
-
if (resp.data.message ==
|
|
608
|
-
let nodeUser = resp.data.data
|
|
607
|
+
if (resp.data.message == "成功" || resp.data.code == 1 || resp.data.code == 200) {
|
|
608
|
+
let nodeUser = resp.data.data.rows ? resp.data.data.rows : resp.data.data;
|
|
609
609
|
nodeUser.forEach(item => {
|
|
610
610
|
if (!userIdSet.has(item.userId) && userPermScope.includes(item.userId)) {
|
|
611
611
|
userIdSet.add(item.userId)
|