eoss-ui 0.6.89 → 0.6.90
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-ui.common.js +78 -22
- package/lib/flow.js +72 -16
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/main.vue +3 -1
- package/packages/flow/src/reset.vue +33 -10
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1590,7 +1590,7 @@ export default {
|
|
|
1590
1590
|
this.freeStartFlowParams.startFlowBusinessId =
|
|
1591
1591
|
this.taskExamineInfo.businessId;
|
|
1592
1592
|
this.freeStartFlowNextNode = this.taskExamineInfo.processDefinitionId;
|
|
1593
|
-
const { businessId, appId, processDefinitionId, pendingId } =
|
|
1593
|
+
const { businessId, appId, processDefinitionId, pendingId,isSubFlow } =
|
|
1594
1594
|
this.taskExamineInfo;
|
|
1595
1595
|
let params = {
|
|
1596
1596
|
businessId,
|
|
@@ -1598,6 +1598,7 @@ export default {
|
|
|
1598
1598
|
processDefinitionId,
|
|
1599
1599
|
pendingId,
|
|
1600
1600
|
opinion: this.value,
|
|
1601
|
+
isSubFlow,
|
|
1601
1602
|
taskAction: 'complete'
|
|
1602
1603
|
};
|
|
1603
1604
|
this.taskParams = params;
|
|
@@ -3536,6 +3537,7 @@ export default {
|
|
|
3536
3537
|
delete params.nextUserId;
|
|
3537
3538
|
}
|
|
3538
3539
|
if (freetype === 'multiInsMidwayWithSubmitScene') {
|
|
3540
|
+
params.isSubFlow = this.taskExamineInfo.isSubFlow;
|
|
3539
3541
|
this.taskParams = params;
|
|
3540
3542
|
return;
|
|
3541
3543
|
}
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
label-width="100px"
|
|
15
15
|
label-position="left"
|
|
16
16
|
>
|
|
17
|
-
<div
|
|
18
|
-
|
|
17
|
+
<div class="es-reset-flow-form-box">
|
|
18
|
+
<el-form-item prop="nodeName" label="标题">
|
|
19
19
|
<el-input v-model="pendtitle" disabled />
|
|
20
20
|
</el-form-item>
|
|
21
21
|
<el-form-item prop="nodeName" label="当前步骤">
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
]"
|
|
33
33
|
>
|
|
34
34
|
<el-select
|
|
35
|
-
|
|
35
|
+
v-if="nextNodeCheckType == 'select'"
|
|
36
36
|
v-model="nextNode.nextNode"
|
|
37
37
|
:placeholder="`请选择下步节点`"
|
|
38
38
|
@change="changeSel"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
:value="items.nodeId"
|
|
45
45
|
></el-option>
|
|
46
46
|
</el-select>
|
|
47
|
-
|
|
47
|
+
<es-radio-group
|
|
48
48
|
v-else-if="nextNodeCheckType == 'radio'"
|
|
49
49
|
v-model="nextNode.nextNode"
|
|
50
50
|
:data="nextNode.nodeInfo"
|
|
@@ -166,6 +166,21 @@
|
|
|
166
166
|
v-model="nextNode.handleExplain"
|
|
167
167
|
/>
|
|
168
168
|
</el-form-item>
|
|
169
|
+
<el-form-item
|
|
170
|
+
v-if="
|
|
171
|
+
currentNodeEnableItemHandleDescription &&
|
|
172
|
+
nextNode.nodeInfo.length != 0
|
|
173
|
+
"
|
|
174
|
+
prop="nextItemHandleDescription"
|
|
175
|
+
label="办理说明"
|
|
176
|
+
>
|
|
177
|
+
<el-input
|
|
178
|
+
placeholder="请输入办理说明"
|
|
179
|
+
type="textarea"
|
|
180
|
+
:autosize="{ minRows: 2 }"
|
|
181
|
+
v-model="nextItemHandleDescription"
|
|
182
|
+
/>
|
|
183
|
+
</el-form-item>
|
|
169
184
|
<el-form-item prop="noticeType" label="通知方式">
|
|
170
185
|
<el-checkbox-group
|
|
171
186
|
v-if="showNoticeType"
|
|
@@ -247,7 +262,7 @@ export default {
|
|
|
247
262
|
type: Object,
|
|
248
263
|
default: () => {}
|
|
249
264
|
},
|
|
250
|
-
|
|
265
|
+
subParams: {
|
|
251
266
|
type: Object,
|
|
252
267
|
default: () => {}
|
|
253
268
|
},
|
|
@@ -262,7 +277,9 @@ export default {
|
|
|
262
277
|
loading: false,
|
|
263
278
|
isCustomUser: 0,
|
|
264
279
|
selectUser: false,
|
|
280
|
+
nextItemHandleDescription: '',
|
|
265
281
|
nextNodeCheckType: 'select',
|
|
282
|
+
currentNodeEnableItemHandleDescription: false,
|
|
266
283
|
multiple: false,
|
|
267
284
|
showNoticeType: false,
|
|
268
285
|
readMultiple: true,
|
|
@@ -302,15 +319,13 @@ export default {
|
|
|
302
319
|
tabs: {
|
|
303
320
|
employee: {
|
|
304
321
|
param: {
|
|
305
|
-
filid: JSON.parse(util.getStorage('mainConfig')).userModel
|
|
306
|
-
.orgId,
|
|
322
|
+
filid: JSON.parse(util.getStorage('mainConfig')).userModel.orgId,
|
|
307
323
|
name: '本单位用户'
|
|
308
324
|
}
|
|
309
325
|
},
|
|
310
326
|
department: {
|
|
311
327
|
param: {
|
|
312
|
-
filid: JSON.parse(util.getStorage('mainConfig')).userModel
|
|
313
|
-
.orgId
|
|
328
|
+
filid: JSON.parse(util.getStorage('mainConfig')).userModel.orgId
|
|
314
329
|
}
|
|
315
330
|
}
|
|
316
331
|
},
|
|
@@ -565,7 +580,7 @@ export default {
|
|
|
565
580
|
processDefinitionId: this.processDefinitionId,
|
|
566
581
|
nextUserId: this.multiple ? newNextUser.join(',') : nextUser,
|
|
567
582
|
nextNodeId: nextNode,
|
|
568
|
-
appId:this.appId,
|
|
583
|
+
appId: this.appId,
|
|
569
584
|
nextOperate: nextOperate,
|
|
570
585
|
businessId: this.taskExamine.businessId,
|
|
571
586
|
pendingId: this.taskExamine.pendingId,
|
|
@@ -588,8 +603,12 @@ export default {
|
|
|
588
603
|
? this.mixPresetList.join('|')
|
|
589
604
|
: presetReadUserId.join(','),
|
|
590
605
|
opinion: this.newOpinion || newOpinion,
|
|
606
|
+
nextItemHandleDescription: this.nextItemHandleDescription,
|
|
591
607
|
...this.subParams
|
|
592
608
|
};
|
|
609
|
+
if (!this.currentNodeEnableItemHandleDescription) {
|
|
610
|
+
delete params.nextItemHandleDescription;
|
|
611
|
+
}
|
|
593
612
|
if (this.activeNames != '1') delete params.customPresetUserJson;
|
|
594
613
|
util
|
|
595
614
|
.ajax({
|
|
@@ -640,6 +659,10 @@ export default {
|
|
|
640
659
|
} = res;
|
|
641
660
|
this.loading = false;
|
|
642
661
|
if (status === 'success') {
|
|
662
|
+
if (this.type == 'reset') {
|
|
663
|
+
this.currentNodeEnableItemHandleDescription =
|
|
664
|
+
nodeExtAttr.currentNodeEnableItemHandleDescription == 1;
|
|
665
|
+
}
|
|
643
666
|
this.nextNode.userInfo = nextUserList;
|
|
644
667
|
this.countersignaturetypeCode = countersignaturetypeCode;
|
|
645
668
|
this.nextNode.countersignaturetypeText = countersignaturetypeText;
|