eoss-ui 0.6.91 → 0.6.93
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 +79 -77
- package/lib/date-picker.js +79 -77
- package/lib/dialog.js +79 -77
- package/lib/eoss-ui.common.js +888 -787
- package/lib/flow-group.js +79 -77
- package/lib/flow-list.js +84 -82
- package/lib/flow.js +786 -695
- 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 +108 -106
- 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 +80 -78
- package/lib/selector-panel.js +79 -77
- package/lib/selector.js +90 -80
- 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 +83 -79
- package/lib/upload.js +96 -94
- package/lib/wujie.js +79 -77
- package/lib/wxlogin.js +79 -77
- package/package.json +1 -1
- package/packages/flow/src/main.vue +106 -52
- package/packages/flow/src/processForm.vue +29 -2
- package/packages/flow/src/selectUser.vue +8 -3
- package/packages/select/src/main.vue +1 -1
- package/packages/selector/src/main.vue +10 -2
- package/packages/tree/src/main.vue +1 -0
- package/packages/upload/src/main.vue +5 -5
- package/src/config/api.js +1 -0
- package/src/index.js +1 -1
|
@@ -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
|
提交
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
</el-form-item>
|
|
503
503
|
|
|
504
504
|
<el-form-item
|
|
505
|
-
v-if="isHideCurrentOrg"
|
|
505
|
+
v-if="isHideCurrentOrg && nextNode.isReturnSubmitter != 1"
|
|
506
506
|
prop="nextCurrentOrgObj"
|
|
507
507
|
:label="currentOrgName ? currentOrgName : '本单位'"
|
|
508
508
|
>
|
|
@@ -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,6 +673,8 @@
|
|
|
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"
|
|
@@ -751,30 +753,27 @@
|
|
|
751
753
|
</div>
|
|
752
754
|
</div>
|
|
753
755
|
<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>
|
|
756
|
+
ref="nextNode"
|
|
757
|
+
:model="isFlow ? nodeInfo : nextNode"
|
|
758
|
+
v-if="isEndMessage"
|
|
759
|
+
class="demo-dynamic"
|
|
760
|
+
:label-width="
|
|
761
|
+
startFlowPageEmbeddedIntoStartFlowIndex ? '100px' : '120px'
|
|
762
|
+
"
|
|
763
|
+
style="padding: 0px 8px"
|
|
764
|
+
:label-position="formLabelPosition"
|
|
765
|
+
>
|
|
766
|
+
<el-form-item prop="nextItemHandleDescription" label="办结意见">
|
|
767
|
+
<el-input
|
|
768
|
+
placeholder="请输入办结意见"
|
|
769
|
+
type="textarea"
|
|
770
|
+
:autosize="{ minRows: 2 }"
|
|
771
|
+
v-model="endMessage"
|
|
772
|
+
@change="handleEndMessageChange"
|
|
773
|
+
/>
|
|
774
|
+
</el-form-item>
|
|
776
775
|
</el-form>
|
|
777
|
-
|
|
776
|
+
|
|
778
777
|
<div
|
|
779
778
|
class="es-flow-buttons"
|
|
780
779
|
v-if="newTypeCode != 'fenyue' && !shrink"
|
|
@@ -790,8 +789,10 @@
|
|
|
790
789
|
<el-button class="es-button-agree" @click="subProcess('不同意。')"
|
|
791
790
|
>不同意</el-button
|
|
792
791
|
>
|
|
793
|
-
<el-button
|
|
794
|
-
|
|
792
|
+
<el-button
|
|
793
|
+
class="es-button-agree-save"
|
|
794
|
+
v-if="!isHideTemporarySave"
|
|
795
|
+
@click="saveInfo()"
|
|
795
796
|
>暂存</el-button
|
|
796
797
|
>
|
|
797
798
|
</div>
|
|
@@ -806,7 +807,9 @@
|
|
|
806
807
|
>
|
|
807
808
|
<el-button
|
|
808
809
|
v-show="isSubmitButtonShowAgreeAndDisagree != 1"
|
|
809
|
-
v-for="item of hideBtn || isHideTemporarySave
|
|
810
|
+
v-for="item of hideBtn || isHideTemporarySave
|
|
811
|
+
? btnList.slice(0, 1)
|
|
812
|
+
: btnList"
|
|
810
813
|
:key="item.name"
|
|
811
814
|
:type="item.type"
|
|
812
815
|
:style="btnStyle"
|
|
@@ -1139,7 +1142,8 @@ import {
|
|
|
1139
1142
|
checkForeignOrgStartedCircularRead,
|
|
1140
1143
|
checkBusinessIdStartedReadTransferHandle,
|
|
1141
1144
|
taskHandleHtml,
|
|
1142
|
-
getNodeInfoForStart
|
|
1145
|
+
getNodeInfoForStart,
|
|
1146
|
+
getUrgencyLevelChangedNotificationType
|
|
1143
1147
|
} from 'eoss-ui/src/config/api';
|
|
1144
1148
|
import util from 'eoss-ui/src/utils/util';
|
|
1145
1149
|
export default {
|
|
@@ -1195,6 +1199,10 @@ export default {
|
|
|
1195
1199
|
callBack();
|
|
1196
1200
|
}
|
|
1197
1201
|
},
|
|
1202
|
+
urgencyLevel: {
|
|
1203
|
+
type: [String, Number],
|
|
1204
|
+
default: ''
|
|
1205
|
+
},
|
|
1198
1206
|
beforeSubmit: Function,
|
|
1199
1207
|
title: { type: String, default: '流程办理' },
|
|
1200
1208
|
formTitle: { type: String, default: '' },
|
|
@@ -1218,15 +1226,15 @@ export default {
|
|
|
1218
1226
|
type: [String, Number],
|
|
1219
1227
|
default: 10
|
|
1220
1228
|
},
|
|
1221
|
-
isEndMessage: { type: Boolean, default: false }
|
|
1229
|
+
isEndMessage: { type: Boolean, default: false }
|
|
1222
1230
|
},
|
|
1223
1231
|
data() {
|
|
1224
1232
|
return {
|
|
1225
1233
|
styles: {},
|
|
1226
1234
|
optionsKey: 0,
|
|
1227
|
-
endMessage:'',
|
|
1228
|
-
isHideTemporarySave:false,
|
|
1229
|
-
oldNextOperate:'',
|
|
1235
|
+
endMessage: '',
|
|
1236
|
+
isHideTemporarySave: false,
|
|
1237
|
+
oldNextOperate: '',
|
|
1230
1238
|
taskOperationShiftedNodeList: null,
|
|
1231
1239
|
currentNodeEnableItemHandleDescription: false,
|
|
1232
1240
|
startFlowPageEmbeddedIntoStartFlowIndex: false,
|
|
@@ -1409,6 +1417,7 @@ export default {
|
|
|
1409
1417
|
currentOrgName: '', //本单位名称
|
|
1410
1418
|
otherOrgName: '', //外单位名称
|
|
1411
1419
|
needRetrialAuth: false, //是否二次鉴权
|
|
1420
|
+
msgTypeCount: 0,
|
|
1412
1421
|
nodeInfo: {
|
|
1413
1422
|
nextNode: '',
|
|
1414
1423
|
nextUser: '',
|
|
@@ -1433,6 +1442,17 @@ export default {
|
|
|
1433
1442
|
}
|
|
1434
1443
|
},
|
|
1435
1444
|
watch: {
|
|
1445
|
+
urgencyLevel: {
|
|
1446
|
+
handler(val) {
|
|
1447
|
+
if (val && this.msgTypeCount != 0) {
|
|
1448
|
+
this.getAdminMsgType();
|
|
1449
|
+
} else {
|
|
1450
|
+
this.msgTypeCount++;
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
deep: true,
|
|
1454
|
+
immediate: true
|
|
1455
|
+
},
|
|
1436
1456
|
isCirculate: {
|
|
1437
1457
|
handler(val) {
|
|
1438
1458
|
if (!val && this.showCirculate != undefined) {
|
|
@@ -1532,8 +1552,28 @@ export default {
|
|
|
1532
1552
|
}
|
|
1533
1553
|
},
|
|
1534
1554
|
methods: {
|
|
1535
|
-
|
|
1536
|
-
|
|
1555
|
+
getAdminMsgType() {
|
|
1556
|
+
let params = {
|
|
1557
|
+
url: getUrgencyLevelChangedNotificationType,
|
|
1558
|
+
params: { urgencyLevel: this.urgencyLevel }
|
|
1559
|
+
};
|
|
1560
|
+
util.ajax(params).then((res) => {
|
|
1561
|
+
if (res.rCode == 0) {
|
|
1562
|
+
this.newsList = res.results.latestChangedNotificationType;
|
|
1563
|
+
let arr = [];
|
|
1564
|
+
this.newsList.map((item) => {
|
|
1565
|
+
this.nextNode.notificationType.map((x) => {
|
|
1566
|
+
if (x == item.cciValue) {
|
|
1567
|
+
arr.push(x);
|
|
1568
|
+
}
|
|
1569
|
+
});
|
|
1570
|
+
});
|
|
1571
|
+
this.nextNode.notificationType = arr;
|
|
1572
|
+
}
|
|
1573
|
+
});
|
|
1574
|
+
},
|
|
1575
|
+
handleEndMessageChange() {
|
|
1576
|
+
this.$emit('endMessageChange', this.endMessage);
|
|
1537
1577
|
},
|
|
1538
1578
|
getInfo() {
|
|
1539
1579
|
if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
|
|
@@ -1561,7 +1601,8 @@ export default {
|
|
|
1561
1601
|
};
|
|
1562
1602
|
util.ajax(params).then((res) => {
|
|
1563
1603
|
if (res.status == 'success') {
|
|
1564
|
-
this.isHideTemporarySave =
|
|
1604
|
+
this.isHideTemporarySave =
|
|
1605
|
+
res.data.nodeExtAttr.isHideTemporarySave == 1;
|
|
1565
1606
|
this.isBanInputOpinion = res.data.nodeExtAttr.isBanInputOpinion;
|
|
1566
1607
|
this.directCreateCircularReadWhenFlowStarted =
|
|
1567
1608
|
res.data.nodeExtAttr.directCreateCircularReadWhenFlowStarted == 1;
|
|
@@ -1593,7 +1634,7 @@ export default {
|
|
|
1593
1634
|
this.freeStartFlowParams.startFlowBusinessId =
|
|
1594
1635
|
this.taskExamineInfo.businessId;
|
|
1595
1636
|
this.freeStartFlowNextNode = this.taskExamineInfo.processDefinitionId;
|
|
1596
|
-
const { businessId, appId, processDefinitionId, pendingId,isSubFlow } =
|
|
1637
|
+
const { businessId, appId, processDefinitionId, pendingId, isSubFlow } =
|
|
1597
1638
|
this.taskExamineInfo;
|
|
1598
1639
|
let params = {
|
|
1599
1640
|
businessId,
|
|
@@ -1916,7 +1957,7 @@ export default {
|
|
|
1916
1957
|
params: {
|
|
1917
1958
|
ccCode: 'notification_type',
|
|
1918
1959
|
userId: util.getStorage('userId'),
|
|
1919
|
-
pendingId:this.pendingId
|
|
1960
|
+
pendingId: this.pendingId
|
|
1920
1961
|
}
|
|
1921
1962
|
})
|
|
1922
1963
|
.then((res) => {
|
|
@@ -1997,7 +2038,7 @@ export default {
|
|
|
1997
2038
|
};
|
|
1998
2039
|
this.loading = util.loading(this.$loading, '保存中...');
|
|
1999
2040
|
util
|
|
2000
|
-
.ajax({ url: tempSave, params })
|
|
2041
|
+
.ajax({ url: tempSave, data: params, method: 'post' })
|
|
2001
2042
|
.then((res) => {
|
|
2002
2043
|
const { status, message } = res;
|
|
2003
2044
|
if (!isSave) this.loading.close();
|
|
@@ -2630,11 +2671,12 @@ export default {
|
|
|
2630
2671
|
} else {
|
|
2631
2672
|
this.nextNode.nextUserId = '';
|
|
2632
2673
|
}
|
|
2633
|
-
if(isNextNode){
|
|
2634
|
-
this.oldNextOperate = this.operationList.filter(
|
|
2635
|
-
.
|
|
2636
|
-
|
|
2637
|
-
|
|
2674
|
+
if (isNextNode) {
|
|
2675
|
+
this.oldNextOperate = this.operationList.filter(
|
|
2676
|
+
(x) => x.key == val
|
|
2677
|
+
)[0].nextOperate;
|
|
2678
|
+
} else {
|
|
2679
|
+
this.oldNextOperate = '';
|
|
2638
2680
|
}
|
|
2639
2681
|
this.options = [];
|
|
2640
2682
|
this.selectUserList = [];
|
|
@@ -2851,12 +2893,13 @@ export default {
|
|
|
2851
2893
|
taskOperations.push({
|
|
2852
2894
|
key: x.nodeId,
|
|
2853
2895
|
value: x.nodeName,
|
|
2854
|
-
nextOperate:x.nextOperate,
|
|
2896
|
+
nextOperate: x.nextOperate,
|
|
2855
2897
|
isNextNode: true
|
|
2856
2898
|
});
|
|
2857
2899
|
});
|
|
2858
2900
|
}
|
|
2859
|
-
this.isHideTemporarySave =
|
|
2901
|
+
this.isHideTemporarySave =
|
|
2902
|
+
nodeInfoMap.nodeExtAttr.isHideTemporarySave == 1;
|
|
2860
2903
|
this.pendingItemHandleDescription = pendingItemHandleDescription;
|
|
2861
2904
|
if (currentOrgSelectorParams.enableCurrentOrgConfig == 'true') {
|
|
2862
2905
|
this.currentOrgSelectorTabs =
|
|
@@ -2865,7 +2908,10 @@ export default {
|
|
|
2865
2908
|
currentOrgSelectorParams.currentOrgRange.split(',');
|
|
2866
2909
|
this.currentOrgSelectorTabs.map((x, i) => {
|
|
2867
2910
|
this.currentOrgSelectorParams[x] = {
|
|
2868
|
-
filid:
|
|
2911
|
+
filid:
|
|
2912
|
+
currentOrgparams[i] == 'my'
|
|
2913
|
+
? choiceOrgId
|
|
2914
|
+
: currentOrgparams[i]
|
|
2869
2915
|
};
|
|
2870
2916
|
});
|
|
2871
2917
|
}
|
|
@@ -3399,7 +3445,8 @@ export default {
|
|
|
3399
3445
|
(this.currentNodeIsCircularReadNode ||
|
|
3400
3446
|
(this.isHideOtherOrg && this.isHideCurrentOrg)) &&
|
|
3401
3447
|
this.nextNode.nextCurrentOrgObj.length == 0 &&
|
|
3402
|
-
this.nextNode.nextOtherOrgObj.length == 0
|
|
3448
|
+
this.nextNode.nextOtherOrgObj.length == 0 &&
|
|
3449
|
+
this.nextNode.isReturnSubmitter != 1
|
|
3403
3450
|
) {
|
|
3404
3451
|
this.$message.warning(`请选择下步办理对象!`);
|
|
3405
3452
|
return false;
|
|
@@ -3481,7 +3528,11 @@ export default {
|
|
|
3481
3528
|
}
|
|
3482
3529
|
if (
|
|
3483
3530
|
(this.nextNode.nextOperate != 0 &&
|
|
3484
|
-
|
|
3531
|
+
this.nextNode.nextOperate != 1 &&
|
|
3532
|
+
this.oldNextOperate === '') ||
|
|
3533
|
+
(this.oldNextOperate !== '' &&
|
|
3534
|
+
this.oldNextOperate != 0 &&
|
|
3535
|
+
this.oldNextOperate != 1)
|
|
3485
3536
|
) {
|
|
3486
3537
|
delete this.nextNode.nextNodeId;
|
|
3487
3538
|
}
|
|
@@ -3497,10 +3548,13 @@ export default {
|
|
|
3497
3548
|
if (!this.isCanPreAddSign || this.nextNode.isAddSign != '1') {
|
|
3498
3549
|
delete this.nextNode.addSignMode;
|
|
3499
3550
|
}
|
|
3500
|
-
|
|
3551
|
+
|
|
3501
3552
|
let params = {
|
|
3502
3553
|
...this.nextNode,
|
|
3503
|
-
nextOperate:
|
|
3554
|
+
nextOperate:
|
|
3555
|
+
this.oldNextOperate !== ''
|
|
3556
|
+
? this.oldNextOperate
|
|
3557
|
+
: this.nextNode.nextOperate,
|
|
3504
3558
|
pendingId: this.pendingId,
|
|
3505
3559
|
opinion:
|
|
3506
3560
|
this.isForceDisplayDefaultOptionForPrefix &&
|
|
@@ -443,7 +443,15 @@ 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
|
+
}
|
|
447
455
|
},
|
|
448
456
|
data() {
|
|
449
457
|
return {
|
|
@@ -534,11 +542,30 @@ export default {
|
|
|
534
542
|
nodeInfo: [],
|
|
535
543
|
userInfo: [],
|
|
536
544
|
handleExplain: '',
|
|
537
|
-
noticeList: []
|
|
545
|
+
noticeList: [],
|
|
546
|
+
msgTypeCount:0
|
|
538
547
|
}
|
|
539
548
|
};
|
|
540
549
|
},
|
|
541
550
|
watch: {
|
|
551
|
+
messageType:{
|
|
552
|
+
handler(val) {
|
|
553
|
+
if (val.length > 0 && this.urgencyLevel && this.msgTypeCount != 0) {
|
|
554
|
+
this.nextNode.noticeList = val;
|
|
555
|
+
let arr = [];
|
|
556
|
+
this.nextNode.noticeList.map((item) => {
|
|
557
|
+
this.nextNode.noticeType.map((x) => {
|
|
558
|
+
if (x == item.cciValue) {
|
|
559
|
+
arr.push(x);
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
});
|
|
563
|
+
this.nextNode.noticeType = arr;
|
|
564
|
+
}else{
|
|
565
|
+
this.msgTypeCount++
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
},
|
|
542
569
|
processDefinitionId(val) {
|
|
543
570
|
Object.assign(this.$data, this.$options.data());
|
|
544
571
|
this.getUserInfo();
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
:types="types"
|
|
67
67
|
:tabs="tabs"
|
|
68
68
|
:title="title"
|
|
69
|
-
:
|
|
69
|
+
:classify="classify"
|
|
70
|
+
:collapse-tags="2"
|
|
70
71
|
:mix="mix"
|
|
71
72
|
:min="isUnionSeal ? 1 : 0"
|
|
72
73
|
:disabled="!isCustomUser || isCurrentNodeForbiddenChangeCandidate == 1"
|
|
@@ -79,11 +80,11 @@
|
|
|
79
80
|
: 'no-icon'
|
|
80
81
|
"
|
|
81
82
|
:select="isUnionSeal == false"
|
|
82
|
-
:where="newWhere"
|
|
83
|
+
:where="{ ...newWhere, info: classify ? '' : 'no' }"
|
|
83
84
|
:multiple="newMultiple"
|
|
84
85
|
@cancel="cancelSelectUser"
|
|
85
86
|
@change="getSelectUser"
|
|
86
|
-
:param="{ ...newParams, info: 'no' }"
|
|
87
|
+
:param="{ ...newParams, info: classify ? '' : 'no' }"
|
|
87
88
|
:disableds="disableds"
|
|
88
89
|
><i class="es-icon-user"></i
|
|
89
90
|
></es-selector>
|
|
@@ -177,6 +178,7 @@ export default {
|
|
|
177
178
|
return {
|
|
178
179
|
searchLoading: false,
|
|
179
180
|
newNextUser: [],
|
|
181
|
+
classify:true,
|
|
180
182
|
newOptions: [],
|
|
181
183
|
newSelectUserList: [],
|
|
182
184
|
url: handleInfo,
|
|
@@ -266,6 +268,9 @@ export default {
|
|
|
266
268
|
immediate: true
|
|
267
269
|
}
|
|
268
270
|
},
|
|
271
|
+
mounted() {
|
|
272
|
+
this.classify = util.getStorage('classify')!= undefined ? util.getStorage('classify') : true;
|
|
273
|
+
},
|
|
269
274
|
|
|
270
275
|
methods: {
|
|
271
276
|
changeInfo(data) {
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
collapseTags === true ? 1 : collapseTags
|
|
39
39
|
)"
|
|
40
40
|
:key="getValueKey(item)"
|
|
41
|
-
:closable="
|
|
41
|
+
:closable="
|
|
42
|
+
!selectorDisabled && !readonly && selected.length > min
|
|
43
|
+
"
|
|
42
44
|
type="info"
|
|
43
45
|
disable-transitions
|
|
44
46
|
@close="deleteTag($event, item, index)"
|
|
@@ -354,7 +356,13 @@ export default {
|
|
|
354
356
|
};
|
|
355
357
|
}
|
|
356
358
|
},
|
|
359
|
+
//混选
|
|
357
360
|
mix: Boolean,
|
|
361
|
+
//混选时是否分类显示
|
|
362
|
+
classify: {
|
|
363
|
+
type: Boolean,
|
|
364
|
+
default: true
|
|
365
|
+
},
|
|
358
366
|
noMatchText: {
|
|
359
367
|
type: String,
|
|
360
368
|
default: '无匹配数据'
|
|
@@ -727,7 +735,7 @@ export default {
|
|
|
727
735
|
getLabel(res) {
|
|
728
736
|
let tag = '';
|
|
729
737
|
if (this.mix) {
|
|
730
|
-
tag = util.getTypeName(res.stype);
|
|
738
|
+
tag = this.classify?util.getTypeName(res.stype) : '';
|
|
731
739
|
} else if (this.showFilterListDep) {
|
|
732
740
|
tag = this.getDep(res);
|
|
733
741
|
}
|
|
@@ -904,7 +904,7 @@ export default {
|
|
|
904
904
|
: typeof this.preview === 'function'
|
|
905
905
|
? this.preview(file)
|
|
906
906
|
: null;
|
|
907
|
-
if (res.status === 'success') {
|
|
907
|
+
if (res.status === 'success' || res.status == 0) {
|
|
908
908
|
let suffix = file.suffix;
|
|
909
909
|
suffix = suffix.toLowerCase();
|
|
910
910
|
if (this.dochubConfig.previewDocumentUrl) {
|
|
@@ -1108,7 +1108,7 @@ export default {
|
|
|
1108
1108
|
return flag;
|
|
1109
1109
|
},
|
|
1110
1110
|
handleBeforeRemove(file, fileList) {
|
|
1111
|
-
if (file && file.status === 'success') {
|
|
1111
|
+
if (file && (file.status === 'success' || file.status == 0)) {
|
|
1112
1112
|
return this.$confirm('确定删除文件吗?', '提示', {
|
|
1113
1113
|
confirmButtonText: '确定',
|
|
1114
1114
|
cancelButtonText: '取消',
|
|
@@ -1117,7 +1117,7 @@ export default {
|
|
|
1117
1117
|
.then(() => {
|
|
1118
1118
|
if (this.beforeRemove) {
|
|
1119
1119
|
return this.beforeRemove(file, fileList);
|
|
1120
|
-
} else if (file.status === 'success') {
|
|
1120
|
+
} else if (file.status === 'success' || file.status == 0) {
|
|
1121
1121
|
let userName =
|
|
1122
1122
|
file.userName ||
|
|
1123
1123
|
(file.response && file.response.userName) ||
|
|
@@ -1194,7 +1194,7 @@ export default {
|
|
|
1194
1194
|
);
|
|
1195
1195
|
},
|
|
1196
1196
|
handleDownload(file) {
|
|
1197
|
-
if (file.status === 'success') {
|
|
1197
|
+
if (file.status === 'success' || file.status == 0) {
|
|
1198
1198
|
let url =
|
|
1199
1199
|
typeof this.download === 'string'
|
|
1200
1200
|
? this.download
|
|
@@ -1231,7 +1231,7 @@ export default {
|
|
|
1231
1231
|
this.onSort(files);
|
|
1232
1232
|
} else {
|
|
1233
1233
|
let ids = files.map((item) => {
|
|
1234
|
-
if (item.status === 'success') {
|
|
1234
|
+
if (item.status === 'success' || item.status == 0) {
|
|
1235
1235
|
return item.adjunctId || item.response.adjunctId;
|
|
1236
1236
|
}
|
|
1237
1237
|
});
|
package/src/config/api.js
CHANGED
|
@@ -305,3 +305,4 @@ export const endFlowAndStartTaskCircularRead =
|
|
|
305
305
|
export const getNodeInfoForStart =
|
|
306
306
|
flowPendingPrefix + '/task/taskHandle/getNodeInfoForStart.dhtml';
|
|
307
307
|
export const freeStartFlow = '/bpm/bpmBackend/freeStartFlow';
|
|
308
|
+
export const getUrgencyLevelChangedNotificationType = '/bpm/bpmBackend/getUrgencyLevelChangedNotificationType';
|