eoss-mobiles 0.3.86 → 0.3.87
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 +217 -77
- package/lib/flow.js +192 -69
- package/lib/index.js +1 -1
- package/lib/selector.js +19 -2
- package/package.json +1 -1
- package/packages/flow/src/components/Circulate.vue +5 -0
- package/packages/flow/src/components/Handle.vue +93 -34
- package/packages/flow/src/components/ProcessSettings.vue +5 -2
- package/packages/flow/src/components/StartFlow.vue +84 -70
- package/packages/flow/src/components/TaskRead.vue +15 -10
- package/packages/flow/src/components/reset.vue +44 -22
- package/packages/flow/src/components/taskUnionExamine.vue +46 -35
- package/packages/selector/src/main.vue +20 -3
- package/src/index.js +1 -1
package/lib/selector.js
CHANGED
|
@@ -2135,7 +2135,7 @@ module.exports = require("sm-crypto");
|
|
|
2135
2135
|
// ESM COMPAT FLAG
|
|
2136
2136
|
__webpack_require__.r(__webpack_exports__);
|
|
2137
2137
|
|
|
2138
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
2138
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=9e5cfe38
|
|
2139
2139
|
var render = function () {
|
|
2140
2140
|
var _vm = this
|
|
2141
2141
|
var _h = _vm.$createElement
|
|
@@ -2269,7 +2269,7 @@ var staticRenderFns = []
|
|
|
2269
2269
|
render._withStripped = true
|
|
2270
2270
|
|
|
2271
2271
|
|
|
2272
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
2272
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=9e5cfe38
|
|
2273
2273
|
|
|
2274
2274
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=1898a068
|
|
2275
2275
|
var selector_treevue_type_template_id_1898a068_render = function () {
|
|
@@ -4922,6 +4922,10 @@ var selector_field_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4922
4922
|
showTree: {
|
|
4923
4923
|
type: Boolean,
|
|
4924
4924
|
default: false
|
|
4925
|
+
},
|
|
4926
|
+
isClosePopup: {
|
|
4927
|
+
type: Boolean,
|
|
4928
|
+
default: false
|
|
4925
4929
|
}
|
|
4926
4930
|
},
|
|
4927
4931
|
data: function data() {
|
|
@@ -4933,6 +4937,17 @@ var selector_field_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4933
4937
|
},
|
|
4934
4938
|
|
|
4935
4939
|
watch: {
|
|
4940
|
+
isClosePopup: {
|
|
4941
|
+
handler: function handler(val) {
|
|
4942
|
+
if (this.showSelectorTree) {
|
|
4943
|
+
this.showSelectorTree = false;
|
|
4944
|
+
this.$emit('selector-click', this.showSelectorTree);
|
|
4945
|
+
}
|
|
4946
|
+
},
|
|
4947
|
+
|
|
4948
|
+
deep: true,
|
|
4949
|
+
immediate: true
|
|
4950
|
+
},
|
|
4936
4951
|
value: {
|
|
4937
4952
|
handler: function handler(val) {
|
|
4938
4953
|
this.selectList = val;
|
|
@@ -4969,6 +4984,7 @@ var selector_field_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4969
4984
|
handleSelector: function handleSelector() {
|
|
4970
4985
|
if (this.$attrs.disabled || this.$attrs.readonly) return;
|
|
4971
4986
|
this.showSelectorTree = !this.showSelectorTree;
|
|
4987
|
+
this.$emit('selector-click', this.showSelectorTree);
|
|
4972
4988
|
},
|
|
4973
4989
|
|
|
4974
4990
|
/**
|
|
@@ -4991,6 +5007,7 @@ var selector_field_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4991
5007
|
}
|
|
4992
5008
|
}
|
|
4993
5009
|
this.showSelectorTree = false;
|
|
5010
|
+
this.$emit('selector-click', this.showSelectorTree);
|
|
4994
5011
|
},
|
|
4995
5012
|
|
|
4996
5013
|
/**
|
package/package.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
v-model="nextCurrentOrgObjSelect"
|
|
75
75
|
multiple
|
|
76
76
|
:isAllCheck="isAllCheck"
|
|
77
|
+
@selector-click="handleSelectorClick"
|
|
77
78
|
:paddingTop="paddingTop"
|
|
78
79
|
isDepartment
|
|
79
80
|
:objType="'enterprise'"
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
<em-selector
|
|
93
94
|
v-model="nextOtherOrgObjSelect"
|
|
94
95
|
multiple
|
|
96
|
+
@selector-click="handleSelectorClick"
|
|
95
97
|
:isAllCheck="isAllCheck"
|
|
96
98
|
:paddingTop="paddingTop"
|
|
97
99
|
:objType="'enterprise'"
|
|
@@ -343,6 +345,9 @@ export default {
|
|
|
343
345
|
},
|
|
344
346
|
computed: {},
|
|
345
347
|
methods: {
|
|
348
|
+
handleSelectorClick(val){
|
|
349
|
+
this.$parent.$emit('selector-click', val);
|
|
350
|
+
},
|
|
346
351
|
getMessage() {
|
|
347
352
|
let params = {
|
|
348
353
|
url: getNotificationMsg,
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
isForceDisplayDefaultOptionForPrefix
|
|
48
48
|
"
|
|
49
49
|
:pendingItemHandleDescription="pendingItemHandleDescription"
|
|
50
|
+
:oldOpinion="form.opinion"
|
|
50
51
|
:placeholder="
|
|
51
52
|
pendingItemHandleDescription || opinionHandleExplainText
|
|
52
53
|
"
|
|
@@ -95,10 +96,12 @@
|
|
|
95
96
|
multiple
|
|
96
97
|
:isAllCheck="isAllCheck"
|
|
97
98
|
:baseUrl="apiBaseUrl"
|
|
99
|
+
:isClosePopup="showSelectorPopup"
|
|
98
100
|
:paddingTop="paddingTop"
|
|
99
101
|
:objType="objType"
|
|
100
102
|
v-model="addSignUserSelectList"
|
|
101
103
|
@change="disposeAppUser($event, 'addSignUserSelectList')"
|
|
104
|
+
@selector-click="handleSelectorClick"
|
|
102
105
|
/>
|
|
103
106
|
<em-input v-if="isCanPreAddSign" label="加签模式">
|
|
104
107
|
<template slot="input">
|
|
@@ -138,8 +141,10 @@
|
|
|
138
141
|
required
|
|
139
142
|
:paddingTop="paddingTop"
|
|
140
143
|
multiple
|
|
144
|
+
:isClosePopup="showSelectorPopup"
|
|
141
145
|
:baseUrl="apiBaseUrl"
|
|
142
146
|
:objType="objType"
|
|
147
|
+
@selector-click="handleSelectorClick"
|
|
143
148
|
v-model="removeSignUserSelectList"
|
|
144
149
|
@change="disposeAppUser($event, 'removeSignUserSelectList')"
|
|
145
150
|
/>
|
|
@@ -206,7 +211,10 @@
|
|
|
206
211
|
"
|
|
207
212
|
>
|
|
208
213
|
<em-picker
|
|
209
|
-
v-if="
|
|
214
|
+
v-if="
|
|
215
|
+
nextNodeCheckType == 'select' &&
|
|
216
|
+
flowSelectType == 'picker'
|
|
217
|
+
"
|
|
210
218
|
title="下步节点"
|
|
211
219
|
label="下步节点"
|
|
212
220
|
required
|
|
@@ -219,7 +227,9 @@
|
|
|
219
227
|
@confirm="onConfirmNextNode"
|
|
220
228
|
/>
|
|
221
229
|
<em-input
|
|
222
|
-
v-else-if="
|
|
230
|
+
v-else-if="
|
|
231
|
+
nextNodeCheckType == 'select' && flowSelectType == 'popup'
|
|
232
|
+
"
|
|
223
233
|
label="下步节点"
|
|
224
234
|
required
|
|
225
235
|
:readonly="true"
|
|
@@ -227,10 +237,12 @@
|
|
|
227
237
|
label-position="top"
|
|
228
238
|
right-icon="arrow"
|
|
229
239
|
>
|
|
230
|
-
|
|
231
|
-
<div style="width: calc(100% - 40px)
|
|
240
|
+
<template slot="input">
|
|
241
|
+
<div style="width: calc(100% - 40px)">
|
|
242
|
+
{{ form.nextNodeName }}
|
|
243
|
+
</div>
|
|
232
244
|
</template>
|
|
233
|
-
|
|
245
|
+
</em-input>
|
|
234
246
|
<em-input
|
|
235
247
|
v-else
|
|
236
248
|
value="下步节点"
|
|
@@ -268,7 +280,9 @@
|
|
|
268
280
|
v-model="nextUserSelectList"
|
|
269
281
|
:objType="objType"
|
|
270
282
|
:isAllCheck="isAllCheck"
|
|
283
|
+
:isClosePopup="showSelectorPopup"
|
|
271
284
|
required
|
|
285
|
+
@selector-click="handleSelectorClick"
|
|
272
286
|
:paddingTop="paddingTop"
|
|
273
287
|
:nextUserList="nextUserList"
|
|
274
288
|
:baseUrl="apiBaseUrl"
|
|
@@ -312,9 +326,11 @@
|
|
|
312
326
|
<em-selector
|
|
313
327
|
v-model="nextCurrentOrgObjSelect"
|
|
314
328
|
multiple
|
|
329
|
+
:isClosePopup="showSelectorPopup"
|
|
315
330
|
:isAllCheck="isAllCheck"
|
|
316
331
|
:paddingTop="paddingTop"
|
|
317
332
|
isDepartment
|
|
333
|
+
@selector-click="handleSelectorClick"
|
|
318
334
|
:objType="'enterprise'"
|
|
319
335
|
:tabs="currentOrgSelectorTabs"
|
|
320
336
|
:param="currentOrgSelectorParams"
|
|
@@ -333,7 +349,9 @@
|
|
|
333
349
|
v-model="nextOtherOrgObjSelect"
|
|
334
350
|
multiple
|
|
335
351
|
:isAllCheck="isAllCheck"
|
|
352
|
+
:isClosePopup="showSelectorPopup"
|
|
336
353
|
:paddingTop="paddingTop"
|
|
354
|
+
@selector-click="handleSelectorClick"
|
|
337
355
|
:objType="'enterprise'"
|
|
338
356
|
:param="foreignOrgSelectorParams"
|
|
339
357
|
:tabs="foreignOrgSelectorTabs"
|
|
@@ -458,10 +476,12 @@
|
|
|
458
476
|
v-model="nextReadUserSelectList"
|
|
459
477
|
multiple
|
|
460
478
|
:isAllCheck="isAllCheck"
|
|
479
|
+
@selector-click="handleSelectorClick"
|
|
461
480
|
:objType="objType"
|
|
462
481
|
:param="{
|
|
463
482
|
pid: pid
|
|
464
483
|
}"
|
|
484
|
+
:isClosePopup="showSelectorPopup"
|
|
465
485
|
:paddingTop="paddingTop"
|
|
466
486
|
:baseUrl="apiBaseUrl"
|
|
467
487
|
tabs="employee,persongroup"
|
|
@@ -606,7 +626,9 @@
|
|
|
606
626
|
</div>
|
|
607
627
|
<div v-else-if="showFlowBtn" class="btn-list">
|
|
608
628
|
<div class="btn" @click="navigateBack">取消</div>
|
|
609
|
-
<div class="btn" @click="onSubmit()">
|
|
629
|
+
<div class="btn" @click="onSubmit()">
|
|
630
|
+
{{ submitButtonName || '确定' }}
|
|
631
|
+
</div>
|
|
610
632
|
</div>
|
|
611
633
|
</div>
|
|
612
634
|
<Reject
|
|
@@ -637,12 +659,12 @@
|
|
|
637
659
|
</div>
|
|
638
660
|
</em-popup>
|
|
639
661
|
<em-popup
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
>
|
|
645
|
-
<div class="em-flow-popup-box"
|
|
662
|
+
lass="em-flow-popup"
|
|
663
|
+
v-model="showFlowSelect"
|
|
664
|
+
position="center"
|
|
665
|
+
style="width: 80%"
|
|
666
|
+
>
|
|
667
|
+
<div class="em-flow-popup-box">
|
|
646
668
|
<div class="em-flow-popup-box-top">
|
|
647
669
|
<div></div>
|
|
648
670
|
<span>下步节点 </span
|
|
@@ -659,7 +681,7 @@
|
|
|
659
681
|
</div>
|
|
660
682
|
</div>
|
|
661
683
|
</div>
|
|
662
|
-
</em-popup>
|
|
684
|
+
</em-popup>
|
|
663
685
|
</div>
|
|
664
686
|
</template>
|
|
665
687
|
|
|
@@ -747,6 +769,19 @@ export default {
|
|
|
747
769
|
hideMessage: {
|
|
748
770
|
type: Boolean,
|
|
749
771
|
default: false
|
|
772
|
+
},
|
|
773
|
+
isClosePopup: {
|
|
774
|
+
type: Boolean,
|
|
775
|
+
default: false
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
watch: {
|
|
779
|
+
isClosePopup: {
|
|
780
|
+
handler(val) {
|
|
781
|
+
this.showSelectorPopup = !this.showSelectorPopup;
|
|
782
|
+
},
|
|
783
|
+
deep: true,
|
|
784
|
+
immediate: true
|
|
750
785
|
}
|
|
751
786
|
},
|
|
752
787
|
data() {
|
|
@@ -757,8 +792,9 @@ export default {
|
|
|
757
792
|
],
|
|
758
793
|
showFlowBtn: false,
|
|
759
794
|
endFlow: false,
|
|
760
|
-
submitButtonName:'',
|
|
761
|
-
|
|
795
|
+
submitButtonName: '',
|
|
796
|
+
showSelectorPopup: false,
|
|
797
|
+
showFlowSelect: false,
|
|
762
798
|
currentOrgSelectorParams: {},
|
|
763
799
|
currentOrgSelectorTabs: 'department,employee',
|
|
764
800
|
foreignOrgSelectorTabs: 'enterprise,filgroupobj',
|
|
@@ -930,7 +966,11 @@ export default {
|
|
|
930
966
|
created() {
|
|
931
967
|
// 获取用户信息
|
|
932
968
|
// 生成时间数组
|
|
933
|
-
this.currentOrgSelectorParams={
|
|
969
|
+
this.currentOrgSelectorParams = {
|
|
970
|
+
pid: this.orgId,
|
|
971
|
+
only_filid: true,
|
|
972
|
+
onlyMyOrg: true
|
|
973
|
+
};
|
|
934
974
|
this.timeList = new Array();
|
|
935
975
|
for (let i = 0; i < 25; i++) {
|
|
936
976
|
this.timeList.push(i);
|
|
@@ -986,9 +1026,13 @@ export default {
|
|
|
986
1026
|
}
|
|
987
1027
|
},
|
|
988
1028
|
methods: {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1029
|
+
handleSelectorClick(val) {
|
|
1030
|
+
this.$parent.$emit('selector-click', val);
|
|
1031
|
+
},
|
|
1032
|
+
handleClickFlow(val) {
|
|
1033
|
+
console.log(val);
|
|
1034
|
+
if (val.nodeId === this.form.nextNodeId)
|
|
1035
|
+
return (this.showFlowSelect = false);
|
|
992
1036
|
this.form.nextNodeId = val.nodeId;
|
|
993
1037
|
this.form.nextNodeName = val.nodeName;
|
|
994
1038
|
this.showFlowSelect = false;
|
|
@@ -1709,6 +1753,7 @@ export default {
|
|
|
1709
1753
|
choiceOrgId,
|
|
1710
1754
|
choiceDeptId,
|
|
1711
1755
|
pOrgId,
|
|
1756
|
+
opinion,
|
|
1712
1757
|
taskExamine,
|
|
1713
1758
|
customPresetHintMessage,
|
|
1714
1759
|
currentOrgName,
|
|
@@ -1725,6 +1770,9 @@ export default {
|
|
|
1725
1770
|
isCanPreAddSign
|
|
1726
1771
|
}
|
|
1727
1772
|
} = res;
|
|
1773
|
+
if(opinion){
|
|
1774
|
+
that.form.opinion = opinion;
|
|
1775
|
+
}
|
|
1728
1776
|
if (
|
|
1729
1777
|
currentOrgSelectorParams &&
|
|
1730
1778
|
currentOrgSelectorParams.enableCurrentOrgConfig == 'true'
|
|
@@ -1775,18 +1823,24 @@ export default {
|
|
|
1775
1823
|
});
|
|
1776
1824
|
that.foreignOrgSelectorTabs =
|
|
1777
1825
|
that.foreignOrgSelectorTabs.join(',');
|
|
1778
|
-
}else if(isChoiceOtherOrgDept == 'true'){
|
|
1779
|
-
that.foreignOrgSelectorTabs = 'enterprise,department'
|
|
1780
|
-
that.foreignOrgSelectorParams.pid = 'root'
|
|
1781
|
-
that.foreignOrgSelectorParams.nofilid = 1
|
|
1782
|
-
that.foreignOrgSelectorParams = {
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
that.foreignOrgSelectorParams
|
|
1787
|
-
|
|
1788
|
-
that.
|
|
1789
|
-
|
|
1826
|
+
} else if (isChoiceOtherOrgDept == 'true') {
|
|
1827
|
+
that.foreignOrgSelectorTabs = 'enterprise,department';
|
|
1828
|
+
that.foreignOrgSelectorParams.pid = 'root';
|
|
1829
|
+
that.foreignOrgSelectorParams.nofilid = 1;
|
|
1830
|
+
that.foreignOrgSelectorParams = {
|
|
1831
|
+
...that.foreignOrgSelectorParams,
|
|
1832
|
+
...that.selectorParams
|
|
1833
|
+
};
|
|
1834
|
+
console.log(that.foreignOrgSelectorParams, 1);
|
|
1835
|
+
} else {
|
|
1836
|
+
that.foreignOrgSelectorTabs = 'enterprise';
|
|
1837
|
+
that.foreignOrgSelectorParams.pid = 'root';
|
|
1838
|
+
that.foreignOrgSelectorParams.nofilid = 1;
|
|
1839
|
+
that.foreignOrgSelectorParams = {
|
|
1840
|
+
...that.foreignOrgSelectorParams,
|
|
1841
|
+
...that.selectorParams
|
|
1842
|
+
};
|
|
1843
|
+
console.log(that.foreignOrgSelectorParams, 2);
|
|
1790
1844
|
}
|
|
1791
1845
|
if (
|
|
1792
1846
|
taskOperationShiftedNodeList &&
|
|
@@ -2022,7 +2076,12 @@ export default {
|
|
|
2022
2076
|
const {
|
|
2023
2077
|
status,
|
|
2024
2078
|
message,
|
|
2025
|
-
data: {
|
|
2079
|
+
data: {
|
|
2080
|
+
isCanFenyue,
|
|
2081
|
+
taskExamine,
|
|
2082
|
+
taskReadOpinionRequired,
|
|
2083
|
+
submitButtonName
|
|
2084
|
+
}
|
|
2026
2085
|
} = res;
|
|
2027
2086
|
this.showFlowBtn = true;
|
|
2028
2087
|
if (status === 'success') {
|
|
@@ -2031,7 +2090,7 @@ export default {
|
|
|
2031
2090
|
this.taskReadOpinionRequired = taskReadOpinionRequired;
|
|
2032
2091
|
// if (this.nodeName) {
|
|
2033
2092
|
this.processObj.taskExamine.nodeName = '分阅';
|
|
2034
|
-
this.submitButtonName = submitButtonName
|
|
2093
|
+
this.submitButtonName = submitButtonName;
|
|
2035
2094
|
// }
|
|
2036
2095
|
} else {
|
|
2037
2096
|
this.$toast(message || '系统错误,请联系管理员!');
|
|
@@ -2117,7 +2176,7 @@ export default {
|
|
|
2117
2176
|
this.nextUserList.map((r) => {
|
|
2118
2177
|
_this.$set(r, 'checked', false);
|
|
2119
2178
|
});
|
|
2120
|
-
_that.currentOrgSelectorParams.roleid = _that.deptRoleCode
|
|
2179
|
+
_that.currentOrgSelectorParams.roleid = _that.deptRoleCode;
|
|
2121
2180
|
this.isHandleExplain =
|
|
2122
2181
|
res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
|
|
2123
2182
|
this.isCustomUserClick =
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
:multiple="!item.isRadio"
|
|
25
25
|
v-show="item.showSelectUser"
|
|
26
26
|
:nextUserList="item.nextUserList"
|
|
27
|
+
@selector-click="handleSelectorClick"
|
|
27
28
|
v-model="item.nextUserSelectList"
|
|
28
29
|
label="办理人"
|
|
29
30
|
:objType="item.objType"
|
|
@@ -128,14 +129,16 @@ export default {
|
|
|
128
129
|
}
|
|
129
130
|
},
|
|
130
131
|
methods: {
|
|
132
|
+
handleSelectorClick(val) {
|
|
133
|
+
this.$parent.$emit('selector-click', val);
|
|
134
|
+
},
|
|
131
135
|
getValue() {
|
|
132
136
|
let pass = true;
|
|
133
137
|
let PresetData = [];
|
|
134
138
|
let newFlowList = this.flowList.filter(
|
|
135
139
|
(x) =>
|
|
136
140
|
x.nodeId &&
|
|
137
|
-
(typeof x.nodeId == 'object' ? x.nodeId.nodeId : x.nodeId) !=
|
|
138
|
-
'-2'
|
|
141
|
+
(typeof x.nodeId == 'object' ? x.nodeId.nodeId : x.nodeId) != '-2'
|
|
139
142
|
);
|
|
140
143
|
for (let i = 0; i < newFlowList.length; i++) {
|
|
141
144
|
if (
|