ddy-process-h5 1.0.1-rc.3.85 → 1.0.1-rc.3.89
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 +23 -3
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2.7/ddy-process-h5.js +451 -431
- package/v2.7/ddy-process-h5.umd.cjs +12 -12
- package/v3/ddy-process-h5.js +369 -349
- package/v3/ddy-process-h5.umd.cjs +1 -1
package/package.json
CHANGED
package/v2/ddy-process-h5.js
CHANGED
|
@@ -18974,6 +18974,22 @@ const jh = /* @__PURE__ */ function() {
|
|
|
18974
18974
|
handleSelect() {
|
|
18975
18975
|
this.$refs.TopDownSelect.handleExpand();
|
|
18976
18976
|
},
|
|
18977
|
+
async getTaskModelDetail() {
|
|
18978
|
+
this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail", {
|
|
18979
|
+
params: this.taskId ? { processInstId: this.extraParams.processId || this.extraParams.processInstId, taskId: this.taskId } : { processInstId: this.extraParams.processId || this.extraParams.processInstId }
|
|
18980
|
+
}).then((e) => {
|
|
18981
|
+
if (e.code == 200) {
|
|
18982
|
+
this.handleTips("", !1, "success");
|
|
18983
|
+
let t = (e.data || {}).process || {};
|
|
18984
|
+
this.checkedItem = {
|
|
18985
|
+
id: t.processDefinitionId,
|
|
18986
|
+
key: t.processDefinitionKey,
|
|
18987
|
+
name: t.processDefinitionName,
|
|
18988
|
+
version: t.processDefinitionVersion
|
|
18989
|
+
}, this.option = [this.checkedItem], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id), this.businessDeptIdData || this.getNodeUserDept();
|
|
18990
|
+
}
|
|
18991
|
+
});
|
|
18992
|
+
},
|
|
18977
18993
|
async handleOption() {
|
|
18978
18994
|
if (this.checkedItem = {}, this.firstPerson = [], this.personList = [], this.selfList && this.selfList.length)
|
|
18979
18995
|
return;
|
|
@@ -18985,7 +19001,11 @@ const jh = /* @__PURE__ */ function() {
|
|
|
18985
19001
|
processGroupName: this.processNameData,
|
|
18986
19002
|
...this.extraParams
|
|
18987
19003
|
};
|
|
18988
|
-
this.processNameData && delete e.processGroupName,
|
|
19004
|
+
if (this.processNameData && delete e.processGroupName, this.extraParams.processId || this.extraParams.processInstId) {
|
|
19005
|
+
this.getTaskModelDetail();
|
|
19006
|
+
return;
|
|
19007
|
+
}
|
|
19008
|
+
await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", e).then((t) => {
|
|
18989
19009
|
t.code == 200 && (this.option = t.data, t.data && t.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || t.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
|
|
18990
19010
|
});
|
|
18991
19011
|
},
|
|
@@ -19078,7 +19098,7 @@ const jh = /* @__PURE__ */ function() {
|
|
|
19078
19098
|
}));
|
|
19079
19099
|
},
|
|
19080
19100
|
async handleChange(e, t) {
|
|
19081
|
-
this.handleTips("", !0, "loading"), this.checkedItem = {}, this.selectDefaultValue = "", this.firstPerson = [], this.personList = [], this.checkedItem = e, this.selectDefaultValue = this.checkedItem.id, this.handlefirstNode(this.checkedItem.id), this.getXmlByProcessDefId(this.checkedItem.id), this.$emit("change", e, t);
|
|
19101
|
+
this.selectDefaultValue != e.id && (this.handleTips("", !0, "loading"), this.checkedItem = {}, this.selectDefaultValue = "", this.firstPerson = [], this.personList = [], this.checkedItem = e, this.selectDefaultValue = this.checkedItem.id, this.handlefirstNode(this.checkedItem.id), this.getXmlByProcessDefId(this.checkedItem.id), this.$emit("change", e, t));
|
|
19082
19102
|
},
|
|
19083
19103
|
async getAfferentParticipantNodeList() {
|
|
19084
19104
|
await this.request.get("/aws/repository/getAfferentParticipantNodeList", {
|
|
@@ -25052,7 +25072,7 @@ function mT(e) {
|
|
|
25052
25072
|
}
|
|
25053
25073
|
const ST = /* @__PURE__ */ function() {
|
|
25054
25074
|
return fT.exports;
|
|
25055
|
-
}(), gT = "ddy-process-h5", yT = "1.0.1-rc.3.
|
|
25075
|
+
}(), gT = "ddy-process-h5", yT = "1.0.1-rc.3.89", vT = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", AT = "./ddy-process-h5.umd.cjs", bT = "./style.css", CT = "module", wT = {
|
|
25056
25076
|
".": {
|
|
25057
25077
|
import: "./ddy-process-h5.js",
|
|
25058
25078
|
require: "./ddy-process-h5.umd.cjs"
|