xc-computent 0.3.0 → 0.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/components/ToDoCard/ToDoCard.vue.d.ts +9 -3
- package/dist/computent.js +245 -505
- package/dist/computent.umd.cjs +1 -1
- package/dist/index.d.ts +1 -5
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/dist/components/Badge/Badge.vue.d.ts +0 -45
- package/dist/components/Badge/index.d.ts +0 -4
- package/dist/components/Button/Button.vue.d.ts +0 -54
- package/dist/components/Button/index.d.ts +0 -4
- package/dist/components/Icon/IconMap/IconMap.d.ts +0 -1
- package/dist/components/Icon/IconMap/index.d.ts +0 -23
- package/dist/components/Icon/IconMap/modules/publicWelfare.d.ts +0 -22
- package/dist/components/Icon/IconMap/propTypes.d.ts +0 -8
- package/dist/components/Icon/IconMap/useDesign.d.ts +0 -4
- package/dist/components/Icon/index.d.ts +0 -26
- package/dist/components/Icon/src/Icon.vue.d.ts +0 -30
- package/dist/components/Input/Input.vue.d.ts +0 -39
- package/dist/components/Input/index.d.ts +0 -4
package/dist/computent.js
CHANGED
|
@@ -1,313 +1,56 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
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-c1bf003a"), 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
|
-
},
|
|
5
|
+
}, Ys = {
|
|
263
6
|
key: 2,
|
|
264
7
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
265
|
-
},
|
|
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
|
-
},
|
|
11
|
+
}, fo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("合同编号:"), -1)), wo = {
|
|
269
12
|
key: 1,
|
|
270
13
|
class: "text-12px"
|
|
271
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
35
|
+
}, jo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("当前流转时间:"), -1)), Eo = {
|
|
293
36
|
key: 5,
|
|
294
37
|
class: "text-12px"
|
|
295
|
-
},
|
|
38
|
+
}, Go = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("当前审批人:"), -1)), Oo = {
|
|
296
39
|
key: 6,
|
|
297
40
|
class: "text-12px"
|
|
298
|
-
},
|
|
41
|
+
}, qo = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("合同类型:"), -1)), Ao = {
|
|
299
42
|
key: 7,
|
|
300
43
|
class: "text-12px"
|
|
301
|
-
},
|
|
44
|
+
}, Ho = /* @__PURE__ */ c(() => /* @__PURE__ */ o("span", { class: "title" }, /* @__PURE__ */ l("签约方式:"), -1)), Jo = {
|
|
302
45
|
key: 8,
|
|
303
46
|
class: "text-12px"
|
|
304
|
-
},
|
|
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
|
-
},
|
|
50
|
+
}, Yo = {
|
|
308
51
|
key: 1,
|
|
309
52
|
class: "text-14px text-[#acb0b7] mr-2"
|
|
310
|
-
},
|
|
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(
|
|
338
|
-
const
|
|
339
|
-
const
|
|
340
|
-
return
|
|
341
|
-
},
|
|
342
|
-
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
},
|
|
346
|
-
|
|
347
|
-
},
|
|
348
|
-
|
|
349
|
-
},
|
|
350
|
-
|
|
351
|
-
},
|
|
352
|
-
|
|
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
|
|
355
|
-
details:
|
|
356
|
-
}), (
|
|
357
|
-
const
|
|
358
|
-
return
|
|
359
|
-
(
|
|
360
|
-
s != null && s.is_old_flow ? (
|
|
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: (
|
|
107
|
+
onClick: (u) => Z(s, e.type)
|
|
365
108
|
}, {
|
|
366
|
-
header:
|
|
367
|
-
var
|
|
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",
|
|
112
|
+
o("div", Qs, [
|
|
370
113
|
o("div", null, [
|
|
371
|
-
o("span",
|
|
372
|
-
(
|
|
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:
|
|
378
|
-
|
|
120
|
+
default: d(() => [
|
|
121
|
+
x(" 已发起签约 ")
|
|
379
122
|
]),
|
|
380
123
|
_: 1
|
|
381
|
-
})) :
|
|
382
|
-
|
|
124
|
+
})) : a("", !0),
|
|
125
|
+
e.typeFlowPath === "抄送我的" && (s == null ? void 0 : s.copy_status) === 1 ? q(t.$slots, "read-icon", {
|
|
383
126
|
key: 1,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
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:
|
|
133
|
+
onClick: A((f) => _s(s), ["stop"])
|
|
394
134
|
}, {
|
|
395
|
-
default:
|
|
396
|
-
|
|
135
|
+
default: d(() => [
|
|
136
|
+
x(" 催办 ")
|
|
397
137
|
]),
|
|
398
138
|
_: 2
|
|
399
|
-
}, 1032, ["onClick"])) :
|
|
400
|
-
|
|
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:
|
|
406
|
-
|
|
145
|
+
default: d(() => [
|
|
146
|
+
x(" 发起人已催办 ")
|
|
407
147
|
]),
|
|
408
148
|
_: 1
|
|
409
|
-
})) :
|
|
149
|
+
})) : a("", !0)
|
|
410
150
|
]),
|
|
411
|
-
o("div",
|
|
412
|
-
(((
|
|
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:
|
|
157
|
+
onClick: A((f) => qs(s == null ? void 0 : s.old_flow), ["stop"])
|
|
418
158
|
}, {
|
|
419
|
-
default:
|
|
420
|
-
|
|
159
|
+
default: d(() => [
|
|
160
|
+
x(" 一键复制 ")
|
|
421
161
|
]),
|
|
422
162
|
_: 2
|
|
423
|
-
}, 1032, ["onClick"])) :
|
|
424
|
-
|
|
425
|
-
|
|
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: (
|
|
428
|
-
(
|
|
429
|
-
)) == null ? void 0 :
|
|
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:
|
|
432
|
-
var
|
|
171
|
+
default: d(() => {
|
|
172
|
+
var f, b, G, O;
|
|
433
173
|
return [
|
|
434
|
-
|
|
435
|
-
(
|
|
436
|
-
)) == null ? void 0 :
|
|
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"])) : (
|
|
180
|
+
}, 1032, ["type"])) : (n(), p(y, {
|
|
441
181
|
key: 4,
|
|
442
|
-
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:
|
|
445
|
-
var
|
|
184
|
+
default: d(() => {
|
|
185
|
+
var f, b;
|
|
446
186
|
return [
|
|
447
|
-
|
|
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
|
-
|
|
192
|
+
ls(s, e.typeFlowPath) ? q(t.$slots, "delete-icon", {
|
|
453
193
|
key: 5,
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
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:
|
|
465
|
-
var
|
|
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",
|
|
468
|
-
o("div",
|
|
469
|
-
o("div",
|
|
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",
|
|
472
|
-
o("div",
|
|
473
|
-
|
|
474
|
-
o("span",
|
|
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",
|
|
477
|
-
|
|
478
|
-
o("span",
|
|
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",
|
|
481
|
-
|
|
482
|
-
((
|
|
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
|
-
((
|
|
485
|
-
|
|
486
|
-
o("span", null,
|
|
487
|
-
])) :
|
|
488
|
-
[1, 16, 19].includes((
|
|
489
|
-
|
|
490
|
-
o("span",
|
|
491
|
-
])) :
|
|
492
|
-
((
|
|
493
|
-
((
|
|
494
|
-
|
|
495
|
-
o("span",
|
|
496
|
-
])) :
|
|
497
|
-
((
|
|
498
|
-
|
|
499
|
-
o("span",
|
|
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
|
-
])) :
|
|
503
|
-
[3, 4, 5, 6, 7, 8].includes((
|
|
504
|
-
|
|
505
|
-
o("span",
|
|
506
|
-
])) :
|
|
507
|
-
[16].includes((
|
|
508
|
-
|
|
509
|
-
o("span",
|
|
510
|
-
])) :
|
|
511
|
-
((
|
|
512
|
-
|
|
513
|
-
o("span",
|
|
514
|
-
(
|
|
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
|
-
])) :
|
|
517
|
-
], 64)) :
|
|
518
|
-
((
|
|
519
|
-
|
|
520
|
-
o("span",
|
|
521
|
-
])) :
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
(
|
|
525
|
-
(
|
|
526
|
-
) ? (
|
|
527
|
-
|
|
528
|
-
o("span", null,
|
|
529
|
-
])) :
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
(
|
|
533
|
-
(
|
|
534
|
-
) ? (
|
|
535
|
-
|
|
536
|
-
o("span", null,
|
|
537
|
-
])) :
|
|
538
|
-
((
|
|
539
|
-
|
|
540
|
-
o("span", null,
|
|
541
|
-
])) :
|
|
542
|
-
((
|
|
543
|
-
|
|
544
|
-
o("span", null,
|
|
545
|
-
])) :
|
|
546
|
-
((
|
|
547
|
-
|
|
548
|
-
o("span", null,
|
|
549
|
-
])) :
|
|
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"])) : (
|
|
296
|
+
}, 1032, ["onClick"])) : (n(), p(cs, {
|
|
556
297
|
key: 1,
|
|
557
298
|
shadow: "hover",
|
|
558
299
|
class: "mb-1",
|
|
559
|
-
onClick: (
|
|
300
|
+
onClick: (u) => Z(s, e.type)
|
|
560
301
|
}, {
|
|
561
|
-
header:
|
|
562
|
-
var
|
|
302
|
+
header: d(() => {
|
|
303
|
+
var u, h;
|
|
563
304
|
return [
|
|
564
|
-
o("div",
|
|
305
|
+
o("div", Qo, [
|
|
565
306
|
o("div", null, [
|
|
566
|
-
o("span",
|
|
567
|
-
|
|
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
|
-
|
|
570
|
-
|
|
571
|
-
|
|
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:
|
|
316
|
+
onClick: A((r) => _s(s), ["stop"])
|
|
579
317
|
}, {
|
|
580
|
-
default:
|
|
581
|
-
|
|
318
|
+
default: d(() => [
|
|
319
|
+
x(" 催办 ")
|
|
582
320
|
]),
|
|
583
321
|
_: 2
|
|
584
|
-
}, 1032, ["onClick"])) :
|
|
585
|
-
|
|
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:
|
|
591
|
-
|
|
328
|
+
default: d(() => [
|
|
329
|
+
x(" 发起人已催办 ")
|
|
592
330
|
]),
|
|
593
331
|
_: 1
|
|
594
|
-
})) :
|
|
332
|
+
})) : a("", !0)
|
|
595
333
|
]),
|
|
596
|
-
o("div",
|
|
597
|
-
|
|
598
|
-
|
|
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: (
|
|
338
|
+
type: (u = K(s == null ? void 0 : s.node_approval_status)) == null ? void 0 : u.type
|
|
601
339
|
}, {
|
|
602
|
-
default:
|
|
603
|
-
var
|
|
340
|
+
default: d(() => {
|
|
341
|
+
var r;
|
|
604
342
|
return [
|
|
605
|
-
|
|
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"])) : (
|
|
347
|
+
}, 1032, ["type"])) : (n(), p(y, {
|
|
610
348
|
key: 3,
|
|
611
|
-
type: (
|
|
349
|
+
type: (h = Q(s == null ? void 0 : s.flow_status)) == null ? void 0 : h.type
|
|
612
350
|
}, {
|
|
613
|
-
default:
|
|
614
|
-
var
|
|
351
|
+
default: d(() => {
|
|
352
|
+
var r;
|
|
615
353
|
return [
|
|
616
|
-
|
|
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
|
-
|
|
359
|
+
ls(s, e.typeFlowPath) ? q(t.$slots, "delete-icon", {
|
|
622
360
|
key: 4,
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
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:
|
|
634
|
-
o("div",
|
|
635
|
-
o("div",
|
|
636
|
-
o("div",
|
|
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",
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
key:
|
|
642
|
-
item_:
|
|
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)) :
|
|
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
|
-
|
|
391
|
+
t.treatDerailsComponent ? (n(), p(os(t.treatDerailsComponent), {
|
|
653
392
|
key: 0,
|
|
654
393
|
ref_key: "treatDerailsRef",
|
|
655
|
-
ref:
|
|
656
|
-
rowItem:
|
|
657
|
-
typeFlowPath:
|
|
658
|
-
copyStatus:
|
|
659
|
-
onGetList:
|
|
660
|
-
onReada:
|
|
661
|
-
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) :
|
|
662
|
-
|
|
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:
|
|
666
|
-
rowItem:
|
|
667
|
-
typeFlowPath:
|
|
668
|
-
copyStatus:
|
|
669
|
-
onGetList:
|
|
670
|
-
onReada:
|
|
671
|
-
}, null, 40, ["rowItem", "typeFlowPath", "copyStatus"])) :
|
|
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
|
-
}),
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
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-c1bf003a"]]), el = (w) => {
|
|
420
|
+
w.component("CToDoCard", tl);
|
|
421
|
+
}, _l = {
|
|
422
|
+
install: el
|
|
679
423
|
};
|
|
680
424
|
export {
|
|
681
|
-
|
|
682
|
-
|
|
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
|
};
|