@guodun/antdv 1.3.0 → 1.3.1
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/dist/es/components/contract-signing-location/src/ContractSigningLocation.vue.mjs +241 -236
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.mjs +22 -19
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.mjs +173 -147
- package/dist/es/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.mjs +83 -74
- package/dist/es/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.mjs +32 -32
- package/dist/es/components/pro-contract-signing-flow/style/index.css +1 -1
- package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.mjs +8 -4
- package/dist/es/components/pro-contract-template-designer/src/extensions/word-paste.mjs +24 -20
- package/dist/es/components/pro-contract-template-designer/src/utils/word-paste.mjs +112 -112
- package/dist/es/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocation.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/style/index.css +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/word-paste.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/utils/word-paste.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/theme/icon.css +1 -1
- package/dist/theme/index.css +1 -1
- package/dist/theme/pro-contract-signing-flow.css +1 -1
- package/dist/types/components/contract-signing-location/src/ContractSigningLocation.vue.d.ts +1 -0
- package/dist/types/components/contract-signing-location/src/types.d.ts +5 -0
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.d.ts +24 -1
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.d.ts +1 -0
- package/dist/types/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.d.ts +25 -1
- package/dist/types/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.d.ts +6 -2
- package/dist/types/components/pro-contract-signing-flow/src/types.d.ts +5 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.vue.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/extensions/word-paste.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/types.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/utils/word-paste.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "../../../node_modules/@ant-design/icons-vue/es/icons/PlusOutlined.mjs";
|
|
2
2
|
import t from "./ContractSigningFlowNodeCard.mjs";
|
|
3
|
-
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, renderList as d,
|
|
4
|
-
import { Button as
|
|
3
|
+
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, renderList as d, renderSlot as f, unref as p, withCtx as m } from "vue";
|
|
4
|
+
import { Button as h } from "ant-design-vue";
|
|
5
5
|
//#region src/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var g = { class: "gd-contract-signing-flow__canvas-panel" }, _ = { class: "gd-contract-signing-flow__canvas-header" }, v = { class: "gd-contract-signing-flow__canvas-actions" }, y = { class: "gd-contract-signing-flow__canvas-scroll" }, b = { class: "gd-contract-signing-flow__canvas" }, x = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "gd-contract-signing-flow__connector"
|
|
9
|
-
},
|
|
9
|
+
}, S = /* @__PURE__ */ l({
|
|
10
10
|
__name: "ContractSigningFlowCanvas",
|
|
11
11
|
props: {
|
|
12
12
|
nodes: {},
|
|
@@ -20,18 +20,21 @@ var h = { class: "gd-contract-signing-flow__canvas-panel" }, g = { class: "gd-co
|
|
|
20
20
|
"remove",
|
|
21
21
|
"move"
|
|
22
22
|
],
|
|
23
|
-
setup(l, { emit:
|
|
24
|
-
let
|
|
25
|
-
return (
|
|
23
|
+
setup(l, { emit: S }) {
|
|
24
|
+
let C = S;
|
|
25
|
+
return (S, w) => (u(), a("section", g, [o("header", _, [w[3] ||= o("div", null, [o("h2", null, "签署流程"), o("p", null, "节点按从上到下的顺序依次执行")], -1), o("div", v, [f(S.$slots, "headerExtra", {
|
|
26
|
+
readonly: l.readonly,
|
|
27
|
+
disabled: l.disabled
|
|
28
|
+
}), l.readonly ? i("", !0) : (u(), r(p(h), {
|
|
26
29
|
key: 0,
|
|
27
30
|
type: "primary",
|
|
28
31
|
disabled: l.disabled,
|
|
29
|
-
onClick:
|
|
32
|
+
onClick: w[0] ||= (e) => C("add")
|
|
30
33
|
}, {
|
|
31
|
-
icon:
|
|
32
|
-
default:
|
|
34
|
+
icon: m(() => [c(p(e))]),
|
|
35
|
+
default: m(() => [w[2] ||= s("添加签署节点", -1)]),
|
|
33
36
|
_: 1
|
|
34
|
-
}, 8, ["disabled"]))]), o("div",
|
|
37
|
+
}, 8, ["disabled"]))])]), o("div", y, [o("div", b, [(u(!0), a(n, null, d(l.nodes, (e, n) => (u(), a("div", {
|
|
35
38
|
key: e.key,
|
|
36
39
|
class: "gd-contract-signing-flow__step"
|
|
37
40
|
}, [c(t, {
|
|
@@ -41,9 +44,9 @@ var h = { class: "gd-contract-signing-flow__canvas-panel" }, g = { class: "gd-co
|
|
|
41
44
|
disabled: l.disabled,
|
|
42
45
|
"can-move-up": n > 1,
|
|
43
46
|
"can-move-down": n < l.nodes.length - 2,
|
|
44
|
-
onSelect: (t) =>
|
|
45
|
-
onRemove: (t) =>
|
|
46
|
-
onMove: (t) =>
|
|
47
|
+
onSelect: (t) => C("select", e),
|
|
48
|
+
onRemove: (t) => C("remove", e),
|
|
49
|
+
onMove: (t) => C("move", e, t)
|
|
47
50
|
}, null, 8, [
|
|
48
51
|
"node",
|
|
49
52
|
"selected",
|
|
@@ -54,18 +57,18 @@ var h = { class: "gd-contract-signing-flow__canvas-panel" }, g = { class: "gd-co
|
|
|
54
57
|
"onSelect",
|
|
55
58
|
"onRemove",
|
|
56
59
|
"onMove"
|
|
57
|
-
]), n < l.nodes.length - 1 ? (u(), a("div",
|
|
60
|
+
]), n < l.nodes.length - 1 ? (u(), a("div", x, [...w[4] ||= [o("span", null, null, -1), o("i", null, null, -1)]])) : i("", !0)]))), 128)), l.readonly ? i("", !0) : (u(), r(p(h), {
|
|
58
61
|
key: 0,
|
|
59
62
|
class: "gd-contract-signing-flow__add-node",
|
|
60
63
|
type: "dashed",
|
|
61
64
|
disabled: l.disabled,
|
|
62
|
-
onClick:
|
|
65
|
+
onClick: w[1] ||= (e) => C("add")
|
|
63
66
|
}, {
|
|
64
|
-
icon:
|
|
65
|
-
default:
|
|
67
|
+
icon: m(() => [c(p(e))]),
|
|
68
|
+
default: m(() => [w[5] ||= s("添加签署节点", -1)]),
|
|
66
69
|
_: 1
|
|
67
70
|
}, 8, ["disabled"]))])])]));
|
|
68
71
|
}
|
|
69
72
|
});
|
|
70
73
|
//#endregion
|
|
71
|
-
export {
|
|
74
|
+
export { S as default };
|
package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.mjs
CHANGED
|
@@ -1,30 +1,45 @@
|
|
|
1
|
-
import e from "../../../node_modules/@ant-design/icons-vue/es/icons/
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import e from "../../../node_modules/@ant-design/icons-vue/es/icons/DownOutlined.mjs";
|
|
2
|
+
import t from "../../../node_modules/@ant-design/icons-vue/es/icons/EnvironmentOutlined.mjs";
|
|
3
|
+
import n from "../../../node_modules/@ant-design/icons-vue/es/icons/RightOutlined.mjs";
|
|
4
|
+
import { CONTRACT_SIGNING_FLOW_SEAL_TYPES as r } from "./constants.mjs";
|
|
5
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as ee, openBlock as p, ref as m, renderList as te, toDisplayString as h, unref as g, vShow as ne, withCtx as _, withDirectives as re } from "vue";
|
|
6
|
+
import { Button as ie, Checkbox as ae, Empty as v, Form as oe, FormItem as y, Input as b, RadioGroup as se, Select as x, Switch as S, Tag as C } from "ant-design-vue";
|
|
5
7
|
//#region src/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
8
|
+
var ce = { class: "gd-contract-signing-flow__inspector" }, le = { class: "gd-contract-signing-flow__inspector-header" }, ue = { class: "gd-contract-signing-flow__inspector-scroll" }, de = { class: "gd-contract-signing-flow__form-section" }, fe = { class: "gd-contract-signing-flow__form-section" }, pe = { class: "gd-contract-signing-flow__setting-list" }, me = { class: "gd-contract-signing-flow__setting-row" }, w = { class: "gd-contract-signing-flow__form-section" }, T = { class: "gd-contract-signing-flow__section-heading" }, E = { class: "gd-contract-signing-flow__rule-grid" }, D = {
|
|
7
9
|
key: 0,
|
|
8
10
|
class: "gd-contract-signing-flow__seal-types"
|
|
9
|
-
},
|
|
11
|
+
}, O = { class: "gd-contract-signing-flow__seal-list" }, k = { class: "gd-contract-signing-flow__section-heading-meta" }, A = { class: "gd-contract-signing-flow__setting-list is-compact" }, j = { class: "gd-contract-signing-flow__setting-row" }, M = { class: "gd-contract-signing-flow__setting-row" }, N = { class: "gd-contract-signing-flow__setting-row" }, P = { class: "gd-contract-signing-flow__setting-row" }, F = { class: "gd-contract-signing-flow__setting-row" }, I = { class: "gd-contract-signing-flow__setting-row" }, L = { class: "gd-contract-signing-flow__setting-row" }, R = { class: "gd-contract-signing-flow__setting-row" }, z = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "gd-contract-signing-flow__form-section is-placement"
|
|
14
|
+
}, B = { class: "gd-contract-signing-flow__section-heading" }, he = {
|
|
10
15
|
key: 1,
|
|
11
16
|
class: "gd-contract-signing-flow__node-overview"
|
|
12
|
-
},
|
|
17
|
+
}, ge = { class: "gd-contract-signing-flow__node-overview-icon" }, V = /* @__PURE__ */ f({
|
|
13
18
|
__name: "ContractSigningFlowInspector",
|
|
14
19
|
props: {
|
|
15
20
|
node: {},
|
|
16
21
|
readonly: { type: Boolean },
|
|
17
|
-
disabled: { type: Boolean }
|
|
22
|
+
disabled: { type: Boolean },
|
|
23
|
+
showPlacement: { type: Boolean }
|
|
18
24
|
},
|
|
19
25
|
emits: ["change", "placementRequest"],
|
|
20
|
-
setup(
|
|
21
|
-
let H =
|
|
26
|
+
setup(f, { emit: V }) {
|
|
27
|
+
let H = f, U = m(!1), _e = [
|
|
28
|
+
"smsVerify",
|
|
29
|
+
"faceVerify",
|
|
30
|
+
"passwordVerify",
|
|
31
|
+
"noneVerify",
|
|
32
|
+
"refuseFunctionEnable",
|
|
33
|
+
"batchFunctionEnable",
|
|
34
|
+
"perforationSealEnable",
|
|
35
|
+
"cannotExtraLocations"
|
|
36
|
+
], W = V, G = a(() => H.readonly || H.disabled), ve = [{
|
|
22
37
|
label: "个人",
|
|
23
38
|
value: "person"
|
|
24
39
|
}, {
|
|
25
40
|
label: "企业",
|
|
26
41
|
value: "company"
|
|
27
|
-
}],
|
|
42
|
+
}], K = [
|
|
28
43
|
{
|
|
29
44
|
label: "必须",
|
|
30
45
|
value: "must"
|
|
@@ -37,27 +52,27 @@ var ne = { class: "gd-contract-signing-flow__inspector" }, re = { class: "gd-con
|
|
|
37
52
|
label: "禁止",
|
|
38
53
|
value: "forbid"
|
|
39
54
|
}
|
|
40
|
-
],
|
|
55
|
+
], ye = [{
|
|
41
56
|
label: "任一人通过",
|
|
42
57
|
value: "ONE_PASS"
|
|
43
58
|
}, {
|
|
44
59
|
label: "全部人通过",
|
|
45
60
|
value: "ALL_PASS"
|
|
46
61
|
}];
|
|
47
|
-
function
|
|
48
|
-
if (!H.node ||
|
|
62
|
+
function q(e) {
|
|
63
|
+
if (!H.node || G.value) return;
|
|
49
64
|
let t = JSON.parse(JSON.stringify(H.node));
|
|
50
|
-
e(t),
|
|
65
|
+
e(t), W("change", t);
|
|
51
66
|
}
|
|
52
|
-
function
|
|
67
|
+
function J() {
|
|
53
68
|
return H.node?.config.signRule;
|
|
54
69
|
}
|
|
55
|
-
function
|
|
56
|
-
let t =
|
|
70
|
+
function Y(e) {
|
|
71
|
+
let t = J();
|
|
57
72
|
return t ? e === "signature" ? t.mustSignature ? "must" : t.cannotSignature ? "forbid" : "allow" : t.mustSeal ? "must" : t.cannotSeal ? "forbid" : "allow" : "allow";
|
|
58
73
|
}
|
|
59
|
-
function
|
|
60
|
-
t !== "must" && t !== "allow" && t !== "forbid" ||
|
|
74
|
+
function X(e, t) {
|
|
75
|
+
t !== "must" && t !== "allow" && t !== "forbid" || q((n) => {
|
|
61
76
|
let r = n.config.signRule;
|
|
62
77
|
if (e === "signature") {
|
|
63
78
|
r.mustSignature = t === "must", r.cannotSignature = t === "forbid";
|
|
@@ -66,26 +81,26 @@ var ne = { class: "gd-contract-signing-flow__inspector" }, re = { class: "gd-con
|
|
|
66
81
|
r.mustSeal = t === "must", r.cannotSeal = t === "forbid", t === "must" && !r.sealType.length && (r.sealType = ["01"]), t === "forbid" && (r.sealType = []);
|
|
67
82
|
});
|
|
68
83
|
}
|
|
69
|
-
function
|
|
70
|
-
|
|
84
|
+
function Z(e, t) {
|
|
85
|
+
q((n) => {
|
|
71
86
|
e === "description" ? n.description = t || null : n[e] = t;
|
|
72
87
|
});
|
|
73
88
|
}
|
|
74
|
-
function
|
|
75
|
-
e !== "person" && e !== "company" ||
|
|
89
|
+
function be(e) {
|
|
90
|
+
e !== "person" && e !== "company" || q((t) => {
|
|
76
91
|
if (t.identity = e, e === "person") {
|
|
77
92
|
let e = t.config.signRule;
|
|
78
93
|
e.cannotSeal = !0, e.mustSeal = !1, e.sealType = [], e.perforationSealEnable = !1;
|
|
79
94
|
}
|
|
80
95
|
});
|
|
81
96
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
97
|
+
function xe(e) {
|
|
98
|
+
q((t) => {
|
|
84
99
|
t.multi = e === !0;
|
|
85
100
|
});
|
|
86
101
|
}
|
|
87
|
-
function
|
|
88
|
-
e !== "ONE_PASS" && e !== "ALL_PASS" ||
|
|
102
|
+
function Se(e) {
|
|
103
|
+
e !== "ONE_PASS" && e !== "ALL_PASS" || q((t) => {
|
|
89
104
|
t.multiCompletedCondition = {
|
|
90
105
|
...t.multiCompletedCondition || {
|
|
91
106
|
refusedType: "ONE_PASS",
|
|
@@ -95,215 +110,226 @@ var ne = { class: "gd-contract-signing-flow__inspector" }, re = { class: "gd-con
|
|
|
95
110
|
};
|
|
96
111
|
});
|
|
97
112
|
}
|
|
98
|
-
function
|
|
99
|
-
|
|
113
|
+
function Ce(e, t) {
|
|
114
|
+
q((n) => {
|
|
100
115
|
let r = n.config.signRule;
|
|
101
116
|
r.sealType = t === !0 ? Array.from(new Set([...r.sealType, e])) : r.sealType.filter((t) => t !== e);
|
|
102
117
|
});
|
|
103
118
|
}
|
|
104
|
-
function
|
|
105
|
-
|
|
119
|
+
function Q(e, t) {
|
|
120
|
+
q((n) => {
|
|
106
121
|
n.config.signRule[e] = t === !0;
|
|
107
122
|
});
|
|
108
123
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
124
|
+
function $(e, t) {
|
|
125
|
+
q((n) => {
|
|
111
126
|
let r = n.config.signRule;
|
|
112
127
|
r[e] = t === !0, t === !0 && (e === "noneVerify" ? (r.smsVerify = !1, r.faceVerify = !1, r.passwordVerify = !1) : r.noneVerify = !1);
|
|
113
128
|
});
|
|
114
129
|
}
|
|
115
|
-
function
|
|
116
|
-
let e =
|
|
130
|
+
function we() {
|
|
131
|
+
let e = J();
|
|
117
132
|
return e ? e.mustSeal ? "必须印章" : e.cannotSignature ? "仅印章" : e.cannotSeal ? "仅签名" : "签名可选" : "未配置";
|
|
118
133
|
}
|
|
119
|
-
|
|
134
|
+
let Te = a(() => {
|
|
135
|
+
let e = J();
|
|
136
|
+
return e ? _e.filter((t) => e[t] === !0).length : 0;
|
|
137
|
+
});
|
|
138
|
+
function Ee(e) {
|
|
120
139
|
return e === "sign" ? "签署节点" : e === "start" ? "开始节点" : e === "end" ? "结束节点" : "异常节点";
|
|
121
140
|
}
|
|
122
|
-
return (
|
|
123
|
-
default:
|
|
141
|
+
return (a, m) => (p(), c("aside", ce, [f.node ? (p(), c(i, { key: 0 }, [l("header", le, [l("div", null, [m[15] ||= l("h2", null, "节点配置", -1), l("p", null, h(f.node.name || "未命名节点"), 1)]), d(g(C), { color: f.node.type === "sign" ? "blue" : void 0 }, {
|
|
142
|
+
default: _(() => [u(h(Ee(f.node.type)), 1)]),
|
|
124
143
|
_: 1
|
|
125
|
-
}, 8, ["color"])]),
|
|
126
|
-
|
|
144
|
+
}, 8, ["color"])]), l("div", ue, [f.node.type === "sign" ? (p(), c(i, { key: 0 }, [
|
|
145
|
+
l("section", de, [m[16] ||= l("div", { class: "gd-contract-signing-flow__section-heading" }, [l("h3", null, "基础信息")], -1), d(g(oe), {
|
|
127
146
|
layout: "vertical",
|
|
128
147
|
class: "gd-contract-signing-flow__form"
|
|
129
148
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
132
|
-
default:
|
|
133
|
-
value:
|
|
134
|
-
disabled:
|
|
149
|
+
default: _(() => [
|
|
150
|
+
d(g(y), { label: "节点名称" }, {
|
|
151
|
+
default: _(() => [d(g(b), {
|
|
152
|
+
value: f.node.name,
|
|
153
|
+
disabled: G.value,
|
|
135
154
|
placeholder: "请输入节点名称",
|
|
136
|
-
"onUpdate:value":
|
|
155
|
+
"onUpdate:value": m[0] ||= (e) => Z("name", String(e))
|
|
137
156
|
}, null, 8, ["value", "disabled"])]),
|
|
138
157
|
_: 1
|
|
139
158
|
}),
|
|
140
|
-
|
|
141
|
-
default:
|
|
142
|
-
value:
|
|
143
|
-
disabled:
|
|
159
|
+
d(g(y), { label: "节点标识" }, {
|
|
160
|
+
default: _(() => [d(g(b), {
|
|
161
|
+
value: f.node.customKey || "",
|
|
162
|
+
disabled: G.value,
|
|
144
163
|
placeholder: "请输入唯一标识",
|
|
145
|
-
"onUpdate:value":
|
|
164
|
+
"onUpdate:value": m[1] ||= (e) => Z("customKey", String(e))
|
|
146
165
|
}, null, 8, ["value", "disabled"])]),
|
|
147
166
|
_: 1
|
|
148
167
|
}),
|
|
149
|
-
|
|
150
|
-
default:
|
|
151
|
-
value:
|
|
152
|
-
disabled:
|
|
168
|
+
d(g(y), { label: "节点描述" }, {
|
|
169
|
+
default: _(() => [d(g(b).TextArea, {
|
|
170
|
+
value: f.node.description || "",
|
|
171
|
+
disabled: G.value,
|
|
153
172
|
"auto-size": {
|
|
154
173
|
minRows: 2,
|
|
155
174
|
maxRows: 4
|
|
156
175
|
},
|
|
157
176
|
placeholder: "请输入节点描述",
|
|
158
|
-
"onUpdate:value":
|
|
177
|
+
"onUpdate:value": m[2] ||= (e) => Z("description", String(e))
|
|
159
178
|
}, null, 8, ["value", "disabled"])]),
|
|
160
179
|
_: 1
|
|
161
180
|
})
|
|
162
181
|
]),
|
|
163
182
|
_: 1
|
|
164
183
|
})]),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
value:
|
|
169
|
-
options:
|
|
184
|
+
l("section", fe, [
|
|
185
|
+
m[18] ||= l("div", { class: "gd-contract-signing-flow__section-heading" }, [l("h3", null, "签署主体")], -1),
|
|
186
|
+
d(g(se), {
|
|
187
|
+
value: f.node.identity,
|
|
188
|
+
options: ve,
|
|
170
189
|
"option-type": "button",
|
|
171
190
|
"button-style": "solid",
|
|
172
|
-
disabled:
|
|
173
|
-
"onUpdate:value":
|
|
191
|
+
disabled: G.value,
|
|
192
|
+
"onUpdate:value": be
|
|
174
193
|
}, null, 8, ["value", "disabled"]),
|
|
175
|
-
|
|
176
|
-
checked:
|
|
177
|
-
disabled:
|
|
194
|
+
l("div", pe, [l("div", me, [m[17] ||= l("div", null, [l("strong", null, "多人签署"), l("span", null, "允许多位签署人共同完成该节点")], -1), d(g(S), {
|
|
195
|
+
checked: f.node.multi,
|
|
196
|
+
disabled: G.value,
|
|
178
197
|
size: "small",
|
|
179
|
-
"onUpdate:checked":
|
|
180
|
-
}, null, 8, ["checked", "disabled"])]),
|
|
198
|
+
"onUpdate:checked": xe
|
|
199
|
+
}, null, 8, ["checked", "disabled"])]), f.node.multi ? (p(), o(g(y), {
|
|
181
200
|
key: 0,
|
|
182
201
|
label: "完成条件",
|
|
183
202
|
class: "gd-contract-signing-flow__inline-form-item"
|
|
184
203
|
}, {
|
|
185
|
-
default:
|
|
186
|
-
value:
|
|
187
|
-
options:
|
|
188
|
-
disabled:
|
|
189
|
-
"onUpdate:value":
|
|
204
|
+
default: _(() => [d(g(x), {
|
|
205
|
+
value: f.node.multiCompletedCondition?.type,
|
|
206
|
+
options: ye,
|
|
207
|
+
disabled: G.value,
|
|
208
|
+
"onUpdate:value": Se
|
|
190
209
|
}, null, 8, ["value", "disabled"])]),
|
|
191
210
|
_: 1
|
|
192
|
-
})) :
|
|
211
|
+
})) : s("", !0)])
|
|
193
212
|
]),
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
default:
|
|
213
|
+
l("section", w, [
|
|
214
|
+
l("div", T, [m[19] ||= l("h3", null, "签署规则", -1), d(g(C), { color: "blue" }, {
|
|
215
|
+
default: _(() => [u(h(we()), 1)]),
|
|
197
216
|
_: 1
|
|
198
217
|
})]),
|
|
199
|
-
|
|
200
|
-
default:
|
|
201
|
-
value:
|
|
202
|
-
options:
|
|
203
|
-
disabled:
|
|
204
|
-
"onUpdate:value":
|
|
218
|
+
l("div", E, [d(g(y), { label: "个人签名" }, {
|
|
219
|
+
default: _(() => [d(g(x), {
|
|
220
|
+
value: Y("signature"),
|
|
221
|
+
options: K,
|
|
222
|
+
disabled: G.value,
|
|
223
|
+
"onUpdate:value": m[3] ||= (e) => X("signature", e)
|
|
205
224
|
}, null, 8, ["value", "disabled"])]),
|
|
206
225
|
_: 1
|
|
207
|
-
}),
|
|
226
|
+
}), f.node.identity === "company" ? (p(), o(g(y), {
|
|
208
227
|
key: 0,
|
|
209
228
|
label: "企业印章"
|
|
210
229
|
}, {
|
|
211
|
-
default:
|
|
212
|
-
value:
|
|
213
|
-
options:
|
|
214
|
-
disabled:
|
|
215
|
-
"onUpdate:value":
|
|
230
|
+
default: _(() => [d(g(x), {
|
|
231
|
+
value: Y("seal"),
|
|
232
|
+
options: K,
|
|
233
|
+
disabled: G.value,
|
|
234
|
+
"onUpdate:value": m[4] ||= (e) => X("seal", e)
|
|
216
235
|
}, null, 8, ["value", "disabled"])]),
|
|
217
236
|
_: 1
|
|
218
|
-
})) :
|
|
219
|
-
|
|
237
|
+
})) : s("", !0)]),
|
|
238
|
+
f.node.identity === "company" && !J()?.cannotSeal ? (p(), c("div", D, [m[20] ||= l("span", { class: "gd-contract-signing-flow__field-label" }, "允许的印章类型", -1), l("div", O, [(p(!0), c(i, null, te(g(r), (e) => (p(), o(g(ae), {
|
|
220
239
|
key: e.value,
|
|
221
|
-
checked:
|
|
222
|
-
disabled:
|
|
223
|
-
"onUpdate:checked": (t) =>
|
|
240
|
+
checked: J()?.sealType.includes(e.value),
|
|
241
|
+
disabled: G.value,
|
|
242
|
+
"onUpdate:checked": (t) => Ce(e.value, t)
|
|
224
243
|
}, {
|
|
225
|
-
default:
|
|
244
|
+
default: _(() => [u(h(e.label), 1)]),
|
|
226
245
|
_: 2
|
|
227
246
|
}, 1032, [
|
|
228
247
|
"checked",
|
|
229
248
|
"disabled",
|
|
230
249
|
"onUpdate:checked"
|
|
231
|
-
]))), 128))])])) :
|
|
250
|
+
]))), 128))])])) : s("", !0)
|
|
232
251
|
]),
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
252
|
+
l("section", { class: ee(["gd-contract-signing-flow__form-section", { "is-collapsed": !U.value }]) }, [l("button", {
|
|
253
|
+
type: "button",
|
|
254
|
+
class: "gd-contract-signing-flow__section-heading is-toggle",
|
|
255
|
+
onClick: m[5] ||= (e) => U.value = !U.value
|
|
256
|
+
}, [m[21] ||= l("h3", null, "验证与权限", -1), l("span", k, [U.value ? s("", !0) : (p(), o(g(C), { key: 0 }, {
|
|
257
|
+
default: _(() => [u("已开启 " + h(Te.value) + " 项", 1)]),
|
|
258
|
+
_: 1
|
|
259
|
+
})), U.value ? (p(), o(g(e), { key: 2 })) : (p(), o(g(n), { key: 1 }))])]), re(l("div", A, [
|
|
260
|
+
l("div", j, [m[22] ||= l("span", null, "短信验证", -1), d(g(S), {
|
|
261
|
+
checked: J()?.smsVerify,
|
|
262
|
+
disabled: G.value,
|
|
237
263
|
size: "small",
|
|
238
|
-
"onUpdate:checked":
|
|
264
|
+
"onUpdate:checked": m[6] ||= (e) => $("smsVerify", e)
|
|
239
265
|
}, null, 8, ["checked", "disabled"])]),
|
|
240
|
-
|
|
241
|
-
checked:
|
|
242
|
-
disabled:
|
|
266
|
+
l("div", M, [m[23] ||= l("span", null, "人脸验证", -1), d(g(S), {
|
|
267
|
+
checked: J()?.faceVerify,
|
|
268
|
+
disabled: G.value,
|
|
243
269
|
size: "small",
|
|
244
|
-
"onUpdate:checked":
|
|
270
|
+
"onUpdate:checked": m[7] ||= (e) => $("faceVerify", e)
|
|
245
271
|
}, null, 8, ["checked", "disabled"])]),
|
|
246
|
-
|
|
247
|
-
checked:
|
|
248
|
-
disabled:
|
|
272
|
+
l("div", N, [m[24] ||= l("span", null, "密码验证", -1), d(g(S), {
|
|
273
|
+
checked: J()?.passwordVerify,
|
|
274
|
+
disabled: G.value,
|
|
249
275
|
size: "small",
|
|
250
|
-
"onUpdate:checked":
|
|
276
|
+
"onUpdate:checked": m[8] ||= (e) => $("passwordVerify", e)
|
|
251
277
|
}, null, 8, ["checked", "disabled"])]),
|
|
252
|
-
|
|
253
|
-
checked:
|
|
254
|
-
disabled:
|
|
278
|
+
l("div", P, [m[25] ||= l("span", null, "免验证", -1), d(g(S), {
|
|
279
|
+
checked: J()?.noneVerify,
|
|
280
|
+
disabled: G.value,
|
|
255
281
|
size: "small",
|
|
256
|
-
"onUpdate:checked":
|
|
282
|
+
"onUpdate:checked": m[9] ||= (e) => $("noneVerify", e)
|
|
257
283
|
}, null, 8, ["checked", "disabled"])]),
|
|
258
|
-
|
|
259
|
-
checked:
|
|
260
|
-
disabled:
|
|
284
|
+
l("div", F, [m[26] ||= l("span", null, "允许拒签", -1), d(g(S), {
|
|
285
|
+
checked: J()?.refuseFunctionEnable,
|
|
286
|
+
disabled: G.value,
|
|
261
287
|
size: "small",
|
|
262
|
-
"onUpdate:checked":
|
|
288
|
+
"onUpdate:checked": m[10] ||= (e) => Q("refuseFunctionEnable", e)
|
|
263
289
|
}, null, 8, ["checked", "disabled"])]),
|
|
264
|
-
|
|
265
|
-
checked:
|
|
266
|
-
disabled:
|
|
290
|
+
l("div", I, [m[27] ||= l("span", null, "批量签署", -1), d(g(S), {
|
|
291
|
+
checked: J()?.batchFunctionEnable,
|
|
292
|
+
disabled: G.value,
|
|
267
293
|
size: "small",
|
|
268
|
-
"onUpdate:checked":
|
|
294
|
+
"onUpdate:checked": m[11] ||= (e) => Q("batchFunctionEnable", e)
|
|
269
295
|
}, null, 8, ["checked", "disabled"])]),
|
|
270
|
-
|
|
271
|
-
checked:
|
|
272
|
-
disabled:
|
|
296
|
+
l("div", L, [m[28] ||= l("span", null, "骑缝章", -1), d(g(S), {
|
|
297
|
+
checked: J()?.perforationSealEnable,
|
|
298
|
+
disabled: G.value || f.node.identity !== "company",
|
|
273
299
|
size: "small",
|
|
274
|
-
"onUpdate:checked":
|
|
300
|
+
"onUpdate:checked": m[12] ||= (e) => Q("perforationSealEnable", e)
|
|
275
301
|
}, null, 8, ["checked", "disabled"])]),
|
|
276
|
-
|
|
277
|
-
checked:
|
|
278
|
-
disabled:
|
|
302
|
+
l("div", R, [m[29] ||= l("span", null, "禁止额外签署位置", -1), d(g(S), {
|
|
303
|
+
checked: J()?.cannotExtraLocations,
|
|
304
|
+
disabled: G.value,
|
|
279
305
|
size: "small",
|
|
280
|
-
"onUpdate:checked":
|
|
306
|
+
"onUpdate:checked": m[13] ||= (e) => Q("cannotExtraLocations", e)
|
|
281
307
|
}, null, 8, ["checked", "disabled"])])
|
|
282
|
-
])]),
|
|
283
|
-
s("section",
|
|
284
|
-
default:
|
|
308
|
+
], 512), [[ne, U.value]])], 2),
|
|
309
|
+
f.showPlacement === !1 ? s("", !0) : (p(), c("section", z, [l("div", B, [m[30] ||= l("div", null, [l("h3", null, "签署位置"), l("p", null, "由业务侧位置编辑器配置并回填")], -1), d(g(C), null, {
|
|
310
|
+
default: _(() => [u(h(f.node.config.locationRules?.length || 0) + " 个", 1)]),
|
|
285
311
|
_: 1
|
|
286
|
-
})]),
|
|
312
|
+
})]), d(g(ie), {
|
|
287
313
|
block: "",
|
|
288
|
-
disabled:
|
|
289
|
-
onClick:
|
|
314
|
+
disabled: f.disabled,
|
|
315
|
+
onClick: m[14] ||= (e) => W("placementRequest")
|
|
290
316
|
}, {
|
|
291
|
-
icon:
|
|
292
|
-
default:
|
|
317
|
+
icon: _(() => [d(g(t))]),
|
|
318
|
+
default: _(() => [m[31] ||= u("设置签署位置", -1)]),
|
|
293
319
|
_: 1
|
|
294
|
-
}, 8, ["disabled"])])
|
|
295
|
-
], 64)) : (
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
default:
|
|
320
|
+
}, 8, ["disabled"])]))
|
|
321
|
+
], 64)) : (p(), c("section", he, [
|
|
322
|
+
l("div", ge, h(f.node.type === "start" ? "始" : f.node.type === "end" ? "终" : "!"), 1),
|
|
323
|
+
l("h3", null, h(f.node.type === "start" ? "流程入口" : f.node.type === "end" ? "流程出口" : "异常节点"), 1),
|
|
324
|
+
l("p", null, h(f.node.description || "该节点仅用于展示,不能编辑。"), 1),
|
|
325
|
+
d(g(C), null, {
|
|
326
|
+
default: _(() => [u(h(f.node.key), 1)]),
|
|
301
327
|
_: 1
|
|
302
328
|
})
|
|
303
|
-
]))])], 64)) : (
|
|
329
|
+
]))])], 64)) : (p(), o(g(v), {
|
|
304
330
|
key: 1,
|
|
305
331
|
class: "gd-contract-signing-flow__empty-inspector",
|
|
306
|
-
image:
|
|
332
|
+
image: g(v).PRESENTED_IMAGE_SIMPLE,
|
|
307
333
|
description: "请选择一个节点"
|
|
308
334
|
}, null, 8, ["image"]))]));
|
|
309
335
|
}
|