eoss-mobiles 0.2.10 → 0.2.11
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 +78 -80
- package/lib/flow.js +72 -74
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +1 -1
- package/packages/flow/src/components/Opinion.vue +1 -1
- package/packages/flow/src/components/Reject.vue +1 -2
- package/packages/flow/src/components/StartFlow.vue +2 -3
- package/packages/flow/src/components/TaskRead.vue +1 -2
- package/packages/flow/src/components/taskUnionExamine.vue +3 -3
- package/packages/flow/src/main.vue +2 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1361,7 +1361,7 @@ export default {
|
|
|
1361
1361
|
taskId: this.processObj.taskExamine.taskId,
|
|
1362
1362
|
pendingId: this.pendingId,
|
|
1363
1363
|
businessId: this.taskExamineInfo.businessId,
|
|
1364
|
-
userId:
|
|
1364
|
+
userId: _that.userId
|
|
1365
1365
|
}
|
|
1366
1366
|
}).then(res => {
|
|
1367
1367
|
this.$toast.clear();
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
194
194
|
const _that = this;
|
|
195
195
|
request({
|
|
196
196
|
url: _that.baseUrl ? _that.baseUrl + commonOpion : commonOpion,
|
|
197
|
-
params: { userId:
|
|
197
|
+
params: { userId: _that.userId }
|
|
198
198
|
}).then(res => {
|
|
199
199
|
if (res.status == 'success') {
|
|
200
200
|
this.opinionList = res.data.list;
|
|
@@ -51,7 +51,6 @@ export default {
|
|
|
51
51
|
appId: String,
|
|
52
52
|
type: String,
|
|
53
53
|
pendingId: String,
|
|
54
|
-
userId: String,
|
|
55
54
|
beforeSubmit: Function,
|
|
56
55
|
baseUrl: String,
|
|
57
56
|
esign: {
|
|
@@ -185,7 +184,7 @@ export default {
|
|
|
185
184
|
pendingId: this.pendingId,
|
|
186
185
|
isSinglePage: false,
|
|
187
186
|
opinion: this.form.opinion,
|
|
188
|
-
userId:
|
|
187
|
+
userId: _that.userId
|
|
189
188
|
}
|
|
190
189
|
}).then(res => {
|
|
191
190
|
if (res.status == 'success') {
|
|
@@ -279,7 +279,6 @@ export default {
|
|
|
279
279
|
: this.form.notificationType,
|
|
280
280
|
opinion: this.form.opinion,
|
|
281
281
|
nodeId: this.form.nodeId,
|
|
282
|
-
userId: sessionStorage.getItem('userId'),
|
|
283
282
|
notificationMsg: this.form.notificationMsg,
|
|
284
283
|
loginType: 2, //登录方式
|
|
285
284
|
isImageOpinion:this.form.isImageOpinion,
|
|
@@ -410,7 +409,7 @@ export default {
|
|
|
410
409
|
return new Promise(function(resolve, reiect) {
|
|
411
410
|
request({
|
|
412
411
|
url: that.apiBaseUrl ? that.apiBaseUrl + toStartFlow : toStartFlow,
|
|
413
|
-
params: {...res,userId:
|
|
412
|
+
params: {...res,userId:that.userId}
|
|
414
413
|
}).then(res => {
|
|
415
414
|
if (res.rCode == 0) {
|
|
416
415
|
res.results.nodeExtr.submitTipsMsg &&
|
|
@@ -473,7 +472,7 @@ export default {
|
|
|
473
472
|
processDefinitionId: this.flowObj.processDefinitionId,
|
|
474
473
|
nodeId: res,
|
|
475
474
|
taskId: this.processObj.taskId,
|
|
476
|
-
userId:
|
|
475
|
+
userId: _that.userId
|
|
477
476
|
}
|
|
478
477
|
}).then(res => {
|
|
479
478
|
this.$toast.clear();
|
|
@@ -119,7 +119,6 @@ export default {
|
|
|
119
119
|
orgId: String,
|
|
120
120
|
beforeSubmit: Function,
|
|
121
121
|
pendingId: String,
|
|
122
|
-
userId: String,
|
|
123
122
|
businessId: String,
|
|
124
123
|
baseUrl: String,
|
|
125
124
|
apiBaseUrl: String,
|
|
@@ -328,7 +327,7 @@ export default {
|
|
|
328
327
|
isImageOpinion: 0,
|
|
329
328
|
loginType: 2,
|
|
330
329
|
taskAction: this.type,
|
|
331
|
-
userId:
|
|
330
|
+
userId: _that.userId
|
|
332
331
|
}
|
|
333
332
|
};
|
|
334
333
|
if (this.beforeSubmit) {
|
|
@@ -431,9 +431,9 @@ export default {
|
|
|
431
431
|
return this.$toast('当前步骤必须输入意见!');
|
|
432
432
|
}
|
|
433
433
|
if (
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
(isHideOtherOrg == 0 && !nextOtherOrgObj)
|
|
434
|
+
( (type == 'takeAdvice' &&
|
|
435
|
+
isHideCurrentOrg == 0 && ( !nextCurrentOrgObj || nextCurrentOrgObj.length == 0)) &&
|
|
436
|
+
(isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0))) || (type != 'takeAdvice' && isHideOtherOrg == 0 && (!nextOtherOrgObj || nextOtherOrgObj.length == 0))
|
|
437
437
|
) {
|
|
438
438
|
return this.$toast('请选择处理对象!');
|
|
439
439
|
}
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
<StartFlow
|
|
4
4
|
v-if="type === 'start'"
|
|
5
5
|
v-bind="$attrs"
|
|
6
|
+
:userId="userId"
|
|
6
7
|
:beforeSubmit="beforeSubmit"
|
|
7
8
|
/>
|
|
8
9
|
<Handle
|
|
9
10
|
v-else-if="type === 'handle'"
|
|
10
11
|
v-bind="$attrs"
|
|
12
|
+
:userId="userId"
|
|
11
13
|
:identityIds="userId"
|
|
12
14
|
:beforeSubmit="beforeSubmit"
|
|
13
15
|
/>
|