xc-computent 0.3.0 → 0.3.2

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/computent.js CHANGED
@@ -1,313 +1,56 @@
1
- import { defineComponent as P, openBlock as e, createElementBlock as c, normalizeClass as _s, createCommentVNode as r, renderSlot as Z, createElementVNode as o, resolveComponent as es, createVNode as Xs, mergeProps as Ys, createSlots as Zs, renderList as ds, withCtx as y, normalizeProps as ms, guardReactiveProps as so, computed as Y, unref as $, createBlock as p, normalizeStyle as oo, ref as cs, Fragment as os, toDisplayString as n, createTextVNode as k, withModifiers as U, resolveDynamicComponent as rs, pushScopeId as eo, popScopeId as no } from "vue";
2
- import { ElIcon as to } from "element-plus";
3
- import { createTypes as lo } from "vue-types";
4
- import { Icon as ao } from "@iconify/vue";
5
- const co = ["disabled"], ro = {
6
- key: 0,
7
- class: "comp-btn__spinner"
8
- }, _o = {
9
- key: 1,
10
- class: "comp-btn__icon"
11
- }, po = { class: "comp-btn__content" }, uo = /* @__PURE__ */ P({
12
- __name: "Button",
13
- props: {
14
- variant: { default: "primary" },
15
- size: { default: "md" },
16
- loading: { type: Boolean, default: !1 },
17
- disabled: { type: Boolean, default: !1 }
18
- },
19
- emits: ["click"],
20
- setup(a, { emit: d }) {
21
- const u = a, t = d, f = (_) => {
22
- !u.disabled && !u.loading && t("click", _);
23
- };
24
- return (_, C) => (e(), c("button", {
25
- class: _s([
26
- "comp-btn",
27
- `comp-btn--${_.variant}`,
28
- `comp-btn--${_.size}`,
29
- {
30
- "comp-btn--loading": _.loading,
31
- "comp-btn--disabled": _.disabled || _.loading
32
- }
33
- ]),
34
- disabled: _.disabled || _.loading,
35
- onClick: f
36
- }, [
37
- _.loading ? (e(), c("span", ro)) : r("", !0),
38
- _.$slots.icon && !_.loading ? (e(), c("span", _o, [
39
- Z(_.$slots, "icon", {}, void 0, !0)
40
- ])) : r("", !0),
41
- o("span", po, [
42
- Z(_.$slots, "default", {}, void 0, !0)
43
- ])
44
- ], 10, co));
45
- }
46
- }), ts = (a, d) => {
47
- const u = a.__vccOpts || a;
48
- for (const [t, f] of d)
49
- u[t] = f;
50
- return u;
51
- }, fo = /* @__PURE__ */ ts(uo, [["__scopeId", "data-v-7c40bef2"]]), yo = {
52
- key: 0,
53
- class: "comp-badge__dot"
54
- }, io = { class: "comp-badge__content" }, ho = /* @__PURE__ */ P({
55
- __name: "Badge",
56
- props: {
57
- type: { default: "default" },
58
- variant: { default: "subtle" },
59
- dot: { type: Boolean, default: !1 }
60
- },
61
- setup(a) {
62
- return (d, u) => (e(), c("span", {
63
- class: _s([
64
- "comp-badge",
65
- `comp-badge--${d.type}`,
66
- `comp-badge--${d.variant}`,
67
- { "comp-badge--has-dot": d.dot }
68
- ])
69
- }, [
70
- d.dot ? (e(), c("span", yo)) : r("", !0),
71
- o("span", io, [
72
- Z(d.$slots, "default", {}, void 0, !0)
73
- ])
74
- ], 2));
75
- }
76
- }), wo = /* @__PURE__ */ ts(ho, [["__scopeId", "data-v-158f78af"]]), bo = { class: "comp-input-wrapper" }, vo = /* @__PURE__ */ P({
77
- __name: "Input",
78
- props: {
79
- size: { default: "default" },
80
- placeholder: { default: "Please enter..." }
81
- },
82
- setup(a) {
83
- return (d, u) => {
84
- const t = es("el-input");
85
- return e(), c("div", bo, [
86
- Xs(t, Ys(d.$attrs, {
87
- size: d.size,
88
- placeholder: d.placeholder,
89
- class: "comp-el-input"
90
- }), Zs({ _: 2 }, [
91
- ds(d.$slots, (f, _) => ({
92
- name: _,
93
- fn: y((C) => [
94
- Z(d.$slots, _, ms(so(C || {})), void 0, !0)
95
- ])
96
- }))
97
- ]), 1040, ["size", "placeholder"])
98
- ]);
99
- };
100
- }
101
- }), xo = /* @__PURE__ */ ts(vo, [["__scopeId", "data-v-e8d4db36"]]), ko = {
102
- // 转移
103
- "xc-revert": "grommet-icons:revert",
104
- // 进度
105
- "xc-progress": "nrk:progress",
106
- // 上传
107
- "xc-upload": "bytesize:upload",
108
- // 下载
109
- "xc-download": "bytesize:download",
110
- // 授权
111
- "xc-author": "hugeicons:authorized",
112
- // 黑名单
113
- "xc-lock": "hugeicons:folder-locked",
114
- // 解除
115
- "xc-unlock": "hugeicons:folder-unlocked",
116
- // 设置
117
- "xc-setting": "uil:setting",
118
- // 链接
119
- "xc-link": "material-symbols:link",
120
- // 取消
121
- "xc-cancel": "mdi:cancel-circle-outline",
122
- // 上架
123
- "xc-shelves": "material-symbols:shelves",
124
- // 结算
125
- "xc-settle": "f7:money-yen-circle",
126
- // 开票
127
- "xc-invoice": "hugeicons:money-add-02",
128
- // 取消开票
129
- "xc-cancel-invoice": "hugeicons:money-not-found-03",
130
- // 启用
131
- "xc-start-use": "formkit:start",
132
- // 减量
133
- "xc-reduce": "icon-park-outline:reduce",
134
- // 通过
135
- "xc-pass": "codicon:pass",
136
- //失效
137
- "xc-expire": "pajamas:expire",
138
- //暂停
139
- "xc-pause": "tabler:clock-pause",
140
- //审核
141
- "xc-review": "mdi:account-check-outline"
142
- }, go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
143
- __proto__: null,
144
- iconMap: ko
145
- }, Symbol.toStringTag, { value: "Module" })), Co = {
146
- // 新增
147
- "xc-add": "bi:plus-lg",
148
- // 编辑
149
- "xc-edit": "bi:pencil-square",
150
- // 删除
151
- "xc-delete": "bi:trash",
152
- // 复制
153
- "xc-copy": "bi:copy",
154
- // 详情
155
- "xc-file": "bi:file-earmark-text",
156
- // 搜索
157
- "xc-search": "bi:search",
158
- // 重置
159
- "xc-reset": "bi:arrow-repeat",
160
- // 更多
161
- "xc-more": "icon-park-outline:more-two",
162
- // 查看
163
- "xc-view": "hugeicons:property-view",
164
- // 导出
165
- "xc-export": "bx:export",
166
- // 刷新
167
- "xc-refresh": "bi:arrow-clockwise",
168
- // 问号
169
- "xc-question": "mage:question-mark-circle-fill"
170
- };
171
- function Fo() {
172
- const a = /* @__PURE__ */ Object.assign({ "./modules/publicWelfare.ts": go }), d = {};
173
- for (const u of Object.values(a))
174
- Object.assign(d, u.iconMap || {});
175
- return Object.assign(d, Co), d;
176
- }
177
- const ns = lo({
178
- func: void 0,
179
- bool: void 0,
180
- string: void 0,
181
- number: void 0,
182
- object: void 0,
183
- integer: void 0
184
- });
185
- ns.extend([
186
- {
187
- name: "style",
188
- getter: !0,
189
- type: [String, Object],
190
- default: void 0
191
- }
192
- ]);
193
- const $o = "v", To = "el", Po = {
194
- namespace: $o,
195
- elNamespace: To
196
- }, zo = () => {
197
- const a = Po;
198
- return {
199
- variables: a,
200
- getPrefixCls: (u) => `${a.namespace}-${u}`
201
- };
202
- }, Io = {
203
- key: 0,
204
- "aria-hidden": "true"
205
- }, So = ["xlink:href"], Do = /* @__PURE__ */ P({
206
- __name: "Icon",
207
- props: {
208
- // icon name
209
- icon: ns.string,
210
- // icon color
211
- color: ns.string,
212
- // icon size
213
- size: ns.number.def(16)
214
- },
215
- setup(a) {
216
- const { getPrefixCls: d } = zo(), u = d("icon"), t = a, f = Y(() => t.icon.startsWith("svg-icon:")), _ = Y(() => $(f) ? `#icon-${t.icon.split("svg-icon:")[1]}` : t.icon), C = Y(() => {
217
- const { color: T, size: z } = t;
218
- return {
219
- fontSize: `${z}px`,
220
- color: T
221
- };
222
- });
223
- return (T, z) => (e(), p($(to), {
224
- class: _s($(u)),
225
- size: a.size,
226
- color: a.color
227
- }, {
228
- default: y(() => [
229
- f.value ? (e(), c("svg", Io, [
230
- o("use", { "xlink:href": _.value }, null, 8, So)
231
- ])) : (e(), p($(ao), {
232
- key: 1,
233
- icon: _.value,
234
- style: oo(C.value)
235
- }, null, 8, ["icon", "style"]))
236
- ]),
237
- _: 1
238
- }, 8, ["class", "size", "color"]));
239
- }
240
- }), X = P({
241
- name: "IconMap",
242
- inheritAttrs: !1,
243
- props: {
244
- icon: {
245
- type: String,
246
- default: ""
247
- },
248
- size: {
249
- type: Number,
250
- default: null
251
- }
252
- },
253
- setup(a, { attrs: d }) {
254
- const u = Fo(), t = Y(() => u[a.icon] || a.icon), f = Y(
255
- () => a.size ? a.size : u[a.icon] ? 12 : 16
256
- );
257
- return () => /* @__PURE__ */ React.createElement(Do, { icon: t.value, size: f.value, ...d });
258
- }
259
- }), i = (a) => (eo("data-v-85a8dd58"), a = a(), no(), a), Mo = { class: "flex-between-center-display" }, Lo = { class: "mr-2 text-16px font-500" }, Bo = { class: "flex items-center" }, No = {
1
+ import { defineComponent as Hs, ref as m, resolveComponent as ss, openBlock as n, createElementBlock as _, Fragment as U, renderList as js, createBlock as p, withCtx as d, createElementVNode as o, toDisplayString as l, createCommentVNode as a, createTextVNode as x, renderSlot as q, withModifiers as A, resolveDynamicComponent as os, pushScopeId as Js, popScopeId as Ks } from "vue";
2
+ const c = (w) => (Js("data-v-77a90086"), w = w(), Ks(), w), Qs = { class: "flex justify-between items-center" }, Us = { class: "mr-2 text-16px font-500" }, Ws = { class: "flex items-center" }, Xs = {
260
3
  key: 1,
261
4
  class: "text-14px text-[#acb0b7] mr-2"
262
- }, jo = {
5
+ }, Ys = {
263
6
  key: 2,
264
7
  class: "text-14px text-[#acb0b7] mr-2"
265
- }, Oo = { class: "flex items-center" }, Ro = { class: "w-120px mr-4" }, Vo = { class: "text-14px font-400" }, Eo = { class: "mr-2 container_old flex-1 min-w-0" }, qo = { class: "text-12px" }, Go = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程ID:"), -1)), Wo = { style: { "font-size": "13px" } }, Ao = { class: "text-12px" }, Ho = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程名称:"), -1)), Jo = { style: { "line-height": "16px" } }, Ko = { class: "text-12px" }, Qo = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("流程类型:"), -1)), Uo = { key: 0 }, Xo = { key: 1 }, Yo = {
8
+ }, Zs = ["onClick"], is = { class: "flex items-center" }, ms = { class: "w-120px mr-4" }, so = { class: "text-14px font-400" }, oo = { class: "mr-2 container_old flex-1 min-w-0" }, lo = { class: "text-12px" }, no = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("流程ID:"), -1)), to = { style: { "font-size": "13px" } }, eo = { class: "text-12px" }, ao = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("流程名称:"), -1)), _o = { style: { "line-height": "16px" } }, co = { class: "text-12px" }, po = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("流程类型:"), -1)), ro = { key: 0 }, uo = { key: 1 }, yo = {
266
9
  key: 0,
267
10
  class: "text-12px"
268
- }, Zo = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同编号:"), -1)), mo = {
11
+ }, fo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("合同编号:"), -1)), wo = {
269
12
  key: 1,
270
13
  class: "text-12px"
271
- }, se = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("企业名称:"), -1)), oe = { style: { "line-height": "14px" } }, ee = {
14
+ }, ho = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("企业名称:"), -1)), xo = { style: { "line-height": "14px" } }, vo = {
272
15
  key: 0,
273
16
  class: "text-12px"
274
- }, ne = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), te = { style: { "font-size": "13px" } }, le = {
17
+ }, ko = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约类型:"), -1)), bo = { style: { "font-size": "13px" } }, Fo = {
275
18
  key: 1,
