ddy-process-pc-vue3 1.0.1-rc.3.109 → 1.0.1-rc.3.130
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 +1 -1
- package/v2/ddy-process-pc-vue3.js +56 -10
- package/v2/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +56 -10
- package/v2.7/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-pc-vue3.js +6076 -6053
- package/v3/ddy-process-pc-vue3.umd.cjs +21 -21
- package/v3/style.css +1 -1
|
@@ -16,7 +16,7 @@ function xM(e, i) {
|
|
|
16
16
|
}
|
|
17
17
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
18
18
|
}
|
|
19
|
-
const wM = "ddy-process-pc-vue3", EM = "1.0.1-rc.3.
|
|
19
|
+
const wM = "ddy-process-pc-vue3", EM = "1.0.1-rc.3.130", CM = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", kM = "./ddy-process-pc-vue3.umd.cjs", SM = "./style.css", DM = "module", IM = {
|
|
20
20
|
".": {
|
|
21
21
|
import: "./ddy-process-pc-vue3.js",
|
|
22
22
|
require: "./ddy-process-pc-vue3.umd.cjs"
|
|
@@ -5110,7 +5110,28 @@ var J7 = function() {
|
|
|
5110
5110
|
var e = this, i = e.$createElement, r = e._self._c || i;
|
|
5111
5111
|
return r("div", {
|
|
5112
5112
|
staticClass: "user-task"
|
|
5113
|
-
}, [e.processNodeObj.
|
|
5113
|
+
}, [e.processNodeObj.type == "endEvent" ? [r("el-form-item", {
|
|
5114
|
+
staticStyle: {
|
|
5115
|
+
"margin-bottom": "10px"
|
|
5116
|
+
},
|
|
5117
|
+
attrs: {
|
|
5118
|
+
label: e.lv1label || "\u8282\u70B9\u540D\u79F0"
|
|
5119
|
+
},
|
|
5120
|
+
scopedSlots: e._u([{
|
|
5121
|
+
key: "label",
|
|
5122
|
+
fn: function(a) {
|
|
5123
|
+
return a.label, [r("div", {
|
|
5124
|
+
staticStyle: {
|
|
5125
|
+
"font-size": "16px"
|
|
5126
|
+
}
|
|
5127
|
+
}, [e._v(e._s(e.lv1label || "\u8282\u70B9\u540D\u79F0"))])];
|
|
5128
|
+
}
|
|
5129
|
+
}], null, !1, 51654731)
|
|
5130
|
+
}, [r("b", {
|
|
5131
|
+
staticStyle: {
|
|
5132
|
+
"font-size": "16px"
|
|
5133
|
+
}
|
|
5134
|
+
}, [e._v(e._s(e.processNodeObj.name))])])] : e.processNodeObj.nodeType == "exclusiveGateway" && e.processNodeObj.branches && e.processNodeObj.branches.length >= 1 ? [e.processNodeObj.branches.length > 1 ? r("el-form-item", {
|
|
5114
5135
|
attrs: {
|
|
5115
5136
|
label: e.processNodeObj.name || "\u4E0B\u4E00\u8282\u70B9"
|
|
5116
5137
|
}
|
|
@@ -5384,7 +5405,7 @@ const X7 = {
|
|
|
5384
5405
|
watch: {
|
|
5385
5406
|
processNode: {
|
|
5386
5407
|
handler(e, i) {
|
|
5387
|
-
e.nodeType == "userTask" && e.setPersonnel && e.assignees && e.assignees.length > 0 && (this.targetUserId = e.assignees.map((r) => r.id)), e.userList && e.userList.length == 1 && (this.targetUserId = e.userList[0].userId), this.processNodeObj = e || {};
|
|
5408
|
+
e.nodeType == "userTask" && e.setPersonnel && e.assignees && e.assignees.length > 0 && (this.targetUserId = e.assignees.map((r) => r.id)), e.userList && e.userList.length == 1 && (this.targetUserId = e.userList[0].userId), this.processNodeObj = e || {}, this.processNodeObj.type == "endEvent" && this.$emit("complete", this.processNodeObj);
|
|
5388
5409
|
},
|
|
5389
5410
|
deep: !0,
|
|
5390
5411
|
immediate: !0
|
|
@@ -5814,6 +5835,9 @@ var sP = function() {
|
|
|
5814
5835
|
required: !0,
|
|
5815
5836
|
message: "\u8BF7\u9009\u62E9\u5904\u7406\u4EBA"
|
|
5816
5837
|
}]
|
|
5838
|
+
},
|
|
5839
|
+
on: {
|
|
5840
|
+
complete: e.complete
|
|
5817
5841
|
}
|
|
5818
5842
|
})] : [r("el-form-item", {
|
|
5819
5843
|
attrs: {
|
|
@@ -5835,6 +5859,9 @@ var sP = function() {
|
|
|
5835
5859
|
pType: e.param.nextTaskNode.nodeType,
|
|
5836
5860
|
REQUIRED: !(a.setPersonnel == !0 && a.assignees && a.assignees.length > 0)
|
|
5837
5861
|
})
|
|
5862
|
+
},
|
|
5863
|
+
on: {
|
|
5864
|
+
complete: e.complete
|
|
5838
5865
|
}
|
|
5839
5866
|
});
|
|
5840
5867
|
}) : e.param.outGatewayUserTaskModel && e.param.outGatewayUserTaskModel.length > 0 ? e._l(e.param.outGatewayUserTaskModel, function(a) {
|
|
@@ -5848,6 +5875,9 @@ var sP = function() {
|
|
|
5848
5875
|
processNode: Object.assign({}, a, {
|
|
5849
5876
|
REQUIRED: !(a.setPersonnel == !0 && a.assignees && a.assignees.length > 0)
|
|
5850
5877
|
})
|
|
5878
|
+
},
|
|
5879
|
+
on: {
|
|
5880
|
+
complete: e.complete
|
|
5851
5881
|
}
|
|
5852
5882
|
});
|
|
5853
5883
|
}) : e.param.nextTaskNode.nodeType == "exclusiveGateway" && e.param.nextTaskNode.branches && e.param.nextTaskNode.branches.length == 1 ? [e.param.nextTaskNode.nodeType != "endEvent" ? [e.param.nextTaskNode.branches[0].nodeInfoDTO && e.param.nextTaskNode.branches[0].nodeInfoDTO.nodeType != "endEvent" ? r("userTask", {
|
|
@@ -5864,6 +5894,9 @@ var sP = function() {
|
|
|
5864
5894
|
required: !0,
|
|
5865
5895
|
message: "\u8BF7\u9009\u62E9\u5904\u7406\u4EBA"
|
|
5866
5896
|
}]
|
|
5897
|
+
},
|
|
5898
|
+
on: {
|
|
5899
|
+
complete: e.complete
|
|
5867
5900
|
}
|
|
5868
5901
|
}) : !e.param.nextTaskNode.branches[0].nodeInfoDTO && e.param.nextTaskNode.branches[0].nodeType != "endEvent" ? r("userTask", {
|
|
5869
5902
|
key: e.param.nextTaskNode.branches[0].id,
|
|
@@ -5879,6 +5912,9 @@ var sP = function() {
|
|
|
5879
5912
|
required: !0,
|
|
5880
5913
|
message: "\u8BF7\u9009\u62E9\u5904\u7406\u4EBA"
|
|
5881
5914
|
}]
|
|
5915
|
+
},
|
|
5916
|
+
on: {
|
|
5917
|
+
complete: e.complete
|
|
5882
5918
|
}
|
|
5883
5919
|
}) : [r("el-form-item", {
|
|
5884
5920
|
attrs: {
|
|
@@ -5910,6 +5946,9 @@ var sP = function() {
|
|
|
5910
5946
|
required: !0,
|
|
5911
5947
|
message: "\u8BF7\u9009\u62E9\u5904\u7406\u4EBA"
|
|
5912
5948
|
}]
|
|
5949
|
+
},
|
|
5950
|
+
on: {
|
|
5951
|
+
complete: e.complete
|
|
5913
5952
|
}
|
|
5914
5953
|
})] : [r("el-form-item", {
|
|
5915
5954
|
attrs: {
|
|
@@ -5935,6 +5974,9 @@ var sP = function() {
|
|
|
5935
5974
|
required: !0,
|
|
5936
5975
|
message: "\u8BF7\u9009\u62E9\u5904\u7406\u4EBA"
|
|
5937
5976
|
}]
|
|
5977
|
+
},
|
|
5978
|
+
on: {
|
|
5979
|
+
complete: e.complete
|
|
5938
5980
|
}
|
|
5939
5981
|
});
|
|
5940
5982
|
}) : e._e()], e._t("form"), r("el-dialog", {
|
|
@@ -5980,6 +6022,7 @@ const cP = {
|
|
|
5980
6022
|
},
|
|
5981
6023
|
data() {
|
|
5982
6024
|
return {
|
|
6025
|
+
nextTaskObj: {},
|
|
5983
6026
|
commentMsg: "",
|
|
5984
6027
|
targetUser: [],
|
|
5985
6028
|
userTaskListData: {},
|
|
@@ -6001,6 +6044,9 @@ const cP = {
|
|
|
6001
6044
|
}
|
|
6002
6045
|
},
|
|
6003
6046
|
methods: {
|
|
6047
|
+
complete(e) {
|
|
6048
|
+
this.nextTaskObj = e;
|
|
6049
|
+
},
|
|
6004
6050
|
setItemRef(e) {
|
|
6005
6051
|
return this.userTaskListData[e] = "userTask" + e, this.userTaskListData[e];
|
|
6006
6052
|
},
|
|
@@ -6050,7 +6096,7 @@ const cP = {
|
|
|
6050
6096
|
let k = B.getValue();
|
|
6051
6097
|
if (k && k.vars && this.param.incomingConditionItemList && this.param.incomingConditionItemList.length > 0 && this.param.incomingConditionItemList.forEach((D) => {
|
|
6052
6098
|
k.vars[D.itemName] || (k.vars[D.itemName] = "");
|
|
6053
|
-
}), !k)
|
|
6099
|
+
}), !k && this.nextTaskObj.type != "endEvent")
|
|
6054
6100
|
return !1;
|
|
6055
6101
|
let T = [];
|
|
6056
6102
|
const _ = this.param.nextTaskNode;
|
|
@@ -6069,13 +6115,13 @@ const cP = {
|
|
|
6069
6115
|
...a.multiNodeParticipant,
|
|
6070
6116
|
[this.param.nextTaskNode.branches[0].nodeInfoDTO.id]: this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.map((g) => g.id)
|
|
6071
6117
|
};
|
|
6072
|
-
else if (!Object.keys(a.multiNodeParticipant).length)
|
|
6118
|
+
else if (!Object.keys(a.multiNodeParticipant).length && this.nextTaskObj.type != "endEvent")
|
|
6073
6119
|
return xu.warning("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9"), !1;
|
|
6074
6120
|
}
|
|
6075
6121
|
}
|
|
6076
6122
|
if (a.pass = !0, Date.now() && this.param, this.param.getVars) {
|
|
6077
6123
|
let s = this.param.getVars();
|
|
6078
|
-
if (s === !1)
|
|
6124
|
+
if (s === !1 && this.nextTaskObj.type != "endEvent")
|
|
6079
6125
|
return !1;
|
|
6080
6126
|
a.vars = { ...a.vars, ...s };
|
|
6081
6127
|
}
|
|
@@ -6115,7 +6161,7 @@ const cP = {
|
|
|
6115
6161
|
let p = this.userTaskListData[c], m = this.$refs[p].$el ? this.$refs[p] : this.$refs[p][0];
|
|
6116
6162
|
m.getValue;
|
|
6117
6163
|
let g = m.getValue();
|
|
6118
|
-
if (!g)
|
|
6164
|
+
if (!g && this.nextTaskObj.type != "endEvent")
|
|
6119
6165
|
return !1;
|
|
6120
6166
|
e.multiNodeParticipant = {
|
|
6121
6167
|
...e.multiNodeParticipant,
|
|
@@ -6129,12 +6175,12 @@ const cP = {
|
|
|
6129
6175
|
...e.multiNodeParticipant,
|
|
6130
6176
|
[this.param.nextTaskNode.branches[0].nodeInfoDTO.id]: this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.map((c) => c.id)
|
|
6131
6177
|
};
|
|
6132
|
-
else if (!Object.keys(e.multiNodeParticipant).length)
|
|
6178
|
+
else if (!Object.keys(e.multiNodeParticipant).length && this.nextTaskObj.type != "endEvent")
|
|
6133
6179
|
return xu.warning("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9"), !1;
|
|
6134
6180
|
}
|
|
6135
6181
|
if (this.param.getVars) {
|
|
6136
6182
|
let c = this.param.getVars();
|
|
6137
|
-
if (c === !1)
|
|
6183
|
+
if (c === !1 && this.nextTaskObj.type != "endEvent")
|
|
6138
6184
|
return !1;
|
|
6139
6185
|
e.vars = { ...e.vars, ...c };
|
|
6140
6186
|
}
|
|
@@ -6170,7 +6216,7 @@ var uP = /* @__PURE__ */ fi(
|
|
|
6170
6216
|
lP,
|
|
6171
6217
|
!1,
|
|
6172
6218
|
dP,
|
|
6173
|
-
"
|
|
6219
|
+
"7f9f1489",
|
|
6174
6220
|
null,
|
|
6175
6221
|
null
|
|
6176
6222
|
);
|