eoss-mobiles 0.3.65 → 0.3.67
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/date.js +12 -7
- package/lib/eoss-mobile.common.js +75 -56
- package/lib/flow.js +62 -48
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/date/src/date-picker.vue +5 -0
- package/packages/flow/src/components/Circulate.vue +1 -1
- package/packages/flow/src/components/Handle.vue +11 -6
- package/packages/flow/src/components/StartFlow.vue +6 -2
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<van-datetime-picker
|
|
3
3
|
ref="emDatePicker"
|
|
4
4
|
show-toolbar
|
|
5
|
+
|
|
5
6
|
v-model="newValue"
|
|
6
7
|
v-bind="$attrs"
|
|
7
8
|
:filter="filter"
|
|
@@ -53,6 +54,7 @@ export default {
|
|
|
53
54
|
this.$attrs.type === 'datehour' &&
|
|
54
55
|
this.timePeriod
|
|
55
56
|
) {
|
|
57
|
+
|
|
56
58
|
return ['上午', '下午'];
|
|
57
59
|
}
|
|
58
60
|
return options;
|
|
@@ -62,13 +64,16 @@ export default {
|
|
|
62
64
|
},
|
|
63
65
|
onConfirm(value) {
|
|
64
66
|
let timePeriod;
|
|
67
|
+
console.log(this.$attrs.type === 'datehour',this.timePeriod,'aaaa')
|
|
65
68
|
if (this.$attrs.type === 'datehour' && this.timePeriod) {
|
|
69
|
+
console.log(this.$attrs.type);
|
|
66
70
|
timePeriod =
|
|
67
71
|
this.$refs.emDatePicker.$children[0].$children[0].$children[3]._data
|
|
68
72
|
.currentIndex == 0
|
|
69
73
|
? 'AM'
|
|
70
74
|
: 'PM';
|
|
71
75
|
}
|
|
76
|
+
console.log('confirm', value, timePeriod)
|
|
72
77
|
this.$emit('confirm', value, timePeriod);
|
|
73
78
|
},
|
|
74
79
|
onChange(picker) {
|
|
@@ -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,7 +4,7 @@
|
|
|
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'
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
type="primary"
|
|
341
341
|
@click="
|
|
342
342
|
() => {
|
|
343
|
-
form.customLimitTime = '';
|
|
343
|
+
// form.customLimitTime = '';
|
|
344
344
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
345
345
|
}
|
|
346
346
|
"
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
type="primary"
|
|
364
364
|
@click="
|
|
365
365
|
() => {
|
|
366
|
-
form.customLimitTime = '';
|
|
366
|
+
// form.customLimitTime = '';
|
|
367
367
|
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
368
368
|
}
|
|
369
369
|
"
|
|
@@ -1650,7 +1650,8 @@ export default {
|
|
|
1650
1650
|
currentOrgparams[i] == 'my'
|
|
1651
1651
|
? choiceOrgId
|
|
1652
1652
|
: currentOrgparams[i],
|
|
1653
|
-
only_filid: true
|
|
1653
|
+
only_filid: true,
|
|
1654
|
+
onlyMyOrg:true
|
|
1654
1655
|
};
|
|
1655
1656
|
});
|
|
1656
1657
|
that.currentOrgSelectorTabs =
|
|
@@ -1855,8 +1856,7 @@ export default {
|
|
|
1855
1856
|
that.nodeFixedOpinionSelectList.push({ content: x });
|
|
1856
1857
|
});
|
|
1857
1858
|
}
|
|
1858
|
-
|
|
1859
|
-
nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
1859
|
+
|
|
1860
1860
|
that.isHiddenOftenOpinion =
|
|
1861
1861
|
nodeInfoMap.nodeExtAttr.isHiddenOftenOpinion;
|
|
1862
1862
|
that.nodeDefaultSubmitOpinion =
|
|
@@ -1962,11 +1962,16 @@ export default {
|
|
|
1962
1962
|
this.$toast.clear();
|
|
1963
1963
|
this.showFlowBtn = true;
|
|
1964
1964
|
if (res.status == 'success') {
|
|
1965
|
+
_that.isCurrentNodeForbiddenChangeCandidate =
|
|
1966
|
+
res.data.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
1965
1967
|
_that.currentNodeEnableItemHandleDescription =
|
|
1966
1968
|
res.data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
1967
1969
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
1968
1970
|
_that.enableCustomLimitTimeSetting =
|
|
1969
1971
|
res.data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
1972
|
+
if(_that.enableCustomLimitTimeSetting && res.data.nodeMoreInfo.defaultCustomLimitDays){
|
|
1973
|
+
_that.form.customLimitTime = res.data.nodeMoreInfo.defaultCustomLimitDays + '';
|
|
1974
|
+
}
|
|
1970
1975
|
res.data.otherOrgDisabledObjId &&
|
|
1971
1976
|
(this.otherOrgDisabledObjId =
|
|
1972
1977
|
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
|
|
|
@@ -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 {
|