276
19
  class: "text-12px"
277
- }, ae = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), ce = { style: { "font-size": "13px" } }, re = {
20
+ }, Co = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约类型:"), -1)), go = { style: { "font-size": "13px" } }, To = {
278
21
  key: 2,
279
22
  class: "text-12px"
280
- }, de = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), _e = { style: { "font-size": "13px" } }, pe = {
23
+ }, Po = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约类型:"), -1)), Do = { style: { "font-size": "13px" } }, So = {
281
24
  key: 3,
282
25
  class: "text-12px"
283
- }, ue = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), fe = { style: { "font-size": "13px" } }, ye = {
26
+ }, Lo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约类型:"), -1)), $o = { style: { "font-size": "13px" } }, Io = {
284
27
  key: 4,
285
28
  class: "text-12px"
286
- }, ie = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), he = { style: { "font-size": "13px" } }, we = {
29
+ }, Mo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("合同类型:"), -1)), zo = { style: { "font-size": "13px" } }, No = {
287
30
  key: 3,
288
31
  class: "text-12px"
289
- }, be = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("标准:"), -1)), ve = { style: { "line-height": "18px" } }, xe = {
32
+ }, Ro = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("标准:"), -1)), Bo = { style: { "line-height": "18px" } }, Vo = {
290
33
  key: 4,
291
34
  class: "text-12px"
292
- }, ke = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前流转时间:"), -1)), ge = {
35
+ }, jo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("当前流转时间:"), -1)), Eo = {
293
36
  key: 5,
294
37
  class: "text-12px"
295
- }, Ce = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前审批人:"), -1)), Fe = {
38
+ }, Go = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("当前审批人:"), -1)), Oo = {
296
39
  key: 6,
297
40
  class: "text-12px"
298
- }, $e = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), Te = {
41
+ }, qo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("合同类型:"), -1)), Ao = {
299
42
  key: 7,
300
43
  class: "text-12px"
301
- }, Pe = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约方式:"), -1)), ze = {
44
+ }, Ho = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约方式:"), -1)), Jo = {
302
45
  key: 8,
