eoss-mobiles 0.3.55 → 0.3.56
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 +36 -26
- package/lib/flow.js +35 -25
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Circulate.vue +21 -10
- package/packages/flow/src/components/Handle.vue +7 -2
- package/packages/flow/src/components/taskUnionExamine.vue +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -191,6 +191,7 @@ export default {
|
|
|
191
191
|
type: String,
|
|
192
192
|
default: ''
|
|
193
193
|
},
|
|
194
|
+
selectorParams: { type: Object, default: () => {} },
|
|
194
195
|
title: {
|
|
195
196
|
type: String,
|
|
196
197
|
default: ''
|
|
@@ -202,7 +203,7 @@ export default {
|
|
|
202
203
|
{ name: '前置加签', value: 'preAddSign' },
|
|
203
204
|
{ name: '后置加签', value: 'postAddSign' }
|
|
204
205
|
],
|
|
205
|
-
currentOrgSelectorParams: {only_filid:true},
|
|
206
|
+
currentOrgSelectorParams: { only_filid: true },
|
|
206
207
|
currentOrgSelectorTabs: 'employee, persongroup',
|
|
207
208
|
foreignOrgSelectorTabs: 'enterprise,filgroupobj',
|
|
208
209
|
foreignOrgSelectorParams: { roleid: '' },
|
|
@@ -324,13 +325,21 @@ export default {
|
|
|
324
325
|
},
|
|
325
326
|
created() {
|
|
326
327
|
// this.getMessage();
|
|
327
|
-
this.currentOrgSelectorParams.employee =
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
this.currentOrgSelectorParams.employee =
|
|
329
|
+
this.currentOrgSelectorParams.persongroup = {
|
|
330
|
+
pid: this.orgId || JSON.parse($.getStorage('userInfo')).orgId
|
|
331
|
+
};
|
|
332
|
+
this.foreignOrgSelectorParams.nofilid =
|
|
333
|
+
this.orgId || JSON.parse($.getStorage('userInfo')).orgId;
|
|
334
|
+
this.foreignOrgSelectorParams.myUserid = '';
|
|
330
335
|
this.foreignOrgSelectorParams.filgroup = {
|
|
331
336
|
pid: 'root',
|
|
332
337
|
myUserid: this.userId
|
|
333
338
|
};
|
|
339
|
+
this.foreignOrgSelectorParams = {
|
|
340
|
+
...this.foreignOrgSelectorParams,
|
|
341
|
+
...this.selectorParams
|
|
342
|
+
};
|
|
334
343
|
},
|
|
335
344
|
computed: {},
|
|
336
345
|
methods: {
|
|
@@ -340,7 +349,7 @@ export default {
|
|
|
340
349
|
params: {
|
|
341
350
|
processDefinitionId: this.defId,
|
|
342
351
|
businessId: this.businessId,
|
|
343
|
-
pendingId:this.pendingId,
|
|
352
|
+
pendingId: this.pendingId,
|
|
344
353
|
openMode: this.pendingId ? '' : 'samepage'
|
|
345
354
|
}
|
|
346
355
|
};
|
|
@@ -363,10 +372,12 @@ export default {
|
|
|
363
372
|
},
|
|
364
373
|
onSubmit() {
|
|
365
374
|
let params = {
|
|
366
|
-
url: this.pendingId
|
|
375
|
+
url: this.pendingId
|
|
376
|
+
? endFlowAndStartTaskCircularRead
|
|
377
|
+
: directStartTaskCircularRead,
|
|
367
378
|
params: {
|
|
368
379
|
businessId: this.businessId,
|
|
369
|
-
pendingId:this.pendingId,
|
|
380
|
+
pendingId: this.pendingId,
|
|
370
381
|
processDefinitionId: this.defId,
|
|
371
382
|
notificationMsg: this.form.notificationMsg,
|
|
372
383
|
notificationType: this.form.notificationType,
|
|
@@ -378,9 +389,9 @@ export default {
|
|
|
378
389
|
},
|
|
379
390
|
type: 'post'
|
|
380
391
|
};
|
|
381
|
-
if(
|
|
382
|
-
|
|
383
|
-
return
|
|
392
|
+
if (!this.form.nextOtherOrgObj && !this.form.nextCurrentOrgObj) {
|
|
393
|
+
this.$toast('请选择办理对象');
|
|
394
|
+
return;
|
|
384
395
|
}
|
|
385
396
|
this.$toast.loading({
|
|
386
397
|
message: '提交中...',
|
|
@@ -661,6 +661,10 @@ export default {
|
|
|
661
661
|
userId: {
|
|
662
662
|
type: String,
|
|
663
663
|
default: ''
|
|
664
|
+
},
|
|
665
|
+
selectorParams:{
|
|
666
|
+
type: Object,
|
|
667
|
+
default: () => {}
|
|
664
668
|
}
|
|
665
669
|
},
|
|
666
670
|
data() {
|
|
@@ -1622,7 +1626,7 @@ export default {
|
|
|
1622
1626
|
currentOrgparams[i] == 'my'
|
|
1623
1627
|
? choiceOrgId
|
|
1624
1628
|
: currentOrgparams[i],
|
|
1625
|
-
only_filid:true
|
|
1629
|
+
only_filid:true,
|
|
1626
1630
|
};
|
|
1627
1631
|
});
|
|
1628
1632
|
that.currentOrgSelectorTabs =
|
|
@@ -1642,7 +1646,8 @@ export default {
|
|
|
1642
1646
|
? 'root'
|
|
1643
1647
|
: foreignOrgparams[i],
|
|
1644
1648
|
nofilid:foreignOrgparams[i] == 'nofilidorg' ? that.orgId || JSON.parse($.getStorage('userInfo')).orgId : foreignOrgparams[i] == 'other' ? 1 : 0,
|
|
1645
|
-
myUserid: x == 'filgroup' ? $.getStorage('userId') : ''
|
|
1649
|
+
myUserid: x == 'filgroup' ? $.getStorage('userId') : '',
|
|
1650
|
+
...that.selectorParams
|
|
1646
1651
|
};
|
|
1647
1652
|
});
|
|
1648
1653
|
that.foreignOrgSelectorTabs =
|
|
@@ -198,7 +198,7 @@ export default {
|
|
|
198
198
|
};
|
|
199
199
|
this.otherParams.myUserid = this.params.myUserid = $.getStorage('userId') || this.userId || '';
|
|
200
200
|
this.params.nofilid = this.otherParams.nofilid = this.orgId || JSON.parse($.getStorage('userInfo')).orgId || this.userId || '';
|
|
201
|
-
this.params = {...this.params
|
|
201
|
+
this.params = {...this.params}
|
|
202
202
|
this.otherParams = {...this.otherParams,...this.selectorParams}
|
|
203
203
|
// this.newMultiple = this.multiple;
|
|
204
204
|
if (this.type === 'taskReview') return this.getTaskReview();
|