sasp-flow-render 1.1.14 → 1.1.16
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/package.json
CHANGED
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
:visible.sync="flowChartObj.dialogVisible"
|
|
447
447
|
width="90%" height="90%"
|
|
448
448
|
top="5vh">
|
|
449
|
-
<flow-chart :flow-id="flowChartObj.flowId + ''" :inst-id="flowChartObj.instId + ''"
|
|
449
|
+
<flow-chart :flow-id="(flowChartObj.flowId || flowId) + ''" :inst-id="flowChartObj.instId + ''"
|
|
450
450
|
:link-proc-id="flowChartObj.linkProcId + ''"
|
|
451
451
|
:is-release="flowChartObj.isRelease"
|
|
452
452
|
v-if="flowChartObj.dialogVisible"></flow-chart>
|
|
@@ -344,7 +344,7 @@ export default {
|
|
|
344
344
|
if (operateMap && operateMap.isPassCondition === 0 && !operateObj.nextNodeName) {
|
|
345
345
|
Object.assign(operateMap, {nextNodeName: "会签中...等待其他人处理完毕"});
|
|
346
346
|
}else {
|
|
347
|
-
if (operateMap && operateMap.hasOwnProperty('isPassCondition')) {
|
|
347
|
+
if (operateMap && operateMap.hasOwnProperty('isPassCondition') && operateMap['isPassCondition'] === "1") {
|
|
348
348
|
delete operateMap.isPassCondition;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -446,11 +446,18 @@ export default {
|
|
|
446
446
|
},
|
|
447
447
|
|
|
448
448
|
newBatchDealSelectable(row, index) {
|
|
449
|
-
// console.log('是否禁用勾选', row, index);
|
|
450
449
|
let flag = true;
|
|
451
450
|
flag = (row.nextDealUsers.userArr || []).length > 0;
|
|
452
|
-
|
|
453
|
-
//
|
|
451
|
+
// 当isPassCondition为0时,此时下一步没有处理人也没有处理节点,所以即使没有处理人也可以直接下一步
|
|
452
|
+
// 当isPassCondition为1时,此时会签通过,下一步需要处理人,与正常节点条件一致
|
|
453
|
+
if(row.nextDealUsers.isPassCondition === "0"){
|
|
454
|
+
flag = true;
|
|
455
|
+
}
|
|
456
|
+
// 结束节点也不需要处理人
|
|
457
|
+
if(row.isEndNode){
|
|
458
|
+
flag = true;
|
|
459
|
+
}
|
|
460
|
+
return !row.isLoading && flag; // 当此行加载完之后,同时满足初会签和结束节点下一步处理人不为空时,可执行下一步
|
|
454
461
|
},
|
|
455
462
|
|
|
456
463
|
taskNodeChange(val) {
|
|
@@ -409,7 +409,10 @@
|
|
|
409
409
|
item.actorUserName = "系统处理";
|
|
410
410
|
}
|
|
411
411
|
if(item.canceled){
|
|
412
|
-
item.nodeInstStatusName = "
|
|
412
|
+
item.nodeInstStatusName = "系统自动完成";
|
|
413
|
+
if(item.activityId.indexOf("Activity_draft") > -1){ // 恢复流程
|
|
414
|
+
item.nodeInstStatusName = "流程恢复自动完成";
|
|
415
|
+
}
|
|
413
416
|
}
|
|
414
417
|
}else{
|
|
415
418
|
item.nodeInstStatus = "0";
|