303
46
  class: "text-12px"
304
- }, Ie = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("那方先签约:"), -1)), Se = { class: "flex-between-center-display" }, De = { class: "mr-2 text-16px font-500" }, Me = { class: "flex items-center" }, Le = {
47
+ }, Ko = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("那方先签约:"), -1)), Qo = { class: "flex justify-between items-center" }, Uo = { class: "mr-2 text-16px font-500" }, Wo = { class: "flex items-center" }, Xo = {
305
48
  key: 0,
306
49
  class: "text-14px text-[#acb0b7] mr-2"
307
- }, Be = {
50
+ }, Yo = {
308
51
  key: 1,
309
52
  class: "text-14px text-[#acb0b7] mr-2"
310
- }, Ne = { class: "flex items-center" }, je = { class: "w-120px mr-4 flex items-center" }, Oe = { class: "text-14px font-400" }, Re = { class: "mr-2 container_old flex-1 min-w-0" }, Ve = /* @__PURE__ */ P({
53
+ }, Zo = ["onClick"], io = { class: "flex items-center" }, mo = { class: "w-120px mr-4 flex items-center" }, sl = { class: "text-14px font-400" }, ol = { class: "mr-2 container_old flex-1 min-w-0" }, ll = /* @__PURE__ */ Hs({
311
54
  __name: "ToDoCard",
312
55
  props: {
313
56
  countList: { default: () => [] },
@@ -334,314 +77,310 @@ const $o = "v", To = "el", Po = {
334
77
  "expedite",
335
78
  "details"
336
79
  ],
337
- setup(a, { expose: d, emit: u }) {
338
- const t = a, f = u, _ = cs(null), C = cs(null), T = cs(), z = (l, g) => t.isDeleteFn ? t.isDeleteFn(l, g) : !1, ps = (l, g, b) => t.showFormTitleFn ? t.showFormTitleFn(l, g, b) : !1, I = (l) => t.formatTimeFn ? t.formatTimeFn(l) : String(l || ""), m = (l) => t.statusTypeMap[l] || { type: "", status: "" }, ss = (l) => t.statusTypeNormalMap[l] || { type: "", status: "" }, Hs = (l) => t.contractTypeLabelMap[l] || "-", Js = (l) => t.contractTypeMap[l] || "-", Ks = (l) => {
339
- const g = t.flowPathTypeList.find((b) => b.value === l);
340
- return g ? g.label : "-";
341
- }, ls = (l, g) => {
342
- T.value = l, f("details", { item: l, type: g }), l.is_old_flow ? _.value && (_.value.showFlag = !0) : C.value && (C.value.showFlag = !0);
343
- }, us = () => {
344
- f("getList");
345
- }, fs = () => {
346
- f("doScreen", 3, T.value.flow_id);
347
- }, Qs = (l) => {
348
- f("copy", l);
349
- }, ys = (l) => {
350
- f("delete", l);
351
- }, is = (l) => {
352
- f("expedite", l);
80
+ setup(w, { expose: W, emit: H }) {
81
+ const e = w, k = H, X = m(null), Y = m(null), J = m(), ls = (t, v) => e.isDeleteFn ? e.isDeleteFn(t, v) : !1, ns = (t, v, y) => e.showFormTitleFn ? e.showFormTitleFn(t, v, y) : !1, F = (t) => e.formatTimeFn ? e.formatTimeFn(t) : String(t || ""), K = (t) => e.statusTypeMap[t] || { type: "", status: "" }, Q = (t) => e.statusTypeNormalMap[t] || { type: "", status: "" }, Es = (t) => e.contractTypeLabelMap[t] || "-", Gs = (t) => e.contractTypeMap[t] || "-", Os = (t) => {
82
+ const v = e.flowPathTypeList.find((y) => y.value === t);
83
+ return v ? v.label : "-";
84
+ }, Z = (t, v) => {
85
+ J.value = t, k("details", { item: t, type: v }), t.is_old_flow ? X.value && (X.value.showFlag = !0) : Y.value && (Y.value.showFlag = !0);
86
+ }, ts = () => {
87
+ k("getList");
88
+ }, es = () => {
89
+ k("doScreen", 3, J.value.flow_id);
90
+ }, qs = (t) => {
91
+ k("copy", t);
92
+ }, as = (t) => {
93
+ k("delete", t);
94
+ }, _s = (t) => {
95
+ k("expedite", t);
353
96
  };
354
- return d({
355
- details: ls
356
- }), (l, g) => {
357
- const b = es("el-tag"), as = es("el-button"), hs = es("el-card");
358
- return e(), c("div", null, [
359
- (e(!0), c(os, null, ds(t.countList, (s, Us) => (e(), c(os, { key: Us }, [
360
- s != null && s.is_old_flow ? (e(), p(hs, {
97
+ return W({
98
+ details: Z
99
+ }), (t, v) => {
100
+ const y = ss("el-tag"), i = ss("el-button"), cs = ss("el-card");
101
+ return n(), _("div", null, [
102
+ (n(!0), _(U, null, js(e.countList, (s, As) => (n(), _(U, { key: As }, [
103
+ s != null && s.is_old_flow ? (n(), p(cs, {
361
104
  key: 0,
362
105
  shadow: "hover",
363
106
  class: "mb-1",
364
- onClick: (w) => ls(s, t.type)
107
+ onClick: (u) => Z(s, e.type)
365
108
  }, {
366
- header: y(() => {
367
- var w, x, h, S, D, M, L, B, N, j, O, R, V, E, q, G, W, A, H, J;
109
+ header: d(() => {
110
+ var u, h, r, C, g, T, P, D, S, L, $, I, M, z, N, R, B, V, j, E;
368
111
  return [
369
- o("div", Mo, [
112
+ o("div", Qs, [
370
113
  o("div", null, [
371
- o("span", Lo, n((w = s.old_flow) == null ? void 0 : w.flow_node_name), 1),
372
- (x = s.old_flow) != null && x.is_sign ? (e(), p(b, {
114
+ o("span", Us, l((u = s.old_flow) == null ? void 0 : u.flow_node_name), 1),
115
+ (h = s.old_flow) != null && h.is_sign ? (n(), p(y, {
373
116
  key: 0,
374
117
  type: "success",
375
118
  effect: "plain"
376
119
  }, {
377
- default: y(() => [
378
- k(" 已发起签约 ")
120
+ default: d(() => [
121
+ x(" 已发起签约 ")
379
122
  ]),
380
123
  _: 1
381
- })) : r("", !0),
382
- t.typeFlowPath === "抄送我的" && (s == null ? void 0 : s.copy_status) === 1 ? (e(), p($(X), {
124
+ })) : a("", !0),
125
+ e.typeFlowPath === "抄送我的" && (s == null ? void 0 : s.copy_status) === 1 ? q(t.$slots, "read-icon", {
383
126
  key: 1,
384
- class: "read",
385
- icon: "icon-park-solid:round",
386
- size: 5,
387
- style: { color: "red" }
388
- })) : r("", !0),
389
- t.typeFlowPath === "我发起的" && ((h = s == null ? void 0 : s.old_flow) == null ? void 0 : h.status) === 2 ? (e(), p(as, {
127
+ item: s
128
+ }, void 0, !0) : a("", !0),
129
+ e.typeFlowPath === "我发起的" && ((r = s == null ? void 0 : s.old_flow) == null ? void 0 : r.status) === 2 ? (n(), p(i, {
390
130
  key: 2,
391
131
  link: "",
392
132
  type: "primary",
393
- onClick: U((v) => is(s), ["stop"])
133
+ onClick: A((f) => _s(s), ["stop"])
394
134
  }, {
395
- default: y(() => [
396
- k(" 催办 ")
135
+ default: d(() => [
136
+ x(" 催办 ")
397
137
  ]),
398
138
  _: 2
399
- }, 1032, ["onClick"])) : r("", !0),
400
- t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
139
+ }, 1032, ["onClick"])) : a("", !0),
140
+ e.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (n(), p(y, {
401
141
  key: 3,
402
142
  effect: "plain",
403
143
  type: "danger"
404
144
  }, {
405
- default: y(() => [
406
- k(" 发起人已催办 ")
145
+ default: d(() => [
146
+ x(" 发起人已催办 ")
407
147
  ]),
408
148
  _: 1
409
- })) : r("", !0)
149
+ })) : a("", !0)
410
150
  ]),
411
- o("div", Bo, [
412
- (((S = s == null ? void 0 : s.old_flow) == null ? void 0 : S.business_type) === 1 && ((D = s == null ? void 0 : s.old_flow) == null ? void 0 : D.sign_type) !== 1 || [3, 8].includes((M = s == null ? void 0 : s.old_flow) == null ? void 0 : M.business_type) || ((L = s == null ? void 0 : s.old_flow) == null ? void 0 : L.business_type) === 2 && ((B = s == null ? void 0 : s.old_flow) == null ? void 0 : B.status) === 5 || [16, 10].includes((N = s == null ? void 0 : s.old_flow) == null ? void 0 : N.business_type) && [4, 5].includes((j = s == null ? void 0 : s.old_flow) == null ? void 0 : j.status)) && t.typeFlowPath === "我发起的" ? (e(), p(as, {
151
+ o("div", Ws, [
152
+ (((C = s == null ? void 0 : s.old_flow) == null ? void 0 : C.business_type) === 1 && ((g = s == null ? void 0 : s.old_flow) == null ? void 0 : g.sign_type) !== 1 || [3, 8].includes((T = s == null ? void 0 : s.old_flow) == null ? void 0 : T.business_type) || ((P = s == null ? void 0 : s.old_flow) == null ? void 0 : P.business_type) === 2 && ((D = s == null ? void 0 : s.old_flow) == null ? void 0 : D.status) === 5 || [16, 10].includes((S = s == null ? void 0 : s.old_flow) == null ? void 0 : S.business_type) && [4, 5].includes((L = s == null ? void 0 : s.old_flow) == null ? void 0 : L.status)) && e.typeFlowPath === "我发起的" ? (n(), p(i, {
413
153
  key: 0,
414
154
  link: "",
415
155
  type: "primary",
416
156
  class: "mr-2",
417
- onClick: U((v) => Qs(s == null ? void 0 : s.old_flow), ["stop"])
157
+ onClick: A((f) => qs(s == null ? void 0 : s.old_flow), ["stop"])
418
158
  }, {
419
- default: y(() => [
420
- k(" 一键复制 ")
159
+ default: d(() => [
160
+ x(" 一键复制 ")
421
161
  ]),
422
162
  _: 2
423
- }, 1032, ["onClick"])) : r("", !0),
424
- t.typeFlowPath === "抄送我的" ? (e(), c("div", No, n(I((V = (R = (O = s == null ? void 0 : s.old_flow) == null ? void 0 : O.copy_list) == null ? void 0 : R[0]) == null ? void 0 : V.copy_time)), 1)) : (e(), c("div", jo, n(I((E = s == null ? void 0 : s.old_flow) == null ? void 0 : E.submit_time)), 1)),
425
- t.typeFlowPath === "待我审批" ? (e(), p(b, {
163
+ }, 1032, ["onClick"])) : a("", !0),
164
+ e.typeFlowPath === "抄送我的" ? (n(), _("div", Xs, l(F((M = (I = ($ = s == null ? void 0 : s.old_flow) == null ? void 0 : $.copy_list) == null ? void 0 : I[0]) == null ? void 0 : M.copy_time)), 1)) : (n(), _("div", Ys, l(F((z = s == null ? void 0 : s.old_flow) == null ? void 0 : z.submit_time)), 1)),
165
+ e.typeFlowPath === "待我审批" ? (n(), p(y, {
426
166
  key: 3,
427
- type: (A = m(
428
- (W = (G = (q = s == null ? void 0 : s.old_flow) == null ? void 0 : q.node_list) == null ? void 0 : G[0]) == null ? void 0 : W.approval_status
429
- )) == null ? void 0 : A.type
167
+ type: (V = K(
168
+ (B = (R = (N = s == null ? void 0 : s.old_flow) == null ? void 0 : N.node_list) == null ? void 0 : R[0]) == null ? void 0 : B.approval_status
169
+ )) == null ? void 0 : V.type
430
170
  }, {
431
- default: y(() => {
432
- var v, F, K, Q;
171
+ default: d(() => {
172
+ var f, b, G, O;
433
173
  return [
434
- k(n((Q = m(
435
- (K = (F = (v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.node_list) == null ? void 0 : F[0]) == null ? void 0 : K.approval_status
436
- )) == null ? void 0 : Q.status), 1)
174
+ x(l((O = K(
175
+ (G = (b = (f = s == null ? void 0 : s.old_flow) == null ? void 0 : f.node_list) == null ? void 0 : b[0]) == null ? void 0 : G.approval_status
176
+ )) == null ? void 0 : O.status), 1)
437
177
  ];
438
178
  }),
439
179
  _: 2
440
- }, 1032, ["type"])) : (e(), p(b, {
180
+ }, 1032, ["type"])) : (n(), p(y, {
441
181
  key: 4,
442
- type: (J = ss((H = s == null ? void 0 : s.old_flow) == null ? void 0 : H.status)) == null ? void 0 : J.type
182
+ type: (E = Q((j = s == null ? void 0 : s.old_flow) == null ? void 0 : j.status)) == null ? void 0 : E.type
443
183
  }, {
444
- default: y(() => {
445
- var v, F;
184
+ default: d(() => {
185
+ var f, b;
446
186
  return [
447
- k(n((F = ss((v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.status)) == null ? void 0 : F.status), 1)
187
+ x(l((b = Q((f = s == null ? void 0 : s.old_flow) == null ? void 0 : f.status)) == null ? void 0 : b.status), 1)
448
188
  ];
449
189
  }),
450
190
  _: 2
451
191
  }, 1032, ["type"])),
452
- z(s, t.typeFlowPath) ? (e(), p($(X), {
192
+ ls(s, e.typeFlowPath) ? q(t.$slots, "delete-icon", {
453
193
  key: 5,
454
- class: "ml-2 cursor-pointer",
455
- icon: "material-symbols:delete-outline",
456
- size: 24,
457
- style: { color: "red" },
458
- onClick: U((v) => ys(s == null ? void 0 : s.old_flow), ["stop"])
459
- }, null, 8, ["onClick"])) : r("", !0)
194
+ item: s
195
+ }, () => [
196
+ o("span", {
197
+ class: "delete-btn ml-2 cursor-pointer",
198
+ onClick: A((f) => as(s == null ? void 0 : s.old_flow), ["stop"])
199
+ }, "🗑️", 8, Zs)
200
+ ], !0) : a("", !0)
460
201
  ])
461
202
  ])
462
203
  ];
463
204
  }),
464
- default: y(() => {
465
- var w, x, h, S, D, M, L, B, N, j, O, R, V, E, q, G, W, A, H, J, v, F, K, Q, ws, bs, vs, xs, ks, gs, Cs, Fs, $s, Ts, Ps, zs, Is, Ss, Ds, Ms, Ls, Bs, Ns, js, Os, Rs, Vs, Es, qs, Gs, Ws, As;
205
+ default: d(() => {
206
+ var u, h, r, C, g, T, P, D, S, L, $, I, M, z, N, R, B, V, j, E, f, b, G, O, ps, ds, rs, us, ys, fs, ws, hs, xs, vs, ks, bs, Fs, Cs, gs, Ts, Ps, Ds, Ss, Ls, $s, Is, Ms, zs, Ns, Rs, Bs, Vs;
466
207
  return [
467
- o("div", Oo, [
468
- o("div", Ro, [
469
- o("div", Vo, n("发起人:") + n((w = s == null ? void 0 : s.old_flow) == null ? void 0 : w.create_user_name), 1)
208
+ o("div", is, [
209
+ o("div", ms, [
210
+ o("div", so, l("发起人:") + l((u = s == null ? void 0 : s.old_flow) == null ? void 0 : u.create_user_name), 1)
470
211
  ]),
471
- o("div", Eo, [
472
- o("div", qo, [
473
- Go,
474
- o("span", Wo, n((s == null ? void 0 : s.flow_id) || ""), 1)
212
+ o("div", oo, [
213
+ o("div", lo, [
214
+ no,
215
+ o("span", to, l((s == null ? void 0 : s.flow_id) || ""), 1)
475
216
  ]),
476
- o("div", Ao, [
477
- Ho,
478
- o("span", Jo, n((x = s == null ? void 0 : s.old_flow) == null ? void 0 : x.flow_name), 1)
217
+ o("div", eo, [
218
+ ao,
219
+ o("span", _o, l((h = s == null ? void 0 : s.old_flow) == null ? void 0 : h.flow_name), 1)
479
220
  ]),
480
- o("div", Ko, [
481
- Qo,
482
- ((h = s == null ? void 0 : s.old_flow) == null ? void 0 : h.business_type) === 9 ? (e(), c("span", Uo, n((s == null ? void 0 : s.old_flow.sign_type) === 1 ? "新流程" : "补充店铺"), 1)) : (e(), c("span", Xo, n(s.template_type), 1))
221
+ o("div", co, [
222
+ po,
223
+ ((r = s == null ? void 0 : s.old_flow) == null ? void 0 : r.business_type) === 9 ? (n(), _("span", ro, l((s == null ? void 0 : s.old_flow.sign_type) === 1 ? "新流程" : "补充店铺"), 1)) : (n(), _("span", uo, l(s.template_type), 1))
483
224
  ]),
484
- ((S = s == null ? void 0 : s.old_flow) == null ? void 0 : S.business_type) === 1 || ((D = s == null ? void 0 : s.old_flow) == null ? void 0 : D.business_type) === 8 ? (e(), c("div", Yo, [
485
- Zo,
486
- o("span", null, n(s == null ? void 0 : s.old_flow.business_ctx.esign_contract_no), 1)
487
- ])) : r("", !0),
488
- [1, 16, 19].includes((M = s == null ? void 0 : s.old_flow) == null ? void 0 : M.business_type) ? (e(), c("div", mo, [
489
- se,
490
- o("span", oe, n((s == null ? void 0 : s.old_flow.business_ctx.company_name) || ((B = (L = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : L.company_info) == null ? void 0 : B.fp_company_name) || ((j = (N = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : N.personal_info) == null ? void 0 : j.name) || "-"), 1)
491
- ])) : r("", !0),
492
- ((O = s == null ? void 0 : s.old_flow) == null ? void 0 : O.business_type) !== 9 ? (e(), c(os, { key: 2 }, [
493
- ((R = s == null ? void 0 : s.old_flow) == null ? void 0 : R.business_type) === 1 ? (e(), c("div", ee, [
494
- ne,
495
- o("span", te, n(((V = s == null ? void 0 : s.old_flow) == null ? void 0 : V.sign_type) === 1 ? "首次签约" : "补充店铺"), 1)
496
- ])) : r("", !0),
497
- ((E = s == null ? void 0 : s.old_flow) == null ? void 0 : E.business_type) === 2 ? (e(), c("div", le, [
498
- ae,
499
- o("span", ce, n(Hs(
225
+ ((C = s == null ? void 0 : s.old_flow) == null ? void 0 : C.business_type) === 1 || ((g = s == null ? void 0 : s.old_flow) == null ? void 0 : g.business_type) === 8 ? (n(), _("div", yo, [
226
+ fo,
227
+ o("span", null, l(s == null ? void 0 : s.old_flow.business_ctx.esign_contract_no), 1)
228
+ ])) : a("", !0),
229
+ [1, 16, 19].includes((T = s == null ? void 0 : s.old_flow) == null ? void 0 : T.business_type) ? (n(), _("div", wo, [
230
+ ho,
231
+ o("span", xo, l((s == null ? void 0 : s.old_flow.business_ctx.company_name) || ((D = (P = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : P.company_info) == null ? void 0 : D.fp_company_name) || ((L = (S = s == null ? void 0 : s.old_flow.business_ctx.no_business_contract_info) == null ? void 0 : S.personal_info) == null ? void 0 : L.name) || "-"), 1)
232
+ ])) : a("", !0),
233
+ (($ = s == null ? void 0 : s.old_flow) == null ? void 0 : $.business_type) !== 9 ? (n(), _(U, { key: 2 }, [
234
+ ((I = s == null ? void 0 : s.old_flow) == null ? void 0 : I.business_type) === 1 ? (n(), _("div", vo, [
235
+ ko,
236
+ o("span", bo, l(((M = s == null ? void 0 : s.old_flow) == null ? void 0 : M.sign_type) === 1 ? "首次签约" : "补充店铺"), 1)
237
+ ])) : a("", !0),
238
+ ((z = s == null ? void 0 : s.old_flow) == null ? void 0 : z.business_type) === 2 ? (n(), _("div", Fo, [
239
+ Co,
240
+ o("span", go, l(Es(
500
241
  s == null ? void 0 : s.old_flow.business_ctx.contract_template_id
501
242
  )), 1)
502
- ])) : r("", !0),
503
- [3, 4, 5, 6, 7, 8].includes((q = s == null ? void 0 : s.old_flow) == null ? void 0 : q.business_type) ? (e(), c("div", re, [
504
- de,
505
- o("span", _e, n(Ks((G = s == null ? void 0 : s.old_flow) == null ? void 0 : G.business_type)), 1)
506
- ])) : r("", !0),
507
- [16].includes((W = s == null ? void 0 : s.old_flow) == null ? void 0 : W.business_type) ? (e(), c("div", pe, [
508
- ue,
509
- o("span", fe, n(["", "主合同", "补充协议", "解除协议"][(A = s == null ? void 0 : s.old_flow) == null ? void 0 : A.sign_type] || "-"), 1)
510
- ])) : r("", !0),
511
- ((H = s == null ? void 0 : s.old_flow) == null ? void 0 : H.business_type) === 16 && ((J = s == null ? void 0 : s.old_flow) == null ? void 0 : J.sign_type) === 1 ? (e(), c("div", ye, [
512
- ie,
513
- o("span", he, n(Js(
514
- (K = (F = (v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.business_ctx) == null ? void 0 : F.no_business_contract_info) == null ? void 0 : K.contract_type
243
+ ])) : a("", !0),
244
+ [3, 4, 5, 6, 7, 8].includes((N = s == null ? void 0 : s.old_flow) == null ? void 0 : N.business_type) ? (n(), _("div", To, [
245
+ Po,
246
+ o("span", Do, l(Os((R = s == null ? void 0 : s.old_flow) == null ? void 0 : R.business_type)), 1)
247
+ ])) : a("", !0),
248
+ [16].includes((B = s == null ? void 0 : s.old_flow) == null ? void 0 : B.business_type) ? (n(), _("div", So, [
249
+ Lo,
250
+ o("span", $o, l(["", "主合同", "补充协议", "解除协议"][(V = s == null ? void 0 : s.old_flow) == null ? void 0 : V.sign_type] || "-"), 1)
251
+ ])) : a("", !0),
252
+ ((j = s == null ? void 0 : s.old_flow) == null ? void 0 : j.business_type) === 16 && ((E = s == null ? void 0 : s.old_flow) == null ? void 0 : E.sign_type) === 1 ? (n(), _("div", Io, [
253
+ Mo,
254
+ o("span", zo, l(Gs(
255
+ (G = (b = (f = s == null ? void 0 : s.old_flow) == null ? void 0 : f.business_ctx) == null ? void 0 : b.no_business_contract_info) == null ? void 0 : G.contract_type
515
256
  )), 1)
516
- ])) : r("", !0)
517
- ], 64)) : r("", !0),
518
- ((Q = s == null ? void 0 : s.old_flow) == null ? void 0 : Q.business_type) === 9 ? (e(), c("div", we, [
519
- be,
520
- o("span", ve, n(((ws = s == null ? void 0 : s.old_flow.business_ctx.reduce_store_srv_fee_form) == null ? void 0 : ws.reduce_store_srv_fee_standard_type) === 1 ? "当日在线3店及以上,且合计活动名额100单及以上份额" : "名下同品牌店铺10家及以上,月累计(近30天)销单1000单"), 1)
521
- ])) : r("", !0),
522
- ps(
523
- t.typeFlowPath,
524
- (xs = (vs = (bs = s == null ? void 0 : s.old_flow) == null ? void 0 : bs.node_list) == null ? void 0 : vs[0]) == null ? void 0 : xs.approval_status,
525
- (ks = s == null ? void 0 : s.old_flow) == null ? void 0 : ks.status
526
- ) ? (e(), c("div", xe, [
527
- ke,
528
- o("span", null, n(I((Fs = (Cs = (gs = s == null ? void 0 : s.old_flow) == null ? void 0 : gs.node_list) == null ? void 0 : Cs[0]) == null ? void 0 : Fs.flow_time)), 1)
529
- ])) : r("", !0),
530
- ps(
531
- t.typeFlowPath,
532
- (Ps = (Ts = ($s = s == null ? void 0 : s.old_flow) == null ? void 0 : $s.node_list) == null ? void 0 : Ts[0]) == null ? void 0 : Ps.approval_status,
533
- (zs = s == null ? void 0 : s.old_flow) == null ? void 0 : zs.status
534
- ) ? (e(), c("div", ge, [
535
- Ce,
536
- o("span", null, n((Ds = (Ss = (Is = s == null ? void 0 : s.old_flow) == null ? void 0 : Is.node_list) == null ? void 0 : Ss[0]) == null ? void 0 : Ds.approval_user_name), 1)
537
- ])) : r("", !0),
538
- ((Ms = s == null ? void 0 : s.old_flow) == null ? void 0 : Ms.business_type) === 19 ? (e(), c("div", Fe, [
539
- $e,
540
- o("span", null, n(((Ls = s == null ? void 0 : s.old_flow) == null ? void 0 : Ls.sign_type) === 1 ? "达人合作主合同" : "达人合作补充协议"), 1)
541
- ])) : r("", !0),
542
- ((Bs = s == null ? void 0 : s.old_flow) == null ? void 0 : Bs.business_type) === 16 ? (e(), c("div", Te, [
543
- Pe,
544
- o("span", null, n(((Os = (js = (Ns = s == null ? void 0 : s.old_flow) == null ? void 0 : Ns.business_ctx) == null ? void 0 : js.no_business_contract_info) == null ? void 0 : Os.e_sign_type) === 1 ? "线下纸质签" : "线上电子签"), 1)
545
- ])) : r("", !0),
546
- ((Rs = s == null ? void 0 : s.old_flow) == null ? void 0 : Rs.business_type) === 16 && ((qs = (Es = (Vs = s == null ? void 0 : s.old_flow) == null ? void 0 : Vs.business_ctx) == null ? void 0 : Es.no_business_contract_info) == null ? void 0 : qs.e_sign_type) === 1 ? (e(), c("div", ze, [
547
- Ie,
548
- o("span", null, n(((As = (Ws = (Gs = s == null ? void 0 : s.old_flow) == null ? void 0 : Gs.business_ctx) == null ? void 0 : Ws.no_business_contract_info) == null ? void 0 : As.first_signer) === 1 ? "我方" : "对方"), 1)
549
- ])) : r("", !0)
257
+ ])) : a("", !0)
258
+ ], 64)) : a("", !0),
259
+ ((O = s == null ? void 0 : s.old_flow) == null ? void 0 : O.business_type) === 9 ? (n(), _("div", No, [
260
+ Ro,
261
+ o("span", Bo, l(((ps = s == null ? void 0 : s.old_flow.business_ctx.reduce_store_srv_fee_form) == null ? void 0 : ps.reduce_store_srv_fee_standard_type) === 1 ? "当日在线3店及以上,且合计活动名额100单及以上份额" : "名下同品牌店铺10家及以上,月累计(近30天)销单1000单"), 1)
262
+ ])) : a("", !0),
263
+ ns(
264
+ e.typeFlowPath,
265
+ (us = (rs = (ds = s == null ? void 0 : s.old_flow) == null ? void 0 : ds.node_list) == null ? void 0 : rs[0]) == null ? void 0 : us.approval_status,
266
+ (ys = s == null ? void 0 : s.old_flow) == null ? void 0 : ys.status
267
+ ) ? (n(), _("div", Vo, [
268
+ jo,
269
+ o("span", null, l(F((hs = (ws = (fs = s == null ? void 0 : s.old_flow) == null ? void 0 : fs.node_list) == null ? void 0 : ws[0]) == null ? void 0 : hs.flow_time)), 1)
270
+ ])) : a("", !0),
271
+ ns(
272
+ e.typeFlowPath,
273
+ (ks = (vs = (xs = s == null ? void 0 : s.old_flow) == null ? void 0 : xs.node_list) == null ? void 0 : vs[0]) == null ? void 0 : ks.approval_status,
274
+ (bs = s == null ? void 0 : s.old_flow) == null ? void 0 : bs.status
275
+ ) ? (n(), _("div", Eo, [
276
+ Go,
277
+ o("span", null, l((gs = (Cs = (Fs = s == null ? void 0 : s.old_flow) == null ? void 0 : Fs.node_list) == null ? void 0 : Cs[0]) == null ? void 0 : gs.approval_user_name), 1)
278
+ ])) : a("", !0),
279
+ ((Ts = s == null ? void 0 : s.old_flow) == null ? void 0 : Ts.business_type) === 19 ? (n(), _("div", Oo, [
280
+ qo,
281
+ o("span", null, l(((Ps = s == null ? void 0 : s.old_flow) == null ? void 0 : Ps.sign_type) === 1 ? "达人合作主合同" : "达人合作补充协议"), 1)
282
+ ])) : a("", !0),
283
+ ((Ds = s == null ? void 0 : s.old_flow) == null ? void 0 : Ds.business_type) === 16 ? (n(), _("div", Ao, [
284
+ Ho,
285
+ o("span", null, l((($s = (Ls = (Ss = s == null ? void 0 : s.old_flow) == null ? void 0 : Ss.business_ctx) == null ? void 0 : Ls.no_business_contract_info) == null ? void 0 : $s.e_sign_type) === 1 ? "线下纸质签" : "线上电子签"), 1)
286
+ ])) : a("", !0),
287
+ ((Is = s == null ? void 0 : s.old_flow) == null ? void 0 : Is.business_type) === 16 && ((Ns = (zs = (Ms = s == null ? void 0 : s.old_flow) == null ? void 0 : Ms.business_ctx) == null ? void 0 : zs.no_business_contract_info) == null ? void 0 : Ns.e_sign_type) === 1 ? (n(), _("div", Jo, [
288
+ Ko,
289
+ o("span", null, l(((Vs = (Bs = (Rs = s == null ? void 0 : s.old_flow) == null ? void 0 : Rs.business_ctx) == null ? void 0 : Bs.no_business_contract_info) == null ? void 0 : Vs.first_signer) === 1 ? "我方" : "对方"), 1)
290
+ ])) : a("", !0)
550
291
  ])
551
292
  ])
552
293
  ];
553
294
  }),
554
295
  _: 2
555
- }, 1032, ["onClick"])) : (e(), p(hs, {
296
+ }, 1032, ["onClick"])) : (n(), p(cs, {
556
297
  key: 1,
557
298
  shadow: "hover",
558
299
  class: "mb-1",
559
- onClick: (w) => ls(s, t.type)
300
+ onClick: (u) => Z(s, e.type)
560
301
  }, {
561
- header: y(() => {
562
- var w, x;
302
+ header: d(() => {
303
+ var u, h;
563
304
  return [
564
- o("div", Se, [
305
+ o("div", Qo, [
565
306
  o("div", null, [
566
- o("span", De, n(s.node_title), 1),
567
- t.typeFlowPath === "抄送我的" && s.copy_status === 1 ? (e(), p($(X), {
307
+ o("span", Uo, l(s.node_title), 1),
308
+ e.typeFlowPath === "抄送我的" && s.copy_status === 1 ? q(t.$slots, "read-icon", {
568
309
  key: 0,
569
- class: "read",
570
- icon: "icon-park-solid:round",
571
- size: 5,
572
- style: { color: "red" }
573
- })) : r("", !0),
574
- t.typeFlowPath === "我发起的" && (s == null ? void 0 : s.flow_status) === 2 ? (e(), p(as, {
310
+ item: s
311
+ }, void 0, !0) : a("", !0),
312
+ e.typeFlowPath === "我发起的" && (s == null ? void 0 : s.flow_status) === 2 ? (n(), p(i, {
575
313
  key: 1,
576
314
  link: "",
577
315
  type: "primary",
578
- onClick: U((h) => is(s), ["stop"])
316
+ onClick: A((r) => _s(s), ["stop"])
579
317
  }, {
580
- default: y(() => [
581
- k(" 催办 ")
318
+ default: d(() => [
319
+ x(" 催办 ")
582
320
  ]),
583
321
  _: 2
584
- }, 1032, ["onClick"])) : r("", !0),
585
- t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
322
+ }, 1032, ["onClick"])) : a("", !0),
323
+ e.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (n(), p(y, {
586
324
  key: 2,
587
325
  effect: "plain",
588
326
  type: "danger"
589
327
  }, {
590
- default: y(() => [
591
- k(" 发起人已催办 ")
328
+ default: d(() => [
329
+ x(" 发起人已催办 ")
592
330
  ]),
593
331
  _: 1
594
- })) : r("", !0)
332
+ })) : a("", !0)
595
333
  ]),
596
- o("div", Me, [
597
- t.typeFlowPath === "抄送我的" ? (e(), c("div", Le, n(I(s.final_pass_time)), 1)) : (e(), c("div", Be, n(I(s.flow_time)), 1)),
598
- t.typeFlowPath === "待我审批" ? (e(), p(b, {
334
+ o("div", Wo, [
335
+ e.typeFlowPath === "抄送我的" ? (n(), _("div", Xo, l(F(s.final_pass_time)), 1)) : (n(), _("div", Yo, l(F(s.flow_time)), 1)),
336
+ e.typeFlowPath === "待我审批" ? (n(), p(y, {
599
337
  key: 2,
600
- type: (w = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : w.type
338
+ type: (u = K(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : u.type
601
339
  }, {
602
- default: y(() => {
603
- var h;
340
+ default: d(() => {
341
+ var r;
604
342
  return [
605
- k(n((h = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : h.status), 1)
343
+ x(l((r = K(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : r.status), 1)
606
344
  ];
607
345
  }),
608
346
  _: 2
609
- }, 1032, ["type"])) : (e(), p(b, {
347
+ }, 1032, ["type"])) : (n(), p(y, {
610
348
  key: 3,
611
- type: (x = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : x.type
349
+ type: (h = Q(s == null ? void 0 : s.flow_status)) == null ? void 0 : h.type
612
350
  }, {
613
- default: y(() => {
614
- var h;
351
+ default: d(() => {
352
+ var r;
615
353
  return [
616
- k(n((h = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : h.status), 1)
354
+ x(l((r = Q(s == null ? void 0 : s.flow_status)) == null ? void 0 : r.status), 1)
617
355
  ];
618
356
  }),
619
357
  _: 2
620
358
  }, 1032, ["type"])),
621
- z(s, t.typeFlowPath) ? (e(), p($(X), {
359
+ ls(s, e.typeFlowPath) ? q(t.$slots, "delete-icon", {
622
360
  key: 4,
623
- class: "ml-2 cursor-pointer",
624
- icon: "material-symbols:delete-outline",
625
- size: 24,
626
- style: { color: "red" },
627
- onClick: U((h) => ys(s), ["stop"])
628
- }, null, 8, ["onClick"])) : r("", !0)
361
+ item: s
362
+ }, () => [
363
+ o("span", {
364
+ class: "delete-btn ml-2 cursor-pointer",
365
+ onClick: A((r) => as(s), ["stop"])
366
+ }, "🗑️", 8, Zo)
367
+ ], !0) : a("", !0)
629
368
  ])
630
369
  ])
631
370
  ];
632
371
  }),
633
- default: y(() => [
634
- o("div", Ne, [
635
- o("div", je, [
636
- o("div", Oe, n("发起人:") + n(s == null ? void 0 : s.create_user_name), 1)
372
+ default: d(() => [
373
+ o("div", io, [
374
+ o("div", mo, [
375
+ o("div", sl, l("发起人:") + l(s == null ? void 0 : s.create_user_name), 1)
637
376
  ]),
638
- o("div", Re, [
639
- Z(l.$slots, "form-content", { item: s }, () => [
640
- l.formTemplateComponent ? (e(!0), c(os, { key: 0 }, ds(s.form_value, (w, x) => (e(), p(rs(l.formTemplateComponent), {
641
- key: x,
642
- item_: w,
377
+ o("div", ol, [
378
+ q(t.$slots, "form-content", { item: s }, () => [
379
+ t.formTemplateComponent ? (n(!0), _(U, { key: 0 }, js(s.form_value, (u, h) => (n(), p(os(t.formTemplateComponent), {
380
+ key: h,
381
+ item_: u,
643
382
  item: s
644
- }, null, 8, ["item_", "item"]))), 128)) : r("", !0)
383
+ }, null, 8, ["item_", "item"]))), 128)) : a("", !0)
645
384
  ], !0)
646
385
  ])
647
386
  ])
@@ -649,39 +388,40 @@ const $o = "v", To = "el", Po = {
649
388
  _: 2
650
389
  }, 1032, ["onClick"]))
651
390
  ], 64))), 128)),
652
- l.treatDerailsComponent ? (e(), p(rs(l.treatDerailsComponent), {
391
+ t.treatDerailsComponent ? (n(), p(os(t.treatDerailsComponent), {
653
392
  key: 0,
654
393
  ref_key: "treatDerailsRef",
655
- ref: _,
656
- rowItem: T.value,
657
- typeFlowPath: t.typeFlowPath,
658
- copyStatus: t.copyStatus,
659
- onGetList: us,
660
- onReada: fs
661
- }, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : r("", !0),
662
- l.newTreatDerailsComponent ? (e(), p(rs(l.newTreatDerailsComponent), {
394
+ ref: X,
395
+ rowItem: J.value,
396
+ typeFlowPath: e.typeFlowPath,
397
+ copyStatus: e.copyStatus,
398
+ onGetList: ts,
399
+ onReada: es
400
+ }, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : a("", !0),
401
+ t.newTreatDerailsComponent ? (n(), p(os(t.newTreatDerailsComponent), {
663
402
  key: 1,
664
403
  ref_key: "newTreatDerailsRef",
665
- ref: C,
666
- rowItem: T.value,
667
- typeFlowPath: t.typeFlowPath,
668
- copyStatus: t.copyStatus,
669
- onGetList: us,
670
- onReada: fs
671
- }, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : r("", !0)
404
+ ref: Y,
405
+ rowItem: J.value,
406
+ typeFlowPath: e.typeFlowPath,
407
+ copyStatus: e.copyStatus,
408
+ onGetList: ts,
409
+ onReada: es
410
+ }, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) : a("", !0)
672
411
  ]);
673
412
  };
674
413
  }
675
- }), Ee = /* @__PURE__ */ ts(Ve, [["__scopeId", "data-v-85a8dd58"]]), qe = (a) => {
676
- a.component("CButton", fo), a.component("CBadge", wo), a.component("CInput", xo), a.component("CToDoCard", Ee), a.component("CIcon", X);
677
- }, Je = {
678
- install: qe
414
+ }), nl = (w, W) => {
415
+ const H = w.__vccOpts || w;
416
+ for (const [e, k] of W)
417
+ H[e] = k;
418
+ return H;
419
+ }, tl = /* @__PURE__ */ nl(ll, [["__scopeId", "data-v-77a90086"]]), el = (w) => {
420
+ w.component("CToDoCard", tl);
421
+ }, _l = {
422
+ install: el
679
423
  };
680
424
  export {
681
- wo as Badge,
682
- fo as Button,
683
- X as Icon,
684
- xo as Input,
685
- Ee as ToDoCard,
686
- Je as default
425
+ tl as ToDoCard,
426
+ _l as default
687
427
  };