eoss-mobiles 0.3.66 → 0.3.68
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 +73 -55
- package/lib/flow.js +72 -54
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Circulate.vue +1 -1
- package/packages/flow/src/components/Handle.vue +14 -6
- package/packages/flow/src/components/StartFlow.vue +10 -6
- package/packages/flow/src/components/reset.vue +5 -2
- package/packages/flow/src/components/taskUnionExamine.vue +3 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -203,7 +203,7 @@ export default {
|
|
|
203
203
|
{ name: '前置加签', value: 'preAddSign' },
|
|
204
204
|
{ name: '后置加签', value: 'postAddSign' }
|
|
205
205
|
],
|
|
206
|
-
currentOrgSelectorParams: { only_filid: true },
|
|
206
|
+
currentOrgSelectorParams: { only_filid: true,onlyMyOrg:true },
|
|
207
207
|
currentOrgSelectorTabs: 'employee, persongroup',
|
|
208
208
|
foreignOrgSelectorTabs: 'enterprise,filgroupobj',
|
|
209
209
|
foreignOrgSelectorParams: { roleid: '' },
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
v-if="showFreeStart"
|
|
5
5
|
@close="showFreeStart = false"
|
|
6
6
|
:defId="freeStartFlowParams.defId"
|
|
7
|
-
:businessId="freeStartFlowParams.startFlowBusinessId"
|
|
7
|
+
:businessId="freeStartFlowParams.startFlowBusinessId || taskExamineInfo.businessId"
|
|
8
8
|
:taskParams="taskParams"
|
|
9
9
|
:is-free-start-flow="
|
|
10
10
|
freeStartFlowParams.useScene === 'multiInsMidwayWithSubmitScene'
|
|
11
11
|
"
|
|
12
12
|
@closePop="showFreeStart = false"
|
|
13
|
+
@success="handleSuccess"
|
|
13
14
|
:opinion="form.opinion"
|
|
14
15
|
:copy-history="freeStartFlowParams.pendedHistoryHandle"
|
|
15
16
|
:formType="processFormType"
|
|
@@ -340,7 +341,7 @@
|
|
|
340
341
|
type="primary"
|
|
341
342
|
@click="
|
|
342
343
|
() => {
|
|
343
|
-
form.customLimitTime = '';
|
|
344
|
+
// form.customLimitTime = '';
|
|
344
345
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
345
346
|
}
|
|
346
347
|
"
|
|
@@ -363,7 +364,7 @@
|
|
|
363
364
|
type="primary"
|
|
364
365
|
@click="
|
|
365
366
|
() => {
|
|
366
|
-
form.customLimitTime = '';
|
|
367
|
+
// form.customLimitTime = '';
|
|
367
368
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
368
369
|
}
|
|
369
370
|
"
|
|
@@ -912,6 +913,9 @@ export default {
|
|
|
912
913
|
}
|
|
913
914
|
},
|
|
914
915
|
methods: {
|
|
916
|
+
handleSuccess(){
|
|
917
|
+
this.$parent.$emit('success')
|
|
918
|
+
},
|
|
915
919
|
handleClickDefList(info) {
|
|
916
920
|
this.freeStartFlowParams.defId = info.defId;
|
|
917
921
|
this.showFreeStart = true;
|
|
@@ -1639,7 +1643,7 @@ export default {
|
|
|
1639
1643
|
isCanPreAddSign
|
|
1640
1644
|
}
|
|
1641
1645
|
} = res;
|
|
1642
|
-
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
1646
|
+
if (currentOrgSelectorParams && currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
1643
1647
|
that.currentOrgSelectorTabs =
|
|
1644
1648
|
currentOrgSelectorParams.currentOrgType.split(',');
|
|
1645
1649
|
let currentOrgparams =
|
|
@@ -1650,13 +1654,14 @@ export default {
|
|
|
1650
1654
|
currentOrgparams[i] == 'my'
|
|
1651
1655
|
? choiceOrgId
|
|
1652
1656
|
: currentOrgparams[i],
|
|
1653
|
-
only_filid: true
|
|
1657
|
+
only_filid: true,
|
|
1658
|
+
onlyMyOrg:true
|
|
1654
1659
|
};
|
|
1655
1660
|
});
|
|
1656
1661
|
that.currentOrgSelectorTabs =
|
|
1657
1662
|
that.currentOrgSelectorTabs.join(',');
|
|
1658
1663
|
}
|
|
1659
|
-
if (currentOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
1664
|
+
if (currentOrgSelectorParams &¤tOrgSelectorParams.enableForeignOrgConfig == 'true') {
|
|
1660
1665
|
that.foreignOrgSelectorTabs =
|
|
1661
1666
|
currentOrgSelectorParams.foreignOrgType.split(',');
|
|
1662
1667
|
let foreignOrgparams =
|
|
@@ -1968,6 +1973,9 @@ export default {
|
|
|
1968
1973
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
1969
1974
|
_that.enableCustomLimitTimeSetting =
|
|
1970
1975
|
res.data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
1976
|
+
if(_that.enableCustomLimitTimeSetting && res.data.nodeMoreInfo.defaultCustomLimitDays){
|
|
1977
|
+
_that.form.customLimitTime = res.data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
1978
|
+
}
|
|
1971
1979
|
res.data.otherOrgDisabledObjId &&
|
|
1972
1980
|
(this.otherOrgDisabledObjId =
|
|
1973
1981
|
res.data.otherOrgDisabledObjId.split(','));
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
type="primary"
|
|
108
108
|
@click="
|
|
109
109
|
() => {
|
|
110
|
-
form.customLimitTime = '';
|
|
110
|
+
// form.customLimitTime = '';
|
|
111
111
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
112
112
|
}
|
|
113
113
|
"
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
type="primary"
|
|
131
131
|
@click="
|
|
132
132
|
() => {
|
|
133
|
-
form.customLimitTime = '';
|
|
133
|
+
// form.customLimitTime = '';
|
|
134
134
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
135
135
|
}
|
|
136
136
|
"
|
|
@@ -319,6 +319,7 @@ export default {
|
|
|
319
319
|
if (this.formType == 'freeStart' || this.copyHistory) {
|
|
320
320
|
this.form.opinion = this.opinion;
|
|
321
321
|
}
|
|
322
|
+
|
|
322
323
|
this.geAllData(obj);
|
|
323
324
|
},
|
|
324
325
|
|
|
@@ -499,11 +500,11 @@ export default {
|
|
|
499
500
|
if (_that.formType == 'freeStart' && !_that.isFreeStartFlow) {
|
|
500
501
|
this.$emit('closePop');
|
|
501
502
|
} else {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
if(_that.formType == 'freeStart'){
|
|
504
|
+
_that.$emit('success');
|
|
505
|
+
}else{
|
|
505
506
|
_that.$parent.$emit('success');
|
|
506
|
-
|
|
507
|
+
}
|
|
507
508
|
}
|
|
508
509
|
} else {
|
|
509
510
|
this.$toast(res.msg || res.message);
|
|
@@ -744,6 +745,9 @@ export default {
|
|
|
744
745
|
// _that.nextUserList = res.results.transactorInfos || [];
|
|
745
746
|
_that.enableCustomLimitTimeSetting =
|
|
746
747
|
this.peopleObj.enableCustomLimitTimeSetting == 1;
|
|
748
|
+
if(_that.enableCustomLimitTimeSetting && res.data.nodeMoreInfo.defaultCustomLimitDays){
|
|
749
|
+
_that.form.customLimitTime = res.data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
750
|
+
}
|
|
747
751
|
if (res.results.nodeExtr.userSelectionType) {
|
|
748
752
|
this.treeType = res.results.nodeExtr.userSelectionType;
|
|
749
753
|
if (res.results.nodeExtr) {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
type="primary"
|
|
90
90
|
@click="
|
|
91
91
|
() => {
|
|
92
|
-
form.customLimitTime = '';
|
|
92
|
+
// form.customLimitTime = '';
|
|
93
93
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
94
94
|
}
|
|
95
95
|
"
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
type="primary"
|
|
113
113
|
@click="
|
|
114
114
|
() => {
|
|
115
|
-
form.customLimitTime = '';
|
|
115
|
+
// form.customLimitTime = '';
|
|
116
116
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
117
117
|
}
|
|
118
118
|
"
|
|
@@ -662,6 +662,9 @@ export default {
|
|
|
662
662
|
});
|
|
663
663
|
_that.enableCustomLimitTimeSetting =
|
|
664
664
|
this.peopleObj.enableCustomLimitTimeSetting == 1;
|
|
665
|
+
if(_that.enableCustomLimitTimeSetting && res.data.nodeMoreInfo.defaultCustomLimitDays){
|
|
666
|
+
_that.form.customLimitTime = res.data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
667
|
+
}
|
|
665
668
|
if (res.data.nodeExtAttr.userSelectionType) {
|
|
666
669
|
this.treeType = res.data.nodeExtAttr.userSelectionType;
|
|
667
670
|
if (res.data.nodeExtAttr) {
|
|
@@ -204,6 +204,7 @@ export default {
|
|
|
204
204
|
this.params.nofilid = this.otherParams.nofilid = this.orgId || JSON.parse($.getStorage('userInfo')).orgId || this.userId || '';
|
|
205
205
|
if(this.type == 'takeAdvice'){
|
|
206
206
|
this.params.only_filid=true
|
|
207
|
+
this.params.onlyMyOrg=true
|
|
207
208
|
}else{
|
|
208
209
|
this.params = {...this.params,...this.selectorParams}
|
|
209
210
|
}
|
|
@@ -467,7 +468,8 @@ export default {
|
|
|
467
468
|
$.getStorage('userInfo')
|
|
468
469
|
).orgId)
|
|
469
470
|
: param[i],
|
|
470
|
-
only_filid:true
|
|
471
|
+
only_filid:true,
|
|
472
|
+
onlyMyOrg:true
|
|
471
473
|
};
|
|
472
474
|
});
|
|
473
475
|
} else {
|