sooyie-task 0.0.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/README.md +51 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/add-7_dK5ok_.mjs +261 -0
- package/dist/add-C2devcsq.mjs +439 -0
- package/dist/edit-CE42VR9Z.mjs +237 -0
- package/dist/edit-CRQkMd15.mjs +452 -0
- package/dist/el-message-Bod6C9wB.mjs +1252 -0
- package/dist/index-BYV5ylFn.mjs +29 -0
- package/dist/index-B_hFZVhb-C3Oi__-I.mjs +1851 -0
- package/dist/index-CEvxhWYT.mjs +104 -0
- package/dist/index-CK1KRDsU.mjs +335 -0
- package/dist/index-C_NGsTkK.mjs +412 -0
- package/dist/index-CewoF68r.mjs +105 -0
- package/dist/index-DIHsBjkh.mjs +4 -0
- package/dist/index-DaJ5KrbS.mjs +125 -0
- package/dist/index-DvawPwK3.mjs +10483 -0
- package/dist/index-rm9IgDWo.mjs +377 -0
- package/dist/index.mjs +2807 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DRYjMxBU.mjs +141 -0
- package/dist/info-Dls9Zhvf.mjs +1990 -0
- package/dist/report-CJWipPH_.mjs +564 -0
- package/dist/report-info-B0NXFFzR.mjs +313 -0
- package/dist/style.css +1 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/dict.d.ts +13 -0
- package/dts/src/api/index.d.ts +16 -0
- package/dts/src/api/task/report-files/index.d.ts +9 -0
- package/dts/src/api/task/report-files/types.d.ts +26 -0
- package/dts/src/api/task/task-define/index.d.ts +17 -0
- package/dts/src/api/task/task-define/types.d.ts +141 -0
- package/dts/src/api/task/task-define-rel/index.d.ts +10 -0
- package/dts/src/api/task/task-define-rel/types.d.ts +25 -0
- package/dts/src/api/task/task-inspect-matterst-record/index.d.ts +9 -0
- package/dts/src/api/task/task-inspect-matterst-record/types.d.ts +65 -0
- package/dts/src/api/task/task-inst/index.d.ts +12 -0
- package/dts/src/api/task/task-inst/types.d.ts +137 -0
- package/dts/src/api/task/task-record/index.d.ts +20 -0
- package/dts/src/api/task/task-record/types.d.ts +62 -0
- package/dts/src/api/task/task-task/index.d.ts +9 -0
- package/dts/src/api/task/task-task/types.d.ts +57 -0
- package/dts/src/api/task/task_my_assigned/index.d.ts +9 -0
- package/dts/src/api/task/task_my_assigned/types.d.ts +56 -0
- package/dts/src/components/singleImageUpload/index.vue.d.ts +45 -0
- package/dts/src/constant.d.ts +56 -0
- package/dts/src/index.d.ts +5 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/task/en.d.ts +81 -0
- package/dts/src/lang/task/zh-cn.d.ts +122 -0
- package/dts/src/main.d.ts +5 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/task/task-define/add.vue.d.ts +11 -0
- package/dts/src/views/task/task-define/edit.vue.d.ts +2 -0
- package/dts/src/views/task/task-define/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-define-rel/add.vue.d.ts +11 -0
- package/dts/src/views/task/task-define-rel/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/edit.vue.d.ts +26 -0
- package/dts/src/views/task/task-inst/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/info.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/report-info.vue.d.ts +33 -0
- package/dts/src/views/task/task-inst/report.vue.d.ts +26 -0
- package/dts/src/views/task/task-task/index.vue.d.ts +2 -0
- package/package.json +62 -0
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import { defineComponent as X, getCurrentInstance as Z, ref as C, onActivated as tt, resolveComponent as r, resolveDirective as et, createElementBlock as I, openBlock as p, createElementVNode as c, createVNode as o, withCtx as a, withKeys as h, unref as s, Fragment as at, renderList as st, createBlock as V, createTextVNode as _, toDisplayString as d, withDirectives as N, createCommentVNode as lt, isRef as E } from "vue";
|
|
2
|
+
import { useUserStore as U, clearEmpty as z, request as L, useTableHooks as ot } from "jmash-core";
|
|
3
|
+
import { useI18n as nt } from "vue-i18n";
|
|
4
|
+
import { D as m, C as R } from "./index-DvawPwK3.mjs";
|
|
5
|
+
import { r as rt } from "./index-CewoF68r.mjs";
|
|
6
|
+
import { t as ut } from "./index-CEvxhWYT.mjs";
|
|
7
|
+
class dt {
|
|
8
|
+
getKey() {
|
|
9
|
+
return {};
|
|
10
|
+
}
|
|
11
|
+
// 查询翻页信息任务实例
|
|
12
|
+
findPage(u) {
|
|
13
|
+
const k = U().user.tenant;
|
|
14
|
+
return z(u), u && (u.hasStatus = u.status !== void 0, u.hasSort = u.sort !== void 0), L({
|
|
15
|
+
url: "/v1/front/task/sooyie/task/page/" + k,
|
|
16
|
+
method: "get",
|
|
17
|
+
params: u
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
// 查询列表信息任务实例
|
|
21
|
+
findList(u) {
|
|
22
|
+
const k = U().user.tenant;
|
|
23
|
+
return z(u), L({
|
|
24
|
+
url: "/v1/front/task/sooyie/task/list/" + k,
|
|
25
|
+
method: "get",
|
|
26
|
+
params: u
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
const it = new dt(), mt = { class: "app-container" }, pt = { class: "search-container" }, ct = { key: 0 }, kt = { key: 1 }, ft = ["onClick"], ht = /* @__PURE__ */ X({
|
|
31
|
+
__name: "index",
|
|
32
|
+
setup(B) {
|
|
33
|
+
const { proxy: u } = Z(), { t: k } = nt();
|
|
34
|
+
m.OrgBizDict.useValues(), m.UserExtBizDict.useValues(), m.itemBizLayDict.useValues();
|
|
35
|
+
const n = C({}), {
|
|
36
|
+
tableHooks: i,
|
|
37
|
+
multipleTableRef: P,
|
|
38
|
+
queryFormRef: j,
|
|
39
|
+
listLoading: K,
|
|
40
|
+
tableData: Q,
|
|
41
|
+
total: w
|
|
42
|
+
} = ot(k, it, n), f = C([]);
|
|
43
|
+
function A(l) {
|
|
44
|
+
f.value.length === 0 && ut.getEnum({ className: R.TASKSORT_TYPE, type: 1 }).then((b) => {
|
|
45
|
+
f.value = b.data.values;
|
|
46
|
+
});
|
|
47
|
+
const e = f.value.find((b) => b.key === l);
|
|
48
|
+
return e ? e.value : "";
|
|
49
|
+
}
|
|
50
|
+
let v = C([
|
|
51
|
+
// 任务主题
|
|
52
|
+
{
|
|
53
|
+
label: "taskInst.taskName",
|
|
54
|
+
prop: "taskName",
|
|
55
|
+
minWidth: "150",
|
|
56
|
+
sortable: "custom",
|
|
57
|
+
isColumn: !0
|
|
58
|
+
},
|
|
59
|
+
// 任务类型
|
|
60
|
+
{
|
|
61
|
+
label: "taskInst.sort",
|
|
62
|
+
prop: "sort",
|
|
63
|
+
slotName: "sort",
|
|
64
|
+
columnType: "slot",
|
|
65
|
+
minWidth: "150",
|
|
66
|
+
sortable: "custom",
|
|
67
|
+
isColumn: !0
|
|
68
|
+
},
|
|
69
|
+
// 服务对象
|
|
70
|
+
{
|
|
71
|
+
label: "taskInst.customerTagId",
|
|
72
|
+
prop: "customerTagId",
|
|
73
|
+
slotName: "customerTagId",
|
|
74
|
+
columnType: "slot",
|
|
75
|
+
minWidth: "150",
|
|
76
|
+
sortable: "custom",
|
|
77
|
+
isColumn: !0
|
|
78
|
+
},
|
|
79
|
+
// 开始日期
|
|
80
|
+
{
|
|
81
|
+
label: "taskInst.startDate",
|
|
82
|
+
prop: "startDate",
|
|
83
|
+
width: "105",
|
|
84
|
+
sortable: "custom",
|
|
85
|
+
isColumn: !0
|
|
86
|
+
},
|
|
87
|
+
// 截止日期
|
|
88
|
+
{
|
|
89
|
+
label: "taskInst.endDate",
|
|
90
|
+
prop: "endDate",
|
|
91
|
+
width: "105",
|
|
92
|
+
sortable: "custom",
|
|
93
|
+
isColumn: !0
|
|
94
|
+
},
|
|
95
|
+
// 执行人员
|
|
96
|
+
{
|
|
97
|
+
label: "taskInst.userId",
|
|
98
|
+
prop: "userId",
|
|
99
|
+
slotName: "userId",
|
|
100
|
+
columnType: "slot",
|
|
101
|
+
width: "105",
|
|
102
|
+
sortable: "custom",
|
|
103
|
+
isColumn: !0
|
|
104
|
+
},
|
|
105
|
+
// 已读状态
|
|
106
|
+
{
|
|
107
|
+
label: "taskInst.readStatus",
|
|
108
|
+
prop: "readStatus",
|
|
109
|
+
slotName: "readStatus",
|
|
110
|
+
columnType: "slot",
|
|
111
|
+
width: "105",
|
|
112
|
+
sortable: "custom",
|
|
113
|
+
isColumn: !0
|
|
114
|
+
},
|
|
115
|
+
// 完成状态
|
|
116
|
+
{
|
|
117
|
+
label: "taskInst.status",
|
|
118
|
+
prop: "status",
|
|
119
|
+
slotName: "status",
|
|
120
|
+
columnType: "slot",
|
|
121
|
+
width: "105",
|
|
122
|
+
sortable: "custom",
|
|
123
|
+
isColumn: !0
|
|
124
|
+
},
|
|
125
|
+
// 完成进度
|
|
126
|
+
{
|
|
127
|
+
label: "taskInst.percent",
|
|
128
|
+
prop: "percent",
|
|
129
|
+
slotName: "percent",
|
|
130
|
+
columnType: "slot",
|
|
131
|
+
width: "105",
|
|
132
|
+
sortable: "custom",
|
|
133
|
+
isColumn: !0
|
|
134
|
+
},
|
|
135
|
+
// 完成时间
|
|
136
|
+
{
|
|
137
|
+
label: "taskInst.finishDate",
|
|
138
|
+
prop: "finishDate",
|
|
139
|
+
slotName: "finishDate",
|
|
140
|
+
columnType: "slot",
|
|
141
|
+
width: "160",
|
|
142
|
+
sortable: "custom",
|
|
143
|
+
isColumn: !0
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
label: "common.operate",
|
|
147
|
+
width: "60",
|
|
148
|
+
slotName: "operation",
|
|
149
|
+
columnType: "slot",
|
|
150
|
+
fixed: "right",
|
|
151
|
+
isColumn: !0
|
|
152
|
+
}
|
|
153
|
+
]);
|
|
154
|
+
function Y(l) {
|
|
155
|
+
rt.push({
|
|
156
|
+
path: "/task/task-inst/info",
|
|
157
|
+
query: {
|
|
158
|
+
taskInstId: l.taskInstId,
|
|
159
|
+
taskSort: l.sort,
|
|
160
|
+
taskDefineId: l.taskDefineId
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
function x(l) {
|
|
165
|
+
i.selectionRows.value = l;
|
|
166
|
+
}
|
|
167
|
+
function H(l) {
|
|
168
|
+
i.handleSort(l.prop, l.order);
|
|
169
|
+
}
|
|
170
|
+
return tt(() => {
|
|
171
|
+
i.getList();
|
|
172
|
+
}), (l, e) => {
|
|
173
|
+
const b = r("el-input"), y = r("el-form-item"), g = r("el-col"), O = r("el-option"), F = r("el-select"), T = r("jmash-select"), S = r("el-row"), D = r("el-button"), M = r("el-form"), W = r("jmash-column-select"), q = r("jmash-table"), G = r("jmash-pagination"), J = r("el-card"), $ = et("hasPerm");
|
|
174
|
+
return p(), I("div", mt, [
|
|
175
|
+
c("div", pt, [
|
|
176
|
+
o(M, {
|
|
177
|
+
ref_key: "queryFormRef",
|
|
178
|
+
ref: j,
|
|
179
|
+
model: n.value,
|
|
180
|
+
inline: !0
|
|
181
|
+
}, {
|
|
182
|
+
default: a(() => [
|
|
183
|
+
o(S, null, {
|
|
184
|
+
default: a(() => [
|
|
185
|
+
o(g, { span: 6 }, {
|
|
186
|
+
default: a(() => [
|
|
187
|
+
o(y, {
|
|
188
|
+
label: l.$t("taskInst.keyword"),
|
|
189
|
+
prop: "keyword"
|
|
190
|
+
}, {
|
|
191
|
+
default: a(() => [
|
|
192
|
+
o(b, {
|
|
193
|
+
modelValue: n.value.keyword,
|
|
194
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => n.value.keyword = t),
|
|
195
|
+
placeholder: l.$t("taskInst.keywordRequired"),
|
|
196
|
+
onKeyup: e[1] || (e[1] = h((t) => s(i).handleQuery(), ["enter"])),
|
|
197
|
+
class: "!w-[203px]"
|
|
198
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["label"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
}),
|
|
205
|
+
o(g, { span: 6 }, {
|
|
206
|
+
default: a(() => [
|
|
207
|
+
o(y, {
|
|
208
|
+
label: l.$t("taskDefine.taskSort"),
|
|
209
|
+
prop: "sort"
|
|
210
|
+
}, {
|
|
211
|
+
default: a(() => [
|
|
212
|
+
o(F, {
|
|
213
|
+
modelValue: n.value.sort,
|
|
214
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.sort = t),
|
|
215
|
+
data: f.value,
|
|
216
|
+
placeholder: l.$t("taskDefine.taskSort"),
|
|
217
|
+
onKeyup: e[3] || (e[3] = h((t) => s(i).handleQuery(), ["enter"])),
|
|
218
|
+
class: "!w-[203px]"
|
|
219
|
+
}, {
|
|
220
|
+
default: a(() => [
|
|
221
|
+
(p(!0), I(at, null, st(f.value, (t) => (p(), V(O, {
|
|
222
|
+
key: t.key,
|
|
223
|
+
label: t.value,
|
|
224
|
+
value: t.key
|
|
225
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}, 8, ["modelValue", "data", "placeholder"])
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["label"])
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}),
|
|
235
|
+
o(g, { span: 6 }, {
|
|
236
|
+
default: a(() => [
|
|
237
|
+
o(y, {
|
|
238
|
+
label: l.$t("taskInst.readStatus"),
|
|
239
|
+
prop: "readStatus"
|
|
240
|
+
}, {
|
|
241
|
+
default: a(() => [
|
|
242
|
+
o(T, {
|
|
243
|
+
modelValue: n.value.readStatus,
|
|
244
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.readStatus = t),
|
|
245
|
+
data: s(m).readStatusDict.values,
|
|
246
|
+
placeholder: l.$t("taskInst.readStatus"),
|
|
247
|
+
onKeyup: e[5] || (e[5] = h((t) => s(i).handleQuery(), ["enter"])),
|
|
248
|
+
class: "!w-[203px]"
|
|
249
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
}, 8, ["label"])
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}),
|
|
256
|
+
o(g, { span: 6 }, {
|
|
257
|
+
default: a(() => [
|
|
258
|
+
o(y, {
|
|
259
|
+
label: l.$t("taskInst.status"),
|
|
260
|
+
prop: "status"
|
|
261
|
+
}, {
|
|
262
|
+
default: a(() => [
|
|
263
|
+
o(T, {
|
|
264
|
+
modelValue: n.value.status,
|
|
265
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => n.value.status = t),
|
|
266
|
+
data: s(m).taskStatusEnum.values,
|
|
267
|
+
placeholder: l.$t("taskInst.statusRequired"),
|
|
268
|
+
onKeyup: e[7] || (e[7] = h((t) => s(i).handleQuery(), ["enter"])),
|
|
269
|
+
class: "!w-[203px]"
|
|
270
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}, 8, ["label"])
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
})
|
|
277
|
+
]),
|
|
278
|
+
_: 1
|
|
279
|
+
}),
|
|
280
|
+
o(S),
|
|
281
|
+
o(y, { class: "search-btn" }, {
|
|
282
|
+
default: a(() => [
|
|
283
|
+
o(D, {
|
|
284
|
+
type: "primary",
|
|
285
|
+
onClick: e[8] || (e[8] = (t) => s(i).handleQuery())
|
|
286
|
+
}, {
|
|
287
|
+
default: a(() => [
|
|
288
|
+
_(d(l.$t("common.search")), 1)
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
}),
|
|
292
|
+
o(D, {
|
|
293
|
+
onClick: e[9] || (e[9] = (t) => s(i).resetQuery())
|
|
294
|
+
}, {
|
|
295
|
+
default: a(() => [
|
|
296
|
+
_(d(l.$t("common.reset")), 1)
|
|
297
|
+
]),
|
|
298
|
+
_: 1
|
|
299
|
+
})
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
})
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
}, 8, ["model"]),
|
|
306
|
+
e[16] || (e[16] = c("div", { class: "clear" }, null, -1))
|
|
307
|
+
]),
|
|
308
|
+
o(J, {
|
|
309
|
+
shadow: "never",
|
|
310
|
+
class: "table-container"
|
|
311
|
+
}, {
|
|
312
|
+
header: a(() => [
|
|
313
|
+
o(S, null, {
|
|
314
|
+
default: a(() => [
|
|
315
|
+
o(g, {
|
|
316
|
+
span: 24,
|
|
317
|
+
class: "container-float"
|
|
318
|
+
}, {
|
|
319
|
+
default: a(() => [
|
|
320
|
+
N((p(), V(D, {
|
|
321
|
+
plain: "",
|
|
322
|
+
type: "primary",
|
|
323
|
+
onClick: e[10] || (e[10] = (t) => s(i).handleExport(s(k)("task.taskInst.name")))
|
|
324
|
+
}, {
|
|
325
|
+
default: a(() => [
|
|
326
|
+
_(d(l.$t("common.export")), 1)
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
})), [
|
|
330
|
+
[$, ["task:task:export"]]
|
|
331
|
+
]),
|
|
332
|
+
o(W, {
|
|
333
|
+
modelValue: s(v),
|
|
334
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => E(v) ? v.value = t : v = t),
|
|
335
|
+
"label-name": "task/task"
|
|
336
|
+
}, null, 8, ["modelValue"])
|
|
337
|
+
]),
|
|
338
|
+
_: 1
|
|
339
|
+
})
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
})
|
|
343
|
+
]),
|
|
344
|
+
footer: a(() => [
|
|
345
|
+
s(w) > 0 ? (p(), V(G, {
|
|
346
|
+
key: 0,
|
|
347
|
+
total: s(w),
|
|
348
|
+
"onUpdate:total": e[12] || (e[12] = (t) => E(w) ? w.value = t : null),
|
|
349
|
+
"current-page": n.value.curPage,
|
|
350
|
+
"onUpdate:currentPage": e[13] || (e[13] = (t) => n.value.curPage = t),
|
|
351
|
+
"page-size": n.value.pageSize,
|
|
352
|
+
"onUpdate:pageSize": e[14] || (e[14] = (t) => n.value.pageSize = t),
|
|
353
|
+
onPagination: e[15] || (e[15] = (t) => s(i).getList())
|
|
354
|
+
}, null, 8, ["total", "current-page", "page-size"])) : lt("", !0)
|
|
355
|
+
]),
|
|
356
|
+
default: a(() => [
|
|
357
|
+
o(q, {
|
|
358
|
+
ref_key: "multipleTableRef",
|
|
359
|
+
ref: P,
|
|
360
|
+
"row-key": "taskInstId",
|
|
361
|
+
"list-loading": s(K),
|
|
362
|
+
data: s(Q),
|
|
363
|
+
"table-label": s(v),
|
|
364
|
+
onSelectionChange: x,
|
|
365
|
+
onSortChange: H
|
|
366
|
+
}, {
|
|
367
|
+
sort: a((t) => [
|
|
368
|
+
c("span", null, d(A(t.data.row.sort)), 1)
|
|
369
|
+
]),
|
|
370
|
+
customerTagId: a((t) => [
|
|
371
|
+
t.data.row.sort === s(R).CUSTOMER ? (p(), I("span", ct, d(s(m).OrgBizDict.getValue(t.data.row.annivCustomerId)), 1)) : (p(), I("span", kt, d(s(m).itemBizLayDict.getValue(t.data.row.annivCustomerId)), 1))
|
|
372
|
+
]),
|
|
373
|
+
readStatus: a((t) => [
|
|
374
|
+
c("span", null, d(s(m).readStatusDict.getValue(t.data.row.readStatus)), 1)
|
|
375
|
+
]),
|
|
376
|
+
status: a((t) => [
|
|
377
|
+
c("span", null, d(s(m).taskStatusEnum.getEnumValue(t.data.row.status)), 1)
|
|
378
|
+
]),
|
|
379
|
+
percent: a((t) => [
|
|
380
|
+
c("span", null, d(t.data.row.percent) + "% ", 1)
|
|
381
|
+
]),
|
|
382
|
+
finishDate: a((t) => [
|
|
383
|
+
_(d(s(u).$moment.formatDate(
|
|
384
|
+
t.data.row.finishDate,
|
|
385
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
386
|
+
)), 1)
|
|
387
|
+
]),
|
|
388
|
+
userId: a((t) => [
|
|
389
|
+
c("span", null, d(s(m).UserExtBizDict.getValue(t.data.row.userId)), 1)
|
|
390
|
+
]),
|
|
391
|
+
operation: a((t) => [
|
|
392
|
+
N((p(), I("span", {
|
|
393
|
+
class: "el-button-color",
|
|
394
|
+
onClick: (vt) => Y(t.data.row)
|
|
395
|
+
}, [
|
|
396
|
+
_(d(l.$t("common.view")), 1)
|
|
397
|
+
], 8, ft)), [
|
|
398
|
+
[$, ["task:task:delete"]]
|
|
399
|
+
])
|
|
400
|
+
]),
|
|
401
|
+
_: 1
|
|
402
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
})
|
|
406
|
+
]);
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
});
|
|
410
|
+
export {
|
|
411
|
+
ht as default
|
|
412
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { createRouter as t, createWebHistory as a } from "vue-router";
|
|
2
|
+
import { RedirectPage as o, Layout as e, LoginPage as n, ProfilePage as r, DashboardPage as i, Error401Page as d, Error404Page as m, routerRef as s } from "jmash-core";
|
|
3
|
+
const h = () => import("./edit-CRQkMd15.mjs"), p = () => import("./info-Dls9Zhvf.mjs"), c = [
|
|
4
|
+
{
|
|
5
|
+
path: "/task",
|
|
6
|
+
component: e,
|
|
7
|
+
name: "task",
|
|
8
|
+
meta: {
|
|
9
|
+
hidden: !0
|
|
10
|
+
},
|
|
11
|
+
children: [
|
|
12
|
+
{
|
|
13
|
+
path: "/task/task-define/edit",
|
|
14
|
+
component: h,
|
|
15
|
+
name: "taskEdit",
|
|
16
|
+
meta: {
|
|
17
|
+
hidden: !1,
|
|
18
|
+
title: "编辑"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
path: "/task/task-inst/info",
|
|
23
|
+
component: p,
|
|
24
|
+
name: "taskDetail",
|
|
25
|
+
meta: {
|
|
26
|
+
hidden: !1,
|
|
27
|
+
title: "任务详情"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
], l = [
|
|
33
|
+
{
|
|
34
|
+
path: "/redirect",
|
|
35
|
+
component: e,
|
|
36
|
+
meta: { hidden: !0 },
|
|
37
|
+
children: [
|
|
38
|
+
{
|
|
39
|
+
path: "/redirect/:path(.*)",
|
|
40
|
+
component: o
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
path: "/login",
|
|
46
|
+
component: n,
|
|
47
|
+
meta: { hidden: !0 }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
path: "/my",
|
|
51
|
+
component: e,
|
|
52
|
+
meta: { hidden: !0 },
|
|
53
|
+
redirect: "noredirect",
|
|
54
|
+
children: [
|
|
55
|
+
{
|
|
56
|
+
path: "profile",
|
|
57
|
+
component: r,
|
|
58
|
+
name: "Profile",
|
|
59
|
+
meta: { title: "个人中心", icon: "user" }
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
path: "/",
|
|
65
|
+
name: "/",
|
|
66
|
+
component: e,
|
|
67
|
+
redirect: "/dashboard",
|
|
68
|
+
children: [
|
|
69
|
+
{
|
|
70
|
+
path: "/dashboard",
|
|
71
|
+
component: i,
|
|
72
|
+
name: "Dashboard",
|
|
73
|
+
// 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致
|
|
74
|
+
// https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
|
|
75
|
+
meta: {
|
|
76
|
+
title: "Dashboard",
|
|
77
|
+
icon: "homepage",
|
|
78
|
+
affix: !0,
|
|
79
|
+
keepAlive: !0,
|
|
80
|
+
alwaysShow: !1
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
path: "401",
|
|
85
|
+
component: d,
|
|
86
|
+
meta: { hidden: !0 }
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
path: "404",
|
|
90
|
+
component: m,
|
|
91
|
+
meta: { hidden: !0 }
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
...c
|
|
96
|
+
], u = t({
|
|
97
|
+
history: a(void 0),
|
|
98
|
+
routes: l,
|
|
99
|
+
// 刷新时,滚动条位置还原
|
|
100
|
+
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
101
|
+
});
|
|
102
|
+
s.value = u;
|
|
103
|
+
export {
|
|
104
|
+
u as r
|
|
105
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { defineComponent as e, createElementBlock as a, openBlock as l, createElementVNode as _ } from "vue";
|
|
2
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
3
|
+
var c = /* @__PURE__ */ e({
|
|
4
|
+
name: "CircleCloseFilled",
|
|
5
|
+
__name: "circle-close-filled",
|
|
6
|
+
setup(s) {
|
|
7
|
+
return (r, t) => (l(), a("svg", {
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
viewBox: "0 0 1024 1024"
|
|
10
|
+
}, [
|
|
11
|
+
_("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
|
|
14
|
+
})
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
}), f = c, n = /* @__PURE__ */ e({
|
|
18
|
+
name: "Close",
|
|
19
|
+
__name: "close",
|
|
20
|
+
setup(s) {
|
|
21
|
+
return (r, t) => (l(), a("svg", {
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
viewBox: "0 0 1024 1024"
|
|
24
|
+
}, [
|
|
25
|
+
_("path", {
|
|
26
|
+
fill: "currentColor",
|
|
27
|
+
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
28
|
+
})
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
}), v = n, o = /* @__PURE__ */ e({
|
|
32
|
+
name: "DeleteFilled",
|
|
33
|
+
__name: "delete-filled",
|
|
34
|
+
setup(s) {
|
|
35
|
+
return (r, t) => (l(), a("svg", {
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
viewBox: "0 0 1024 1024"
|
|
38
|
+
}, [
|
|
39
|
+
_("path", {
|
|
40
|
+
fill: "currentColor",
|
|
41
|
+
d: "M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"
|
|
42
|
+
})
|
|
43
|
+
]));
|
|
44
|
+
}
|
|
45
|
+
}), h = o, i = /* @__PURE__ */ e({
|
|
46
|
+
name: "InfoFilled",
|
|
47
|
+
__name: "info-filled",
|
|
48
|
+
setup(s) {
|
|
49
|
+
return (r, t) => (l(), a("svg", {
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
viewBox: "0 0 1024 1024"
|
|
52
|
+
}, [
|
|
53
|
+
_("path", {
|
|
54
|
+
fill: "currentColor",
|
|
55
|
+
d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
56
|
+
})
|
|
57
|
+
]));
|
|
58
|
+
}
|
|
59
|
+
}), g = i, p = /* @__PURE__ */ e({
|
|
60
|
+
name: "Plus",
|
|
61
|
+
__name: "plus",
|
|
62
|
+
setup(s) {
|
|
63
|
+
return (r, t) => (l(), a("svg", {
|
|
64
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
65
|
+
viewBox: "0 0 1024 1024"
|
|
66
|
+
}, [
|
|
67
|
+
_("path", {
|
|
68
|
+
fill: "currentColor",
|
|
69
|
+
d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
|
|
70
|
+
})
|
|
71
|
+
]));
|
|
72
|
+
}
|
|
73
|
+
}), x = p, m = /* @__PURE__ */ e({
|
|
74
|
+
name: "SuccessFilled",
|
|
75
|
+
__name: "success-filled",
|
|
76
|
+
setup(s) {
|
|
77
|
+
return (r, t) => (l(), a("svg", {
|
|
78
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
+
viewBox: "0 0 1024 1024"
|
|
80
|
+
}, [
|
|
81
|
+
_("path", {
|
|
82
|
+
fill: "currentColor",
|
|
83
|
+
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
|
|
84
|
+
})
|
|
85
|
+
]));
|
|
86
|
+
}
|
|
87
|
+
}), C = m, w = /* @__PURE__ */ e({
|
|
88
|
+
name: "Upload",
|
|
89
|
+
__name: "upload",
|
|
90
|
+
setup(s) {
|
|
91
|
+
return (r, t) => (l(), a("svg", {
|
|
92
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
93
|
+
viewBox: "0 0 1024 1024"
|
|
94
|
+
}, [
|
|
95
|
+
_("path", {
|
|
96
|
+
fill: "currentColor",
|
|
97
|
+
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
|
|
98
|
+
})
|
|
99
|
+
]));
|
|
100
|
+
}
|
|
101
|
+
}), B = w, u = /* @__PURE__ */ e({
|
|
102
|
+
name: "WarningFilled",
|
|
103
|
+
__name: "warning-filled",
|
|
104
|
+
setup(s) {
|
|
105
|
+
return (r, t) => (l(), a("svg", {
|
|
106
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
107
|
+
viewBox: "0 0 1024 1024"
|
|
108
|
+
}, [
|
|
109
|
+
_("path", {
|
|
110
|
+
fill: "currentColor",
|
|
111
|
+
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
|
|
112
|
+
})
|
|
113
|
+
]));
|
|
114
|
+
}
|
|
115
|
+
}), M = u;
|
|
116
|
+
export {
|
|
117
|
+
v as a,
|
|
118
|
+
f as c,
|
|
119
|
+
h as d,
|
|
120
|
+
g as i,
|
|
121
|
+
x as p,
|
|
122
|
+
C as s,
|
|
123
|
+
B as u,
|
|
124
|
+
M as w
|
|
125
|
+
};
|