eoss-ui 0.6.92 → 0.6.94
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 +79 -77
- package/lib/button.js +79 -77
- package/lib/calogin.js +79 -77
- package/lib/checkbox-group.js +79 -77
- package/lib/config/api.js +2 -1
- package/lib/data-table-form.js +79 -77
- package/lib/data-table.js +108 -94
- package/lib/date-picker.js +79 -77
- package/lib/dialog.js +79 -77
- package/lib/eoss-ui.common.js +1086 -941
- package/lib/flow-group.js +79 -77
- package/lib/flow-list.js +84 -82
- package/lib/flow.js +952 -826
- package/lib/form.js +79 -77
- package/lib/handle-user.js +80 -78
- package/lib/handler.js +80 -78
- package/lib/icon.js +80 -78
- package/lib/index.js +1 -1
- package/lib/input-number.js +79 -77
- package/lib/input.js +79 -77
- package/lib/login.js +82 -80
- package/lib/main.js +122 -114
- package/lib/nav.js +79 -77
- package/lib/notify.js +82 -80
- package/lib/page.js +79 -77
- package/lib/pagination.js +79 -77
- package/lib/player.js +79 -77
- package/lib/qr-code.js +79 -77
- package/lib/radio-group.js +79 -77
- package/lib/retrial-auth.js +81 -79
- package/lib/select-ganged.js +79 -77
- package/lib/select.js +86 -80
- package/lib/selector-panel.js +79 -77
- package/lib/selector.js +79 -77
- package/lib/sizer.js +79 -77
- package/lib/steps.js +79 -77
- package/lib/switch.js +79 -77
- package/lib/table-form.js +79 -77
- package/lib/tabs.js +79 -77
- package/lib/tips.js +80 -78
- package/lib/tree-group.js +79 -77
- package/lib/tree.js +84 -80
- package/lib/upload.js +92 -95
- package/lib/wujie.js +79 -77
- package/lib/wxlogin.js +79 -77
- package/package.json +2 -2
- package/packages/data-table/src/column.vue +0 -2
- package/packages/data-table/src/main.vue +12 -3
- package/packages/flow/src/component/Circulate.vue +7 -4
- package/packages/flow/src/component/SendMsg.vue +5 -4
- package/packages/flow/src/component/taskUnionExamine.vue +4 -3
- package/packages/flow/src/main.vue +125 -61
- package/packages/flow/src/processForm.vue +38 -5
- package/packages/flow/src/processReject.vue +12 -9
- package/packages/flow/src/reset.vue +4 -4
- package/packages/flow/src/startTaskRead.vue +1 -4
- package/packages/flow/src/supervise.vue +16 -9
- package/packages/main/src/public/search.vue +7 -1
- package/packages/select/src/main.vue +7 -3
- package/packages/tree/src/main.vue +2 -1
- package/packages/upload/src/main.vue +1 -6
- package/src/config/api.js +1 -0
- package/src/index.js +1 -1
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
tabs: handleTabs,
|
|
33
33
|
reset: hanleReset,
|
|
34
34
|
cancel: hanleCancel,
|
|
35
|
-
|
|
35
|
+
toolbarChange: toolbarChange,
|
|
36
|
+
...toolbarEvents
|
|
36
37
|
}"
|
|
37
38
|
></es-toolbar>
|
|
38
39
|
<p v-if="title" ref="title" class="es-table-title" v-html="title"></p>
|
|
@@ -309,7 +310,7 @@ export default {
|
|
|
309
310
|
},
|
|
310
311
|
// 工具栏配置
|
|
311
312
|
toolbar: {
|
|
312
|
-
type: [Array, Boolean],
|
|
313
|
+
type: [Array, Object, Boolean],
|
|
313
314
|
default: false
|
|
314
315
|
},
|
|
315
316
|
showLabel: Boolean,
|
|
@@ -508,6 +509,7 @@ export default {
|
|
|
508
509
|
isEncryption: this.isFieldsEncryption,
|
|
509
510
|
requests: [],
|
|
510
511
|
toolbars: [],
|
|
512
|
+
toolbarEvents: {},
|
|
511
513
|
hasThead: false,
|
|
512
514
|
theadData: [],
|
|
513
515
|
list: [],
|
|
@@ -705,9 +707,13 @@ export default {
|
|
|
705
707
|
];
|
|
706
708
|
}
|
|
707
709
|
return this.toolbar;
|
|
708
|
-
} else {
|
|
710
|
+
} else if (Array.isArray(this.toolbar)) {
|
|
709
711
|
this.toolbars = this.toolbar;
|
|
710
712
|
return true;
|
|
713
|
+
} else {
|
|
714
|
+
this.toolbars = this.toolbar.contents;
|
|
715
|
+
this.toolbarEvents = this.toolbar.events || {};
|
|
716
|
+
return true;
|
|
711
717
|
}
|
|
712
718
|
},
|
|
713
719
|
optionDatas: {
|
|
@@ -1313,6 +1319,9 @@ export default {
|
|
|
1313
1319
|
this.$emit('edit', data, this.list);
|
|
1314
1320
|
this.$emit('change', data, this.list);
|
|
1315
1321
|
},
|
|
1322
|
+
toolbarChange(...args) {
|
|
1323
|
+
this.$emit('toolbar-change', ...args);
|
|
1324
|
+
},
|
|
1316
1325
|
handleAjax(handle, row) {
|
|
1317
1326
|
this.changeLoading(true, `${handle.text}中...`);
|
|
1318
1327
|
let params = handle.param || {};
|
|
@@ -31,12 +31,14 @@
|
|
|
31
31
|
:params="otherParams"
|
|
32
32
|
/>
|
|
33
33
|
</el-form-item>
|
|
34
|
+
|
|
35
|
+
<!-- :rules="[
|
|
36
|
+
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
37
|
+
]" -->
|
|
34
38
|
<el-form-item
|
|
35
39
|
prop="noticeType"
|
|
36
40
|
label="通知方式"
|
|
37
|
-
|
|
38
|
-
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
39
|
-
]"
|
|
41
|
+
v-show="infoList.noticeList != 0"
|
|
40
42
|
>
|
|
41
43
|
<el-checkbox-group
|
|
42
44
|
v-model="infoList.noticeType"
|
|
@@ -316,7 +318,8 @@ export default {
|
|
|
316
318
|
params: {
|
|
317
319
|
ccCode: 'notification_type',
|
|
318
320
|
userId: util.getStorage('userId'),
|
|
319
|
-
pendingId:this.pendingId
|
|
321
|
+
pendingId:this.pendingId,
|
|
322
|
+
startCircularRead:true
|
|
320
323
|
}
|
|
321
324
|
})
|
|
322
325
|
.then((res) => {
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
<el-form-item prop="nodeName" label="标题">
|
|
10
10
|
<div>{{ sendInfo.title }}</div>
|
|
11
11
|
</el-form-item>
|
|
12
|
+
<!-- :rules="[
|
|
13
|
+
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
14
|
+
]" -->
|
|
12
15
|
<el-form-item
|
|
13
16
|
prop="notificationType"
|
|
14
17
|
label="通知方式"
|
|
15
|
-
|
|
16
|
-
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
17
|
-
]"
|
|
18
|
+
v-show="notificationList.length != 0"
|
|
18
19
|
>
|
|
19
20
|
<el-checkbox-group
|
|
20
21
|
v-model="sendInfo.notificationType"
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
</el-checkbox>
|
|
35
36
|
</el-checkbox-group>
|
|
36
37
|
</el-form-item>
|
|
37
|
-
<el-form-item prop="nextNode" label="通知消息">
|
|
38
|
+
<el-form-item prop="nextNode" label="通知消息" v-show="notificationList.length != 0">
|
|
38
39
|
<el-input
|
|
39
40
|
type="textarea"
|
|
40
41
|
autosize
|
|
@@ -79,12 +79,13 @@
|
|
|
79
79
|
:tabs="foreignOrgTabsParam"
|
|
80
80
|
/>
|
|
81
81
|
</el-form-item>
|
|
82
|
+
<!-- :rules="[
|
|
83
|
+
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
84
|
+
]" -->
|
|
82
85
|
<el-form-item
|
|
83
86
|
prop="noticeType"
|
|
84
87
|
label="通知方式"
|
|
85
|
-
|
|
86
|
-
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
87
|
-
]"
|
|
88
|
+
v-show="infoList.noticeList.length != 0"
|
|
88
89
|
>
|
|
89
90
|
<el-checkbox-group
|
|
90
91
|
v-model="infoList.noticeType"
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
|
|
98
98
|
<el-button
|
|
99
99
|
type="primary"
|
|
100
|
-
style="width: calc(100% - 18px);margin:8px auto"
|
|
100
|
+
style="width: calc(100% - 18px); margin: 8px auto"
|
|
101
101
|
@click="handleClickCirculate()"
|
|
102
102
|
>
|
|
103
103
|
提交
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
/>
|
|
518
518
|
</el-form-item>
|
|
519
519
|
<el-form-item
|
|
520
|
-
v-if="isHideOtherOrg
|
|
520
|
+
v-if="isHideOtherOrg && nextNode.isReturnSubmitter != 1"
|
|
521
521
|
prop="nextOtherOrgObj"
|
|
522
522
|
:label="otherOrgName ? otherOrgName : '外单位'"
|
|
523
523
|
>
|
|
@@ -673,9 +673,12 @@
|
|
|
673
673
|
:label-position="formLabelPosition"
|
|
674
674
|
:showBtn="false"
|
|
675
675
|
:formTitle="formTitle"
|
|
676
|
+
:urgencyLevel="urgencyLevel"
|
|
677
|
+
:messageType="newsList"
|
|
676
678
|
:copy-history="freeStartFlowParams.pendedHistoryHandle"
|
|
677
679
|
:process-definition-id="freeStartFlowNextNode || nodeInfo.nextNode"
|
|
678
680
|
:opinion="value"
|
|
681
|
+
:keyCount="msgTypeCount"
|
|
679
682
|
:pendingId="pendingId"
|
|
680
683
|
:taskExamineParam="freeStartFlowParams.newFlowStartNodeItemName"
|
|
681
684
|
:taskParams="taskParams"
|
|
@@ -703,7 +706,7 @@
|
|
|
703
706
|
:oldOption="value"
|
|
704
707
|
@cancel="closeProcess($event, 'circulateVisible')"
|
|
705
708
|
/>
|
|
706
|
-
<div v-if="!isFlow && isSpecial" style="padding: 5px; background: #fff">
|
|
709
|
+
<div v-if="!isFlow && isSpecial && newsList.length>0" style="padding: 5px; background: #fff">
|
|
707
710
|
<div class="news" @click="showMessage">
|
|
708
711
|
<span class="news-item">消息通知</span>
|
|
709
712
|
<span :class="showNews ? 'show' : 'sj'"></span>
|
|
@@ -751,30 +754,27 @@
|
|
|
751
754
|
</div>
|
|
752
755
|
</div>
|
|
753
756
|
<el-form
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
@change="handleEndMessageChange"
|
|
774
|
-
/>
|
|
775
|
-
</el-form-item>
|
|
757
|
+
ref="nextNode"
|
|
758
|
+
:model="isFlow ? nodeInfo : nextNode"
|
|
759
|
+
v-if="isEndMessage"
|
|
760
|
+
class="demo-dynamic"
|
|
761
|
+
:label-width="
|
|
762
|
+
startFlowPageEmbeddedIntoStartFlowIndex ? '100px' : '120px'
|
|
763
|
+
"
|
|
764
|
+
style="padding: 0px 8px"
|
|
765
|
+
:label-position="formLabelPosition"
|
|
766
|
+
>
|
|
767
|
+
<el-form-item prop="nextItemHandleDescription" label="办结意见">
|
|
768
|
+
<el-input
|
|
769
|
+
placeholder="请输入办结意见"
|
|
770
|
+
type="textarea"
|
|
771
|
+
:autosize="{ minRows: 2 }"
|
|
772
|
+
v-model="endMessage"
|
|
773
|
+
@change="handleEndMessageChange"
|
|
774
|
+
/>
|
|
775
|
+
</el-form-item>
|
|
776
776
|
</el-form>
|
|
777
|
-
|
|
777
|
+
|
|
778
778
|
<div
|
|
779
779
|
class="es-flow-buttons"
|
|
780
780
|
v-if="newTypeCode != 'fenyue' && !shrink"
|
|
@@ -790,8 +790,10 @@
|
|
|
790
790
|
<el-button class="es-button-agree" @click="subProcess('不同意。')"
|
|
791
791
|
>不同意</el-button
|
|
792
792
|
>
|
|
793
|
-
<el-button
|
|
794
|
-
|
|
793
|
+
<el-button
|
|
794
|
+
class="es-button-agree-save"
|
|
795
|
+
v-if="!isHideTemporarySave"
|
|
796
|
+
@click="saveInfo()"
|
|
795
797
|
>暂存</el-button
|
|
796
798
|
>
|
|
797
799
|
</div>
|
|
@@ -806,7 +808,9 @@
|
|
|
806
808
|
>
|
|
807
809
|
<el-button
|
|
808
810
|
v-show="isSubmitButtonShowAgreeAndDisagree != 1"
|
|
809
|
-
v-for="item of hideBtn || isHideTemporarySave
|
|
811
|
+
v-for="item of hideBtn || isHideTemporarySave
|
|
812
|
+
? btnList.slice(0, 1)
|
|
813
|
+
: btnList"
|
|
810
814
|
:key="item.name"
|
|
811
815
|
:type="item.type"
|
|
812
816
|
:style="btnStyle"
|
|
@@ -1001,7 +1005,7 @@
|
|
|
1001
1005
|
:simpleTips="simpleTips"
|
|
1002
1006
|
:show-reject="showReject"
|
|
1003
1007
|
:news-info="nextNode.notificationMsg"
|
|
1004
|
-
@cancel="closeProcess(
|
|
1008
|
+
@cancel="closeProcess($event, 'showReject')"
|
|
1005
1009
|
/>
|
|
1006
1010
|
</es-dialog>
|
|
1007
1011
|
<es-dialog
|
|
@@ -1139,7 +1143,8 @@ import {
|
|
|
1139
1143
|
checkForeignOrgStartedCircularRead,
|
|
1140
1144
|
checkBusinessIdStartedReadTransferHandle,
|
|
1141
1145
|
taskHandleHtml,
|
|
1142
|
-
getNodeInfoForStart
|
|
1146
|
+
getNodeInfoForStart,
|
|
1147
|
+
getUrgencyLevelChangedNotificationType
|
|
1143
1148
|
} from 'eoss-ui/src/config/api';
|
|
1144
1149
|
import util from 'eoss-ui/src/utils/util';
|
|
1145
1150
|
export default {
|
|
@@ -1195,6 +1200,10 @@ export default {
|
|
|
1195
1200
|
callBack();
|
|
1196
1201
|
}
|
|
1197
1202
|
},
|
|
1203
|
+
urgencyLevel: {
|
|
1204
|
+
type: [String, Number],
|
|
1205
|
+
default: ''
|
|
1206
|
+
},
|
|
1198
1207
|
beforeSubmit: Function,
|
|
1199
1208
|
title: { type: String, default: '流程办理' },
|
|
1200
1209
|
formTitle: { type: String, default: '' },
|
|
@@ -1218,15 +1227,15 @@ export default {
|
|
|
1218
1227
|
type: [String, Number],
|
|
1219
1228
|
default: 10
|
|
1220
1229
|
},
|
|
1221
|
-
isEndMessage: { type: Boolean, default: false }
|
|
1230
|
+
isEndMessage: { type: Boolean, default: false }
|
|
1222
1231
|
},
|
|
1223
1232
|
data() {
|
|
1224
1233
|
return {
|
|
1225
1234
|
styles: {},
|
|
1226
1235
|
optionsKey: 0,
|
|
1227
|
-
endMessage:'',
|
|
1228
|
-
isHideTemporarySave:false,
|
|
1229
|
-
oldNextOperate:'',
|
|
1236
|
+
endMessage: '',
|
|
1237
|
+
isHideTemporarySave: false,
|
|
1238
|
+
oldNextOperate: '',
|
|
1230
1239
|
taskOperationShiftedNodeList: null,
|
|
1231
1240
|
currentNodeEnableItemHandleDescription: false,
|
|
1232
1241
|
startFlowPageEmbeddedIntoStartFlowIndex: false,
|
|
@@ -1409,6 +1418,7 @@ export default {
|
|
|
1409
1418
|
currentOrgName: '', //本单位名称
|
|
1410
1419
|
otherOrgName: '', //外单位名称
|
|
1411
1420
|
needRetrialAuth: false, //是否二次鉴权
|
|
1421
|
+
msgTypeCount: 0,
|
|
1412
1422
|
nodeInfo: {
|
|
1413
1423
|
nextNode: '',
|
|
1414
1424
|
nextUser: '',
|
|
@@ -1433,9 +1443,21 @@ export default {
|
|
|
1433
1443
|
}
|
|
1434
1444
|
},
|
|
1435
1445
|
watch: {
|
|
1446
|
+
urgencyLevel: {
|
|
1447
|
+
handler(val) {
|
|
1448
|
+
if (val && this.msgTypeCount != 0) {
|
|
1449
|
+
this.getAdminMsgType();
|
|
1450
|
+
} else {
|
|
1451
|
+
this.msgTypeCount++;
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
deep: true,
|
|
1455
|
+
immediate: true
|
|
1456
|
+
},
|
|
1436
1457
|
isCirculate: {
|
|
1437
1458
|
handler(val) {
|
|
1438
1459
|
if (!val && this.showCirculate != undefined) {
|
|
1460
|
+
this.showCirculate = val;
|
|
1439
1461
|
this.getInfo();
|
|
1440
1462
|
}
|
|
1441
1463
|
this.showCirculate = val;
|
|
@@ -1532,12 +1554,36 @@ export default {
|
|
|
1532
1554
|
}
|
|
1533
1555
|
},
|
|
1534
1556
|
methods: {
|
|
1535
|
-
|
|
1536
|
-
|
|
1557
|
+
getAdminMsgType() {
|
|
1558
|
+
let params = {
|
|
1559
|
+
url: getUrgencyLevelChangedNotificationType,
|
|
1560
|
+
params: { urgencyLevel: this.urgencyLevel }
|
|
1561
|
+
};
|
|
1562
|
+
util.ajax(params).then((res) => {
|
|
1563
|
+
if (res.rCode == 0) {
|
|
1564
|
+
this.newsList = res.results.latestChangedNotificationType;
|
|
1565
|
+
let arr = [];
|
|
1566
|
+
this.newsList.map((item) => {
|
|
1567
|
+
this.nextNode.notificationType.map((x) => {
|
|
1568
|
+
if (x == item.cciValue) {
|
|
1569
|
+
arr.push(x);
|
|
1570
|
+
}
|
|
1571
|
+
});
|
|
1572
|
+
});
|
|
1573
|
+
this.nextNode.notificationType = arr;
|
|
1574
|
+
}
|
|
1575
|
+
});
|
|
1576
|
+
},
|
|
1577
|
+
handleEndMessageChange() {
|
|
1578
|
+
this.$emit('endMessageChange', this.endMessage);
|
|
1537
1579
|
},
|
|
1538
1580
|
getInfo() {
|
|
1539
1581
|
if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
|
|
1540
|
-
this.
|
|
1582
|
+
if(this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel){
|
|
1583
|
+
this.getAdminMsgType()
|
|
1584
|
+
}else{
|
|
1585
|
+
this.getNodeType();
|
|
1586
|
+
}
|
|
1541
1587
|
!this.isFlow &&
|
|
1542
1588
|
(this.newTypeCode = this.typeCode || this.$route.query.typecode);
|
|
1543
1589
|
if (this.isFlow) {
|
|
@@ -1561,7 +1607,8 @@ export default {
|
|
|
1561
1607
|
};
|
|
1562
1608
|
util.ajax(params).then((res) => {
|
|
1563
1609
|
if (res.status == 'success') {
|
|
1564
|
-
this.isHideTemporarySave =
|
|
1610
|
+
this.isHideTemporarySave =
|
|
1611
|
+
res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
1565
1612
|
this.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
1566
1613
|
this.directCreateCircularReadWhenFlowStarted =
|
|
1567
1614
|
res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
@@ -1593,7 +1640,7 @@ export default {
|
|
|
1593
1640
|
this.freeStartFlowParams.startFlowBusinessId =
|
|
1594
1641
|
this.taskExamineInfo.businessId;
|
|
1595
1642
|
this.freeStartFlowNextNode = this.taskExamineInfo.processDefinitionId;
|
|
1596
|
-
const { businessId, appId, processDefinitionId, pendingId,isSubFlow } =
|
|
1643
|
+
const { businessId, appId, processDefinitionId, pendingId, isSubFlow } =
|
|
1597
1644
|
this.taskExamineInfo;
|
|
1598
1645
|
let params = {
|
|
1599
1646
|
businessId,
|
|
@@ -1910,15 +1957,16 @@ export default {
|
|
|
1910
1957
|
}
|
|
1911
1958
|
},
|
|
1912
1959
|
getNodeType() {
|
|
1960
|
+
let params = {
|
|
1961
|
+
url: findCodeValues,
|
|
1962
|
+
params: {
|
|
1963
|
+
ccCode: 'notification_type',
|
|
1964
|
+
userId: util.getStorage('userId'),
|
|
1965
|
+
pendingId: this.pendingId,
|
|
1966
|
+
}
|
|
1967
|
+
};
|
|
1913
1968
|
util
|
|
1914
|
-
.ajax(
|
|
1915
|
-
url: findCodeValues,
|
|
1916
|
-
params: {
|
|
1917
|
-
ccCode: 'notification_type',
|
|
1918
|
-
userId: util.getStorage('userId'),
|
|
1919
|
-
pendingId:this.pendingId
|
|
1920
|
-
}
|
|
1921
|
-
})
|
|
1969
|
+
.ajax(params)
|
|
1922
1970
|
.then((res) => {
|
|
1923
1971
|
const { status, data } = res;
|
|
1924
1972
|
if (status === 'success') {
|
|
@@ -1997,7 +2045,7 @@ export default {
|
|
|
1997
2045
|
};
|
|
1998
2046
|
this.loading = util.loading(this.$loading, '保存中...');
|
|
1999
2047
|
util
|
|
2000
|
-
.ajax({ url: tempSave, data:params,method: 'post' })
|
|
2048
|
+
.ajax({ url: tempSave, data: params, method: 'post' })
|
|
2001
2049
|
.then((res) => {
|
|
2002
2050
|
const { status, message } = res;
|
|
2003
2051
|
if (!isSave) this.loading.close();
|
|
@@ -2630,11 +2678,12 @@ export default {
|
|
|
2630
2678
|
} else {
|
|
2631
2679
|
this.nextNode.nextUserId = '';
|
|
2632
2680
|
}
|
|
2633
|
-
if(isNextNode){
|
|
2634
|
-
this.oldNextOperate = this.operationList.filter(
|
|
2635
|
-
.
|
|
2636
|
-
|
|
2637
|
-
|
|
2681
|
+
if (isNextNode) {
|
|
2682
|
+
this.oldNextOperate = this.operationList.filter(
|
|
2683
|
+
(x) => x.key == val
|
|
2684
|
+
)[0].nextOperate;
|
|
2685
|
+
} else {
|
|
2686
|
+
this.oldNextOperate = '';
|
|
2638
2687
|
}
|
|
2639
2688
|
this.options = [];
|
|
2640
2689
|
this.selectUserList = [];
|
|
@@ -2851,12 +2900,13 @@ export default {
|
|
|
2851
2900
|
taskOperations.push({
|
|
2852
2901
|
key: x.nodeId,
|
|
2853
2902
|
value: x.nodeName,
|
|
2854
|
-
nextOperate:x.nextOperate,
|
|
2903
|
+
nextOperate: x.nextOperate,
|
|
2855
2904
|
isNextNode: true
|
|
2856
2905
|
});
|
|
2857
2906
|
});
|
|
2858
2907
|
}
|
|
2859
|
-
this.isHideTemporarySave =
|
|
2908
|
+
this.isHideTemporarySave =
|
|
2909
|
+
nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
2860
2910
|
this.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
2861
2911
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
2862
2912
|
this.currentOrgSelectorTabs =
|
|
@@ -2865,7 +2915,10 @@ export default {
|
|
|
2865
2915
|
currentOrgSelectorParams.currentOrgRange.split(',');
|
|
2866
2916
|
this.currentOrgSelectorTabs.map((x, i) => {
|
|
2867
2917
|
this.currentOrgSelectorParams[x] = {
|
|
2868
|
-
filid:
|
|
2918
|
+
filid:
|
|
2919
|
+
currentOrgparams[i] == 'my'
|
|
2920
|
+
? choiceOrgId
|
|
2921
|
+
: currentOrgparams[i]
|
|
2869
2922
|
};
|
|
2870
2923
|
});
|
|
2871
2924
|
}
|
|
@@ -3211,6 +3264,9 @@ export default {
|
|
|
3211
3264
|
if (this.nodeInfo.nextNode) {
|
|
3212
3265
|
this.handleChange(this.nodeInfo.nextNode);
|
|
3213
3266
|
}
|
|
3267
|
+
if(this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel){
|
|
3268
|
+
this.getAdminMsgType()
|
|
3269
|
+
}
|
|
3214
3270
|
}
|
|
3215
3271
|
} else {
|
|
3216
3272
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
@@ -3399,7 +3455,8 @@ export default {
|
|
|
3399
3455
|
(this.currentNodeIsCircularReadNode ||
|
|
3400
3456
|
(this.isHideOtherOrg && this.isHideCurrentOrg)) &&
|
|
3401
3457
|
this.nextNode.nextCurrentOrgObj.length == 0 &&
|
|
3402
|
-
this.nextNode.nextOtherOrgObj.length == 0
|
|
3458
|
+
this.nextNode.nextOtherOrgObj.length == 0 &&
|
|
3459
|
+
this.nextNode.isReturnSubmitter != 1
|
|
3403
3460
|
) {
|
|
3404
3461
|
this.$message.warning(`请选择下步办理对象!`);
|
|
3405
3462
|
return false;
|
|
@@ -3481,7 +3538,11 @@ export default {
|
|
|
3481
3538
|
}
|
|
3482
3539
|
if (
|
|
3483
3540
|
(this.nextNode.nextOperate != 0 &&
|
|
3484
|
-
|
|
3541
|
+
this.nextNode.nextOperate != 1 &&
|
|
3542
|
+
this.oldNextOperate === '') ||
|
|
3543
|
+
(this.oldNextOperate !== '' &&
|
|
3544
|
+
this.oldNextOperate != 0 &&
|
|
3545
|
+
this.oldNextOperate != 1)
|
|
3485
3546
|
) {
|
|
3486
3547
|
delete this.nextNode.nextNodeId;
|
|
3487
3548
|
}
|
|
@@ -3497,10 +3558,13 @@ export default {
|
|
|
3497
3558
|
if (!this.isCanPreAddSign || this.nextNode.isAddSign != '1') {
|
|
3498
3559
|
delete this.nextNode.addSignMode;
|
|
3499
3560
|
}
|
|
3500
|
-
|
|
3561
|
+
|
|
3501
3562
|
let params = {
|
|
3502
3563
|
...this.nextNode,
|
|
3503
|
-
nextOperate:
|
|
3564
|
+
nextOperate:
|
|
3565
|
+
this.oldNextOperate !== ''
|
|
3566
|
+
? this.oldNextOperate
|
|
3567
|
+
: this.nextNode.nextOperate,
|
|
3504
3568
|
pendingId: this.pendingId,
|
|
3505
3569
|
opinion:
|
|
3506
3570
|
this.isForceDisplayDefaultOptionForPrefix &&
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
v-model="nextNode.handleExplain"
|
|
249
249
|
/>
|
|
250
250
|
</el-form-item>
|
|
251
|
-
<el-form-item prop="noticeType" label="通知方式" v-show="showBtn">
|
|
251
|
+
<el-form-item prop="noticeType" label="通知方式" v-show="showBtn && nextNode.noticeList.length>0">
|
|
252
252
|
<el-checkbox-group v-model="nextNode.noticeType">
|
|
253
253
|
<el-checkbox
|
|
254
254
|
v-for="item of nextNode.noticeList"
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
</div>
|
|
328
328
|
</el-form-item>
|
|
329
329
|
</el-form>
|
|
330
|
-
<div v-if="!showBtn" style="padding: 5px; background: #fff">
|
|
330
|
+
<div v-if="!showBtn && nextNode.noticeList.length>0" style="padding: 5px; background: #fff">
|
|
331
331
|
<div class="news" @click="showNews = !showNews">
|
|
332
332
|
<span class="news-item">消息通知</span>
|
|
333
333
|
<span :class="showNews ? 'show' : 'sj'"></span>
|
|
@@ -443,7 +443,19 @@ export default {
|
|
|
443
443
|
type: String,
|
|
444
444
|
default: ''
|
|
445
445
|
},
|
|
446
|
-
showBtn: { type: Boolean, default: true }
|
|
446
|
+
showBtn: { type: Boolean, default: true },
|
|
447
|
+
messageType:{
|
|
448
|
+
type:Array,
|
|
449
|
+
default: () => []
|
|
450
|
+
},
|
|
451
|
+
urgencyLevel:{
|
|
452
|
+
type:[Number,String],
|
|
453
|
+
default:''
|
|
454
|
+
},
|
|
455
|
+
keyCount:{
|
|
456
|
+
type:[Number,String],
|
|
457
|
+
default:0
|
|
458
|
+
},
|
|
447
459
|
},
|
|
448
460
|
data() {
|
|
449
461
|
return {
|
|
@@ -534,11 +546,30 @@ export default {
|
|
|
534
546
|
nodeInfo: [],
|
|
535
547
|
userInfo: [],
|
|
536
548
|
handleExplain: '',
|
|
537
|
-
noticeList: []
|
|
549
|
+
noticeList: [],
|
|
550
|
+
msgTypeCount:0
|
|
538
551
|
}
|
|
539
552
|
};
|
|
540
553
|
},
|
|
541
554
|
watch: {
|
|
555
|
+
messageType:{
|
|
556
|
+
handler(val) {
|
|
557
|
+
if (this.urgencyLevel) {
|
|
558
|
+
this.nextNode.noticeList = val;
|
|
559
|
+
let arr = [];
|
|
560
|
+
this.nextNode.noticeList.map((item) => {
|
|
561
|
+
this.nextNode.noticeType.map((x) => {
|
|
562
|
+
if (x == item.cciValue) {
|
|
563
|
+
arr.push(x);
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
});
|
|
567
|
+
this.nextNode.noticeType = arr;
|
|
568
|
+
}else{
|
|
569
|
+
this.msgTypeCount++
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
},
|
|
542
573
|
processDefinitionId(val) {
|
|
543
574
|
Object.assign(this.$data, this.$options.data());
|
|
544
575
|
this.getUserInfo();
|
|
@@ -577,7 +608,9 @@ export default {
|
|
|
577
608
|
this.getUserInfo();
|
|
578
609
|
},
|
|
579
610
|
mounted() {
|
|
580
|
-
this.
|
|
611
|
+
if(!this.urgencyLevel){
|
|
612
|
+
this.getNodeType();
|
|
613
|
+
}
|
|
581
614
|
this.getStartFlow(this.processDefinitionId);
|
|
582
615
|
if (this.copyHistory) {
|
|
583
616
|
this.nextNode.newOpinion = this.opinion;
|
|
@@ -30,12 +30,13 @@
|
|
|
30
30
|
</el-radio>
|
|
31
31
|
</el-radio-group>
|
|
32
32
|
</el-form-item>
|
|
33
|
+
<!-- :rules="[
|
|
34
|
+
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
35
|
+
]" -->
|
|
33
36
|
<el-form-item
|
|
34
37
|
prop="noticeType"
|
|
35
38
|
label="通知方式"
|
|
36
|
-
|
|
37
|
-
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
38
|
-
]"
|
|
39
|
+
v-show="nextNode.noticeList.lemgth != 0"
|
|
39
40
|
>
|
|
40
41
|
<el-checkbox-group v-model="nextNode.noticeType">
|
|
41
42
|
<el-checkbox
|
|
@@ -192,6 +193,7 @@ export default {
|
|
|
192
193
|
this.simpleTips && this.$message.success('操作成功');
|
|
193
194
|
} else {
|
|
194
195
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
196
|
+
this.quit(false);
|
|
195
197
|
}
|
|
196
198
|
})
|
|
197
199
|
.catch((err) => {
|
|
@@ -246,9 +248,11 @@ export default {
|
|
|
246
248
|
util
|
|
247
249
|
.ajax({ url: toTaskRejectHtml, params })
|
|
248
250
|
.then((res) => {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
251
|
+
|
|
252
|
+
console.log(res,'resssss')
|
|
253
|
+
this.loading = false;
|
|
254
|
+
if (res.status === 'success') {
|
|
255
|
+
const {
|
|
252
256
|
data: {
|
|
253
257
|
rejectTaskNodes,
|
|
254
258
|
taskExamine,
|
|
@@ -257,8 +261,6 @@ export default {
|
|
|
257
261
|
readOnlyNotificationType
|
|
258
262
|
}
|
|
259
263
|
} = res;
|
|
260
|
-
this.loading = false;
|
|
261
|
-
if (status === 'success') {
|
|
262
264
|
this.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
|
|
263
265
|
this.readOnlyNotificationType = readOnlyNotificationType;
|
|
264
266
|
this.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
|
|
@@ -280,7 +282,8 @@ export default {
|
|
|
280
282
|
(this.nextNode.nextNodeId = this.rejectObj[0].id);
|
|
281
283
|
}
|
|
282
284
|
} else {
|
|
283
|
-
this.$message.error(message || '系统错误,请联系管理员!');
|
|
285
|
+
this.$message.error(res.message || '系统错误,请联系管理员!');
|
|
286
|
+
this.quit(false);
|
|
284
287
|
}
|
|
285
288
|
})
|
|
286
289
|
.catch((err) => {
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
v-model="nextItemHandleDescription"
|
|
182
182
|
/>
|
|
183
183
|
</el-form-item>
|
|
184
|
-
<el-form-item prop="noticeType" label="通知方式">
|
|
184
|
+
<el-form-item v-show="nextNode.noticeList.length != 0" prop="noticeType" label="通知方式">
|
|
185
185
|
<el-checkbox-group
|
|
186
186
|
v-if="showNoticeType"
|
|
187
187
|
v-model="nextNode.noticeType"
|
|
@@ -540,9 +540,9 @@ export default {
|
|
|
540
540
|
nextOperate,
|
|
541
541
|
newOpinion
|
|
542
542
|
} = this.nextNode;
|
|
543
|
-
if (noticeType.length === 0) {
|
|
544
|
-
|
|
545
|
-
}
|
|
543
|
+
// if (noticeType.length === 0) {
|
|
544
|
+
// return this.$message.warning('请选择通知方式');
|
|
545
|
+
// }
|
|
546
546
|
if (
|
|
547
547
|
this.nodeInfoExtAttr.nodeType != 1 &&
|
|
548
548
|
this.nodeInfoExtAttr.nodeType != 2 &&
|
|
@@ -109,12 +109,9 @@
|
|
|
109
109
|
></el-input>
|
|
110
110
|
</el-form-item>
|
|
111
111
|
<el-form-item
|
|
112
|
-
v-if="configInfo.isCdjxjTaskHandle != 'true'"
|
|
112
|
+
v-if="configInfo.isCdjxjTaskHandle != 'true' && noticeList.length > 0"
|
|
113
113
|
prop="noticeType"
|
|
114
114
|
label="通知方式"
|
|
115
|
-
:rules="[
|
|
116
|
-
{ required: false, message: `请选择通知方式`, trigger: 'blur' }
|
|
117
|
-
]"
|
|
118
115
|
>
|
|
119
116
|
<el-checkbox-group
|
|
120
117
|
v-model="nextNode.noticeType"
|