sooyie-task 0.0.1 → 0.0.3
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/{index-rm9IgDWo.mjs → index-D2MCvi1T.mjs} +45 -45
- package/dist/{index-CK1KRDsU.mjs → index-_jDuSfL7.mjs} +57 -57
- package/dist/index-aDDSbb4h.mjs +481 -0
- package/dist/index.mjs +437 -407
- package/dist/{info-Dls9Zhvf.mjs → info-CV-udiTK.mjs} +7 -5
- package/dist/style.css +1 -1
- package/dts/src/router/index.d.ts +0 -3
- package/dts/src/router/page.d.ts +4 -0
- package/package.json +1 -1
- package/dist/index-C_NGsTkK.mjs +0 -412
- package/dist/index-CewoF68r.mjs +0 -105
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as ee, getCurrentInstance as te, ref as g, reactive as ae, onActivated as le, resolveComponent as r, resolveDirective as oe, createElementBlock as f, openBlock as d, createElementVNode as y, createVNode as s, createBlock as C, createCommentVNode as V, withCtx as l, withKeys as $, unref as o, createTextVNode as I, toDisplayString as u, withDirectives as Y, isRef as U } from "vue";
|
|
2
|
+
import { useTableHooks as se } from "jmash-core";
|
|
3
|
+
import { useI18n as ne } from "vue-i18n";
|
|
4
4
|
import { D as m, C as j } from "./index-DvawPwK3.mjs";
|
|
5
|
-
import { r as ne } from "./index-CewoF68r.mjs";
|
|
6
5
|
import { t as re, a as ue } from "./report-CJWipPH_.mjs";
|
|
7
6
|
import ie from "./edit-CE42VR9Z.mjs";
|
|
8
|
-
|
|
7
|
+
import { useRouter as de } from "vue-router";
|
|
8
|
+
const me = { class: "app-container" }, pe = { class: "search-container" }, ke = { key: 0 }, ce = { key: 1 }, fe = ["onClick"], ve = ["onClick"], be = ["onClick"], Ve = /* @__PURE__ */ ee({
|
|
9
9
|
__name: "index",
|
|
10
|
-
setup(
|
|
11
|
-
const { proxy: z } =
|
|
10
|
+
setup(ye) {
|
|
11
|
+
const { proxy: z } = te(), { t: p } = ne(), E = de();
|
|
12
12
|
m.OrgBizDict.useValues(), m.itemBizLayDict.useValues();
|
|
13
13
|
const n = g({}), {
|
|
14
14
|
tableHooks: i,
|
|
15
|
-
multipleTableRef:
|
|
16
|
-
queryFormRef:
|
|
17
|
-
listLoading:
|
|
18
|
-
tableData:
|
|
15
|
+
multipleTableRef: M,
|
|
16
|
+
queryFormRef: q,
|
|
17
|
+
listLoading: B,
|
|
18
|
+
tableData: L,
|
|
19
19
|
total: w
|
|
20
|
-
} =
|
|
20
|
+
} = se(p, re, n);
|
|
21
21
|
let v = g([
|
|
22
22
|
// 任务主题
|
|
23
23
|
{
|
|
@@ -109,15 +109,15 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
109
109
|
title: p("taskInst.reportNormal"),
|
|
110
110
|
visible: !1
|
|
111
111
|
});
|
|
112
|
-
let _ =
|
|
113
|
-
function
|
|
112
|
+
let _ = ae({});
|
|
113
|
+
function P(a) {
|
|
114
114
|
Object.assign(_, a), k.value.title = p("taskInst.report"), k.value.visible = !0;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function O(a) {
|
|
117
117
|
Object.assign(_, a), c.value.title = p("taskInst.reportNormal"), c.value.visible = !0;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
119
|
+
function K(a) {
|
|
120
|
+
E.push({
|
|
121
121
|
path: "/task/task-inst/info",
|
|
122
122
|
query: {
|
|
123
123
|
taskInstId: a.taskInstId,
|
|
@@ -126,24 +126,24 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Q(a) {
|
|
130
130
|
i.selectionRows.value = a;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function H(a) {
|
|
133
133
|
i.handleSort(a.prop, a.order);
|
|
134
134
|
}
|
|
135
135
|
function S(a) {
|
|
136
136
|
a && i.getList();
|
|
137
137
|
}
|
|
138
|
-
return
|
|
138
|
+
return le(() => {
|
|
139
139
|
i.getList();
|
|
140
140
|
}), (a, t) => {
|
|
141
|
-
const
|
|
142
|
-
return d(), f("div",
|
|
143
|
-
y("div",
|
|
144
|
-
s(
|
|
141
|
+
const x = r("el-input"), D = r("el-form-item"), b = r("el-col"), A = r("jmash-select"), F = r("el-date-picker"), h = r("el-button"), R = r("el-row"), W = r("el-form"), G = r("jmash-column-select"), J = r("jmash-table"), X = r("jmash-pagination"), Z = r("el-card"), N = oe("hasPerm");
|
|
142
|
+
return d(), f("div", me, [
|
|
143
|
+
y("div", pe, [
|
|
144
|
+
s(W, {
|
|
145
145
|
ref_key: "queryFormRef",
|
|
146
|
-
ref:
|
|
146
|
+
ref: q,
|
|
147
147
|
model: n.value,
|
|
148
148
|
inline: !0
|
|
149
149
|
}, {
|
|
@@ -157,7 +157,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
157
157
|
prop: "keyword"
|
|
158
158
|
}, {
|
|
159
159
|
default: l(() => [
|
|
160
|
-
s(
|
|
160
|
+
s(x, {
|
|
161
161
|
modelValue: n.value.keyword,
|
|
162
162
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.keyword = e),
|
|
163
163
|
placeholder: a.$t("taskInst.keywordRequired"),
|
|
@@ -177,7 +177,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
177
177
|
prop: "status"
|
|
178
178
|
}, {
|
|
179
179
|
default: l(() => [
|
|
180
|
-
s(
|
|
180
|
+
s(A, {
|
|
181
181
|
modelValue: n.value.status,
|
|
182
182
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.status = e),
|
|
183
183
|
data: o(m).taskStatusEnum.values,
|
|
@@ -198,7 +198,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
198
198
|
prop: "taskDate"
|
|
199
199
|
}, {
|
|
200
200
|
default: l(() => [
|
|
201
|
-
s(
|
|
201
|
+
s(F, {
|
|
202
202
|
modelValue: n.value.taskDate,
|
|
203
203
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.taskDate = e),
|
|
204
204
|
type: "date",
|
|
@@ -249,7 +249,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
249
249
|
}, 8, ["model"]),
|
|
250
250
|
t[16] || (t[16] = y("div", { class: "clear" }, null, -1))
|
|
251
251
|
]),
|
|
252
|
-
s(
|
|
252
|
+
s(Z, {
|
|
253
253
|
shadow: "never",
|
|
254
254
|
class: "table-container"
|
|
255
255
|
}, {
|
|
@@ -273,7 +273,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
273
273
|
})), [
|
|
274
274
|
[N, ["task:task_inst:export"]]
|
|
275
275
|
]),
|
|
276
|
-
s(
|
|
276
|
+
s(G, {
|
|
277
277
|
modelValue: o(v),
|
|
278
278
|
"onUpdate:modelValue": t[9] || (t[9] = (e) => U(v) ? v.value = e : v = e),
|
|
279
279
|
"label-name": "task/task-inst"
|
|
@@ -286,7 +286,7 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
286
286
|
})
|
|
287
287
|
]),
|
|
288
288
|
footer: l(() => [
|
|
289
|
-
o(w) > 0 ? (d(), C(
|
|
289
|
+
o(w) > 0 ? (d(), C(X, {
|
|
290
290
|
key: 0,
|
|
291
291
|
total: o(w),
|
|
292
292
|
"onUpdate:total": t[10] || (t[10] = (e) => U(w) ? w.value = e : null),
|
|
@@ -298,18 +298,18 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
298
298
|
}, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
|
|
299
299
|
]),
|
|
300
300
|
default: l(() => [
|
|
301
|
-
s(
|
|
301
|
+
s(J, {
|
|
302
302
|
ref_key: "multipleTableRef",
|
|
303
|
-
ref:
|
|
303
|
+
ref: M,
|
|
304
304
|
"row-key": "taskInstId",
|
|
305
|
-
"list-loading": o(
|
|
306
|
-
data: o(
|
|
305
|
+
"list-loading": o(B),
|
|
306
|
+
data: o(L),
|
|
307
307
|
"table-label": o(v),
|
|
308
|
-
onSelectionChange:
|
|
309
|
-
onSortChange:
|
|
308
|
+
onSelectionChange: Q,
|
|
309
|
+
onSortChange: H
|
|
310
310
|
}, {
|
|
311
311
|
annivCustomerId: l((e) => [
|
|
312
|
-
e.data.row.sort === o(j).CUSTOMER ? (d(), f("span",
|
|
312
|
+
e.data.row.sort === o(j).CUSTOMER ? (d(), f("span", ke, u(o(m).OrgBizDict.getValue(e.data.row.annivCustomerId)), 1)) : (d(), f("span", ce, u(o(m).itemBizLayDict.getValue(e.data.row.annivCustomerId)), 1))
|
|
313
313
|
]),
|
|
314
314
|
readStatus: l((e) => [
|
|
315
315
|
y("span", null, u(o(m).readStatusDict.getValue(e.data.row.readStatus)), 1)
|
|
@@ -329,21 +329,21 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
329
329
|
operation: l((e) => [
|
|
330
330
|
Y((d(), f("span", {
|
|
331
331
|
class: "el-button-color",
|
|
332
|
-
onClick: (T) =>
|
|
332
|
+
onClick: (T) => K(e.data.row)
|
|
333
333
|
}, [
|
|
334
334
|
I(u(a.$t("common.view")), 1)
|
|
335
|
-
], 8,
|
|
335
|
+
], 8, fe)), [
|
|
336
336
|
[N, ["task:task_inst:delete"]]
|
|
337
337
|
]),
|
|
338
338
|
e.data.row.sort === o(j).CUSTOMER ? (d(), f("span", {
|
|
339
339
|
key: 0,
|
|
340
340
|
class: "el-button-color dropdown-left",
|
|
341
|
-
onClick: (T) =>
|
|
342
|
-
}, u(a.$t("taskInst.report")), 9,
|
|
341
|
+
onClick: (T) => P(e.data.row)
|
|
342
|
+
}, u(a.$t("taskInst.report")), 9, ve)) : (d(), f("span", {
|
|
343
343
|
key: 1,
|
|
344
344
|
class: "el-button-color dropdown-left",
|
|
345
|
-
onClick: (T) =>
|
|
346
|
-
}, u(a.$t("taskInst.report")), 9,
|
|
345
|
+
onClick: (T) => O(e.data.row)
|
|
346
|
+
}, u(a.$t("taskInst.report")), 9, be))
|
|
347
347
|
]),
|
|
348
348
|
_: 1
|
|
349
349
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -373,5 +373,5 @@ const de = { class: "app-container" }, me = { class: "search-container" }, pe =
|
|
|
373
373
|
}
|
|
374
374
|
});
|
|
375
375
|
export {
|
|
376
|
-
|
|
376
|
+
Ve as default
|
|
377
377
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useTableHooks as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { b as
|
|
1
|
+
import { defineComponent as X, getCurrentInstance as Z, ref as C, reactive as N, onActivated as ee, resolveComponent as s, resolveDirective as te, createElementBlock as g, openBlock as u, createElementVNode as D, createVNode as n, createBlock as b, createCommentVNode as R, withCtx as o, withKeys as oe, unref as l, Fragment as ae, renderList as le, createTextVNode as d, toDisplayString as r, withDirectives as h, isRef as P } from "vue";
|
|
2
|
+
import { useTableHooks as ne } from "jmash-core";
|
|
3
|
+
import { useI18n as se } from "vue-i18n";
|
|
4
|
+
import { b as re } from "./index-B_hFZVhb-C3Oi__-I.mjs";
|
|
5
5
|
import { t as B } from "./index-CEvxhWYT.mjs";
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
6
|
+
import { D as ie, C as ue } from "./index-DvawPwK3.mjs";
|
|
7
|
+
import me from "./add-C2devcsq.mjs";
|
|
8
|
+
import { useRouter as de } from "vue-router";
|
|
9
|
+
const pe = { class: "app-container" }, ce = { class: "search-container" }, fe = ["onClick"], ke = ["onClick"], Se = /* @__PURE__ */ X({
|
|
10
10
|
__name: "index",
|
|
11
|
-
setup(
|
|
12
|
-
const { t: w } =
|
|
13
|
-
function
|
|
14
|
-
c.value.length === 0 && B.getEnum({ className:
|
|
11
|
+
setup(be) {
|
|
12
|
+
const { t: w } = se(), L = de(), { proxy: E } = Z(), m = C({}), c = C([]);
|
|
13
|
+
function j(a) {
|
|
14
|
+
c.value.length === 0 && B.getEnum({ className: ue.TASKSORT_TYPE, type: 1 }).then((k) => {
|
|
15
15
|
c.value = k.data.values;
|
|
16
16
|
});
|
|
17
17
|
const t = c.value.find((k) => k.key === a);
|
|
@@ -19,12 +19,12 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
19
19
|
}
|
|
20
20
|
const {
|
|
21
21
|
tableHooks: i,
|
|
22
|
-
multipleTableRef:
|
|
23
|
-
queryFormRef:
|
|
24
|
-
listLoading:
|
|
25
|
-
tableData:
|
|
22
|
+
multipleTableRef: I,
|
|
23
|
+
queryFormRef: U,
|
|
24
|
+
listLoading: z,
|
|
25
|
+
tableData: A,
|
|
26
26
|
total: v
|
|
27
|
-
} =
|
|
27
|
+
} = ne(w, B, m);
|
|
28
28
|
let f = C([
|
|
29
29
|
// 任务主题
|
|
30
30
|
{
|
|
@@ -111,34 +111,34 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
111
111
|
title: w("common.edit"),
|
|
112
112
|
visible: !1
|
|
113
113
|
});
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function Y(a) {
|
|
115
|
+
L.push({
|
|
116
116
|
path: "/task/task-define/edit",
|
|
117
117
|
query: { taskDefineId: a.taskDefineId, taskSort: a.taskSort }
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
let T = N({});
|
|
121
|
-
function
|
|
121
|
+
function q() {
|
|
122
122
|
T = N({}), p.value.title = w("common.add"), p.value.visible = !0;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function H(a) {
|
|
125
125
|
i.selectionRows.value = a;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function K(a) {
|
|
128
128
|
i.handleSort(a.prop, a.order);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function F(a) {
|
|
131
131
|
a && i.getList();
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return ee(() => {
|
|
134
134
|
i.getList();
|
|
135
135
|
}), (a, t) => {
|
|
136
|
-
const k = s("el-option"),
|
|
137
|
-
return u(), g("div",
|
|
138
|
-
D("div",
|
|
139
|
-
n(
|
|
136
|
+
const k = s("el-option"), Q = s("el-select"), $ = s("el-form-item"), S = s("el-col"), V = s("el-row"), y = s("el-button"), M = s("el-form"), x = s("jmash-column-select"), O = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), _ = te("hasPerm");
|
|
137
|
+
return u(), g("div", pe, [
|
|
138
|
+
D("div", ce, [
|
|
139
|
+
n(M, {
|
|
140
140
|
ref_key: "queryFormRef",
|
|
141
|
-
ref:
|
|
141
|
+
ref: U,
|
|
142
142
|
model: m.value,
|
|
143
143
|
inline: !0
|
|
144
144
|
}, {
|
|
@@ -152,16 +152,16 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
152
152
|
prop: "taskSort"
|
|
153
153
|
}, {
|
|
154
154
|
default: o(() => [
|
|
155
|
-
n(
|
|
155
|
+
n(Q, {
|
|
156
156
|
modelValue: m.value.taskSort,
|
|
157
157
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => m.value.taskSort = e),
|
|
158
158
|
data: c.value,
|
|
159
159
|
placeholder: a.$t("taskDefine.taskSort"),
|
|
160
|
-
onKeyup: t[1] || (t[1] =
|
|
160
|
+
onKeyup: t[1] || (t[1] = oe((e) => l(i).handleQuery(), ["enter"])),
|
|
161
161
|
class: "!w-[203px]"
|
|
162
162
|
}, {
|
|
163
163
|
default: o(() => [
|
|
164
|
-
(u(!0), g(
|
|
164
|
+
(u(!0), g(ae, null, le(c.value, (e) => (u(), b(k, {
|
|
165
165
|
key: e.key,
|
|
166
166
|
label: e.value,
|
|
167
167
|
value: e.key
|
|
@@ -205,7 +205,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
205
205
|
}, 8, ["model"]),
|
|
206
206
|
t[11] || (t[11] = D("div", { class: "clear" }, null, -1))
|
|
207
207
|
]),
|
|
208
|
-
n(
|
|
208
|
+
n(G, {
|
|
209
209
|
shadow: "never",
|
|
210
210
|
class: "table-container"
|
|
211
211
|
}, {
|
|
@@ -216,7 +216,7 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
216
216
|
default: o(() => [
|
|
217
217
|
h((u(), b(y, {
|
|
218
218
|
type: "primary",
|
|
219
|
-
onClick:
|
|
219
|
+
onClick: q
|
|
220
220
|
}, {
|
|
221
221
|
default: o(() => [
|
|
222
222
|
d(r(a.$t("common.add")), 1)
|
|
@@ -244,9 +244,9 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
244
244
|
class: "container-float"
|
|
245
245
|
}, {
|
|
246
246
|
default: o(() => [
|
|
247
|
-
n(
|
|
247
|
+
n(x, {
|
|
248
248
|
modelValue: l(f),
|
|
249
|
-
"onUpdate:modelValue": t[5] || (t[5] = (e) =>
|
|
249
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => P(f) ? f.value = e : f = e),
|
|
250
250
|
"label-name": "task/task-define"
|
|
251
251
|
}, null, 8, ["modelValue"])
|
|
252
252
|
]),
|
|
@@ -257,39 +257,39 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
257
257
|
})
|
|
258
258
|
]),
|
|
259
259
|
footer: o(() => [
|
|
260
|
-
l(v) > 0 ? (u(), b(
|
|
260
|
+
l(v) > 0 ? (u(), b(W, {
|
|
261
261
|
key: 0,
|
|
262
262
|
total: l(v),
|
|
263
|
-
"onUpdate:total": t[6] || (t[6] = (e) =>
|
|
263
|
+
"onUpdate:total": t[6] || (t[6] = (e) => P(v) ? v.value = e : null),
|
|
264
264
|
"current-page": m.value.curPage,
|
|
265
265
|
"onUpdate:currentPage": t[7] || (t[7] = (e) => m.value.curPage = e),
|
|
266
266
|
"page-size": m.value.pageSize,
|
|
267
267
|
"onUpdate:pageSize": t[8] || (t[8] = (e) => m.value.pageSize = e),
|
|
268
268
|
onPagination: t[9] || (t[9] = (e) => l(i).getList())
|
|
269
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
269
|
+
}, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
|
|
270
270
|
]),
|
|
271
271
|
default: o(() => [
|
|
272
|
-
n(
|
|
272
|
+
n(O, {
|
|
273
273
|
ref_key: "multipleTableRef",
|
|
274
|
-
ref:
|
|
274
|
+
ref: I,
|
|
275
275
|
"row-key": "taskDefineId",
|
|
276
|
-
"list-loading": l(
|
|
277
|
-
data: l(
|
|
276
|
+
"list-loading": l(z),
|
|
277
|
+
data: l(A),
|
|
278
278
|
"table-label": l(f),
|
|
279
|
-
onSelectionChange:
|
|
280
|
-
onSortChange:
|
|
279
|
+
onSelectionChange: H,
|
|
280
|
+
onSortChange: K
|
|
281
281
|
}, {
|
|
282
282
|
taskSort: o((e) => [
|
|
283
|
-
D("span", null, r(
|
|
283
|
+
D("span", null, r(j(e.data.row.taskSort)), 1)
|
|
284
284
|
]),
|
|
285
285
|
taskCount: o((e) => [
|
|
286
|
-
D("span", null, r(e.data.row.taskCount) + "次/" + r(l(
|
|
286
|
+
D("span", null, r(e.data.row.taskCount) + "次/" + r(l(ie).taskPeriodEnum.getEnumValue(e.data.row.taskPeriod)), 1)
|
|
287
287
|
]),
|
|
288
288
|
createBy: o((e) => [
|
|
289
|
-
d(r(l(
|
|
289
|
+
d(r(l(re).userInfo(e.data.row.createBy).realName), 1)
|
|
290
290
|
]),
|
|
291
291
|
createTime: o((e) => [
|
|
292
|
-
d(r(l(
|
|
292
|
+
d(r(l(E).$moment.formatDate(
|
|
293
293
|
e.data.row.createTime,
|
|
294
294
|
"YYYY-MM-DD HH:mm:ss"
|
|
295
295
|
)), 1)
|
|
@@ -297,18 +297,18 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
297
297
|
operation: o((e) => [
|
|
298
298
|
h((u(), g("span", {
|
|
299
299
|
class: "el-button-color",
|
|
300
|
-
onClick: (
|
|
300
|
+
onClick: (J) => Y(e.data.row)
|
|
301
301
|
}, [
|
|
302
302
|
d(r(a.$t("common.edit")), 1)
|
|
303
|
-
], 8,
|
|
303
|
+
], 8, fe)), [
|
|
304
304
|
[_, ["task:task_define:update"]]
|
|
305
305
|
]),
|
|
306
306
|
h((u(), g("span", {
|
|
307
307
|
class: "el-button-color dropdown-left",
|
|
308
|
-
onClick: (
|
|
308
|
+
onClick: (J) => l(i).deleteRecord(e.data.row)
|
|
309
309
|
}, [
|
|
310
310
|
d(r(a.$t("common.delete")), 1)
|
|
311
|
-
], 8,
|
|
311
|
+
], 8, ke)), [
|
|
312
312
|
[_, ["task:task_define:delete"]]
|
|
313
313
|
])
|
|
314
314
|
]),
|
|
@@ -317,19 +317,19 @@ const de = { class: "app-container" }, pe = { class: "search-container" }, ce =
|
|
|
317
317
|
]),
|
|
318
318
|
_: 1
|
|
319
319
|
}),
|
|
320
|
-
p.value.visible ? (u(), b(
|
|
320
|
+
p.value.visible ? (u(), b(me, {
|
|
321
321
|
key: 0,
|
|
322
322
|
modelValue: p.value.visible,
|
|
323
323
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => p.value.visible = e),
|
|
324
324
|
title: p.value.title,
|
|
325
325
|
"entity-key": l(T),
|
|
326
|
-
onRefresh:
|
|
326
|
+
onRefresh: F,
|
|
327
327
|
width: "900px"
|
|
328
|
-
}, null, 8, ["modelValue", "title", "entity-key"])) :
|
|
328
|
+
}, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
|
|
329
329
|
]);
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
});
|
|
333
333
|
export {
|
|
334
|
-
|
|
334
|
+
Se as default
|
|
335
335
|
};
|