eoss-ui 0.7.20 → 0.7.21
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/button-group.js +210 -119
- package/lib/button.js +210 -119
- package/lib/calogin.js +210 -119
- package/lib/checkbox-group.js +210 -119
- package/lib/data-table-form.js +210 -119
- package/lib/data-table.js +210 -119
- package/lib/date-picker.js +210 -119
- package/lib/dialog.js +210 -119
- package/lib/eoss-ui.common.js +638 -269
- package/lib/flow-group.js +210 -119
- package/lib/flow-list.js +210 -119
- package/lib/flow.js +625 -255
- package/lib/form.js +210 -119
- package/lib/handle-user.js +210 -119
- package/lib/handler.js +212 -122
- package/lib/icon.js +210 -119
- package/lib/index.js +1 -1
- package/lib/input-number.js +210 -119
- package/lib/input.js +210 -119
- package/lib/login.js +210 -119
- package/lib/main.js +210 -119
- package/lib/nav.js +210 -119
- package/lib/page.js +210 -119
- package/lib/pagination.js +210 -119
- package/lib/player.js +210 -119
- package/lib/qr-code.js +210 -119
- package/lib/radio-group.js +210 -119
- package/lib/retrial-auth.js +210 -119
- package/lib/select-ganged.js +210 -119
- package/lib/select.js +210 -119
- package/lib/selector-panel.js +210 -119
- package/lib/selector.js +210 -119
- package/lib/sizer.js +210 -119
- package/lib/steps.js +210 -119
- package/lib/switch.js +210 -119
- package/lib/table-form.js +210 -119
- package/lib/tabs.js +210 -119
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +210 -119
- package/lib/tree-group.js +210 -119
- package/lib/tree.js +210 -119
- package/lib/upload.js +210 -119
- package/lib/utils/util.js +210 -119
- package/lib/wujie.js +210 -119
- package/lib/wxlogin.js +210 -119
- package/package.json +2 -2
- package/packages/flow/src/component/taskUnionExamine.vue +95 -7
- package/packages/flow/src/main.vue +81 -40
- package/packages/flow/src/processForm.vue +106 -27
- package/packages/handler/src/main.vue +0 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow.scss +4 -1
- package/src/index.js +1 -1
- package/src/utils/util.js +192 -145
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
:appId="resetAppId"
|
|
130
130
|
:params="param"
|
|
131
131
|
:showOther="showOther"
|
|
132
|
-
|
|
132
|
+
:selectorParams="selectorParams"
|
|
133
133
|
:formLabelPosition="formLabelPosition"
|
|
134
134
|
:simpleTips="simpleTips"
|
|
135
135
|
/>
|
|
@@ -245,6 +245,7 @@
|
|
|
245
245
|
ref="nextNode"
|
|
246
246
|
:model="isFlow ? nodeInfo : nextNode"
|
|
247
247
|
class="demo-dynamic"
|
|
248
|
+
:rules="rules"
|
|
248
249
|
:label-width="
|
|
249
250
|
startFlowPageEmbeddedIntoStartFlowIndex ? '100px' : '120px'
|
|
250
251
|
"
|
|
@@ -483,40 +484,7 @@
|
|
|
483
484
|
:tabs="nextUserTabs"
|
|
484
485
|
/>
|
|
485
486
|
</el-form-item>
|
|
486
|
-
|
|
487
|
-
v-if="enableCustomLimitTimeSetting"
|
|
488
|
-
prop="customLimitTime"
|
|
489
|
-
label="限时办理"
|
|
490
|
-
>
|
|
491
|
-
<el-input
|
|
492
|
-
v-model="nextNode.customLimitTime"
|
|
493
|
-
placeholder="请输入限时办理的天数"
|
|
494
|
-
@change="changeCustomLimitTime"
|
|
495
|
-
class="input-with-select custom-limit-time"
|
|
496
|
-
>
|
|
497
|
-
<es-select
|
|
498
|
-
v-if="!showCustomLimitTimeText"
|
|
499
|
-
v-model="nextNode.customLimitTime"
|
|
500
|
-
placeholder="请选择"
|
|
501
|
-
slot="prepend"
|
|
502
|
-
sysCode="bpm_custom_limit_time"
|
|
503
|
-
></es-select>
|
|
504
|
-
<es-button
|
|
505
|
-
type="primary"
|
|
506
|
-
slot="append"
|
|
507
|
-
@click="
|
|
508
|
-
() => {
|
|
509
|
-
nextNode.customLimitTime = '';
|
|
510
|
-
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
511
|
-
}
|
|
512
|
-
"
|
|
513
|
-
>切换{{
|
|
514
|
-
showCustomLimitTimeText ? '选择框' : '文本框'
|
|
515
|
-
}}</es-button
|
|
516
|
-
>
|
|
517
|
-
</el-input>
|
|
518
|
-
</el-form-item>
|
|
519
|
-
|
|
487
|
+
|
|
520
488
|
<el-form-item
|
|
521
489
|
v-if="isHideCurrentOrg && nextNode.isReturnSubmitter != 1"
|
|
522
490
|
prop="nextCurrentOrgObj"
|
|
@@ -610,6 +578,41 @@
|
|
|
610
578
|
:tabs="tabs"
|
|
611
579
|
/>
|
|
612
580
|
</el-form-item>
|
|
581
|
+
<el-form-item
|
|
582
|
+
v-if="enableCustomLimitTimeSetting"
|
|
583
|
+
prop="customLimitTime"
|
|
584
|
+
label="限时办理"
|
|
585
|
+
style="margin-bottom: 10px"
|
|
586
|
+
>
|
|
587
|
+
<el-input
|
|
588
|
+
v-model="nextNode.customLimitTime"
|
|
589
|
+
placeholder="请输入限时办理的天数"
|
|
590
|
+
@change="changeCustomLimitTime"
|
|
591
|
+
class="input-with-select custom-limit-time"
|
|
592
|
+
>
|
|
593
|
+
<es-select
|
|
594
|
+
v-if="!showCustomLimitTimeText"
|
|
595
|
+
v-model="nextNode.customLimitTime"
|
|
596
|
+
placeholder="请选择"
|
|
597
|
+
slot="prepend"
|
|
598
|
+
sysCode="bpm_custom_limit_time"
|
|
599
|
+
></es-select>
|
|
600
|
+
<es-button
|
|
601
|
+
type="primary"
|
|
602
|
+
slot="append"
|
|
603
|
+
@click="
|
|
604
|
+
() => {
|
|
605
|
+
nextNode.customLimitTime = '';
|
|
606
|
+
showCustomLimitTimeText = !showCustomLimitTimeText;
|
|
607
|
+
}
|
|
608
|
+
"
|
|
609
|
+
>切换{{
|
|
610
|
+
showCustomLimitTimeText ? '选择框' : '文本框'
|
|
611
|
+
}}</es-button
|
|
612
|
+
>
|
|
613
|
+
</el-input>
|
|
614
|
+
</el-form-item>
|
|
615
|
+
|
|
613
616
|
<el-form-item
|
|
614
617
|
v-if="isHandleExplain == 1"
|
|
615
618
|
prop="handleExplain"
|
|
@@ -1239,7 +1242,12 @@ export default {
|
|
|
1239
1242
|
type: Object,
|
|
1240
1243
|
default: () => {}
|
|
1241
1244
|
},
|
|
1242
|
-
selectorParams: {
|
|
1245
|
+
selectorParams: {
|
|
1246
|
+
type: Object,
|
|
1247
|
+
default: () => {
|
|
1248
|
+
return {};
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1243
1251
|
width: {
|
|
1244
1252
|
type: String
|
|
1245
1253
|
},
|
|
@@ -1467,8 +1475,8 @@ export default {
|
|
|
1467
1475
|
this.currentOrgSelectorParams.filid = JSON.parse(
|
|
1468
1476
|
util.getStorage('mainConfig')
|
|
1469
1477
|
).userModel.orgId;
|
|
1470
|
-
this.foreignOrgSelectorParams.roleid =
|
|
1471
|
-
this.selectorParams.roleid;
|
|
1478
|
+
this.foreignOrgSelectorParams.roleid =
|
|
1479
|
+
this.currentOrgSelectorParams.roleid = this.selectorParams.roleid;
|
|
1472
1480
|
this.nextNode.nextNodeId = this.nextNodeId;
|
|
1473
1481
|
if (!this.isFlow) {
|
|
1474
1482
|
this.getInfo();
|
|
@@ -1545,6 +1553,18 @@ export default {
|
|
|
1545
1553
|
}
|
|
1546
1554
|
},
|
|
1547
1555
|
computed: {
|
|
1556
|
+
rules() {
|
|
1557
|
+
return {
|
|
1558
|
+
customLimitTime: [
|
|
1559
|
+
{
|
|
1560
|
+
required:this.enableCustomLimitTimeSetting,
|
|
1561
|
+
message: this.showCustomLimitTimeText?'请输入限时办理天数' : '请选择限时办理天数',
|
|
1562
|
+
trigger: 'blur'
|
|
1563
|
+
},
|
|
1564
|
+
{required:this.enableCustomLimitTimeSetting, validator: this.checkCustomLimitTime, trigger: 'change' }
|
|
1565
|
+
]
|
|
1566
|
+
};
|
|
1567
|
+
},
|
|
1548
1568
|
tabs() {
|
|
1549
1569
|
return {
|
|
1550
1570
|
employee: {
|
|
@@ -1586,6 +1606,25 @@ export default {
|
|
|
1586
1606
|
}
|
|
1587
1607
|
},
|
|
1588
1608
|
methods: {
|
|
1609
|
+
limitTimevalidate() {
|
|
1610
|
+
let validSate = true;
|
|
1611
|
+
this.$refs.nextNode.validate((valid) => {
|
|
1612
|
+
if (valid) {
|
|
1613
|
+
validSate = true;
|
|
1614
|
+
} else {
|
|
1615
|
+
validSate = false;
|
|
1616
|
+
}
|
|
1617
|
+
});
|
|
1618
|
+
return validSate;
|
|
1619
|
+
},
|
|
1620
|
+
checkCustomLimitTime(rule, value, callback){
|
|
1621
|
+
if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
|
|
1622
|
+
callback(new Error('请输入正确的天数'))
|
|
1623
|
+
this.nextNode.customLimitTime = '';
|
|
1624
|
+
}else{
|
|
1625
|
+
callback()
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1589
1628
|
getAdminMsgType() {
|
|
1590
1629
|
let params = {
|
|
1591
1630
|
url: getUrgencyLevelChangedNotificationType,
|
|
@@ -1675,7 +1714,7 @@ export default {
|
|
|
1675
1714
|
// });
|
|
1676
1715
|
// }
|
|
1677
1716
|
this.optionsKey++;
|
|
1678
|
-
this.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired
|
|
1717
|
+
this.isOpinionRequired = res.data.nodeExtAttr.isOpinionRequired;
|
|
1679
1718
|
this.showOpinion = false;
|
|
1680
1719
|
setTimeout(() => {
|
|
1681
1720
|
this.showOpinion = true;
|
|
@@ -2590,6 +2629,9 @@ export default {
|
|
|
2590
2629
|
data.nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
2591
2630
|
this.enableCustomLimitTimeSetting =
|
|
2592
2631
|
data.nodeExtAttr.enableCustomLimitTimeSetting == 1;
|
|
2632
|
+
if(this.enableCustomLimitTimeSetting && data.nodeMoreInfo.defaultCustomLimitDays){
|
|
2633
|
+
this.nextNode.customLimitTime = data.nodeMoreInfo.defaultCustomLimitDays + ''
|
|
2634
|
+
}
|
|
2593
2635
|
data.otherOrgDisabledObjId &&
|
|
2594
2636
|
(this.otherOrgDisabledObjId =
|
|
2595
2637
|
data.otherOrgDisabledObjId.split(','));
|
|
@@ -3082,7 +3124,6 @@ export default {
|
|
|
3082
3124
|
}
|
|
3083
3125
|
this.isCurrentNodeForbiddenChangeCandidate =
|
|
3084
3126
|
nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
|
|
3085
|
-
console.log(opinion,'opinionopinionopinion')
|
|
3086
3127
|
this.value = opinion || '';
|
|
3087
3128
|
this.nodeDefaultSubmitOpinion =
|
|
3088
3129
|
nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
:model="nextNode"
|
|
12
12
|
class="demo-dynamic"
|
|
13
13
|
label-width="100px"
|
|
14
|
+
:rules="rules"
|
|
14
15
|
:label-position="labelPosition"
|
|
15
16
|
>
|
|
16
17
|
<div
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
prop="nextNode"
|
|
77
78
|
label="下步节点"
|
|
78
79
|
:rules="[
|
|
79
|
-
{ required:
|
|
80
|
+
{ required: false, message: `请选择下步节点`, trigger: 'blur' }
|
|
80
81
|
]"
|
|
81
82
|
>
|
|
82
83
|
<el-select
|
|
@@ -209,12 +210,26 @@
|
|
|
209
210
|
v-if="enableCustomLimitTimeSetting"
|
|
210
211
|
prop="customLimitTime"
|
|
211
212
|
label="限时办理"
|
|
213
|
+
:rules="[
|
|
214
|
+
{
|
|
215
|
+
required: enableCustomLimitTimeSetting,
|
|
216
|
+
message: showCustomLimitTimeText
|
|
217
|
+
? '请输入限时办理天数'
|
|
218
|
+
: '请选择限时办理天数',
|
|
219
|
+
trigger: 'blur'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
required: enableCustomLimitTimeSetting,
|
|
223
|
+
validator: checkCustomLimitTime,
|
|
224
|
+
trigger: 'blur'
|
|
225
|
+
}
|
|
226
|
+
]"
|
|
212
227
|
>
|
|
213
228
|
<el-input
|
|
214
229
|
v-model="nextNode.customLimitTime"
|
|
215
230
|
placeholder="请输入限时办理的天数"
|
|
216
|
-
@change="changeCustomLimitTime"
|
|
217
231
|
class="input-with-select custom-limit-time"
|
|
232
|
+
@change="changeCustomLimitTime"
|
|
218
233
|
>
|
|
219
234
|
<es-select
|
|
220
235
|
v-if="!showCustomLimitTimeText"
|
|
@@ -248,7 +263,11 @@
|
|
|
248
263
|
v-model="nextNode.handleExplain"
|
|
249
264
|
/>
|
|
250
265
|
</el-form-item>
|
|
251
|
-
<el-form-item
|
|
266
|
+
<el-form-item
|
|
267
|
+
prop="noticeType"
|
|
268
|
+
label="通知方式"
|
|
269
|
+
v-show="showBtn && nextNode.noticeList.length > 0"
|
|
270
|
+
>
|
|
252
271
|
<el-checkbox-group v-model="nextNode.noticeType">
|
|
253
272
|
<el-checkbox
|
|
254
273
|
v-for="item of nextNode.noticeList"
|
|
@@ -327,7 +346,10 @@
|
|
|
327
346
|
</div>
|
|
328
347
|
</el-form-item>
|
|
329
348
|
</el-form>
|
|
330
|
-
<div
|
|
349
|
+
<div
|
|
350
|
+
v-if="!showBtn && nextNode.noticeList.length > 0"
|
|
351
|
+
style="padding: 5px; background: #fff"
|
|
352
|
+
>
|
|
331
353
|
<div class="news" @click="showNews = !showNews">
|
|
332
354
|
<span class="news-item">消息通知</span>
|
|
333
355
|
<span :class="showNews ? 'show' : 'sj'"></span>
|
|
@@ -444,18 +466,18 @@ export default {
|
|
|
444
466
|
default: ''
|
|
445
467
|
},
|
|
446
468
|
showBtn: { type: Boolean, default: true },
|
|
447
|
-
messageType:{
|
|
448
|
-
type:Array,
|
|
469
|
+
messageType: {
|
|
470
|
+
type: Array,
|
|
449
471
|
default: () => []
|
|
450
472
|
},
|
|
451
|
-
urgencyLevel:{
|
|
452
|
-
type:[Number,String],
|
|
453
|
-
default:''
|
|
454
|
-
},
|
|
455
|
-
keyCount:{
|
|
456
|
-
type:[Number,String],
|
|
457
|
-
default:0
|
|
473
|
+
urgencyLevel: {
|
|
474
|
+
type: [Number, String],
|
|
475
|
+
default: ''
|
|
458
476
|
},
|
|
477
|
+
keyCount: {
|
|
478
|
+
type: [Number, String],
|
|
479
|
+
default: 0
|
|
480
|
+
}
|
|
459
481
|
},
|
|
460
482
|
data() {
|
|
461
483
|
return {
|
|
@@ -547,12 +569,12 @@ export default {
|
|
|
547
569
|
userInfo: [],
|
|
548
570
|
handleExplain: '',
|
|
549
571
|
noticeList: [],
|
|
550
|
-
msgTypeCount:0
|
|
572
|
+
msgTypeCount: 0
|
|
551
573
|
}
|
|
552
574
|
};
|
|
553
575
|
},
|
|
554
576
|
watch: {
|
|
555
|
-
messageType:{
|
|
577
|
+
messageType: {
|
|
556
578
|
handler(val) {
|
|
557
579
|
if (this.urgencyLevel) {
|
|
558
580
|
this.nextNode.noticeList = val;
|
|
@@ -565,8 +587,8 @@ export default {
|
|
|
565
587
|
});
|
|
566
588
|
});
|
|
567
589
|
this.nextNode.noticeType = arr;
|
|
568
|
-
}else{
|
|
569
|
-
this.msgTypeCount
|
|
590
|
+
} else {
|
|
591
|
+
this.msgTypeCount++;
|
|
570
592
|
}
|
|
571
593
|
}
|
|
572
594
|
},
|
|
@@ -596,6 +618,24 @@ export default {
|
|
|
596
618
|
}
|
|
597
619
|
},
|
|
598
620
|
computed: {
|
|
621
|
+
rules() {
|
|
622
|
+
return {
|
|
623
|
+
customLimitTime: [
|
|
624
|
+
{
|
|
625
|
+
required: this.enableCustomLimitTimeSetting,
|
|
626
|
+
message: this.showCustomLimitTimeText
|
|
627
|
+
? '请输入限时办理天数'
|
|
628
|
+
: '请选择限时办理天数',
|
|
629
|
+
trigger: 'blur'
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
required: this.enableCustomLimitTimeSetting,
|
|
633
|
+
validator: this.checkCustomLimitTime,
|
|
634
|
+
trigger: 'blur'
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
};
|
|
638
|
+
},
|
|
599
639
|
types() {
|
|
600
640
|
if (this.isCdjxjTaskHandle == 'true') {
|
|
601
641
|
return ['employee', 'enterprise', 'department'];
|
|
@@ -608,7 +648,7 @@ export default {
|
|
|
608
648
|
this.getUserInfo();
|
|
609
649
|
},
|
|
610
650
|
mounted() {
|
|
611
|
-
if(!this.urgencyLevel){
|
|
651
|
+
if (!this.urgencyLevel) {
|
|
612
652
|
this.getNodeType();
|
|
613
653
|
}
|
|
614
654
|
this.getStartFlow(this.processDefinitionId);
|
|
@@ -619,8 +659,27 @@ export default {
|
|
|
619
659
|
}
|
|
620
660
|
},
|
|
621
661
|
methods: {
|
|
662
|
+
limitTimevalidate() {
|
|
663
|
+
let validSate = true;
|
|
664
|
+
this.$refs.nextNode.validate((valid) => {
|
|
665
|
+
if (valid) {
|
|
666
|
+
validSate = true;
|
|
667
|
+
} else {
|
|
668
|
+
validSate = false;
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
return validSate;
|
|
672
|
+
},
|
|
673
|
+
checkCustomLimitTime(rule, value, callback) {
|
|
674
|
+
if (!Number(value) || value.indexOf('.') != -1 || Number(value) < 0) {
|
|
675
|
+
callback(new Error('请输入正确的天数'));
|
|
676
|
+
this.nextNode.customLimitTime = '';
|
|
677
|
+
} else {
|
|
678
|
+
callback();
|
|
679
|
+
}
|
|
680
|
+
},
|
|
622
681
|
handleChange() {
|
|
623
|
-
this.isChangeMessage = true
|
|
682
|
+
this.isChangeMessage = true;
|
|
624
683
|
},
|
|
625
684
|
changeCustomLimitTime(val) {
|
|
626
685
|
if (!Number(val) || val.indexOf('.') != -1 || Number(val) < 0) {
|
|
@@ -783,7 +842,10 @@ export default {
|
|
|
783
842
|
if (res.status === 'success') {
|
|
784
843
|
if (!this.showBtn) {
|
|
785
844
|
this.oldMessage = res.message;
|
|
786
|
-
this.nextNode.noticeInfo = res.message.replace(
|
|
845
|
+
this.nextNode.noticeInfo = res.message.replace(
|
|
846
|
+
'{title}',
|
|
847
|
+
this.formTitle
|
|
848
|
+
);
|
|
787
849
|
} else {
|
|
788
850
|
this.nextNode.noticeInfo = res.message;
|
|
789
851
|
}
|
|
@@ -847,7 +909,6 @@ export default {
|
|
|
847
909
|
let params = {
|
|
848
910
|
processDefinitionId: this.processDefinitionId,
|
|
849
911
|
nextUserId: this.multiple ? newNextUser.join(',') : nextUser,
|
|
850
|
-
customLimitTime,
|
|
851
912
|
nextNodeId: nextNode,
|
|
852
913
|
businessId: this.businessId,
|
|
853
914
|
notificationType: newNoticeType,
|
|
@@ -870,6 +931,22 @@ export default {
|
|
|
870
931
|
: presetReadUserId.join(','),
|
|
871
932
|
opinion: this.newOpinion || newOpinion
|
|
872
933
|
};
|
|
934
|
+
if (this.enableCustomLimitTimeSetting) {
|
|
935
|
+
params.customLimitTime = customLimitTime;
|
|
936
|
+
if (!customLimitTime) {
|
|
937
|
+
this.$message.warning('请选择或输入限时办理的天数');
|
|
938
|
+
this.nextNode.customLimitTime = '';
|
|
939
|
+
return;
|
|
940
|
+
} else if (
|
|
941
|
+
!Number(customLimitTime) ||
|
|
942
|
+
val.indexOf('.') != -1 ||
|
|
943
|
+
Number(customLimitTime) < 0
|
|
944
|
+
) {
|
|
945
|
+
this.$message.warning('请输入正确的天数');
|
|
946
|
+
this.nextNode.customLimitTime = '';
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
949
|
+
}
|
|
873
950
|
if (this.activeNames != '1') delete params.customPresetUserJson;
|
|
874
951
|
if (this.isFreeStartFlow || this.formType === 'readTransfer') {
|
|
875
952
|
let newParm = {};
|
|
@@ -890,7 +967,7 @@ export default {
|
|
|
890
967
|
: '';
|
|
891
968
|
}
|
|
892
969
|
}
|
|
893
|
-
|
|
970
|
+
|
|
894
971
|
newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
|
|
895
972
|
if (this.formType == 'readTransfer') {
|
|
896
973
|
newParm.readTransferHandleStartFlowParamJson =
|
|
@@ -902,17 +979,19 @@ export default {
|
|
|
902
979
|
}
|
|
903
980
|
params = newParm;
|
|
904
981
|
}
|
|
905
|
-
if(this.copyHistory && !this.isFreeStartFlow){
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
982
|
+
if (this.copyHistory && !this.isFreeStartFlow) {
|
|
983
|
+
params.pendingId = this.pendingId;
|
|
984
|
+
delete params.businessId;
|
|
985
|
+
}
|
|
909
986
|
util
|
|
910
987
|
.ajax({
|
|
911
988
|
url: this.isFreeStartFlow
|
|
912
989
|
? freeStartFlowWithSubmitTask
|
|
913
990
|
: this.formType == 'readTransfer'
|
|
914
991
|
? startReadTransferHandleFlowWithTaskReadEnd
|
|
915
|
-
: this.copyHistory
|
|
992
|
+
: this.copyHistory
|
|
993
|
+
? freeStartFlow
|
|
994
|
+
: register,
|
|
916
995
|
method: 'post',
|
|
917
996
|
data: params
|
|
918
997
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.commonOpinion-set,.es-fenyue-buttons,.es-flow-content,.es-reset-flow{-webkit-box-direction:normal}.es-common-opinions,.es-fenyue-buttons,.es-flow-buttons,.es-flow-title,.es-opinion{padding:0 12px}.es-fenyue-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.es-fenyue-buttons-yj{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-user-defined{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.es-user-defined .el-button--primary{-webkit-box-flex:1;-ms-flex:1;flex:1}.required .el-textarea__inner::-webkit-input-placeholder{color:red}.required .el-textarea__inner::-moz-placeholder{color:red}.required .el-textarea__inner:-ms-input-placeholder{color:red}.required .el-textarea__inner::-ms-input-placeholder{color:red}.required .el-textarea__inner::placeholder{color:red}.no-checked .el-checkbox__input{display:none!important}.es-reset-flow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.es-reset-flow-form-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;margin-bottom:10px}.es-flow-content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding-bottom:12px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative}.es-flow-index{height:100%}.es-flow-index .em-flow-more-btn{display:block;width:100%}.es-flow-index .el-checkbox-group{display:contents}.es-flow-index .es-eidt-title{font-size:13px;color:#333;line-height:20px}.es-flow-index .es-flow-top .es-flow-title{height:40px;line-height:40px}.es-flow-index .es-flow-top .es-flow-title .es-icon{position:absolute;right:8px;top:4px}.es-flow-index .es-flow-top .es-opinion{display:-webkit-box;display:-ms-flexbox;display:flex;margin:8px 0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-flow-index .es-flow-top .es-opinion .es-opinion-file{cursor:pointer;position:relative}.es-flow-index .es-flow-top .es-opinion .es-opinion-file .es-file-num{color:red}.es-flow-index .es-button-agree{width:calc(43% - 15px)}.es-flow-index .es-button-agree-save{margin-top:10px}.commonOpinion-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.commonOpinion-set .el-table__body-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-flow-index-shrink{width:24px}.es-flow-index-shrink img{cursor:pointer;width:24px;height:24px}.es-flow-btn:hover{background-color:#f5f5f5;color:#1890ff}.es-flow-btn:hover ::v-deep .el-popover{padding:12px 0!important}.es-flow-form .el-checkbox-group{display:contents}.es-flow-index .el-input-group--prepend>.el-input__inner,.es-flow-index .select-process>.el-input__inner{display:none!important}.es-flow-form .el-textarea:first-child,.es-flow-index .el-textarea{width:100%;margin-bottom:10px!important}.es-flow-form .es-opinions .el-select,.es-flow-index .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-select .el-input{width:100%;height:40px}.es-flow-index .process .el-select{width:calc(100% + 40px)!important}.es-flow-index .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-index .select-process .el-input-group__append{height:40px}.es-flow-index .hide-flow-char .el-input-group__append{padding:0}.es-flow-index button.el-button.sub.el-button--primary.el-button--medium{width:calc(100% - 85px)}.es-flow-index .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-index .demo-dynamic .el-select{width:100%!important}.es-flow-index .demo-dynamic .select-process .el-select,.es-flow-index .demo-dynamic .selectUser,.es-flow-index.task-union-examine .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-input.el-input-group.el-input-group--append.el-input-group--prepend{margin:0!important}.es-flow-index .demo-dynamic{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;margin-top:10px}.es-flow-index .es-footer-btn{margin-top:10px}.es-flow-index .es-footer-btn .el-button+.el-button{margin:10px 10px 0 0}.es-flow-index .el-input.is-disabled .el-input__inner{color:#606266}.es-flow-index .es-flow-btn{margin-right:10px}.es-flow-index .es-info{padding:0 8px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden}.es-flow-index .form-left .el-form-item{margin-bottom:22px!important}.es-flow-index .es-info .el-form-item{margin-bottom:0}.es-flow-index .es-info::-webkit-scrollbar{width:5px}.es-flow-index .news{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:10px 0}.es-flow-index .news .sj,.show{width:10px;height:10px;border-right:1px solid #000;border-bottom:1px solid #000;margin-right:10px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);-webkit-transition:.5s;transition:.5s}.es-flow-index .news .show{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.es-flow-index .el-checkbox{margin:0 10px 10px 0}.es-flow-index .info::-webkit-scrollbar-track{-webkit-box-shadow:inset006pxrgba(0,0,0,.3);border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.1);-webkit-box-shadow:inset006pxrgba(0,0,0,.5)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{right:5px!important}.es-flow-form .input-with-select{width:100%;margin-top:0}.custom-limit-time .el-input.el-input--suffix{width:calc(100% + 40px)!important}.custom-limit-time .el-input-group__append{background-color:#1890ff!important;color:#fff!important}.es-flow-form .el-select{width:100%}.es-flow-form .es-opinions .el-select{width:calc(100% + 40px)!important}.select-users .el-input-group__append .el-button span,.select-users .no-icon .el-input-group__append{display:none}.select-users .el-input-group__append{background-color:#1890ff}.select-users .el-input-group__append .el-button i{font-size:18px;color:#fff}.es-flow-form .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-form .el-input-group--prepend>.el-input__inner{display:none!important}.es-flow-form button.el-button.sub.el-button--danger.el-button--medium{width:calc(100% - 85px)}.es-flow-form .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-form .el-form-item__label{font-weight:700}.es-flow-form .el-input.is-disabled .el-input__inner{color:#000}.select-user{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.select-user .left{width:30%}.select-user .right{padding:3px;width:69%}.select-user .el-checkbox{width:170px;margin-top:11px;margin-bottom:11px}.select-user .all{margin:0!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#1890ff!important;border-color:#1890ff!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.es-flow-index .el-checkbox__input.is-disabled+span.el-checkbox__label,.flow-dialog .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.85)}
|
|
1
|
+
@charset "UTF-8";.commonOpinion-set,.es-fenyue-buttons,.es-flow-content,.es-reset-flow{-webkit-box-direction:normal}.es-common-opinions,.es-fenyue-buttons,.es-flow-buttons,.es-flow-title,.es-opinion{padding:0 12px}.es-fenyue-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.es-fenyue-buttons-yj{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-user-defined{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.es-user-defined .el-button--primary{-webkit-box-flex:1;-ms-flex:1;flex:1}.required .el-textarea__inner::-webkit-input-placeholder{color:red}.required .el-textarea__inner::-moz-placeholder{color:red}.required .el-textarea__inner:-ms-input-placeholder{color:red}.required .el-textarea__inner::-ms-input-placeholder{color:red}.required .el-textarea__inner::placeholder{color:red}.no-checked .el-checkbox__input{display:none!important}.es-reset-flow{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.es-reset-flow-form-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;margin-bottom:10px}.es-flow-content{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;padding-bottom:12px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative}.es-flow-index{height:100%}.es-flow-index .em-flow-more-btn{display:block;width:100%}.es-flow-index .el-checkbox-group{display:contents}.es-flow-index .es-eidt-title{font-size:13px;color:#333;line-height:20px}.es-flow-index .es-flow-top .es-flow-title{height:40px;line-height:40px}.es-flow-index .es-flow-top .es-flow-title .es-icon{position:absolute;right:8px;top:4px}.es-flow-index .es-flow-top .es-opinion{display:-webkit-box;display:-ms-flexbox;display:flex;margin:8px 0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.es-flow-index .es-flow-top .es-opinion .es-opinion-file{cursor:pointer;position:relative}.es-flow-index .es-flow-top .es-opinion .es-opinion-file .es-file-num{color:red}.es-flow-index .es-button-agree{width:calc(43% - 15px)}.es-flow-index .es-button-agree-save{margin-top:10px}.commonOpinion-set{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:100%}.commonOpinion-set .el-table__body-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.es-flow-index-shrink{width:24px}.es-flow-index-shrink img{cursor:pointer;width:24px;height:24px}.es-flow-btn:hover{background-color:#f5f5f5;color:#1890ff}.es-flow-btn:hover ::v-deep .el-popover{padding:12px 0!important}.es-flow-form .el-checkbox-group{display:contents}.es-flow-index .el-input-group--prepend>.el-input__inner,.es-flow-index .select-process>.el-input__inner{display:none!important}.es-flow-form .el-textarea:first-child,.es-flow-index .el-textarea{width:100%;margin-bottom:10px!important}.es-flow-form .es-opinions .el-select,.es-flow-index .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-select .el-input{width:100%;height:40px}.es-flow-index .process .el-select{width:calc(100% + 40px)!important}.es-flow-index .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-index .select-process .el-input-group__append{height:40px}.es-flow-index .hide-flow-char .el-input-group__append{padding:0}.es-flow-index button.el-button.sub.el-button--primary.el-button--medium{width:calc(100% - 85px)}.es-flow-index .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-index .demo-dynamic .el-select{width:100%!important}.es-flow-index .demo-dynamic .select-process .el-select,.es-flow-index .demo-dynamic .selectUser,.es-flow-index.task-union-examine .el-select{width:calc(100% + 40px)!important}.es-flow-index .el-input.el-input-group.el-input-group--append.el-input-group--prepend{margin:0!important}.es-flow-index .demo-dynamic{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden;margin-top:10px}.es-flow-index .es-footer-btn{margin-top:10px}.es-flow-index .es-footer-btn .el-button+.el-button{margin:10px 10px 0 0}.es-flow-index .el-input.is-disabled .el-input__inner{color:#606266}.es-flow-index .es-flow-btn{margin-right:10px}.es-flow-index .es-info{padding:0 8px;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden}.es-flow-index .form-left .el-form-item{margin-bottom:22px!important}.es-flow-index .es-info .el-form-item{margin-bottom:0}.es-flow-index .es-info::-webkit-scrollbar{width:5px}.es-flow-index .news{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:10px 0}.es-flow-index .news .sj,.show{width:10px;height:10px;border-right:1px solid #000;border-bottom:1px solid #000;margin-right:10px;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);-webkit-transition:.5s;transition:.5s}.es-flow-index .news .show{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.es-flow-index .el-checkbox{margin:0 10px 10px 0}.es-flow-index .info::-webkit-scrollbar-track{-webkit-box-shadow:inset006pxrgba(0,0,0,.3);border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(0,0,0,.1);-webkit-box-shadow:inset006pxrgba(0,0,0,.5)}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{right:5px!important}.es-flow-form .input-with-select{width:100%;margin-top:0}.custom-limit-time .el-input.el-input--suffix{width:calc(100% + 40px)!important}.task-union-examine .custom-limit-time .el-input.el-input--suffix{width:unset!important}.custom-limit-time .el-input-group__append{background-color:#1890ff!important;color:#fff!important}.es-flow-form .el-select{width:100%}.es-flow-form .es-opinions .el-select{width:calc(100% + 40px)!important}.select-users .el-input-group__append .el-button span,.select-users .no-icon .el-input-group__append{display:none}.select-users .el-input-group__append{background-color:#1890ff}.select-users .el-input-group__append .el-button i{font-size:18px;color:#fff}.es-flow-form .input-with-select .el-input-group__prepend{background-color:#fff;width:100%}.es-flow-form .el-input-group--prepend>.el-input__inner{display:none!important}.es-flow-form button.el-button.sub.el-button--danger.el-button--medium{width:calc(100% - 85px)}.es-flow-form .el-input-group--prepend>.el-input-group__append{height:40px}.es-flow-form .el-form-item__label{font-weight:700}.es-flow-form .el-input.is-disabled .el-input__inner{color:#000}.select-user{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.select-user .left{width:30%}.select-user .right{padding:3px;width:69%}.select-user .el-checkbox{width:170px;margin-top:11px;margin-bottom:11px}.select-user .all{margin:0!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#1890ff!important;border-color:#1890ff!important}.es-flow-index .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after,.flow-dialog .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after{border-color:#fff}.es-flow-index .el-checkbox__input.is-disabled+span.el-checkbox__label,.flow-dialog .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.85)}
|