eoss-mobiles 0.3.62 → 0.3.64
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 +115 -66
- package/lib/flow.js +114 -65
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/components/Handle.vue +67 -37
- package/packages/flow/src/components/Reject.vue +5 -1
- package/packages/flow/src/components/StartFlow.vue +5 -1
- package/packages/flow/src/components/TaskRead.vue +5 -1
- package/packages/flow/src/components/reset.vue +5 -1
- package/packages/flow/src/components/supervise.vue +5 -1
- package/packages/flow/src/components/taskUnionExamine.vue +5 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -50,7 +50,10 @@
|
|
|
50
50
|
:isHiddenOftenOpinion="isHiddenOftenOpinion == 1 ? false : true"
|
|
51
51
|
></Opinion>
|
|
52
52
|
<!-- 审核内容 -->
|
|
53
|
-
<div
|
|
53
|
+
<div
|
|
54
|
+
class="special-box input-box"
|
|
55
|
+
v-if="typeCode != 'fenyue' && (!endFlow || taskOperations.length>1 || taskOperationShiftedNodeList)"
|
|
56
|
+
>
|
|
54
57
|
<!-- 加签 -->
|
|
55
58
|
<div
|
|
56
59
|
class="item"
|
|
@@ -399,7 +402,8 @@
|
|
|
399
402
|
<div
|
|
400
403
|
class="item"
|
|
401
404
|
v-if="
|
|
402
|
-
currentNodeEnableItemHandleDescription &&
|
|
405
|
+
currentNodeEnableItemHandleDescription &&
|
|
406
|
+
nodeList &&
|
|
403
407
|
nodeList.length != 0 &&
|
|
404
408
|
isShowNode &&
|
|
405
409
|
isNextUser
|
|
@@ -538,7 +542,7 @@
|
|
|
538
542
|
<Message
|
|
539
543
|
ref="message"
|
|
540
544
|
:label="'催办通知方式'"
|
|
541
|
-
:code="
|
|
545
|
+
:code="msgCode"
|
|
542
546
|
onlyShowType
|
|
543
547
|
:baseUrl="baseUrl"
|
|
544
548
|
:pendingId="pendingId"
|
|
@@ -551,7 +555,7 @@
|
|
|
551
555
|
<div class="item-msg item-msg2">
|
|
552
556
|
<Message
|
|
553
557
|
ref="message"
|
|
554
|
-
:code="
|
|
558
|
+
:code="msgCode"
|
|
555
559
|
:baseUrl="baseUrl"
|
|
556
560
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
557
561
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
@@ -564,7 +568,10 @@
|
|
|
564
568
|
</div>
|
|
565
569
|
</div>
|
|
566
570
|
</div>
|
|
567
|
-
<div
|
|
571
|
+
<div
|
|
572
|
+
v-if="isSubmitButtonShowAgreeAndDisagree && showFlowBtn"
|
|
573
|
+
class="btn-list"
|
|
574
|
+
>
|
|
568
575
|
<div class="btn" @click="handleFlow = false">不同意</div>
|
|
569
576
|
<div class="btn" @click="onSubmit()">同意</div>
|
|
570
577
|
</div>
|
|
@@ -646,6 +653,10 @@ export default {
|
|
|
646
653
|
type: [String, Number],
|
|
647
654
|
default: 0
|
|
648
655
|
},
|
|
656
|
+
msgCode: {
|
|
657
|
+
type: String,
|
|
658
|
+
default: 'notification_type'
|
|
659
|
+
},
|
|
649
660
|
isAllCheck: {
|
|
650
661
|
type: Boolean,
|
|
651
662
|
default: false
|
|
@@ -662,7 +673,7 @@ export default {
|
|
|
662
673
|
type: String,
|
|
663
674
|
default: ''
|
|
664
675
|
},
|
|
665
|
-
selectorParams:{
|
|
676
|
+
selectorParams: {
|
|
666
677
|
type: Object,
|
|
667
678
|
default: () => {}
|
|
668
679
|
}
|
|
@@ -673,8 +684,8 @@ export default {
|
|
|
673
684
|
{ name: '前置加签', value: 'preAddSign' },
|
|
674
685
|
{ name: '后置加签', value: 'postAddSign' }
|
|
675
686
|
],
|
|
676
|
-
showFlowBtn:false,
|
|
677
|
-
endFlow:false,
|
|
687
|
+
showFlowBtn: false,
|
|
688
|
+
endFlow: false,
|
|
678
689
|
currentOrgSelectorParams: {},
|
|
679
690
|
currentOrgSelectorTabs: 'employee, persongroup',
|
|
680
691
|
foreignOrgSelectorTabs: 'enterprise,filgroupobj',
|
|
@@ -1353,9 +1364,7 @@ export default {
|
|
|
1353
1364
|
},
|
|
1354
1365
|
// 切换下一步操作
|
|
1355
1366
|
changeNextOperate(val, isDef) {
|
|
1356
|
-
console.log(val,isDef,this.tagKey,'isDef')
|
|
1357
1367
|
if (!isDef && val.key === this.tagKey) return;
|
|
1358
|
-
console.log(val,isDef,this.tagKey,'isDef2222')
|
|
1359
1368
|
this.tagKey = val.key;
|
|
1360
1369
|
//恢复默认
|
|
1361
1370
|
this.isNextUser = false;
|
|
@@ -1379,13 +1388,13 @@ export default {
|
|
|
1379
1388
|
} else {
|
|
1380
1389
|
this.isReject = false;
|
|
1381
1390
|
}
|
|
1382
|
-
this.form.nextOperate = val.key;
|
|
1391
|
+
this.form.nextOperate = val.isNextNode? val.nextOperate:val.key;
|
|
1383
1392
|
this.form.nextOperateName = val.value;
|
|
1384
1393
|
this.nodeList = val.taskNodeList;
|
|
1385
1394
|
if (this.isSpecial) {
|
|
1386
1395
|
if (val.key == -1) {
|
|
1387
1396
|
this.form.isSerialSubmit = 1;
|
|
1388
|
-
this.showFlowBtn = true
|
|
1397
|
+
this.showFlowBtn = true;
|
|
1389
1398
|
return;
|
|
1390
1399
|
} else if (val.key == 0) {
|
|
1391
1400
|
this.isNextUser = true;
|
|
@@ -1395,35 +1404,35 @@ export default {
|
|
|
1395
1404
|
this.isShowNode = true;
|
|
1396
1405
|
} else if (val.key == 2) {
|
|
1397
1406
|
this.form.isReturnSubmitter = 1;
|
|
1398
|
-
this.showFlowBtn = true
|
|
1407
|
+
this.showFlowBtn = true;
|
|
1399
1408
|
return;
|
|
1400
1409
|
} else if (val.key == 3) {
|
|
1401
1410
|
this.form.isUndertakeReply = 1;
|
|
1402
|
-
this.showFlowBtn = true
|
|
1411
|
+
this.showFlowBtn = true;
|
|
1403
1412
|
return;
|
|
1404
1413
|
} else if (val.key == 4) {
|
|
1405
1414
|
this.form.isTakeAdviceReply = 1;
|
|
1406
|
-
this.showFlowBtn = true
|
|
1415
|
+
this.showFlowBtn = true;
|
|
1407
1416
|
return;
|
|
1408
1417
|
} else if (val.key == 5) {
|
|
1409
1418
|
this.form.isUndertakeEnd = 1;
|
|
1410
|
-
this.showFlowBtn = true
|
|
1419
|
+
this.showFlowBtn = true;
|
|
1411
1420
|
return;
|
|
1412
1421
|
} else if (val.key == 6) {
|
|
1413
1422
|
this.form.isTakeAdviceEnd = 1;
|
|
1414
|
-
this.showFlowBtn = true
|
|
1423
|
+
this.showFlowBtn = true;
|
|
1415
1424
|
return;
|
|
1416
1425
|
} else if (val.key == 7) {
|
|
1417
1426
|
this.form.isReadDealReply = 1;
|
|
1418
|
-
this.showFlowBtn = true
|
|
1427
|
+
this.showFlowBtn = true;
|
|
1419
1428
|
return;
|
|
1420
1429
|
} else if (val.key == 8) {
|
|
1421
1430
|
this.form.isReadDealEnd = 1;
|
|
1422
|
-
this.showFlowBtn = true
|
|
1431
|
+
this.showFlowBtn = true;
|
|
1423
1432
|
return;
|
|
1424
1433
|
} else if (val.key == 9) {
|
|
1425
1434
|
this.form.isReturnRejectNode = 1;
|
|
1426
|
-
this.showFlowBtn = true
|
|
1435
|
+
this.showFlowBtn = true;
|
|
1427
1436
|
return;
|
|
1428
1437
|
} else {
|
|
1429
1438
|
}
|
|
@@ -1451,8 +1460,8 @@ export default {
|
|
|
1451
1460
|
});
|
|
1452
1461
|
|
|
1453
1462
|
this.getNodeObj(this.form.nextNodeId);
|
|
1454
|
-
}else{
|
|
1455
|
-
|
|
1463
|
+
} else {
|
|
1464
|
+
this.showFlowBtn = true;
|
|
1456
1465
|
}
|
|
1457
1466
|
if (this.nodeList && this.nodeList.length > 0) {
|
|
1458
1467
|
let defNode = this.nodeList.filter(
|
|
@@ -1475,8 +1484,8 @@ export default {
|
|
|
1475
1484
|
});
|
|
1476
1485
|
|
|
1477
1486
|
if (isDef !== true) this.getNodeObj(this.form.nextNodeId);
|
|
1478
|
-
}else{
|
|
1479
|
-
this.showFlowBtn = true
|
|
1487
|
+
} else {
|
|
1488
|
+
this.showFlowBtn = true;
|
|
1480
1489
|
}
|
|
1481
1490
|
|
|
1482
1491
|
this.showNextOperate = false;
|
|
@@ -1641,7 +1650,7 @@ export default {
|
|
|
1641
1650
|
currentOrgparams[i] == 'my'
|
|
1642
1651
|
? choiceOrgId
|
|
1643
1652
|
: currentOrgparams[i],
|
|
1644
|
-
only_filid:true
|
|
1653
|
+
only_filid: true
|
|
1645
1654
|
};
|
|
1646
1655
|
});
|
|
1647
1656
|
that.currentOrgSelectorTabs =
|
|
@@ -1657,10 +1666,16 @@ export default {
|
|
|
1657
1666
|
pid:
|
|
1658
1667
|
foreignOrgparams[i] == 'my'
|
|
1659
1668
|
? choiceOrgId
|
|
1660
|
-
: foreignOrgparams[i] == 'other' ||
|
|
1669
|
+
: foreignOrgparams[i] == 'other' ||
|
|
1670
|
+
foreignOrgparams[i] == 'nofilidorg'
|
|
1661
1671
|
? 'root'
|
|
1662
1672
|
: foreignOrgparams[i],
|
|
1663
|
-
nofilid:
|
|
1673
|
+
nofilid:
|
|
1674
|
+
foreignOrgparams[i] == 'nofilidorg'
|
|
1675
|
+
? that.orgId || JSON.parse($.getStorage('userInfo')).orgId
|
|
1676
|
+
: foreignOrgparams[i] == 'other'
|
|
1677
|
+
? 1
|
|
1678
|
+
: 0,
|
|
1664
1679
|
myUserid: x == 'filgroup' ? $.getStorage('userId') : '',
|
|
1665
1680
|
...that.selectorParams
|
|
1666
1681
|
};
|
|
@@ -1728,17 +1743,31 @@ export default {
|
|
|
1728
1743
|
let isSelected = false;
|
|
1729
1744
|
that.taskOperations.map((item) => {
|
|
1730
1745
|
if (item.isSelected || that.taskOperations.length == 1) {
|
|
1746
|
+
|
|
1731
1747
|
isSelected = true;
|
|
1732
1748
|
if (that.taskOperations.length == 1) {
|
|
1733
|
-
|
|
1749
|
+
|
|
1750
|
+
if (that.taskOperations[0].isNextNode) {
|
|
1751
|
+
|
|
1752
|
+
that.form.nextOperate =
|
|
1753
|
+
that.taskOperations[0].nextOperate;
|
|
1754
|
+
} else {
|
|
1755
|
+
that.form.nextOperate = that.taskOperations[0].key;
|
|
1756
|
+
}
|
|
1734
1757
|
that.form.nextOperateName = that.taskOperations[0].value;
|
|
1735
1758
|
if (
|
|
1736
|
-
|
|
1737
|
-
that.taskOperations[0].taskNodeList.length === 0
|
|
1759
|
+
( !that.taskOperations[0].taskNodeList ||
|
|
1760
|
+
(that.taskOperations[0].taskNodeList.length === 0)) &&
|
|
1761
|
+
!that.taskOperations[0].isNextNode
|
|
1738
1762
|
) {
|
|
1763
|
+
|
|
1739
1764
|
that.form.nextNodeId = undefined;
|
|
1740
1765
|
that.form.nextNodeName = undefined;
|
|
1766
|
+
} else if (that.taskOperations[0].isNextNode) {
|
|
1767
|
+
that.form.nextNodeId = that.taskOperations[0].key;
|
|
1768
|
+
that.form.nextNodeName = that.taskOperations[0].value;
|
|
1741
1769
|
} else {
|
|
1770
|
+
|
|
1742
1771
|
that.nodeList = that.taskOperations[0].taskNodeList;
|
|
1743
1772
|
let info = [];
|
|
1744
1773
|
that.nodeList.map((x) => {
|
|
@@ -1807,7 +1836,9 @@ export default {
|
|
|
1807
1836
|
that.changeNextOperate(
|
|
1808
1837
|
{
|
|
1809
1838
|
value: that.form.nextOperateName,
|
|
1810
|
-
key: that.
|
|
1839
|
+
key: that.taskOperations[0].key,
|
|
1840
|
+
nextOperate: that.taskOperations[0].nextOperate,
|
|
1841
|
+
isNextNode:that.taskOperations[0].isNextNode,
|
|
1811
1842
|
taskNodeList: that.nodeList
|
|
1812
1843
|
},
|
|
1813
1844
|
true
|
|
@@ -1891,7 +1922,7 @@ export default {
|
|
|
1891
1922
|
message,
|
|
1892
1923
|
data: { isCanFenyue, taskExamine, taskReadOpinionRequired }
|
|
1893
1924
|
} = res;
|
|
1894
|
-
this.showFlowBtn = true
|
|
1925
|
+
this.showFlowBtn = true;
|
|
1895
1926
|
if (status === 'success') {
|
|
1896
1927
|
this.taskExamineInfo = taskExamine;
|
|
1897
1928
|
this.isCanFenyue = isCanFenyue;
|
|
@@ -1906,8 +1937,8 @@ export default {
|
|
|
1906
1937
|
})
|
|
1907
1938
|
.catch((err) => {
|
|
1908
1939
|
this.$toast.clear();
|
|
1909
|
-
|
|
1910
|
-
this.showFlowBtn = true
|
|
1940
|
+
|
|
1941
|
+
this.showFlowBtn = true;
|
|
1911
1942
|
if (err.message && err.message !== 'canceled') {
|
|
1912
1943
|
this.$toast(err.message);
|
|
1913
1944
|
}
|
|
@@ -1928,9 +1959,8 @@ export default {
|
|
|
1928
1959
|
}
|
|
1929
1960
|
}).then((res) => {
|
|
1930
1961
|
this.$toast.clear();
|
|
1931
|
-
this.showFlowBtn = true
|
|
1962
|
+
this.showFlowBtn = true;
|
|
1932
1963
|
if (res.status == 'success') {
|
|
1933
|
-
|
|
1934
1964
|
_that.currentNodeEnableItemHandleDescription =
|
|
1935
1965
|
res.data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
1936
1966
|
_that.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
|
|
@@ -2033,7 +2063,7 @@ export default {
|
|
|
2033
2063
|
: false; // 判断是否隐藏下一步节点信息和接收人信息
|
|
2034
2064
|
if (res.data.globalNodeType === 'endEvent') {
|
|
2035
2065
|
this.isNextUser = false;
|
|
2036
|
-
_that.endFlow = true
|
|
2066
|
+
_that.endFlow = true;
|
|
2037
2067
|
this.form.nextUserId = '流程办结';
|
|
2038
2068
|
} else {
|
|
2039
2069
|
this.nodeType != 1 &&
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<Message
|
|
30
30
|
v-if="rejectObj && rejectObj.length != 0"
|
|
31
31
|
ref="message"
|
|
32
|
-
:code="
|
|
32
|
+
:code="msgCode"
|
|
33
33
|
:baseUrl="baseUrl"
|
|
34
34
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
35
35
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
@@ -65,6 +65,10 @@ export default {
|
|
|
65
65
|
type: Boolean,
|
|
66
66
|
default: false
|
|
67
67
|
},
|
|
68
|
+
msgCode: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: 'notification_type'
|
|
71
|
+
},
|
|
68
72
|
userId: {
|
|
69
73
|
type: String,
|
|
70
74
|
default: ''
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<!-- 通知方式 -->
|
|
158
158
|
<Message
|
|
159
159
|
ref="message"
|
|
160
|
-
:code="
|
|
160
|
+
:code="msgCode"
|
|
161
161
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
162
162
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
163
163
|
:defaultNotificationMsg="form.notificationMsg"
|
|
@@ -249,6 +249,10 @@ export default {
|
|
|
249
249
|
type: Object,
|
|
250
250
|
default: () => {}
|
|
251
251
|
},
|
|
252
|
+
msgCode: {
|
|
253
|
+
type: String,
|
|
254
|
+
default: 'notification_type'
|
|
255
|
+
},
|
|
252
256
|
opinion: {
|
|
253
257
|
type: String,
|
|
254
258
|
default: ''
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<div class="item">
|
|
79
79
|
<Message
|
|
80
80
|
ref="message"
|
|
81
|
-
:code="
|
|
81
|
+
:code="msgCode"
|
|
82
82
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
83
83
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
84
84
|
:defaultNotificationMsg="defaultNotificationMessage"
|
|
@@ -168,6 +168,10 @@ export default {
|
|
|
168
168
|
type: String,
|
|
169
169
|
default: ''
|
|
170
170
|
},
|
|
171
|
+
msgCode: {
|
|
172
|
+
type: String,
|
|
173
|
+
default: 'notification_type'
|
|
174
|
+
},
|
|
171
175
|
isAllCheck: {
|
|
172
176
|
type: Boolean,
|
|
173
177
|
default: false
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
<!-- 通知方式 -->
|
|
140
140
|
<Message
|
|
141
141
|
ref="message"
|
|
142
|
-
:code="
|
|
142
|
+
:code="msgCode"
|
|
143
143
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
144
144
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
145
145
|
:defaultNotificationMsg="form.notificationMsg"
|
|
@@ -215,6 +215,10 @@ export default {
|
|
|
215
215
|
type: Boolean,
|
|
216
216
|
default: false
|
|
217
217
|
},
|
|
218
|
+
msgCode: {
|
|
219
|
+
type: String,
|
|
220
|
+
default: 'notification_type'
|
|
221
|
+
},
|
|
218
222
|
userId: {
|
|
219
223
|
type: String,
|
|
220
224
|
default: ''
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<em-input v-model="form.pendingUserNames" label-width="90" label="当前办理人" readonly /> -->
|
|
6
6
|
<Message
|
|
7
7
|
ref="message"
|
|
8
|
-
:code="
|
|
8
|
+
:code="msgCode"
|
|
9
9
|
:baseUrl="baseUrl"
|
|
10
10
|
:showCheckType="false"
|
|
11
11
|
:showMsg="true"
|
|
@@ -44,6 +44,10 @@ export default {
|
|
|
44
44
|
props: {
|
|
45
45
|
baseUrl: String,
|
|
46
46
|
businessId: String,
|
|
47
|
+
msgCode: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: 'notification_type'
|
|
50
|
+
},
|
|
47
51
|
appId:{type:String,default:''}
|
|
48
52
|
},
|
|
49
53
|
data() {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<Message
|
|
83
83
|
ref="message"
|
|
84
84
|
v-if="showMessage"
|
|
85
|
-
:code="
|
|
85
|
+
:code="msgCode"
|
|
86
86
|
:baseUrl="baseUrl"
|
|
87
87
|
:readOnlyNotificationType="readOnlyNotificationType"
|
|
88
88
|
:notificationMessageReadOnly="notificationMessageReadOnly"
|
|
@@ -138,6 +138,10 @@ export default {
|
|
|
138
138
|
type: [String, Number],
|
|
139
139
|
default: 0
|
|
140
140
|
},
|
|
141
|
+
msgCode: {
|
|
142
|
+
type: String,
|
|
143
|
+
default: 'notification_type'
|
|
144
|
+
},
|
|
141
145
|
esign: {
|
|
142
146
|
type: Boolean,
|
|
143
147
|
default: false
|