ddy-process-h5 1.0.1-beta.7 → 1.0.1-beta.8
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-h5.js +29 -17
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +29 -17
- package/v2.7/ddy-process-h5.umd.cjs +3 -3
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +37 -24
- package/v3/ddy-process-h5.umd.cjs +1 -1
- package/v3/style.css +1 -1
package/package.json
CHANGED
package/v2/ddy-process-h5.js
CHANGED
|
@@ -21278,7 +21278,7 @@ const hC = {
|
|
|
21278
21278
|
let e = "";
|
|
21279
21279
|
this.multiNodeParticipant[this.partObjId].map((t, i) => {
|
|
21280
21280
|
i == 0 ? e = t : e = `${e} ${t}`;
|
|
21281
|
-
}), await this.param.request.post("/blade-workflow/tis/createCCTask", {
|
|
21281
|
+
}), await this.param.request.post("/bladex/blade-workflow/tis/createCCTask", {
|
|
21282
21282
|
processInstId: this.param.processInstId,
|
|
21283
21283
|
taskId: this.param.taskInstId,
|
|
21284
21284
|
participant: e
|
|
@@ -21287,11 +21287,6 @@ const hC = {
|
|
|
21287
21287
|
});
|
|
21288
21288
|
},
|
|
21289
21289
|
makeDelegateTaskButtonAnnex() {
|
|
21290
|
-
if (this.param.annex && this.param.annex.length) {
|
|
21291
|
-
this.otherList = this.param.annex;
|
|
21292
|
-
let e = this.otherList.split(";");
|
|
21293
|
-
this.limit = e[2], this.requires = JSON.parse(e[1]), this.labels = e[0];
|
|
21294
|
-
}
|
|
21295
21290
|
},
|
|
21296
21291
|
handleCallback(e) {
|
|
21297
21292
|
this.visible = !1, this.multiNodeParticipant[this.partObjId] = [], this.partNode[this.partObjId] = [], e.map((t, i) => {
|
|
@@ -21360,7 +21355,7 @@ var gC = function() {
|
|
|
21360
21355
|
e.$emit("examine", !1, (e.backNodes.length > 1, e.getButton("wf_reject").name));
|
|
21361
21356
|
}
|
|
21362
21357
|
}
|
|
21363
|
-
}, [e.backNodes.length > 1 ? i("span", [e._v(e._s(e.getButton("wf_reject").name))]) : i("span", [e._v(e._s(e.getButton("wf_reject").name))])]) : e._e(), i("button", {
|
|
21358
|
+
}, [e.backNodes.length > 1 ? i("span", [e._v(e._s(e.getButton("wf_reject").name))]) : i("span", [e._v(e._s(e.getButton("wf_reject").name))])]) : e._e(), e.uid == (e.process.variables || {}).applyUserId ? i("button", {
|
|
21364
21359
|
staticClass: "process-button info",
|
|
21365
21360
|
attrs: {
|
|
21366
21361
|
size: "default",
|
|
@@ -21371,7 +21366,7 @@ var gC = function() {
|
|
|
21371
21366
|
return e.$emit("reminders");
|
|
21372
21367
|
}
|
|
21373
21368
|
}
|
|
21374
|
-
}, [i("span", [e._v("\u50AC\u529E")])]), e.getButton("wf_transfer") ? i("button", {
|
|
21369
|
+
}, [i("span", [e._v("\u50AC\u529E")])]) : e._e(), e.getButton("wf_transfer") ? i("button", {
|
|
21375
21370
|
staticClass: "process-button primary",
|
|
21376
21371
|
attrs: {
|
|
21377
21372
|
size: "default",
|
|
@@ -21479,6 +21474,10 @@ const vC = {
|
|
|
21479
21474
|
TopTips: dt
|
|
21480
21475
|
},
|
|
21481
21476
|
props: {
|
|
21477
|
+
uid: {
|
|
21478
|
+
type: String,
|
|
21479
|
+
default: ""
|
|
21480
|
+
},
|
|
21482
21481
|
loading: {
|
|
21483
21482
|
type: Boolean,
|
|
21484
21483
|
default: !1
|
|
@@ -21490,10 +21489,7 @@ const vC = {
|
|
|
21490
21489
|
process: {
|
|
21491
21490
|
type: Object,
|
|
21492
21491
|
default: () => ({
|
|
21493
|
-
|
|
21494
|
-
flow: [],
|
|
21495
|
-
form: {},
|
|
21496
|
-
process: {}
|
|
21492
|
+
variables: {}
|
|
21497
21493
|
})
|
|
21498
21494
|
},
|
|
21499
21495
|
request: {
|
|
@@ -21567,7 +21563,7 @@ var AC = /* @__PURE__ */ ye(
|
|
|
21567
21563
|
yC,
|
|
21568
21564
|
!1,
|
|
21569
21565
|
bC,
|
|
21570
|
-
"
|
|
21566
|
+
"59388b44",
|
|
21571
21567
|
null,
|
|
21572
21568
|
null
|
|
21573
21569
|
);
|
|
@@ -21905,6 +21901,14 @@ const CC = /* @__PURE__ */ function() {
|
|
|
21905
21901
|
case "wf_rollback":
|
|
21906
21902
|
this.handleRollbackTask(e.name);
|
|
21907
21903
|
break;
|
|
21904
|
+
case "wf_transfer":
|
|
21905
|
+
this.handleTransfer(e.name);
|
|
21906
|
+
break;
|
|
21907
|
+
case "wf_terminate":
|
|
21908
|
+
this.handleTerminateProcess(e.name);
|
|
21909
|
+
case "wf_cctask":
|
|
21910
|
+
this.handleCirculate(e.name);
|
|
21911
|
+
break;
|
|
21908
21912
|
}
|
|
21909
21913
|
this.handleActionClose();
|
|
21910
21914
|
},
|
|
@@ -21947,7 +21951,7 @@ const CC = /* @__PURE__ */ function() {
|
|
|
21947
21951
|
this.$refs.TopPopup2.handleOpen(), this.handleActionClose(), this.titleText = "\u50AC\u529E", this.popupContext = "\u786E\u5B9A\u50AC\u529E\u5417?", this.handleTipsType = "\u50AC\u529E";
|
|
21948
21952
|
},
|
|
21949
21953
|
handleCirculate(e) {
|
|
21950
|
-
this.showOperation(
|
|
21954
|
+
console.log(e, "\u6284\u9001"), this.showOperation(
|
|
21951
21955
|
Nl,
|
|
21952
21956
|
e,
|
|
21953
21957
|
this.request,
|
|
@@ -22013,7 +22017,7 @@ const CC = /* @__PURE__ */ function() {
|
|
|
22013
22017
|
},
|
|
22014
22018
|
async getUserInfo() {
|
|
22015
22019
|
let e = await this.request.get("/app/user/info");
|
|
22016
|
-
e.code === 200 && (this.user = e.data || {}, this.userIdData = e.data.
|
|
22020
|
+
e.code === 200 && (this.user = e.data || {}, this.userIdData = e.data.userId);
|
|
22017
22021
|
},
|
|
22018
22022
|
async handleGetSimulation(e) {
|
|
22019
22023
|
this.handleTips("", !0, "loading");
|
|
@@ -22099,7 +22103,14 @@ const CC = /* @__PURE__ */ function() {
|
|
|
22099
22103
|
}) : this.$refs.topTips.handleClose();
|
|
22100
22104
|
},
|
|
22101
22105
|
async showOperation(e, t, i, n, s) {
|
|
22102
|
-
this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), console.error(this.request, "requ"), this.operationParam.request = this.request, this.annexlabel = n || "fasdfsafdsa", this.titleText = t, this.operationCom = e, this.operationParam.annex = n || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = t, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj, this.operationParam.userInfo = this.user, console.log(this.nextTaskNode, "CES SHUJU"), this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType,
|
|
22106
|
+
switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), console.error(this.request, "requ"), this.operationParam.request = this.request, this.annexlabel = n || "fasdfsafdsa", this.titleText = t, this.operationCom = e, this.operationParam.annex = n || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = t, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj, this.operationParam.userInfo = this.user, console.log(this.nextTaskNode, "CES SHUJU"), this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType, console.log(s, "type"), s) {
|
|
22107
|
+
case "\u6284\u9001":
|
|
22108
|
+
this.operationParam.visible = !0, this.cctaskTopPopup = !0;
|
|
22109
|
+
break;
|
|
22110
|
+
default:
|
|
22111
|
+
this.operationParam.visible = !0, this.TopPopup1 = !0;
|
|
22112
|
+
break;
|
|
22113
|
+
}
|
|
22103
22114
|
},
|
|
22104
22115
|
handleCancelPopup() {
|
|
22105
22116
|
this.TopPopup1 = !1, this.operationParam.visible = !1, this.submitLoading = !1;
|
|
@@ -22293,6 +22304,7 @@ var EC = function() {
|
|
|
22293
22304
|
loading: e.submitLoading,
|
|
22294
22305
|
"button-list": e.buttonList,
|
|
22295
22306
|
process: e.ProcessInsObj.process,
|
|
22307
|
+
uid: e.userIdData,
|
|
22296
22308
|
comment: e.comment
|
|
22297
22309
|
},
|
|
22298
22310
|
on: {
|
|
@@ -22455,7 +22467,7 @@ var TC = /* @__PURE__ */ ye(
|
|
|
22455
22467
|
xC,
|
|
22456
22468
|
!1,
|
|
22457
22469
|
IC,
|
|
22458
|
-
"
|
|
22470
|
+
"7167ee0c",
|
|
22459
22471
|
null,
|
|
22460
22472
|
null
|
|
22461
22473
|
);
|