xc-computent 0.2.0 → 0.3.0
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/components/Icon/IconMap/IconMap.d.ts +1 -0
- package/dist/components/Icon/IconMap/index.d.ts +23 -0
- package/dist/components/Icon/IconMap/modules/publicWelfare.d.ts +22 -0
- package/dist/components/Icon/IconMap/propTypes.d.ts +8 -0
- package/dist/components/Icon/IconMap/useDesign.d.ts +4 -0
- package/dist/components/Icon/index.d.ts +26 -0
- package/dist/components/Icon/src/Icon.vue.d.ts +30 -0
- package/dist/computent.js +472 -275
- package/dist/computent.umd.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/style.css +1 -1
- package/package.json +8 -3
package/dist/computent.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
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 = {
|
|
3
6
|
key: 0,
|
|
4
7
|
class: "comp-btn__spinner"
|
|
5
|
-
},
|
|
8
|
+
}, _o = {
|
|
6
9
|
key: 1,
|
|
7
10
|
class: "comp-btn__icon"
|
|
8
|
-
},
|
|
11
|
+
}, po = { class: "comp-btn__content" }, uo = /* @__PURE__ */ P({
|
|
9
12
|
__name: "Button",
|
|
10
13
|
props: {
|
|
11
14
|
variant: { default: "primary" },
|
|
@@ -14,145 +17,297 @@ const ms = ["disabled"], so = {
|
|
|
14
17
|
disabled: { type: Boolean, default: !1 }
|
|
15
18
|
},
|
|
16
19
|
emits: ["click"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
!
|
|
20
|
+
setup(a, { emit: d }) {
|
|
21
|
+
const u = a, t = d, f = (_) => {
|
|
22
|
+
!u.disabled && !u.loading && t("click", _);
|
|
20
23
|
};
|
|
21
|
-
return (
|
|
22
|
-
class:
|
|
24
|
+
return (_, C) => (e(), c("button", {
|
|
25
|
+
class: _s([
|
|
23
26
|
"comp-btn",
|
|
24
|
-
`comp-btn--${
|
|
25
|
-
`comp-btn--${
|
|
27
|
+
`comp-btn--${_.variant}`,
|
|
28
|
+
`comp-btn--${_.size}`,
|
|
26
29
|
{
|
|
27
|
-
"comp-btn--loading":
|
|
28
|
-
"comp-btn--disabled":
|
|
30
|
+
"comp-btn--loading": _.loading,
|
|
31
|
+
"comp-btn--disabled": _.disabled || _.loading
|
|
29
32
|
}
|
|
30
33
|
]),
|
|
31
|
-
disabled:
|
|
32
|
-
onClick:
|
|
34
|
+
disabled: _.disabled || _.loading,
|
|
35
|
+
onClick: f
|
|
33
36
|
}, [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
])) :
|
|
38
|
-
o("span",
|
|
39
|
-
|
|
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)
|
|
40
43
|
])
|
|
41
|
-
], 10,
|
|
44
|
+
], 10, co));
|
|
42
45
|
}
|
|
43
|
-
}),
|
|
44
|
-
const
|
|
45
|
-
for (const [
|
|
46
|
-
|
|
47
|
-
return
|
|
48
|
-
},
|
|
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 = {
|
|
49
52
|
key: 0,
|
|
50
53
|
class: "comp-badge__dot"
|
|
51
|
-
},
|
|
54
|
+
}, io = { class: "comp-badge__content" }, ho = /* @__PURE__ */ P({
|
|
52
55
|
__name: "Badge",
|
|
53
56
|
props: {
|
|
54
57
|
type: { default: "default" },
|
|
55
58
|
variant: { default: "subtle" },
|
|
56
59
|
dot: { type: Boolean, default: !1 }
|
|
57
60
|
},
|
|
58
|
-
setup(
|
|
59
|
-
return (
|
|
60
|
-
class:
|
|
61
|
+
setup(a) {
|
|
62
|
+
return (d, u) => (e(), c("span", {
|
|
63
|
+
class: _s([
|
|
61
64
|
"comp-badge",
|
|
62
|
-
`comp-badge--${
|
|
63
|
-
`comp-badge--${
|
|
64
|
-
{ "comp-badge--has-dot":
|
|
65
|
+
`comp-badge--${d.type}`,
|
|
66
|
+
`comp-badge--${d.variant}`,
|
|
67
|
+
{ "comp-badge--has-dot": d.dot }
|
|
65
68
|
])
|
|
66
69
|
}, [
|
|
67
|
-
|
|
68
|
-
o("span",
|
|
69
|
-
|
|
70
|
+
d.dot ? (e(), c("span", yo)) : r("", !0),
|
|
71
|
+
o("span", io, [
|
|
72
|
+
Z(d.$slots, "default", {}, void 0, !0)
|
|
70
73
|
])
|
|
71
74
|
], 2));
|
|
72
75
|
}
|
|
73
|
-
}),
|
|
76
|
+
}), wo = /* @__PURE__ */ ts(ho, [["__scopeId", "data-v-158f78af"]]), bo = { class: "comp-input-wrapper" }, vo = /* @__PURE__ */ P({
|
|
74
77
|
__name: "Input",
|
|
75
78
|
props: {
|
|
76
79
|
size: { default: "default" },
|
|
77
80
|
placeholder: { default: "Please enter..." }
|
|
78
81
|
},
|
|
79
|
-
setup(
|
|
80
|
-
return (
|
|
81
|
-
const
|
|
82
|
-
return
|
|
83
|
-
|
|
84
|
-
size:
|
|
85
|
-
placeholder:
|
|
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,
|
|
86
89
|
class: "comp-el-input"
|
|
87
|
-
}),
|
|
88
|
-
|
|
89
|
-
name:
|
|
90
|
-
fn:
|
|
91
|
-
|
|
90
|
+
}), Zs({ _: 2 }, [
|
|
91
|
+
ds(d.$slots, (f, _) => ({
|
|
92
|
+
name: _,
|
|
93
|
+
fn: y((C) => [
|
|
94
|
+
Z(d.$slots, _, ms(so(C || {})), void 0, !0)
|
|
92
95
|
])
|
|
93
96
|
}))
|
|
94
97
|
]), 1040, ["size", "placeholder"])
|
|
95
98
|
]);
|
|
96
99
|
};
|
|
97
100
|
}
|
|
98
|
-
}),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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 = {
|
|
102
260
|
key: 1,
|
|
103
261
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
104
|
-
},
|
|
262
|
+
}, jo = {
|
|
105
263
|
key: 2,
|
|
106
264
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
107
|
-
},
|
|
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 = {
|
|
108
266
|
key: 0,
|
|
109
267
|
class: "text-12px"
|
|
110
|
-
},
|
|
268
|
+
}, Zo = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同编号:"), -1)), mo = {
|
|
111
269
|
key: 1,
|
|
112
270
|
class: "text-12px"
|
|
113
|
-
},
|
|
271
|
+
}, se = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("企业名称:"), -1)), oe = { style: { "line-height": "14px" } }, ee = {
|
|
114
272
|
key: 0,
|
|
115
273
|
class: "text-12px"
|
|
116
|
-
},
|
|
274
|
+
}, ne = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), te = { style: { "font-size": "13px" } }, le = {
|
|
117
275
|
key: 1,
|
|
118
276
|
class: "text-12px"
|
|
119
|
-
},
|
|
277
|
+
}, ae = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), ce = { style: { "font-size": "13px" } }, re = {
|
|
120
278
|
key: 2,
|
|
121
279
|
class: "text-12px"
|
|
122
|
-
},
|
|
280
|
+
}, de = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), _e = { style: { "font-size": "13px" } }, pe = {
|
|
123
281
|
key: 3,
|
|
124
282
|
class: "text-12px"
|
|
125
|
-
},
|
|
283
|
+
}, ue = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约类型:"), -1)), fe = { style: { "font-size": "13px" } }, ye = {
|
|
126
284
|
key: 4,
|
|
127
285
|
class: "text-12px"
|
|
128
|
-
},
|
|
286
|
+
}, ie = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), he = { style: { "font-size": "13px" } }, we = {
|
|
129
287
|
key: 3,
|
|
130
288
|
class: "text-12px"
|
|
131
|
-
},
|
|
289
|
+
}, be = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("标准:"), -1)), ve = { style: { "line-height": "18px" } }, xe = {
|
|
132
290
|
key: 4,
|
|
133
291
|
class: "text-12px"
|
|
134
|
-
},
|
|
292
|
+
}, ke = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前流转时间:"), -1)), ge = {
|
|
135
293
|
key: 5,
|
|
136
294
|
class: "text-12px"
|
|
137
|
-
},
|
|
295
|
+
}, Ce = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("当前审批人:"), -1)), Fe = {
|
|
138
296
|
key: 6,
|
|
139
297
|
class: "text-12px"
|
|
140
|
-
},
|
|
298
|
+
}, $e = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("合同类型:"), -1)), Te = {
|
|
141
299
|
key: 7,
|
|
142
300
|
class: "text-12px"
|
|
143
|
-
},
|
|
301
|
+
}, Pe = /* @__PURE__ */ i(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ n("签约方式:"), -1)), ze = {
|
|
144
302
|
key: 8,
|
|
145
303
|
class: "text-12px"
|
|
146
|
-
},
|
|
147
|
-
key: 0,
|
|
148
|
-
class: "read-dot"
|
|
149
|
-
}, wn = { class: "flex items-center" }, bn = {
|
|
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 = {
|
|
150
305
|
key: 0,
|
|
151
306
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
152
|
-
},
|
|
307
|
+
}, Be = {
|
|
153
308
|
key: 1,
|
|
154
309
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
155
|
-
},
|
|
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({
|
|
156
311
|
__name: "ToDoCard",
|
|
157
312
|
props: {
|
|
158
313
|
countList: { default: () => [] },
|
|
@@ -171,281 +326,322 @@ const ms = ["disabled"], so = {
|
|
|
171
326
|
contractTypeLabelMap: { default: () => ({}) },
|
|
172
327
|
flowPathTypeList: { default: () => [] }
|
|
173
328
|
},
|
|
174
|
-
emits: [
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
329
|
+
emits: [
|
|
330
|
+
"getList",
|
|
331
|
+
"doScreen",
|
|
332
|
+
"copy",
|
|
333
|
+
"delete",
|
|
334
|
+
"expedite",
|
|
335
|
+
"details"
|
|
336
|
+
],
|
|
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);
|
|
191
353
|
};
|
|
192
|
-
return
|
|
193
|
-
details:
|
|
194
|
-
}), (
|
|
195
|
-
const b =
|
|
196
|
-
return
|
|
197
|
-
(
|
|
198
|
-
s != null && s.is_old_flow ? (
|
|
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, {
|
|
199
361
|
key: 0,
|
|
200
362
|
shadow: "hover",
|
|
201
363
|
class: "mb-1",
|
|
202
|
-
onClick: (
|
|
364
|
+
onClick: (w) => ls(s, t.type)
|
|
203
365
|
}, {
|
|
204
|
-
header:
|
|
205
|
-
var
|
|
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;
|
|
206
368
|
return [
|
|
207
|
-
o("div",
|
|
369
|
+
o("div", Mo, [
|
|
208
370
|
o("div", null, [
|
|
209
|
-
o("span",
|
|
210
|
-
(
|
|
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, {
|
|
211
373
|
key: 0,
|
|
212
374
|
type: "success",
|
|
213
375
|
effect: "plain"
|
|
214
376
|
}, {
|
|
215
|
-
default:
|
|
216
|
-
|
|
377
|
+
default: y(() => [
|
|
378
|
+
k(" 已发起签约 ")
|
|
217
379
|
]),
|
|
218
380
|
_: 1
|
|
219
|
-
})) :
|
|
220
|
-
|
|
221
|
-
|
|
381
|
+
})) : r("", !0),
|
|
382
|
+
t.typeFlowPath === "抄送我的" && (s == null ? void 0 : s.copy_status) === 1 ? (e(), p($(X), {
|
|
383
|
+
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, {
|
|
222
390
|
key: 2,
|
|
223
391
|
link: "",
|
|
224
392
|
type: "primary",
|
|
225
|
-
onClick:
|
|
393
|
+
onClick: U((v) => is(s), ["stop"])
|
|
226
394
|
}, {
|
|
227
|
-
default:
|
|
228
|
-
|
|
395
|
+
default: y(() => [
|
|
396
|
+
k(" 催办 ")
|
|
229
397
|
]),
|
|
230
398
|
_: 2
|
|
231
|
-
}, 1032, ["onClick"])) :
|
|
232
|
-
|
|
399
|
+
}, 1032, ["onClick"])) : r("", !0),
|
|
400
|
+
t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
|
|
233
401
|
key: 3,
|
|
234
402
|
effect: "plain",
|
|
235
403
|
type: "danger"
|
|
236
404
|
}, {
|
|
237
|
-
default:
|
|
238
|
-
|
|
405
|
+
default: y(() => [
|
|
406
|
+
k(" 发起人已催办 ")
|
|
239
407
|
]),
|
|
240
408
|
_: 1
|
|
241
|
-
})) :
|
|
409
|
+
})) : r("", !0)
|
|
242
410
|
]),
|
|
243
|
-
o("div",
|
|
244
|
-
(((
|
|
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, {
|
|
245
413
|
key: 0,
|
|
246
414
|
link: "",
|
|
247
415
|
type: "primary",
|
|
248
416
|
class: "mr-2",
|
|
249
|
-
onClick:
|
|
417
|
+
onClick: U((v) => Qs(s == null ? void 0 : s.old_flow), ["stop"])
|
|
250
418
|
}, {
|
|
251
|
-
default:
|
|
252
|
-
|
|
419
|
+
default: y(() => [
|
|
420
|
+
k(" 一键复制 ")
|
|
253
421
|
]),
|
|
254
422
|
_: 2
|
|
255
|
-
}, 1032, ["onClick"])) :
|
|
256
|
-
|
|
257
|
-
|
|
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, {
|
|
258
426
|
key: 3,
|
|
259
|
-
type: (
|
|
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
|
|
260
430
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
var v,
|
|
431
|
+
default: y(() => {
|
|
432
|
+
var v, F, K, Q;
|
|
263
433
|
return [
|
|
264
|
-
|
|
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)
|
|
265
437
|
];
|
|
266
438
|
}),
|
|
267
439
|
_: 2
|
|
268
|
-
}, 1032, ["type"])) : (
|
|
440
|
+
}, 1032, ["type"])) : (e(), p(b, {
|
|
269
441
|
key: 4,
|
|
270
|
-
type: (
|
|
442
|
+
type: (J = ss((H = s == null ? void 0 : s.old_flow) == null ? void 0 : H.status)) == null ? void 0 : J.type
|
|
271
443
|
}, {
|
|
272
|
-
default:
|
|
273
|
-
var v,
|
|
444
|
+
default: y(() => {
|
|
445
|
+
var v, F;
|
|
274
446
|
return [
|
|
275
|
-
|
|
447
|
+
k(n((F = ss((v = s == null ? void 0 : s.old_flow) == null ? void 0 : v.status)) == null ? void 0 : F.status), 1)
|
|
276
448
|
];
|
|
277
449
|
}),
|
|
278
450
|
_: 2
|
|
279
451
|
}, 1032, ["type"])),
|
|
280
|
-
|
|
452
|
+
z(s, t.typeFlowPath) ? (e(), p($(X), {
|
|
281
453
|
key: 5,
|
|
282
|
-
class: "
|
|
283
|
-
|
|
284
|
-
|
|
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)
|
|
285
460
|
])
|
|
286
461
|
])
|
|
287
462
|
];
|
|
288
463
|
}),
|
|
289
|
-
default:
|
|
290
|
-
var
|
|
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;
|
|
291
466
|
return [
|
|
292
|
-
o("div",
|
|
293
|
-
o("div",
|
|
294
|
-
o("div",
|
|
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)
|
|
295
470
|
]),
|
|
296
|
-
o("div",
|
|
297
|
-
o("div",
|
|
298
|
-
|
|
299
|
-
o("span",
|
|
471
|
+
o("div", Eo, [
|
|
472
|
+
o("div", qo, [
|
|
473
|
+
Go,
|
|
474
|
+
o("span", Wo, n((s == null ? void 0 : s.flow_id) || ""), 1)
|
|
300
475
|
]),
|
|
301
|
-
o("div",
|
|
302
|
-
|
|
303
|
-
o("span",
|
|
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)
|
|
304
479
|
]),
|
|
305
|
-
o("div",
|
|
306
|
-
|
|
307
|
-
((
|
|
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))
|
|
308
483
|
]),
|
|
309
|
-
((
|
|
310
|
-
|
|
311
|
-
o("span", null,
|
|
312
|
-
])) :
|
|
313
|
-
[1, 16, 19].includes((
|
|
314
|
-
|
|
315
|
-
o("span",
|
|
316
|
-
])) :
|
|
317
|
-
((
|
|
318
|
-
((
|
|
319
|
-
|
|
320
|
-
o("span",
|
|
321
|
-
])) :
|
|
322
|
-
((
|
|
323
|
-
|
|
324
|
-
o("span",
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
])) :
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
o("span",
|
|
346
|
-
])) :
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
o("span", null,
|
|
354
|
-
])) :
|
|
355
|
-
(
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
o("span", null,
|
|
362
|
-
])) :
|
|
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(
|
|
500
|
+
s == null ? void 0 : s.old_flow.business_ctx.contract_template_id
|
|
501
|
+
)), 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
|
|
515
|
+
)), 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)
|
|
363
550
|
])
|
|
364
551
|
])
|
|
365
552
|
];
|
|
366
553
|
}),
|
|
367
554
|
_: 2
|
|
368
|
-
}, 1032, ["onClick"])) : (
|
|
555
|
+
}, 1032, ["onClick"])) : (e(), p(hs, {
|
|
369
556
|
key: 1,
|
|
370
557
|
shadow: "hover",
|
|
371
558
|
class: "mb-1",
|
|
372
|
-
onClick: (
|
|
559
|
+
onClick: (w) => ls(s, t.type)
|
|
373
560
|
}, {
|
|
374
|
-
header:
|
|
375
|
-
var
|
|
561
|
+
header: y(() => {
|
|
562
|
+
var w, x;
|
|
376
563
|
return [
|
|
377
|
-
o("div",
|
|
564
|
+
o("div", Se, [
|
|
378
565
|
o("div", null, [
|
|
379
|
-
o("span",
|
|
380
|
-
|
|
381
|
-
|
|
566
|
+
o("span", De, n(s.node_title), 1),
|
|
567
|
+
t.typeFlowPath === "抄送我的" && s.copy_status === 1 ? (e(), p($(X), {
|
|
568
|
+
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, {
|
|
382
575
|
key: 1,
|
|
383
576
|
link: "",
|
|
384
577
|
type: "primary",
|
|
385
|
-
onClick:
|
|
578
|
+
onClick: U((h) => is(s), ["stop"])
|
|
386
579
|
}, {
|
|
387
|
-
default:
|
|
388
|
-
|
|
580
|
+
default: y(() => [
|
|
581
|
+
k(" 催办 ")
|
|
389
582
|
]),
|
|
390
583
|
_: 2
|
|
391
|
-
}, 1032, ["onClick"])) :
|
|
392
|
-
|
|
584
|
+
}, 1032, ["onClick"])) : r("", !0),
|
|
585
|
+
t.typeFlowPath === "待我审批" && (s != null && s.have_remind) ? (e(), p(b, {
|
|
393
586
|
key: 2,
|
|
394
587
|
effect: "plain",
|
|
395
588
|
type: "danger"
|
|
396
589
|
}, {
|
|
397
|
-
default:
|
|
398
|
-
|
|
590
|
+
default: y(() => [
|
|
591
|
+
k(" 发起人已催办 ")
|
|
399
592
|
]),
|
|
400
593
|
_: 1
|
|
401
|
-
})) :
|
|
594
|
+
})) : r("", !0)
|
|
402
595
|
]),
|
|
403
|
-
o("div",
|
|
404
|
-
|
|
405
|
-
|
|
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, {
|
|
406
599
|
key: 2,
|
|
407
|
-
type: (
|
|
600
|
+
type: (w = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : w.type
|
|
408
601
|
}, {
|
|
409
|
-
default:
|
|
410
|
-
var
|
|
602
|
+
default: y(() => {
|
|
603
|
+
var h;
|
|
411
604
|
return [
|
|
412
|
-
|
|
605
|
+
k(n((h = m(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : h.status), 1)
|
|
413
606
|
];
|
|
414
607
|
}),
|
|
415
608
|
_: 2
|
|
416
|
-
}, 1032, ["type"])) : (
|
|
609
|
+
}, 1032, ["type"])) : (e(), p(b, {
|
|
417
610
|
key: 3,
|
|
418
|
-
type: (
|
|
611
|
+
type: (x = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : x.type
|
|
419
612
|
}, {
|
|
420
|
-
default:
|
|
421
|
-
var
|
|
613
|
+
default: y(() => {
|
|
614
|
+
var h;
|
|
422
615
|
return [
|
|
423
|
-
|
|
616
|
+
k(n((h = ss(s == null ? void 0 : s.flow_status)) == null ? void 0 : h.status), 1)
|
|
424
617
|
];
|
|
425
618
|
}),
|
|
426
619
|
_: 2
|
|
427
620
|
}, 1032, ["type"])),
|
|
428
|
-
|
|
621
|
+
z(s, t.typeFlowPath) ? (e(), p($(X), {
|
|
429
622
|
key: 4,
|
|
430
|
-
class: "
|
|
431
|
-
|
|
432
|
-
|
|
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)
|
|
433
629
|
])
|
|
434
630
|
])
|
|
435
631
|
];
|
|
436
632
|
}),
|
|
437
|
-
default:
|
|
438
|
-
o("div",
|
|
439
|
-
o("div",
|
|
440
|
-
o("div",
|
|
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)
|
|
441
637
|
]),
|
|
442
|
-
o("div",
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
key:
|
|
446
|
-
item_:
|
|
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,
|
|
447
643
|
item: s
|
|
448
|
-
}, null, 8, ["item_", "item"]))), 128)) :
|
|
644
|
+
}, null, 8, ["item_", "item"]))), 128)) : r("", !0)
|
|
449
645
|
], !0)
|
|
450
646
|
])
|
|
451
647
|
])
|
|
@@ -453,38 +649,39 @@ const ms = ["disabled"], so = {
|
|
|
453
649
|
_: 2
|
|
454
650
|
}, 1032, ["onClick"]))
|
|
455
651
|
], 64))), 128)),
|
|
456
|
-
|
|
652
|
+
l.treatDerailsComponent ? (e(), p(rs(l.treatDerailsComponent), {
|
|
457
653
|
key: 0,
|
|
458
654
|
ref_key: "treatDerailsRef",
|
|
459
|
-
ref:
|
|
460
|
-
rowItem:
|
|
461
|
-
typeFlowPath:
|
|
462
|
-
copyStatus:
|
|
463
|
-
onGetList:
|
|
464
|
-
onReada:
|
|
465
|
-
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) :
|
|
466
|
-
|
|
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), {
|
|
467
663
|
key: 1,
|
|
468
664
|
ref_key: "newTreatDerailsRef",
|
|
469
|
-
ref:
|
|
470
|
-
rowItem:
|
|
471
|
-
typeFlowPath:
|
|
472
|
-
copyStatus:
|
|
473
|
-
onGetList:
|
|
474
|
-
onReada:
|
|
475
|
-
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) :
|
|
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)
|
|
476
672
|
]);
|
|
477
673
|
};
|
|
478
674
|
}
|
|
479
|
-
}),
|
|
480
|
-
|
|
481
|
-
},
|
|
482
|
-
install:
|
|
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
|
|
483
679
|
};
|
|
484
680
|
export {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
681
|
+
wo as Badge,
|
|
682
|
+
fo as Button,
|
|
683
|
+
X as Icon,
|
|
684
|
+
xo as Input,
|
|
685
|
+
Ee as ToDoCard,
|
|
686
|
+
Je as default
|
|
490
687
|
};
|