ui-process-h5 1.0.7 → 1.0.9
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 +38 -28
- package/package.json +1 -1
- package/v2/style.css +1 -1
- package/v2/ui-process-h5.js +155 -108
- package/v2/ui-process-h5.umd.cjs +17 -17
- package/v2.7/style.css +1 -1
- package/v2.7/ui-process-h5.js +300 -253
- package/v2.7/ui-process-h5.umd.cjs +2 -2
- package/v3/style.css +1 -1
- package/v3/ui-process-h5.js +1204 -1165
- package/v3/ui-process-h5.umd.cjs +16 -16
package/v2/ui-process-h5.js
CHANGED
|
@@ -4720,13 +4720,13 @@ const hm = /* @__PURE__ */ function() {
|
|
|
4720
4720
|
label: "\u6D41\u7A0B\u56FE",
|
|
4721
4721
|
key: "b",
|
|
4722
4722
|
type: "default",
|
|
4723
|
-
slot: "
|
|
4723
|
+
slot: "b"
|
|
4724
4724
|
},
|
|
4725
4725
|
{
|
|
4726
4726
|
label: "\u5BA1\u6279\u8BB0\u5F55",
|
|
4727
4727
|
key: "c",
|
|
4728
4728
|
type: "default",
|
|
4729
|
-
slot: "
|
|
4729
|
+
slot: "c"
|
|
4730
4730
|
}
|
|
4731
4731
|
],
|
|
4732
4732
|
isTapList: [
|
|
@@ -4740,13 +4740,13 @@ const hm = /* @__PURE__ */ function() {
|
|
|
4740
4740
|
label: "\u6D41\u7A0B\u56FE",
|
|
4741
4741
|
key: "b",
|
|
4742
4742
|
type: "default",
|
|
4743
|
-
slot: "
|
|
4743
|
+
slot: "b"
|
|
4744
4744
|
},
|
|
4745
4745
|
{
|
|
4746
4746
|
label: "\u5BA1\u6279\u8BB0\u5F55",
|
|
4747
4747
|
key: "c",
|
|
4748
4748
|
type: "default",
|
|
4749
|
-
slot: "
|
|
4749
|
+
slot: "c"
|
|
4750
4750
|
}
|
|
4751
4751
|
],
|
|
4752
4752
|
label: document.getElementsByClassName("tops-tab-header-items"),
|
|
@@ -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
|
);
|
|
@@ -11399,7 +11406,7 @@ const Ab = {
|
|
|
11399
11406
|
parentTaskInstId: this.param.taskInstId,
|
|
11400
11407
|
reason: this.commentMsg
|
|
11401
11408
|
}).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");
|
|
11409
|
+
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
11410
|
});
|
|
11404
11411
|
},
|
|
11405
11412
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -11460,7 +11467,7 @@ var yb = /* @__PURE__ */ rt(
|
|
|
11460
11467
|
gb,
|
|
11461
11468
|
!1,
|
|
11462
11469
|
Cb,
|
|
11463
|
-
"
|
|
11470
|
+
"3556632c",
|
|
11464
11471
|
null,
|
|
11465
11472
|
null
|
|
11466
11473
|
);
|
|
@@ -11676,7 +11683,7 @@ const kb = {
|
|
|
11676
11683
|
taskInstId: this.param.taskInstId,
|
|
11677
11684
|
targetUID: t
|
|
11678
11685
|
}).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");
|
|
11686
|
+
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
11687
|
});
|
|
11681
11688
|
},
|
|
11682
11689
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -11737,7 +11744,7 @@ var wb = /* @__PURE__ */ rt(
|
|
|
11737
11744
|
Ib,
|
|
11738
11745
|
!1,
|
|
11739
11746
|
xb,
|
|
11740
|
-
"
|
|
11747
|
+
"def75392",
|
|
11741
11748
|
null,
|
|
11742
11749
|
null
|
|
11743
11750
|
);
|
|
@@ -11752,7 +11759,35 @@ var Tb = function() {
|
|
|
11752
11759
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
11753
11760
|
return e("div", {
|
|
11754
11761
|
staticClass: "process-popup-content"
|
|
11755
|
-
}, [
|
|
11762
|
+
}, [e("div", {
|
|
11763
|
+
staticClass: "process-pc-label"
|
|
11764
|
+
}, [t._v(" \u5FEB\u6377\u56DE\u590D ")]), e("div", {
|
|
11765
|
+
staticClass: "process-pc-value",
|
|
11766
|
+
staticStyle: {
|
|
11767
|
+
display: "flex"
|
|
11768
|
+
}
|
|
11769
|
+
}, [e("div", {
|
|
11770
|
+
staticClass: "process-tag",
|
|
11771
|
+
on: {
|
|
11772
|
+
click: function() {
|
|
11773
|
+
return t.commentMsg = "\u540C\u610F";
|
|
11774
|
+
}
|
|
11775
|
+
}
|
|
11776
|
+
}, [t._v(" \u540C\u610F ")]), e("div", {
|
|
11777
|
+
staticClass: "process-tag",
|
|
11778
|
+
on: {
|
|
11779
|
+
click: function() {
|
|
11780
|
+
return t.commentMsg = "\u5982\u62DF";
|
|
11781
|
+
}
|
|
11782
|
+
}
|
|
11783
|
+
}, [t._v(" \u5982\u62DF ")]), e("div", {
|
|
11784
|
+
staticClass: "process-tag",
|
|
11785
|
+
on: {
|
|
11786
|
+
click: function() {
|
|
11787
|
+
return t.commentMsg = "\u5DF2\u9605";
|
|
11788
|
+
}
|
|
11789
|
+
}
|
|
11790
|
+
}, [t._v(" \u5DF2\u9605 ")])]), t._m(0), e("div", {
|
|
11756
11791
|
staticClass: "process-pc-value"
|
|
11757
11792
|
}, [e("div", {
|
|
11758
11793
|
staticClass: "process-popup-textarea"
|
|
@@ -12004,7 +12039,7 @@ const Db = {
|
|
|
12004
12039
|
saveMetaAnnexCmdList: t
|
|
12005
12040
|
}
|
|
12006
12041
|
);
|
|
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");
|
|
12042
|
+
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
12043
|
}
|
|
12009
12044
|
},
|
|
12010
12045
|
isOption(t) {
|
|
@@ -12024,7 +12059,7 @@ var Sb = /* @__PURE__ */ rt(
|
|
|
12024
12059
|
Ob,
|
|
12025
12060
|
!1,
|
|
12026
12061
|
Bb,
|
|
12027
|
-
"
|
|
12062
|
+
"519beb5d",
|
|
12028
12063
|
null,
|
|
12029
12064
|
null
|
|
12030
12065
|
);
|
|
@@ -12218,7 +12253,7 @@ const Pb = {
|
|
|
12218
12253
|
commentMsg: this.commentMsg,
|
|
12219
12254
|
taskInstId: this.param.taskInstId
|
|
12220
12255
|
}).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");
|
|
12256
|
+
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
12257
|
});
|
|
12223
12258
|
},
|
|
12224
12259
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -12279,7 +12314,7 @@ var Mb = /* @__PURE__ */ rt(
|
|
|
12279
12314
|
Fb,
|
|
12280
12315
|
!1,
|
|
12281
12316
|
Ub,
|
|
12282
|
-
"
|
|
12317
|
+
"5b0d9bba",
|
|
12283
12318
|
null,
|
|
12284
12319
|
null
|
|
12285
12320
|
);
|
|
@@ -12464,7 +12499,7 @@ const jb = {
|
|
|
12464
12499
|
isCompensation: !1,
|
|
12465
12500
|
targetActivityId: this.nodeId
|
|
12466
12501
|
}).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");
|
|
12502
|
+
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
12503
|
}).catch((t) => {
|
|
12469
12504
|
this.handleTips(t.msg, !0, "error");
|
|
12470
12505
|
});
|
|
@@ -12527,7 +12562,7 @@ var Rb = /* @__PURE__ */ rt(
|
|
|
12527
12562
|
Lb,
|
|
12528
12563
|
!1,
|
|
12529
12564
|
Gb,
|
|
12530
|
-
"
|
|
12565
|
+
"06b954f3",
|
|
12531
12566
|
null,
|
|
12532
12567
|
null
|
|
12533
12568
|
);
|
|
@@ -12708,7 +12743,7 @@ const Yb = {
|
|
|
12708
12743
|
parentTaskInstId: this.param.taskInstId,
|
|
12709
12744
|
participant: t
|
|
12710
12745
|
}).then((n) => {
|
|
12711
|
-
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success")) : this.handleTips(n.msg, !0, "error");
|
|
12746
|
+
n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal()) : this.handleTips(n.msg, !0, "error");
|
|
12712
12747
|
});
|
|
12713
12748
|
},
|
|
12714
12749
|
makeDelegateTaskButtonAnnex() {
|
|
@@ -12769,7 +12804,7 @@ var Wb = /* @__PURE__ */ rt(
|
|
|
12769
12804
|
Hb,
|
|
12770
12805
|
!1,
|
|
12771
12806
|
Zb,
|
|
12772
|
-
"
|
|
12807
|
+
"25a39390",
|
|
12773
12808
|
null,
|
|
12774
12809
|
null
|
|
12775
12810
|
);
|
|
@@ -12837,7 +12872,7 @@ var Xb = function() {
|
|
|
12837
12872
|
}
|
|
12838
12873
|
}, "departPerson", t.entity, !1))], 1)], 2);
|
|
12839
12874
|
}, $b = [];
|
|
12840
|
-
const
|
|
12875
|
+
const t0 = {
|
|
12841
12876
|
name: "restart",
|
|
12842
12877
|
props: {
|
|
12843
12878
|
param: {
|
|
@@ -12931,24 +12966,24 @@ const tE = {
|
|
|
12931
12966
|
}
|
|
12932
12967
|
}
|
|
12933
12968
|
}, vl = {};
|
|
12934
|
-
var
|
|
12935
|
-
|
|
12969
|
+
var e0 = /* @__PURE__ */ rt(
|
|
12970
|
+
t0,
|
|
12936
12971
|
Xb,
|
|
12937
12972
|
$b,
|
|
12938
12973
|
!1,
|
|
12939
|
-
|
|
12940
|
-
"
|
|
12974
|
+
n0,
|
|
12975
|
+
"3aa79dd5",
|
|
12941
12976
|
null,
|
|
12942
12977
|
null
|
|
12943
12978
|
);
|
|
12944
|
-
function
|
|
12979
|
+
function n0(t) {
|
|
12945
12980
|
for (let n in vl)
|
|
12946
12981
|
this[n] = vl[n];
|
|
12947
12982
|
}
|
|
12948
|
-
const
|
|
12949
|
-
return
|
|
12983
|
+
const i0 = /* @__PURE__ */ function() {
|
|
12984
|
+
return e0.exports;
|
|
12950
12985
|
}();
|
|
12951
|
-
const
|
|
12986
|
+
const s0 = {
|
|
12952
12987
|
name: "TopProcess",
|
|
12953
12988
|
components: {
|
|
12954
12989
|
TopTab: Cm,
|
|
@@ -12971,7 +13006,6 @@ const sE = {
|
|
|
12971
13006
|
type: Function,
|
|
12972
13007
|
default: () => ({ get: () => {
|
|
12973
13008
|
}, post: () => {
|
|
12974
|
-
}, upload: () => {
|
|
12975
13009
|
} })
|
|
12976
13010
|
},
|
|
12977
13011
|
appId: {
|
|
@@ -12981,6 +13015,10 @@ const sE = {
|
|
|
12981
13015
|
endFunction: {
|
|
12982
13016
|
type: Function,
|
|
12983
13017
|
default: null
|
|
13018
|
+
},
|
|
13019
|
+
beforeFunction: {
|
|
13020
|
+
type: Function,
|
|
13021
|
+
default: null
|
|
12984
13022
|
}
|
|
12985
13023
|
},
|
|
12986
13024
|
data() {
|
|
@@ -13074,7 +13112,7 @@ const sE = {
|
|
|
13074
13112
|
if (n && !this.isView && this.taskObj.completeButtonLabel) {
|
|
13075
13113
|
let s = {};
|
|
13076
13114
|
s.name = this.taskObj.completeButtonLabel, s.btnProps = { type: "primary" }, t.push(s), s.click = (r) => {
|
|
13077
|
-
this
|
|
13115
|
+
this.handleActionClose(), this.showOperation(
|
|
13078
13116
|
_b,
|
|
13079
13117
|
r,
|
|
13080
13118
|
this.request,
|
|
@@ -13085,7 +13123,7 @@ const sE = {
|
|
|
13085
13123
|
if (n && !this.isView && this.processStatus.currUserName) {
|
|
13086
13124
|
let s = {};
|
|
13087
13125
|
s.name = "\u62D2\u7EDD", s.btnProps = { type: "danger" }, t.push(s), s.click = (r) => {
|
|
13088
|
-
this
|
|
13126
|
+
this.handleActionClose(), this.showOperation(
|
|
13089
13127
|
Vb,
|
|
13090
13128
|
r,
|
|
13091
13129
|
this.request,
|
|
@@ -13097,7 +13135,7 @@ const sE = {
|
|
|
13097
13135
|
if (s.label === "\u9000\u56DE") {
|
|
13098
13136
|
let r = {};
|
|
13099
13137
|
r.name = s.label, r.btnProps = { type: "danger" }, t.push(r), r.click = (a) => {
|
|
13100
|
-
this
|
|
13138
|
+
this.handleActionClose(), this.showOperation(
|
|
13101
13139
|
Kb,
|
|
13102
13140
|
a,
|
|
13103
13141
|
this.request,
|
|
@@ -13108,7 +13146,7 @@ const sE = {
|
|
|
13108
13146
|
}), n && !this.isView && this.taskObj.ccTaskButtonLabel) {
|
|
13109
13147
|
let s = {};
|
|
13110
13148
|
s.name = this.taskObj.ccTaskButtonLabel, s.btnProps = { type: "default" }, s.click = (r) => {
|
|
13111
|
-
this
|
|
13149
|
+
this.handleActionClose(), this.showOperation(
|
|
13112
13150
|
zb,
|
|
13113
13151
|
r,
|
|
13114
13152
|
this.request,
|
|
@@ -13119,7 +13157,7 @@ const sE = {
|
|
|
13119
13157
|
if (n && !this.isView && this.taskObj.delegateTaskButtonLabel) {
|
|
13120
13158
|
let s = {};
|
|
13121
13159
|
s.name = this.taskObj.delegateTaskButtonLabel, s.btnProps = { type: "default" }, s.click = (r) => {
|
|
13122
|
-
this
|
|
13160
|
+
this.handleActionClose(), this.showOperation(
|
|
13123
13161
|
Nb,
|
|
13124
13162
|
r,
|
|
13125
13163
|
this.request,
|
|
@@ -13130,7 +13168,7 @@ const sE = {
|
|
|
13130
13168
|
if (n && !this.isView && this.taskObj.counterSignLabel) {
|
|
13131
13169
|
let s = {};
|
|
13132
13170
|
s.name = this.taskObj.counterSignLabel, s.btnProps = { type: "primary" }, s.click = (r) => {
|
|
13133
|
-
this
|
|
13171
|
+
this.handleActionClose(), this.showOperation(
|
|
13134
13172
|
bb,
|
|
13135
13173
|
r,
|
|
13136
13174
|
this.request,
|
|
@@ -13202,11 +13240,13 @@ const sE = {
|
|
|
13202
13240
|
});
|
|
13203
13241
|
},
|
|
13204
13242
|
async showOperation(t, n, e, i) {
|
|
13205
|
-
if (this.
|
|
13206
|
-
|
|
13207
|
-
|
|
13243
|
+
if (!(this.beforeFunction && (console.log("this.beforeFunction"), !this.beforeFunction()))) {
|
|
13244
|
+
if (this.$refs.TopPopup1.handleOpen(), this.processStatus.allUserNames && this.processStatus.allUserNames.length == 1 && this.taskNode[0] && this.taskNode[0].nodeId) {
|
|
13245
|
+
let s;
|
|
13246
|
+
this.getVars && (s = this.getVars()), await this.handleGetSimulation(s);
|
|
13247
|
+
}
|
|
13248
|
+
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
13249
|
}
|
|
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
13250
|
},
|
|
13211
13251
|
handleCancel() {
|
|
13212
13252
|
console.log("handleCancel");
|
|
@@ -13242,7 +13282,7 @@ const sE = {
|
|
|
13242
13282
|
this.actionShow = !1;
|
|
13243
13283
|
},
|
|
13244
13284
|
actionClick(t) {
|
|
13245
|
-
this
|
|
13285
|
+
this.titleText = t, this.actionShow = !1;
|
|
13246
13286
|
},
|
|
13247
13287
|
getBtnStyle(t) {
|
|
13248
13288
|
switch (t) {
|
|
@@ -13275,8 +13315,8 @@ const sE = {
|
|
|
13275
13315
|
console.log(
|
|
13276
13316
|
"getProcessInstanceByBusinessKey:::",
|
|
13277
13317
|
e
|
|
13278
|
-
), this.getFirstProcessNode = e.data[0], this.operationParam.getFirstProcessNode = this.getFirstProcessNode, this.operationParam.formData = this.formData, this.handleTips("", !1, "success"), this
|
|
13279
|
-
|
|
13318
|
+
), this.getFirstProcessNode = e.data[0], this.operationParam.getFirstProcessNode = this.getFirstProcessNode, this.operationParam.formData = this.formData, this.handleTips("", !1, "success"), this.handleActionClose(), this.showOperation(
|
|
13319
|
+
i0,
|
|
13280
13320
|
"\u91CD\u65B0\u63D0\u4EA4",
|
|
13281
13321
|
this.request
|
|
13282
13322
|
);
|
|
@@ -13295,7 +13335,7 @@ const sE = {
|
|
|
13295
13335
|
}
|
|
13296
13336
|
}
|
|
13297
13337
|
};
|
|
13298
|
-
var
|
|
13338
|
+
var r0 = function() {
|
|
13299
13339
|
var t = this, n = t.$createElement, e = t._self._c || n;
|
|
13300
13340
|
return e("div", [e("div", {
|
|
13301
13341
|
staticClass: "process-warp"
|
|
@@ -13348,15 +13388,22 @@ var rE = function() {
|
|
|
13348
13388
|
},
|
|
13349
13389
|
slot: i.slot
|
|
13350
13390
|
}, [t._t(i.slot)], 2);
|
|
13351
|
-
}) :
|
|
13391
|
+
}) : [e("div", {
|
|
13392
|
+
staticStyle: {},
|
|
13393
|
+
attrs: {
|
|
13394
|
+
slot: "default"
|
|
13395
|
+
},
|
|
13396
|
+
slot: "default"
|
|
13397
|
+
}, [t._t("default")], 2), t._l(t.tapList, function(i, s) {
|
|
13352
13398
|
return e("div", {
|
|
13353
13399
|
key: s,
|
|
13400
|
+
staticStyle: {},
|
|
13354
13401
|
attrs: {
|
|
13355
13402
|
slot: i.slot
|
|
13356
13403
|
},
|
|
13357
13404
|
slot: i.slot
|
|
13358
13405
|
}, [t._t(i.slot)], 2);
|
|
13359
|
-
})], 2)], 1), t.isAdditional ? e("div", {
|
|
13406
|
+
})]], 2)], 1), t.isAdditional ? e("div", {
|
|
13360
13407
|
staticClass: "process-foot"
|
|
13361
13408
|
}, [e("div", {
|
|
13362
13409
|
staticClass: "footBtnRow"
|
|
@@ -13457,27 +13504,27 @@ var rE = function() {
|
|
|
13457
13504
|
click: t.handleActionClose
|
|
13458
13505
|
}
|
|
13459
13506
|
})], 1);
|
|
13460
|
-
},
|
|
13507
|
+
}, a0 = [];
|
|
13461
13508
|
const ml = {};
|
|
13462
|
-
var
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13509
|
+
var o0 = /* @__PURE__ */ rt(
|
|
13510
|
+
s0,
|
|
13511
|
+
r0,
|
|
13512
|
+
a0,
|
|
13466
13513
|
!1,
|
|
13467
|
-
|
|
13468
|
-
"
|
|
13514
|
+
c0,
|
|
13515
|
+
"4b00ad89",
|
|
13469
13516
|
null,
|
|
13470
13517
|
null
|
|
13471
13518
|
);
|
|
13472
|
-
function
|
|
13519
|
+
function c0(t) {
|
|
13473
13520
|
for (let n in ml)
|
|
13474
13521
|
this[n] = ml[n];
|
|
13475
13522
|
}
|
|
13476
|
-
const
|
|
13477
|
-
return
|
|
13523
|
+
const l0 = /* @__PURE__ */ function() {
|
|
13524
|
+
return o0.exports;
|
|
13478
13525
|
}();
|
|
13479
13526
|
export {
|
|
13480
|
-
|
|
13527
|
+
l0 as TopProcess,
|
|
13481
13528
|
lb as TopSumbitPopup,
|
|
13482
13529
|
hm as ViewAttchList,
|
|
13483
13530
|
$e as attchViews
|