sooyie-task 0.0.9 → 0.0.11
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/{add-7_dK5ok_.mjs → add-DuZI-0rw.mjs} +10 -8
- package/dist/add-iEZo5s5C.mjs +4 -0
- package/dist/{add-BaHTXQnK.mjs → add.vue_vue_type_script_setup_true_lang-D46pjk8M.mjs} +145 -154
- package/dist/assets/7f3e996112b4923f.png +0 -0
- package/dist/{edit-DR6TsOR1.mjs → edit-DvKXuCgK.mjs} +125 -135
- package/dist/{edit-Ci8Uch5Z.mjs → edit-ww2K--dY.mjs} +33 -31
- package/dist/el-message-CajLrSgM.mjs +1370 -0
- package/dist/{index-Cb72ljTZ.mjs → index-1LxoELHM.mjs} +94 -110
- package/dist/{index-D75JtZHf.mjs → index-CoroLg2B.mjs} +81 -81
- package/dist/{index-B_hFZVhb-C3Oi__-I.mjs → index-CsfOvnt4-CYkGp1YO.mjs} +736 -687
- package/dist/index-DVezr2bg.mjs +9358 -0
- package/dist/{index-BRMLJ2ar.mjs → index-DrhTfMmI.mjs} +20 -28
- package/dist/{index-DIHsBjkh.mjs → index-rQPWP-HJ.mjs} +1 -1
- package/dist/{index-CSqnIoJ3.mjs → index-vh8fHlqF.mjs} +106 -118
- package/dist/index.mjs +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRYjMxBU.mjs → index.vue_vue_type_script_setup_true_lang-DVInku0F.mjs} +3 -3
- package/dist/info-BqqsNfP6.mjs +2029 -0
- package/dist/{report-CEnjUOYk.mjs → report-7UPImd_G.mjs} +26 -24
- package/dist/{report-info-B0NXFFzR.mjs → report-info-CWhm1nL2.mjs} +4 -2
- package/dist/style.css +1 -1
- package/dts/src/api/index.d.ts +1 -0
- package/dts/src/api/task/task-define/index.d.ts +1 -2
- package/dts/src/api/task/task-define/types.d.ts +0 -11
- package/dts/src/constant.d.ts +4 -3
- package/package.json +10 -9
- package/dist/el-message-Bod6C9wB.mjs +0 -1252
- package/dist/index-DvawPwK3.mjs +0 -10483
- package/dist/info-CMCBPoFL.mjs +0 -1992
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useUserStore as e, clearEmpty as a, request as
|
|
1
|
+
import { useUserStore as e, clearEmpty as a, request as s } from "jmash-core";
|
|
2
2
|
class i {
|
|
3
3
|
getKey(t) {
|
|
4
4
|
return {
|
|
@@ -7,34 +7,34 @@ class i {
|
|
|
7
7
|
}
|
|
8
8
|
// 查询翻页信息任务定义
|
|
9
9
|
findPage(t) {
|
|
10
|
-
const
|
|
11
|
-
return t && (t.hasTaskSort = t.taskSort != null), a(t),
|
|
12
|
-
url: "/v1/front/task/sooyie/task_define/page/" +
|
|
10
|
+
const n = e().user.tenant;
|
|
11
|
+
return t && (t.hasTaskSort = t.taskSort != null), a(t), s({
|
|
12
|
+
url: "/v1/front/task/sooyie/task_define/page/" + n,
|
|
13
13
|
method: "get",
|
|
14
14
|
params: t
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
// 查询列表信息任务定义
|
|
18
18
|
findList(t) {
|
|
19
|
-
const
|
|
20
|
-
return a(t),
|
|
21
|
-
url: "/v1/front/task/sooyie/task_define/list/" +
|
|
19
|
+
const n = e().user.tenant;
|
|
20
|
+
return a(t), s({
|
|
21
|
+
url: "/v1/front/task/sooyie/task_define/list/" + n,
|
|
22
22
|
method: "get",
|
|
23
23
|
params: t
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
// 查询任务定义
|
|
27
27
|
findById(t) {
|
|
28
|
-
const
|
|
29
|
-
return a(t),
|
|
30
|
-
url: "/v1/front/task/sooyie/task_define/id/" +
|
|
28
|
+
const n = e().user.tenant;
|
|
29
|
+
return a(t), s({
|
|
30
|
+
url: "/v1/front/task/sooyie/task_define/id/" + n + "/" + t.taskDefineId,
|
|
31
31
|
method: "get",
|
|
32
32
|
params: t
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
// 创建实体任务定义
|
|
36
36
|
create(t) {
|
|
37
|
-
return t.tenant = e().user.tenant, a(t),
|
|
37
|
+
return t.tenant = e().user.tenant, a(t), s({
|
|
38
38
|
url: "/v1/front/task/sooyie/task_define",
|
|
39
39
|
method: "post",
|
|
40
40
|
data: t
|
|
@@ -42,7 +42,7 @@ class i {
|
|
|
42
42
|
}
|
|
43
43
|
// 修改实体任务定义
|
|
44
44
|
update(t) {
|
|
45
|
-
return t.tenant = e().user.tenant, a(t),
|
|
45
|
+
return t.tenant = e().user.tenant, a(t), s({
|
|
46
46
|
url: "/v1/front/task/sooyie/task_define",
|
|
47
47
|
method: "patch",
|
|
48
48
|
data: t
|
|
@@ -50,7 +50,7 @@ class i {
|
|
|
50
50
|
}
|
|
51
51
|
// 删除任务定义
|
|
52
52
|
delete(t) {
|
|
53
|
-
return t.tenant = e().user.tenant, a(t),
|
|
53
|
+
return t.tenant = e().user.tenant, a(t), s({
|
|
54
54
|
url: "/v1/front/task/sooyie/task_define/id",
|
|
55
55
|
method: "delete",
|
|
56
56
|
params: t
|
|
@@ -58,11 +58,11 @@ class i {
|
|
|
58
58
|
}
|
|
59
59
|
// 批量删除任务定义
|
|
60
60
|
batchDelete(t) {
|
|
61
|
-
const
|
|
61
|
+
const n = t.map((r) => r.taskDefineId), o = {
|
|
62
62
|
tenant: e().user.tenant,
|
|
63
|
-
taskDefineId:
|
|
63
|
+
taskDefineId: n
|
|
64
64
|
};
|
|
65
|
-
return a(o),
|
|
65
|
+
return a(o), s({
|
|
66
66
|
url: "/v1/front/task/sooyie/task_define/batch",
|
|
67
67
|
method: "put",
|
|
68
68
|
data: o
|
|
@@ -71,7 +71,7 @@ class i {
|
|
|
71
71
|
// 下载导入模板任务定义
|
|
72
72
|
downloadTemplate() {
|
|
73
73
|
const t = e().user.tenant;
|
|
74
|
-
return
|
|
74
|
+
return s({
|
|
75
75
|
url: "/v1/front/task/sooyie/task_define/" + t + "/template.xlsx",
|
|
76
76
|
method: "get",
|
|
77
77
|
responseType: "blob",
|
|
@@ -82,17 +82,9 @@ class i {
|
|
|
82
82
|
}
|
|
83
83
|
// 任务附件查询列表
|
|
84
84
|
findTaskList(t) {
|
|
85
|
-
const
|
|
86
|
-
return a(t),
|
|
87
|
-
url: "/v1/front/task/sooyie/file/list/" +
|
|
88
|
-
method: "get",
|
|
89
|
-
params: t
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
// 枚举值
|
|
93
|
-
getEnum(t) {
|
|
94
|
-
return a(t), n({
|
|
95
|
-
url: "/v1/task/sooyie/enum/entry",
|
|
85
|
+
const n = e().user.tenant;
|
|
86
|
+
return a(t), s({
|
|
87
|
+
url: "/v1/front/task/sooyie/file/list/" + n,
|
|
96
88
|
method: "get",
|
|
97
89
|
params: t
|
|
98
90
|
});
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { useRouter as
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as O, getCurrentInstance as X, ref as C, reactive as $, onActivated as Z, resolveComponent as s, resolveDirective as N, createElementBlock as D, openBlock as m, createElementVNode as g, createVNode as n, createBlock as _, createCommentVNode as P, withCtx as o, withKeys as ee, unref as l, createTextVNode as d, toDisplayString as r, withDirectives as b, isRef as R } from "vue";
|
|
2
|
+
import { useTableHooks as te } from "jmash-core";
|
|
3
|
+
import { useI18n as oe } from "vue-i18n";
|
|
4
|
+
import { S as ae } from "./index-CsfOvnt4-CYkGp1YO.mjs";
|
|
5
|
+
import { t as le } from "./index-DrhTfMmI.mjs";
|
|
6
|
+
import { D as S } from "./index-DVezr2bg.mjs";
|
|
7
|
+
import { _ as ne } from "./add.vue_vue_type_script_setup_true_lang-D46pjk8M.mjs";
|
|
8
|
+
import { useRouter as se } from "vue-router";
|
|
9
|
+
const re = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], he = /* @__PURE__ */ O({
|
|
10
10
|
__name: "index",
|
|
11
|
-
setup(
|
|
12
|
-
const { t:
|
|
13
|
-
function j(a) {
|
|
14
|
-
c.value.length === 0 && B.getEnum({ className: ue.TASKSORT_TYPE, type: 1 }).then((k) => {
|
|
15
|
-
c.value = k.data.values;
|
|
16
|
-
});
|
|
17
|
-
const t = c.value.find((k) => k.key === a);
|
|
18
|
-
return t ? t.value : "";
|
|
19
|
-
}
|
|
20
|
-
const {
|
|
11
|
+
setup(de) {
|
|
12
|
+
const { t: v } = oe(), j = se(), { proxy: B } = X(), u = C({}), {
|
|
21
13
|
tableHooks: i,
|
|
22
|
-
multipleTableRef:
|
|
23
|
-
queryFormRef:
|
|
24
|
-
listLoading:
|
|
25
|
-
tableData:
|
|
26
|
-
total:
|
|
27
|
-
} =
|
|
28
|
-
let
|
|
14
|
+
multipleTableRef: E,
|
|
15
|
+
queryFormRef: I,
|
|
16
|
+
listLoading: U,
|
|
17
|
+
tableData: z,
|
|
18
|
+
total: f
|
|
19
|
+
} = te(v, le, u);
|
|
20
|
+
let c = C([
|
|
29
21
|
// 任务主题
|
|
30
22
|
{
|
|
31
23
|
label: "taskDefine.taskTitle",
|
|
32
24
|
prop: "taskTitle",
|
|
33
|
-
width: "
|
|
25
|
+
width: "170",
|
|
34
26
|
sortable: "custom",
|
|
35
27
|
isColumn: !0
|
|
36
28
|
},
|
|
@@ -40,7 +32,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
40
32
|
prop: "taskSort",
|
|
41
33
|
slotName: "taskSort",
|
|
42
34
|
columnType: "slot",
|
|
43
|
-
width: "
|
|
35
|
+
width: "105",
|
|
44
36
|
sortable: "custom",
|
|
45
37
|
isColumn: !0
|
|
46
38
|
},
|
|
@@ -50,7 +42,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
50
42
|
prop: "taskCount",
|
|
51
43
|
slotName: "taskCount",
|
|
52
44
|
columnType: "slot",
|
|
53
|
-
width: "
|
|
45
|
+
width: "105",
|
|
54
46
|
sortable: "custom",
|
|
55
47
|
isColumn: !0
|
|
56
48
|
},
|
|
@@ -58,7 +50,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
58
50
|
{
|
|
59
51
|
label: "taskDefine.startDate",
|
|
60
52
|
prop: "startDate",
|
|
61
|
-
width: "
|
|
53
|
+
width: "105",
|
|
62
54
|
sortable: "custom",
|
|
63
55
|
isColumn: !0
|
|
64
56
|
},
|
|
@@ -66,7 +58,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
66
58
|
{
|
|
67
59
|
label: "taskDefine.endDate",
|
|
68
60
|
prop: "endDate",
|
|
69
|
-
width: "
|
|
61
|
+
width: "105",
|
|
70
62
|
sortable: "custom",
|
|
71
63
|
isColumn: !0
|
|
72
64
|
},
|
|
@@ -84,7 +76,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
84
76
|
prop: "createBy",
|
|
85
77
|
slotName: "createBy",
|
|
86
78
|
columnType: "slot",
|
|
87
|
-
width: "
|
|
79
|
+
width: "105",
|
|
88
80
|
sortable: "custom",
|
|
89
81
|
isColumn: !0
|
|
90
82
|
},
|
|
@@ -94,7 +86,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
94
86
|
prop: "createTime",
|
|
95
87
|
slotName: "createTime",
|
|
96
88
|
columnType: "slot",
|
|
97
|
-
width: "
|
|
89
|
+
width: "160",
|
|
98
90
|
sortable: "custom",
|
|
99
91
|
isColumn: !0
|
|
100
92
|
},
|
|
@@ -107,93 +99,89 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
107
99
|
isColumn: !0
|
|
108
100
|
}
|
|
109
101
|
]);
|
|
110
|
-
const p =
|
|
111
|
-
title:
|
|
102
|
+
const p = C({
|
|
103
|
+
title: v("common.edit"),
|
|
112
104
|
visible: !1
|
|
113
105
|
});
|
|
114
|
-
function
|
|
115
|
-
|
|
106
|
+
function L(a) {
|
|
107
|
+
j.push({
|
|
116
108
|
path: "/task/task-define/edit",
|
|
117
109
|
query: { taskDefineId: a.taskDefineId, taskSort: a.taskSort }
|
|
118
110
|
});
|
|
119
111
|
}
|
|
120
|
-
let
|
|
112
|
+
let w = $({});
|
|
121
113
|
function q() {
|
|
122
|
-
|
|
114
|
+
w = $({}), p.value.title = v("common.add"), p.value.visible = !0;
|
|
123
115
|
}
|
|
124
116
|
function H(a) {
|
|
125
117
|
i.selectionRows.value = a;
|
|
126
118
|
}
|
|
127
|
-
function
|
|
119
|
+
function Y(a) {
|
|
128
120
|
i.handleSort(a.prop, a.order);
|
|
129
121
|
}
|
|
130
|
-
function
|
|
122
|
+
function A(a) {
|
|
131
123
|
a && i.getList();
|
|
132
124
|
}
|
|
133
|
-
return
|
|
125
|
+
return Z(() => {
|
|
134
126
|
i.getList();
|
|
135
127
|
}), (a, t) => {
|
|
136
|
-
const
|
|
137
|
-
return m(),
|
|
138
|
-
|
|
139
|
-
n(
|
|
128
|
+
const K = s("jmash-select"), T = s("el-form-item"), k = s("el-col"), y = s("el-button"), V = s("el-row"), Q = s("el-form"), x = s("jmash-column-select"), F = s("jmash-table"), M = s("jmash-pagination"), W = s("el-card"), h = N("hasPerm"), G = N("loading");
|
|
129
|
+
return m(), D("div", re, [
|
|
130
|
+
g("div", ie, [
|
|
131
|
+
n(Q, {
|
|
140
132
|
ref_key: "queryFormRef",
|
|
141
|
-
ref:
|
|
133
|
+
ref: I,
|
|
142
134
|
model: u.value,
|
|
143
135
|
inline: !0
|
|
144
136
|
}, {
|
|
145
137
|
default: o(() => [
|
|
146
|
-
n(
|
|
138
|
+
n(V, null, {
|
|
147
139
|
default: o(() => [
|
|
148
|
-
n(
|
|
140
|
+
n(k, { span: 6 }, {
|
|
149
141
|
default: o(() => [
|
|
150
|
-
n(
|
|
142
|
+
n(T, {
|
|
151
143
|
label: a.$t("taskDefine.taskSort"),
|
|
152
144
|
prop: "taskSort"
|
|
153
145
|
}, {
|
|
154
146
|
default: o(() => [
|
|
155
|
-
n(
|
|
147
|
+
n(K, {
|
|
156
148
|
modelValue: u.value.taskSort,
|
|
157
149
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.taskSort = e),
|
|
158
|
-
data:
|
|
150
|
+
data: l(S).taskSortTypeEnum.values,
|
|
159
151
|
placeholder: a.$t("taskDefine.taskSort"),
|
|
160
|
-
onKeyup: t[1] || (t[1] =
|
|
152
|
+
onKeyup: t[1] || (t[1] = ee((e) => l(i).handleQuery(), ["enter"])),
|
|
161
153
|
class: "!w-[203px]"
|
|
162
|
-
},
|
|
163
|
-
default: o(() => [
|
|
164
|
-
(m(!0), _(ae, null, le(c.value, (e) => (m(), g(k, {
|
|
165
|
-
key: e.key,
|
|
166
|
-
label: e.value,
|
|
167
|
-
value: e.key
|
|
168
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
169
|
-
]),
|
|
170
|
-
_: 1
|
|
171
|
-
}, 8, ["modelValue", "data", "placeholder"])
|
|
154
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
172
155
|
]),
|
|
173
156
|
_: 1
|
|
174
157
|
}, 8, ["label"])
|
|
175
158
|
]),
|
|
176
159
|
_: 1
|
|
177
|
-
})
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
}),
|
|
181
|
-
n(V, { class: "search-btn" }, {
|
|
182
|
-
default: o(() => [
|
|
183
|
-
n(h, {
|
|
184
|
-
type: "primary",
|
|
185
|
-
onClick: t[2] || (t[2] = (e) => l(i).handleQuery())
|
|
186
|
-
}, {
|
|
187
|
-
default: o(() => [
|
|
188
|
-
d(r(a.$t("common.search")), 1)
|
|
189
|
-
]),
|
|
190
|
-
_: 1
|
|
191
160
|
}),
|
|
192
|
-
n(
|
|
193
|
-
onClick: t[3] || (t[3] = (e) => l(i).resetQuery())
|
|
194
|
-
}, {
|
|
161
|
+
n(k, { span: 18 }, {
|
|
195
162
|
default: o(() => [
|
|
196
|
-
|
|
163
|
+
n(T, { class: "search-btn" }, {
|
|
164
|
+
default: o(() => [
|
|
165
|
+
n(y, {
|
|
166
|
+
type: "primary",
|
|
167
|
+
onClick: t[2] || (t[2] = (e) => l(i).handleQuery())
|
|
168
|
+
}, {
|
|
169
|
+
default: o(() => [
|
|
170
|
+
d(r(a.$t("common.search")), 1)
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}),
|
|
174
|
+
n(y, {
|
|
175
|
+
onClick: t[3] || (t[3] = (e) => l(i).resetQuery())
|
|
176
|
+
}, {
|
|
177
|
+
default: o(() => [
|
|
178
|
+
d(r(a.$t("common.reset")), 1)
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
})
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
})
|
|
197
185
|
]),
|
|
198
186
|
_: 1
|
|
199
187
|
})
|
|
@@ -202,19 +190,18 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
202
190
|
})
|
|
203
191
|
]),
|
|
204
192
|
_: 1
|
|
205
|
-
}, 8, ["model"])
|
|
206
|
-
t[10] || (t[10] = y("div", { class: "clear" }, null, -1))
|
|
193
|
+
}, 8, ["model"])
|
|
207
194
|
]),
|
|
208
|
-
n(
|
|
195
|
+
n(W, {
|
|
209
196
|
shadow: "never",
|
|
210
197
|
class: "table-container"
|
|
211
198
|
}, {
|
|
212
199
|
header: o(() => [
|
|
213
|
-
n(
|
|
200
|
+
n(V, null, {
|
|
214
201
|
default: o(() => [
|
|
215
|
-
n(
|
|
202
|
+
n(k, { span: 17 }, {
|
|
216
203
|
default: o(() => [
|
|
217
|
-
|
|
204
|
+
b((m(), _(y, {
|
|
218
205
|
type: "primary",
|
|
219
206
|
onClick: q
|
|
220
207
|
}, {
|
|
@@ -223,19 +210,19 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
223
210
|
]),
|
|
224
211
|
_: 1
|
|
225
212
|
})), [
|
|
226
|
-
[
|
|
213
|
+
[h, ["task:task_define:add"]]
|
|
227
214
|
])
|
|
228
215
|
]),
|
|
229
216
|
_: 1
|
|
230
217
|
}),
|
|
231
|
-
n(
|
|
218
|
+
n(k, {
|
|
232
219
|
span: 7,
|
|
233
220
|
class: "container-float"
|
|
234
221
|
}, {
|
|
235
222
|
default: o(() => [
|
|
236
|
-
n(
|
|
237
|
-
modelValue: l(
|
|
238
|
-
"onUpdate:modelValue": t[4] || (t[4] = (e) => R(
|
|
223
|
+
n(x, {
|
|
224
|
+
modelValue: l(c),
|
|
225
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => R(c) ? c.value = e : c = e),
|
|
239
226
|
"label-name": "task/task-define"
|
|
240
227
|
}, null, 8, ["modelValue"])
|
|
241
228
|
]),
|
|
@@ -246,10 +233,10 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
246
233
|
})
|
|
247
234
|
]),
|
|
248
235
|
footer: o(() => [
|
|
249
|
-
l(
|
|
236
|
+
l(f) > 0 ? (m(), _(M, {
|
|
250
237
|
key: 0,
|
|
251
|
-
total: l(
|
|
252
|
-
"onUpdate:total": t[5] || (t[5] = (e) => R(
|
|
238
|
+
total: l(f),
|
|
239
|
+
"onUpdate:total": t[5] || (t[5] = (e) => R(f) ? f.value = e : null),
|
|
253
240
|
"current-page": u.value.curPage,
|
|
254
241
|
"onUpdate:currentPage": t[6] || (t[6] = (e) => u.value.curPage = e),
|
|
255
242
|
"page-size": u.value.pageSize,
|
|
@@ -258,61 +245,62 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
258
245
|
}, null, 8, ["total", "current-page", "page-size"])) : P("", !0)
|
|
259
246
|
]),
|
|
260
247
|
default: o(() => [
|
|
261
|
-
|
|
248
|
+
b((m(), _(F, {
|
|
262
249
|
ref_key: "multipleTableRef",
|
|
263
|
-
ref:
|
|
250
|
+
ref: E,
|
|
264
251
|
"row-key": "taskDefineId",
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
"table-label": l(f),
|
|
252
|
+
data: l(z),
|
|
253
|
+
"table-label": l(c),
|
|
268
254
|
onSelectionChange: H,
|
|
269
|
-
onSortChange:
|
|
255
|
+
onSortChange: Y
|
|
270
256
|
}, {
|
|
271
257
|
taskSort: o((e) => [
|
|
272
|
-
|
|
258
|
+
g("span", null, r(l(S).taskSortTypeEnum.getEnumValue(e.data.row.taskSort)), 1)
|
|
273
259
|
]),
|
|
274
260
|
taskCount: o((e) => [
|
|
275
|
-
|
|
261
|
+
g("span", null, r(e.data.row.taskCount) + "次/" + r(l(S).taskPeriodEnum.getEnumValue(e.data.row.taskPeriod)), 1)
|
|
276
262
|
]),
|
|
277
263
|
createBy: o((e) => [
|
|
278
|
-
d(r(l(
|
|
264
|
+
d(r(l(ae).userInfo(e.data.row.createBy).realName), 1)
|
|
279
265
|
]),
|
|
280
266
|
createTime: o((e) => [
|
|
281
|
-
d(r(l(
|
|
267
|
+
d(r(l(B).$moment.formatDate(
|
|
282
268
|
e.data.row.createTime,
|
|
283
269
|
"YYYY-MM-DD HH:mm:ss"
|
|
284
270
|
)), 1)
|
|
285
271
|
]),
|
|
286
272
|
operation: o((e) => [
|
|
287
|
-
|
|
273
|
+
b((m(), D("span", {
|
|
288
274
|
class: "el-button-color",
|
|
289
|
-
onClick: (J) =>
|
|
275
|
+
onClick: (J) => L(e.data.row)
|
|
290
276
|
}, [
|
|
291
277
|
d(r(a.$t("common.edit")), 1)
|
|
292
|
-
], 8,
|
|
293
|
-
[
|
|
278
|
+
], 8, ue)), [
|
|
279
|
+
[h, ["task:task_define:update"]]
|
|
294
280
|
]),
|
|
295
|
-
|
|
296
|
-
class: "el-button-color
|
|
281
|
+
b((m(), D("span", {
|
|
282
|
+
class: "el-button-color",
|
|
297
283
|
onClick: (J) => l(i).deleteRecord(e.data.row)
|
|
298
284
|
}, [
|
|
299
285
|
d(r(a.$t("common.delete")), 1)
|
|
300
|
-
], 8,
|
|
301
|
-
[
|
|
286
|
+
], 8, me)), [
|
|
287
|
+
[h, ["task:task_define:delete"]]
|
|
302
288
|
])
|
|
303
289
|
]),
|
|
304
290
|
_: 1
|
|
305
|
-
}, 8, ["
|
|
291
|
+
}, 8, ["data", "table-label"])), [
|
|
292
|
+
[G, l(U)]
|
|
293
|
+
])
|
|
306
294
|
]),
|
|
307
295
|
_: 1
|
|
308
296
|
}),
|
|
309
|
-
p.value.visible ? (m(),
|
|
297
|
+
p.value.visible ? (m(), _(ne, {
|
|
310
298
|
key: 0,
|
|
311
299
|
modelValue: p.value.visible,
|
|
312
300
|
"onUpdate:modelValue": t[9] || (t[9] = (e) => p.value.visible = e),
|
|
313
301
|
title: p.value.title,
|
|
314
|
-
"entity-key": l(
|
|
315
|
-
onRefresh:
|
|
302
|
+
"entity-key": l(w),
|
|
303
|
+
onRefresh: A,
|
|
316
304
|
width: "900px"
|
|
317
305
|
}, null, 8, ["modelValue", "title", "entity-key"])) : P("", !0)
|
|
318
306
|
]);
|
|
@@ -320,5 +308,5 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
|
|
|
320
308
|
}
|
|
321
309
|
});
|
|
322
310
|
export {
|
|
323
|
-
|
|
311
|
+
he as default
|
|
324
312
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -213,7 +213,7 @@ function bs(e) {
|
|
|
213
213
|
let s = e.global.getLocaleMessage("en");
|
|
214
214
|
s = pt(s, Os), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", s);
|
|
215
215
|
}
|
|
216
|
-
const Is = () => import("./edit-
|
|
216
|
+
const Is = () => import("./edit-DvKXuCgK.mjs"), xs = () => import("./info-BqqsNfP6.mjs"), Ns = [
|
|
217
217
|
{
|
|
218
218
|
path: "/task",
|
|
219
219
|
component: Ms,
|
|
@@ -2827,7 +2827,7 @@ const Pi = {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
};
|
|
2829
2829
|
}
|
|
2830
|
-
}, Wi = /* @__PURE__ */ Object.assign({ "./views/task/task-define-rel/add.vue": () => import("./add-
|
|
2830
|
+
}, Wi = /* @__PURE__ */ Object.assign({ "./views/task/task-define-rel/add.vue": () => import("./add-DuZI-0rw.mjs").then((e) => e.b), "./views/task/task-define-rel/index.vue": () => import("./index-rQPWP-HJ.mjs"), "./views/task/task-define/add.vue": () => import("./add-iEZo5s5C.mjs"), "./views/task/task-define/edit.vue": () => import("./edit-DvKXuCgK.mjs"), "./views/task/task-define/index.vue": () => import("./index-vh8fHlqF.mjs"), "./views/task/task-inst/edit.vue": () => import("./edit-ww2K--dY.mjs"), "./views/task/task-inst/index.vue": () => import("./index-CoroLg2B.mjs"), "./views/task/task-inst/info.vue": () => import("./info-BqqsNfP6.mjs"), "./views/task/task-inst/report-info.vue": () => import("./report-info-CWhm1nL2.mjs").then((e) => e.r), "./views/task/task-inst/report.vue": () => import("./report-7UPImd_G.mjs").then((e) => e.r), "./views/task/task-task/index.vue": () => import("./index-1LxoELHM.mjs") }), Ci = {
|
|
2831
2831
|
install(e) {
|
|
2832
2832
|
vs(Wi, 7), bs(Ys), ps(Ns), e.use(Pi);
|
|
2833
2833
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, ref as b, resolveComponent as i, resolveDirective as T, createElementBlock as d, openBlock as c, Fragment as z, createVNode as o, createBlock as $, createCommentVNode as S, withCtx as a, unref as m, toDisplayString as u, createTextVNode as D, withDirectives as U } from "vue";
|
|
2
|
-
import { t as q, a as v } from "./add-
|
|
2
|
+
import { t as q, a as v } from "./add-DuZI-0rw.mjs";
|
|
3
3
|
import { ElMessageBox as A } from "element-plus";
|
|
4
4
|
import { useI18n as L } from "vue-i18n";
|
|
5
5
|
import { useRoute as M } from "vue-router";
|
|
6
|
-
import { D as r, C as N } from "./index-
|
|
7
|
-
import { E as I } from "./el-message-
|
|
6
|
+
import { D as r, C as N } from "./index-DVezr2bg.mjs";
|
|
7
|
+
import { E as I } from "./el-message-CajLrSgM.mjs";
|
|
8
8
|
const O = { key: 0 }, P = { key: 1 }, F = ["onClick"], Z = /* @__PURE__ */ E({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(j) {
|