ui-process-h5 1.0.8 → 1.0.10
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/README.md +39 -31
- package/package.json +1 -1
- package/v2/style.css +1 -1
- package/v2/ui-process-h5.js +149 -104
- package/v2/ui-process-h5.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v2.7/ui-process-h5.js +294 -249
- package/v2.7/ui-process-h5.umd.cjs +2 -2
- package/v3/style.css +1 -1
- package/v3/ui-process-h5.js +1243 -1205
- package/v3/ui-process-h5.umd.cjs +13 -13
package/v2/ui-process-h5.js
CHANGED
|
@@ -4272,7 +4272,7 @@ const Pt = /* @__PURE__ */ function() {
|
|
|
4272
4272
|
};
|
|
4273
4273
|
var tm = function() {
|
|
4274
4274
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
4275
|
-
return e("div", {
|
|
4275
|
+
return t.url ? e("div", {
|
|
4276
4276
|
staticStyle: {
|
|
4277
4277
|
width: "100%",
|
|
4278
4278
|
height: "calc(100% - 40px)"
|
|
@@ -4299,7 +4299,7 @@ var tm = function() {
|
|
|
4299
4299
|
attrs: {
|
|
4300
4300
|
src: t.url
|
|
4301
4301
|
}
|
|
4302
|
-
})]);
|
|
4302
|
+
})]) : t._e();
|
|
4303
4303
|
}, em = [];
|
|
4304
4304
|
const qo = {};
|
|
4305
4305
|
var nm = /* @__PURE__ */ rt(
|
|
@@ -4854,62 +4854,69 @@ var mm = function() {
|
|
|
4854
4854
|
staticStyle: {
|
|
4855
4855
|
height: "100%"
|
|
4856
4856
|
}
|
|
4857
|
-
}, [i.key === "a" && i.type === "default" ? t._t("default") : t._e(), i.key === "b" && i.type === "default" ?
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4857
|
+
}, [i.key === "a" && i.type === "default" ? t._t("default") : t._e(), i.key === "b" && i.type === "default" ? e("div", {
|
|
4858
|
+
staticStyle: {
|
|
4859
|
+
height: "100%"
|
|
4860
|
+
},
|
|
4861
|
+
attrs: {
|
|
4862
|
+
name: i.slot
|
|
4863
|
+
}
|
|
4864
|
+
}, [t.trackUrl ? e("div", {
|
|
4865
|
+
staticStyle: {
|
|
4866
|
+
padding: "10px 20px",
|
|
4867
|
+
color: "#1389ff"
|
|
4868
|
+
},
|
|
4869
|
+
on: {
|
|
4870
|
+
click: function() {
|
|
4871
|
+
return t.visibleTack = !0;
|
|
4867
4872
|
}
|
|
4868
|
-
}
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4873
|
+
}
|
|
4874
|
+
}, [t._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]) : t._e(), t.trackUrl ? e("iframe", {
|
|
4875
|
+
staticStyle: {
|
|
4876
|
+
width: "100%",
|
|
4877
|
+
height: "calc(100% - 41px)",
|
|
4878
|
+
border: "none"
|
|
4879
|
+
},
|
|
4880
|
+
attrs: {
|
|
4881
|
+
src: t.trackUrl,
|
|
4882
|
+
scrolling: "no",
|
|
4883
|
+
frameborder: "0"
|
|
4884
|
+
}
|
|
4885
|
+
}) : e("div", {
|
|
4886
|
+
staticClass: "textnone"
|
|
4887
|
+
}, [t._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])]) : t._e(), i.key === "c" && i.type === "default" ? e("div", {
|
|
4888
|
+
staticStyle: {
|
|
4889
|
+
height: "100%"
|
|
4890
|
+
}
|
|
4891
|
+
}, [t.taskCommentList.length > 0 ? t._l(t.taskCommentList, function(s, r) {
|
|
4892
|
+
return e("div", {
|
|
4893
|
+
key: s.id,
|
|
4894
|
+
staticClass: "seal-list__item"
|
|
4895
|
+
}, [e("div", [e("div", {
|
|
4896
|
+
staticClass: "seal-list__item--option"
|
|
4897
|
+
}, [e("span", [t._v("\u8282\u70B9\u540D\u79F0")]), e("span", [t._v(t._s(s.activityName))])]), e("div", {
|
|
4898
|
+
staticClass: "seal-list__item--option"
|
|
4899
|
+
}, [e("span", [t._v("\u5BA1\u6279\u4EBA")]), e("span", [t._v(t._s(s.createUserName))])]), e("div", {
|
|
4900
|
+
staticClass: "seal-list__item--option"
|
|
4901
|
+
}, [e("span", [t._v("\u5BA1\u6279\u64CD\u4F5C")]), e("span", [t._v(t._s(s.actionName))])]), e("div", {
|
|
4902
|
+
staticClass: "seal-list__item--option"
|
|
4903
|
+
}, [e("span", [t._v("\u5BA1\u6279\u610F\u89C1")]), e("span", {
|
|
4904
|
+
domProps: {
|
|
4905
|
+
innerHTML: t._s(s.msg)
|
|
4878
4906
|
}
|
|
4879
|
-
})
|
|
4880
|
-
staticClass: "
|
|
4881
|
-
}, [t._v("
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
staticClass: "seal-list__item"
|
|
4887
|
-
}, [e("div", [e("div", {
|
|
4888
|
-
staticClass: "seal-list__item--option"
|
|
4889
|
-
}, [e("span", [t._v("\u8282\u70B9\u540D\u79F0")]), e("span", [t._v(t._s(s.activityName))])]), e("div", {
|
|
4890
|
-
staticClass: "seal-list__item--option"
|
|
4891
|
-
}, [e("span", [t._v("\u5BA1\u6279\u4EBA")]), e("span", [t._v(t._s(s.createUserName))])]), e("div", {
|
|
4892
|
-
staticClass: "seal-list__item--option"
|
|
4893
|
-
}, [e("span", [t._v("\u5BA1\u6279\u64CD\u4F5C")]), e("span", [t._v(t._s(s.actionName))])]), e("div", {
|
|
4894
|
-
staticClass: "seal-list__item--option"
|
|
4895
|
-
}, [e("span", [t._v("\u5BA1\u6279\u610F\u89C1")]), e("span", {
|
|
4896
|
-
domProps: {
|
|
4897
|
-
innerHTML: t._s(s.msg)
|
|
4898
|
-
}
|
|
4899
|
-
})]), e("div", {
|
|
4900
|
-
staticClass: "seal-list__item--option"
|
|
4901
|
-
}, [e("span", [t._v("\u5BA1\u6279\u65F6\u95F4")]), e("span", [t._v(t._s(s.createDate))])]), s.metaAnnexList && s.metaAnnexList.length ? e("div", {
|
|
4902
|
-
staticClass: "seal-list__item--attch",
|
|
4903
|
-
on: {
|
|
4904
|
-
click: function(a) {
|
|
4905
|
-
return t.viewList(s.metaAnnexList);
|
|
4906
|
-
}
|
|
4907
|
+
})]), e("div", {
|
|
4908
|
+
staticClass: "seal-list__item--option"
|
|
4909
|
+
}, [e("span", [t._v("\u5BA1\u6279\u65F6\u95F4")]), e("span", [t._v(t._s(s.createDate))])]), s.metaAnnexList && s.metaAnnexList.length ? e("div", {
|
|
4910
|
+
staticClass: "seal-list__item--attch",
|
|
4911
|
+
on: {
|
|
4912
|
+
click: function(a) {
|
|
4913
|
+
return t.viewList(s.metaAnnexList);
|
|
4907
4914
|
}
|
|
4908
|
-
}
|
|
4909
|
-
}
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
}) : t._e(), i.type == "slot" ? t._t(i.slot) : t._e()], 2);
|
|
4915
|
+
}
|
|
4916
|
+
}, [e("span", [t._v("\u67E5\u770B\u9644\u4EF6")])]) : t._e()])]);
|
|
4917
|
+
}) : e("div", {
|
|
4918
|
+
staticClass: "textnone"
|
|
4919
|
+
}, [t._v("\u6682\u65E0\u6570\u636E")])], 2) : t._e(), i.type == "slot" ? t._t(i.slot) : t._e()], 2);
|
|
4913
4920
|
}), 0), e("TopPopup", {
|
|
4914
4921
|
ref: "TopPopup",
|
|
4915
4922
|
attrs: {
|
|
@@ -4971,7 +4978,7 @@ var Am = /* @__PURE__ */ rt(
|
|
|
4971
4978
|
gm,
|
|
4972
4979
|
!1,
|
|
4973
4980
|
ym,
|
|
4974
|
-
"
|
|
4981
|
+
"784f4c73",
|
|
4975
4982
|
null,
|
|
4976
4983
|
null
|
|
4977
4984
|
);
|
|
@@ -10524,6 +10531,10 @@ const ye = /* @__PURE__ */ function() {
|
|
|
10524
10531
|
title: {
|
|
10525
10532
|
type: String,
|
|
10526
10533
|
default: "\u6D4B\u8BD5"
|
|
10534
|
+
},
|
|
10535
|
+
showType: {
|
|
10536
|
+
type: String,
|
|
10537
|
+
default: "all"
|
|
10527
10538
|
}
|
|
10528
10539
|
},
|
|
10529
10540
|
data() {
|
|
@@ -10558,7 +10569,8 @@ const ye = /* @__PURE__ */ function() {
|
|
|
10558
10569
|
async handler(t, n) {
|
|
10559
10570
|
this.show = t, this.$emit("update:visible", this.show), await this.request.get("/aws/repository/getProcessDefList", {
|
|
10560
10571
|
params: {
|
|
10561
|
-
appId: this.appId
|
|
10572
|
+
appId: this.appId,
|
|
10573
|
+
processGroupName: this.processName
|
|
10562
10574
|
}
|
|
10563
10575
|
}).then((e) => {
|
|
10564
10576
|
console.log("\u83B7\u53D6\u6D41\u7A0B::", e), e.code == 200 && (this.option = e.data, this.checkedItem = this.option[0], this.getAfferentParticipantNodeList(), this.getDiagramUrl());
|
|
@@ -10630,7 +10642,7 @@ const ye = /* @__PURE__ */ function() {
|
|
|
10630
10642
|
title: this.title,
|
|
10631
10643
|
processDefId: this.checkedItem.id,
|
|
10632
10644
|
processBusinessKey: this.id,
|
|
10633
|
-
showType:
|
|
10645
|
+
showType: this.showType,
|
|
10634
10646
|
businessType: this.businessType,
|
|
10635
10647
|
multiNodeParticipant: this.multiNodeParticipant,
|
|
10636
10648
|
todoParameter: this.todoParameter
|
|
@@ -11399,7 +11411,7 @@ const Ab = {
|
|
|
11399
11411
|
parentTaskInstId: this.param.taskInstId,
|
|
11400
11412
|
reason: this.commentMsg
|
|
11401
11413
|
}).then((n) => {
|
|
11402
|
-
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips(n.msg, !0, "error");
|
|
11414
|
+
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips(n.msg, !0, "error");
|
|
11403
11415
|
});
|
|
11404
11416
|
},
|
|
11405
11417
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -11460,7 +11472,7 @@ var yb = /* @__PURE__ */ rt(
|
|
|
11460
11472
|
gb,
|
|
11461
11473
|
!1,
|
|
11462
11474
|
Cb,
|
|
11463
|
-
"
|
|
11475
|
+
"3556632c",
|
|
11464
11476
|
null,
|
|
11465
11477
|
null
|
|
11466
11478
|
);
|
|
@@ -11676,7 +11688,7 @@ const kb = {
|
|
|
11676
11688
|
taskInstId: this.param.taskInstId,
|
|
11677
11689
|
targetUID: t
|
|
11678
11690
|
}).then((n) => {
|
|
11679
|
-
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips(n.msg, !0, "error");
|
|
11691
|
+
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips(n.msg, !0, "error");
|
|
11680
11692
|
});
|
|
11681
11693
|
},
|
|
11682
11694
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -11737,7 +11749,7 @@ var wb = /* @__PURE__ */ rt(
|
|
|
11737
11749
|
Ib,
|
|
11738
11750
|
!1,
|
|
11739
11751
|
xb,
|
|
11740
|
-
"
|
|
11752
|
+
"def75392",
|
|
11741
11753
|
null,
|
|
11742
11754
|
null
|
|
11743
11755
|
);
|
|
@@ -11752,7 +11764,35 @@ var Tb = function() {
|
|
|
11752
11764
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
11753
11765
|
return e("div", {
|
|
11754
11766
|
staticClass: "process-popup-content"
|
|
11755
|
-
}, [
|
|
11767
|
+
}, [e("div", {
|
|
11768
|
+
staticClass: "process-pc-label"
|
|
11769
|
+
}, [t._v(" \u5FEB\u6377\u56DE\u590D ")]), e("div", {
|
|
11770
|
+
staticClass: "process-pc-value",
|
|
11771
|
+
staticStyle: {
|
|
11772
|
+
display: "flex"
|
|
11773
|
+
}
|
|
11774
|
+
}, [e("div", {
|
|
11775
|
+
staticClass: "process-tag",
|
|
11776
|
+
on: {
|
|
11777
|
+
click: function() {
|
|
11778
|
+
return t.commentMsg = "\u540C\u610F";
|
|
11779
|
+
}
|
|
11780
|
+
}
|
|
11781
|
+
}, [t._v(" \u540C\u610F ")]), e("div", {
|
|
11782
|
+
staticClass: "process-tag",
|
|
11783
|
+
on: {
|
|
11784
|
+
click: function() {
|
|
11785
|
+
return t.commentMsg = "\u5982\u62DF";
|
|
11786
|
+
}
|
|
11787
|
+
}
|
|
11788
|
+
}, [t._v(" \u5982\u62DF ")]), e("div", {
|
|
11789
|
+
staticClass: "process-tag",
|
|
11790
|
+
on: {
|
|
11791
|
+
click: function() {
|
|
11792
|
+
return t.commentMsg = "\u5DF2\u9605";
|
|
11793
|
+
}
|
|
11794
|
+
}
|
|
11795
|
+
}, [t._v(" \u5DF2\u9605 ")])]), t._m(0), e("div", {
|
|
11756
11796
|
staticClass: "process-pc-value"
|
|
11757
11797
|
}, [e("div", {
|
|
11758
11798
|
staticClass: "process-popup-textarea"
|
|
@@ -12004,7 +12044,7 @@ const Db = {
|
|
|
12004
12044
|
saveMetaAnnexCmdList: t
|
|
12005
12045
|
}
|
|
12006
12046
|
);
|
|
12007
|
-
console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
|
|
12047
|
+
console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
|
|
12008
12048
|
}
|
|
12009
12049
|
},
|
|
12010
12050
|
isOption(t) {
|
|
@@ -12024,7 +12064,7 @@ var Sb = /* @__PURE__ */ rt(
|
|
|
12024
12064
|
Ob,
|
|
12025
12065
|
!1,
|
|
12026
12066
|
Bb,
|
|
12027
|
-
"
|
|
12067
|
+
"519beb5d",
|
|
12028
12068
|
null,
|
|
12029
12069
|
null
|
|
12030
12070
|
);
|
|
@@ -12218,7 +12258,7 @@ const Pb = {
|
|
|
12218
12258
|
commentMsg: this.commentMsg,
|
|
12219
12259
|
taskInstId: this.param.taskInstId
|
|
12220
12260
|
}).then((t) => {
|
|
12221
|
-
t.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips(t.msg, !0, "error");
|
|
12261
|
+
t.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips(t.msg, !0, "error");
|
|
12222
12262
|
});
|
|
12223
12263
|
},
|
|
12224
12264
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -12279,7 +12319,7 @@ var Mb = /* @__PURE__ */ rt(
|
|
|
12279
12319
|
Fb,
|
|
12280
12320
|
!1,
|
|
12281
12321
|
Ub,
|
|
12282
|
-
"
|
|
12322
|
+
"5b0d9bba",
|
|
12283
12323
|
null,
|
|
12284
12324
|
null
|
|
12285
12325
|
);
|
|
@@ -12464,7 +12504,7 @@ const jb = {
|
|
|
12464
12504
|
isCompensation: !1,
|
|
12465
12505
|
targetActivityId: this.nodeId
|
|
12466
12506
|
}).then((t) => {
|
|
12467
|
-
t.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips(t.msg, !0, "error");
|
|
12507
|
+
t.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips(t.msg, !0, "error");
|
|
12468
12508
|
}).catch((t) => {
|
|
12469
12509
|
this.handleTips(t.msg, !0, "error");
|
|
12470
12510
|
});
|
|
@@ -12527,7 +12567,7 @@ var Rb = /* @__PURE__ */ rt(
|
|
|
12527
12567
|
Lb,
|
|
12528
12568
|
!1,
|
|
12529
12569
|
Gb,
|
|
12530
|
-
"
|
|
12570
|
+
"06b954f3",
|
|
12531
12571
|
null,
|
|
12532
12572
|
null
|
|
12533
12573
|
);
|
|
@@ -12708,7 +12748,7 @@ const Yb = {
|
|
|
12708
12748
|
parentTaskInstId: this.param.taskInstId,
|
|
12709
12749
|
participant: t
|
|
12710
12750
|
}).then((n) => {
|
|
12711
|
-
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success")) : this.handleTips(n.msg, !0, "error");
|
|
12751
|
+
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal()) : this.handleTips(n.msg, !0, "error");
|
|
12712
12752
|
});
|
|
12713
12753
|
},
|
|
12714
12754
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -12769,7 +12809,7 @@ var Wb = /* @__PURE__ */ rt(
|
|
|
12769
12809
|
Hb,
|
|
12770
12810
|
!1,
|
|
12771
12811
|
Zb,
|
|
12772
|
-
"
|
|
12812
|
+
"25a39390",
|
|
12773
12813
|
null,
|
|
12774
12814
|
null
|
|
12775
12815
|
);
|
|
@@ -12837,7 +12877,7 @@ var Xb = function() {
|
|
|
12837
12877
|
}
|
|
12838
12878
|
}, "departPerson", t.entity, !1))], 1)], 2);
|
|
12839
12879
|
}, $b = [];
|
|
12840
|
-
const
|
|
12880
|
+
const t0 = {
|
|
12841
12881
|
name: "restart",
|
|
12842
12882
|
props: {
|
|
12843
12883
|
param: {
|
|
@@ -12931,24 +12971,24 @@ const tE = {
|
|
|
12931
12971
|
}
|
|
12932
12972
|
}
|
|
12933
12973
|
}, vl = {};
|
|
12934
|
-
var
|
|
12935
|
-
|
|
12974
|
+
var e0 = /* @__PURE__ */ rt(
|
|
12975
|
+
t0,
|
|
12936
12976
|
Xb,
|
|
12937
12977
|
$b,
|
|
12938
12978
|
!1,
|
|
12939
|
-
|
|
12979
|
+
n0,
|
|
12940
12980
|
"3aa79dd5",
|
|
12941
12981
|
null,
|
|
12942
12982
|
null
|
|
12943
12983
|
);
|
|
12944
|
-
function
|
|
12984
|
+
function n0(t) {
|
|
12945
12985
|
for (let n in vl)
|
|
12946
12986
|
this[n] = vl[n];
|
|
12947
12987
|
}
|
|
12948
|
-
const
|
|
12949
|
-
return
|
|
12988
|
+
const i0 = /* @__PURE__ */ function() {
|
|
12989
|
+
return e0.exports;
|
|
12950
12990
|
}();
|
|
12951
|
-
const
|
|
12991
|
+
const s0 = {
|
|
12952
12992
|
name: "TopProcess",
|
|
12953
12993
|
components: {
|
|
12954
12994
|
TopTab: Cm,
|
|
@@ -12971,7 +13011,6 @@ const sE = {
|
|
|
12971
13011
|
type: Function,
|
|
12972
13012
|
default: () => ({ get: () => {
|
|
12973
13013
|
}, post: () => {
|
|
12974
|
-
}, upload: () => {
|
|
12975
13014
|
} })
|
|
12976
13015
|
},
|
|
12977
13016
|
appId: {
|
|
@@ -12981,6 +13020,10 @@ const sE = {
|
|
|
12981
13020
|
endFunction: {
|
|
12982
13021
|
type: Function,
|
|
12983
13022
|
default: null
|
|
13023
|
+
},
|
|
13024
|
+
beforeFunction: {
|
|
13025
|
+
type: Function,
|
|
13026
|
+
default: null
|
|
12984
13027
|
}
|
|
12985
13028
|
},
|
|
12986
13029
|
data() {
|
|
@@ -13074,7 +13117,7 @@ const sE = {
|
|
|
13074
13117
|
if (n && !this.isView && this.taskObj.completeButtonLabel) {
|
|
13075
13118
|
let s = {};
|
|
13076
13119
|
s.name = this.taskObj.completeButtonLabel, s.btnProps = { type: "primary" }, t.push(s), s.click = (r) => {
|
|
13077
|
-
this
|
|
13120
|
+
this.handleActionClose(), this.showOperation(
|
|
13078
13121
|
_b,
|
|
13079
13122
|
r,
|
|
13080
13123
|
this.request,
|
|
@@ -13085,7 +13128,7 @@ const sE = {
|
|
|
13085
13128
|
if (n && !this.isView && this.processStatus.currUserName) {
|
|
13086
13129
|
let s = {};
|
|
13087
13130
|
s.name = "\u62D2\u7EDD", s.btnProps = { type: "danger" }, t.push(s), s.click = (r) => {
|
|
13088
|
-
this
|
|
13131
|
+
this.handleActionClose(), this.showOperation(
|
|
13089
13132
|
Vb,
|
|
13090
13133
|
r,
|
|
13091
13134
|
this.request,
|
|
@@ -13097,7 +13140,7 @@ const sE = {
|
|
|
13097
13140
|
if (s.label === "\u9000\u56DE") {
|
|
13098
13141
|
let r = {};
|
|
13099
13142
|
r.name = s.label, r.btnProps = { type: "danger" }, t.push(r), r.click = (a) => {
|
|
13100
|
-
this
|
|
13143
|
+
this.handleActionClose(), this.showOperation(
|
|
13101
13144
|
Kb,
|
|
13102
13145
|
a,
|
|
13103
13146
|
this.request,
|
|
@@ -13108,7 +13151,7 @@ const sE = {
|
|
|
13108
13151
|
}), n && !this.isView && this.taskObj.ccTaskButtonLabel) {
|
|
13109
13152
|
let s = {};
|
|
13110
13153
|
s.name = this.taskObj.ccTaskButtonLabel, s.btnProps = { type: "default" }, s.click = (r) => {
|
|
13111
|
-
this
|
|
13154
|
+
this.handleActionClose(), this.showOperation(
|
|
13112
13155
|
zb,
|
|
13113
13156
|
r,
|
|
13114
13157
|
this.request,
|
|
@@ -13119,7 +13162,7 @@ const sE = {
|
|
|
13119
13162
|
if (n && !this.isView && this.taskObj.delegateTaskButtonLabel) {
|
|
13120
13163
|
let s = {};
|
|
13121
13164
|
s.name = this.taskObj.delegateTaskButtonLabel, s.btnProps = { type: "default" }, s.click = (r) => {
|
|
13122
|
-
this
|
|
13165
|
+
this.handleActionClose(), this.showOperation(
|
|
13123
13166
|
Nb,
|
|
13124
13167
|
r,
|
|
13125
13168
|
this.request,
|
|
@@ -13130,7 +13173,7 @@ const sE = {
|
|
|
13130
13173
|
if (n && !this.isView && this.taskObj.counterSignLabel) {
|
|
13131
13174
|
let s = {};
|
|
13132
13175
|
s.name = this.taskObj.counterSignLabel, s.btnProps = { type: "primary" }, s.click = (r) => {
|
|
13133
|
-
this
|
|
13176
|
+
this.handleActionClose(), this.showOperation(
|
|
13134
13177
|
bb,
|
|
13135
13178
|
r,
|
|
13136
13179
|
this.request,
|
|
@@ -13202,11 +13245,13 @@ const sE = {
|
|
|
13202
13245
|
});
|
|
13203
13246
|
},
|
|
13204
13247
|
async showOperation(t, n, e, i) {
|
|
13205
|
-
if (this.
|
|
13206
|
-
|
|
13207
|
-
|
|
13248
|
+
if (!(this.beforeFunction && (console.log("this.beforeFunction"), !this.beforeFunction()))) {
|
|
13249
|
+
if (this.$refs.TopPopup1.handleOpen(), this.processStatus.allUserNames && this.processStatus.allUserNames.length == 1 && this.taskNode[0] && this.taskNode[0].nodeId) {
|
|
13250
|
+
let s;
|
|
13251
|
+
this.getVars && (s = this.getVars()), await this.handleGetSimulation(s);
|
|
13252
|
+
}
|
|
13253
|
+
e && (this.operationParam.request = e), e && (this.annexlabel = i), this.titleText = n, this.operationCom = t, this.operationParam.annex = i, this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = this.taskNode[0].taskId, this.operationParam.actionName = n, this.operationParam.formData = this.formData, this.operationParam.nextNodeData = this.nextNodeData, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction;
|
|
13208
13254
|
}
|
|
13209
|
-
e && (this.operationParam.request = e), e && (this.annexlabel = i), this.titleText = n, this.operationCom = t, this.operationParam.annex = i, this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = this.taskNode[0].taskId, this.operationParam.actionName = n, this.operationParam.formData = this.formData, this.operationParam.nextNodeData = this.nextNodeData, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction;
|
|
13210
13255
|
},
|
|
13211
13256
|
handleCancel() {
|
|
13212
13257
|
console.log("handleCancel");
|
|
@@ -13242,7 +13287,7 @@ const sE = {
|
|
|
13242
13287
|
this.actionShow = !1;
|
|
13243
13288
|
},
|
|
13244
13289
|
actionClick(t) {
|
|
13245
|
-
this
|
|
13290
|
+
this.titleText = t, this.actionShow = !1;
|
|
13246
13291
|
},
|
|
13247
13292
|
getBtnStyle(t) {
|
|
13248
13293
|
switch (t) {
|
|
@@ -13275,8 +13320,8 @@ const sE = {
|
|
|
13275
13320
|
console.log(
|
|
13276
13321
|
"getProcessInstanceByBusinessKey:::",
|
|
13277
13322
|
e
|
|
13278
|
-
), this.getFirstProcessNode = e.data[0], this.operationParam.getFirstProcessNode = this.getFirstProcessNode, this.operationParam.formData = this.formData, this.handleTips("", !1, "success"), this
|
|
13279
|
-
|
|
13323
|
+
), this.getFirstProcessNode = e.data[0], this.operationParam.getFirstProcessNode = this.getFirstProcessNode, this.operationParam.formData = this.formData, this.handleTips("", !1, "success"), this.handleActionClose(), this.showOperation(
|
|
13324
|
+
i0,
|
|
13280
13325
|
"\u91CD\u65B0\u63D0\u4EA4",
|
|
13281
13326
|
this.request
|
|
13282
13327
|
);
|
|
@@ -13295,7 +13340,7 @@ const sE = {
|
|
|
13295
13340
|
}
|
|
13296
13341
|
}
|
|
13297
13342
|
};
|
|
13298
|
-
var
|
|
13343
|
+
var r0 = function() {
|
|
13299
13344
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
13300
13345
|
return e("div", [e("div", {
|
|
13301
13346
|
staticClass: "process-warp"
|
|
@@ -13464,27 +13509,27 @@ var rE = function() {
|
|
|
13464
13509
|
click: t.handleActionClose
|
|
13465
13510
|
}
|
|
13466
13511
|
})], 1);
|
|
13467
|
-
},
|
|
13512
|
+
}, a0 = [];
|
|
13468
13513
|
const ml = {};
|
|
13469
|
-
var
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13514
|
+
var o0 = /* @__PURE__ */ rt(
|
|
13515
|
+
s0,
|
|
13516
|
+
r0,
|
|
13517
|
+
a0,
|
|
13473
13518
|
!1,
|
|
13474
|
-
|
|
13519
|
+
c0,
|
|
13475
13520
|
"4b00ad89",
|
|
13476
13521
|
null,
|
|
13477
13522
|
null
|
|
13478
13523
|
);
|
|
13479
|
-
function
|
|
13524
|
+
function c0(t) {
|
|
13480
13525
|
for (let n in ml)
|
|
13481
13526
|
this[n] = ml[n];
|
|
13482
13527
|
}
|
|
13483
|
-
const
|
|
13484
|
-
return
|
|
13528
|
+
const l0 = /* @__PURE__ */ function() {
|
|
13529
|
+
return o0.exports;
|
|
13485
13530
|
}();
|
|
13486
13531
|
export {
|
|
13487
|
-
|
|
13532
|
+
l0 as TopProcess,
|
|
13488
13533
|
lb as TopSumbitPopup,
|
|
13489
13534
|
hm as ViewAttchList,
|
|
13490
13535
|
$e as attchViews
|