ddy-process-pc-vue3 1.0.1-rc.2.69 → 1.0.1-rc.2.73
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 +41 -34
- package/v2/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +41 -34
- 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 +427 -419
- package/v3/ddy-process-pc-vue3.umd.cjs +18 -18
- package/v3/style.css +1 -1
|
@@ -16,7 +16,7 @@ function vP(e, i) {
|
|
|
16
16
|
}
|
|
17
17
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
18
18
|
}
|
|
19
|
-
const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.2.
|
|
19
|
+
const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.2.73", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
|
|
20
20
|
".": {
|
|
21
21
|
import: "./ddy-process-pc-vue3.js",
|
|
22
22
|
require: "./ddy-process-pc-vue3.umd.cjs"
|
|
@@ -22195,7 +22195,7 @@ var DV = function() {
|
|
|
22195
22195
|
processData: e.processData,
|
|
22196
22196
|
currentProcess: e.currentProcess
|
|
22197
22197
|
})], 2) : e._e()]], 2);
|
|
22198
|
-
}), 1)], 1)], e.isAdditional && e.absoluteBtns.outside.length > 0 ? r("div", {
|
|
22198
|
+
}), 1)], 1)], e._t("myBtn"), e.isAdditional && e.absoluteBtns.outside.length > 0 ? r("div", {
|
|
22199
22199
|
ref: "footBtnRow",
|
|
22200
22200
|
staticClass: "footBtnRow foot-item",
|
|
22201
22201
|
style: {
|
|
@@ -23127,80 +23127,87 @@ const BV = {
|
|
|
23127
23127
|
if (!i)
|
|
23128
23128
|
return e;
|
|
23129
23129
|
if (i.status == "todo" && i.isMultiInstance && this.getButton("wf_add_instance")) {
|
|
23130
|
-
let
|
|
23131
|
-
|
|
23130
|
+
let a = {};
|
|
23131
|
+
a.name = this.getButton("wf_add_instance").name, a.btnProps = { type: "primary" }, a.key = "sign", a.click = () => {
|
|
23132
23132
|
this.handleUserSelect({
|
|
23133
23133
|
type: "addInstance",
|
|
23134
23134
|
checkType: "checkbox",
|
|
23135
23135
|
name: this.getButton("wf_add_instance").name
|
|
23136
23136
|
});
|
|
23137
|
-
}, e.push(
|
|
23137
|
+
}, e.push(a);
|
|
23138
23138
|
}
|
|
23139
23139
|
if (i.status == "todo" && this.getButton("wf_transfer")) {
|
|
23140
|
-
let
|
|
23141
|
-
|
|
23140
|
+
let a = {};
|
|
23141
|
+
a.name = this.getButton("wf_transfer").name, a.key = "delegate", a.click = () => {
|
|
23142
23142
|
this.handleUserSelect({
|
|
23143
23143
|
type: "transfer",
|
|
23144
23144
|
checkType: "radio",
|
|
23145
23145
|
name: this.getButton("wf_transfer").name
|
|
23146
23146
|
});
|
|
23147
|
-
}, e.push(
|
|
23147
|
+
}, e.push(a);
|
|
23148
23148
|
}
|
|
23149
23149
|
if (i.status == "todo" && this.getButton("wf_delegate")) {
|
|
23150
|
-
let
|
|
23151
|
-
|
|
23150
|
+
let a = {};
|
|
23151
|
+
a.name = this.getButton("wf_delegate").name, a.btnProps = { type: "warning" }, a.key = "cc2", a.click = () => {
|
|
23152
23152
|
this.handleUserSelect({
|
|
23153
23153
|
type: "delegate",
|
|
23154
23154
|
checkType: "radio",
|
|
23155
23155
|
name: this.getButton("wf_delegate").name
|
|
23156
23156
|
});
|
|
23157
|
-
}, e.push(
|
|
23157
|
+
}, e.push(a);
|
|
23158
23158
|
}
|
|
23159
23159
|
if (i.status == "todo" && this.getButton("wf_terminate")) {
|
|
23160
|
-
let
|
|
23161
|
-
|
|
23160
|
+
let a = {};
|
|
23161
|
+
a.name = this.getButton("wf_terminate").name, a.btnProps = { type: "danger" }, a.key = "cc3", a.click = () => {
|
|
23162
23162
|
this.handleTerminateProcess();
|
|
23163
|
-
}, e.push(
|
|
23163
|
+
}, e.push(a);
|
|
23164
23164
|
}
|
|
23165
23165
|
if (i.status == "todo" && this.getButton("wf_cctask")) {
|
|
23166
|
-
let
|
|
23167
|
-
|
|
23166
|
+
let a = {};
|
|
23167
|
+
a.name = this.getButton("wf_cctask").name, a.btnProps = { type: "primary" }, a.key = "cc", a.click = () => {
|
|
23168
23168
|
this.handleCirculate(this.getButton("wf_cctask").name);
|
|
23169
|
-
}, e.push(
|
|
23169
|
+
}, e.push(a);
|
|
23170
23170
|
}
|
|
23171
23171
|
if (i.status == "todo" && this.userId == (i.variables || {}).applyUserId) {
|
|
23172
|
-
let
|
|
23173
|
-
|
|
23172
|
+
let a = {};
|
|
23173
|
+
a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
|
|
23174
23174
|
this.handleReminders();
|
|
23175
|
-
}, e.push(
|
|
23175
|
+
}, e.push(a);
|
|
23176
23176
|
}
|
|
23177
23177
|
if (i.isOwner && i.isReturnable && !["recall", "reject"].includes(i.processIsFinished)) {
|
|
23178
|
-
let
|
|
23179
|
-
|
|
23178
|
+
let a = {};
|
|
23179
|
+
a.name = "\u64A4\u9500", a.btnProps = { type: "danger" }, a.key = "self", a.click = () => {
|
|
23180
23180
|
this.handleWithdrawTask("\u64A4\u9500");
|
|
23181
|
-
}, e.push(
|
|
23181
|
+
}, e.push(a);
|
|
23182
23182
|
}
|
|
23183
23183
|
if (i.status == "todo" && this.getButton("wf_reject")) {
|
|
23184
|
-
let
|
|
23185
|
-
|
|
23184
|
+
let a = {};
|
|
23185
|
+
a.name = this.getButton("wf_reject").name, a.btnProps = { type: "danger" }, a.key = "refuse", a.click = () => {
|
|
23186
23186
|
this.handleExamine(!1, this.getButton("wf_reject").name);
|
|
23187
|
-
}, e.push(
|
|
23187
|
+
}, e.push(a);
|
|
23188
23188
|
}
|
|
23189
23189
|
if (i.status == "todo" && this.getButton("wf_pass")) {
|
|
23190
|
-
let
|
|
23191
|
-
|
|
23190
|
+
let a = {};
|
|
23191
|
+
a.name = this.getButton("wf_pass").name, a.btnProps = { type: "primary" }, a.key = "complete", a.click = () => {
|
|
23192
23192
|
this.before ? this.before().then(() => {
|
|
23193
23193
|
this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
23194
23194
|
}) : this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
23195
|
-
}, e.push(
|
|
23195
|
+
}, e.push(a);
|
|
23196
23196
|
}
|
|
23197
23197
|
if (i.status == "todo" && this.getButton("wf_rollback")) {
|
|
23198
|
-
let
|
|
23199
|
-
|
|
23198
|
+
let a = {};
|
|
23199
|
+
a.name = this.getButton("wf_rollback").name, a.btnProps = { type: "danger" }, a.key = "back", a.click = () => {
|
|
23200
23200
|
this.handleRollbackTask(this.getButton("wf_rollback").name);
|
|
23201
|
-
}, e.unshift(
|
|
23201
|
+
}, e.unshift(a);
|
|
23202
23202
|
}
|
|
23203
|
-
return
|
|
23203
|
+
return ["wf_edit"].map((a) => {
|
|
23204
|
+
if (i.status == "todo" && this.getButton(a)) {
|
|
23205
|
+
let s = {};
|
|
23206
|
+
s.name = this.getButton(a).name, s.btnProps = {}, s.key = s.name, s.click = () => {
|
|
23207
|
+
this.clickCustomButton(s.name);
|
|
23208
|
+
}, e.unshift(s);
|
|
23209
|
+
}
|
|
23210
|
+
}), e;
|
|
23204
23211
|
},
|
|
23205
23212
|
straightenBtns(e = !0) {
|
|
23206
23213
|
let i = [];
|
|
@@ -23279,7 +23286,7 @@ var OV = /* @__PURE__ */ Bi(
|
|
|
23279
23286
|
IV,
|
|
23280
23287
|
!1,
|
|
23281
23288
|
TV,
|
|
23282
|
-
"
|
|
23289
|
+
"10597390",
|
|
23283
23290
|
null,
|
|
23284
23291
|
null
|
|
23285
23292
|
);
|