sooyie-task 0.0.12 → 0.0.14

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as W, ref as k, reactive as S, onMounted as X, resolveComponent as r, createElementBlock as g, openBlock as b, createVNode as t, withCtx as o, createElementVNode as Z, unref as n, createTextVNode as V, toDisplayString as h, Fragment as x, renderList as ee } from "vue";
1
+ import { defineComponent as W, ref as k, reactive as S, onMounted as X, resolveComponent as r, createElementBlock as b, openBlock as g, createVNode as t, withCtx as o, createElementVNode as Z, unref as n, createTextVNode as V, toDisplayString as h, Fragment as x, renderList as ee } from "vue";
2
2
  import "element-plus";
3
3
  import { useRoute as te, useRouter as ae } from "vue-router";
4
4
  import { useI18n as le } from "vue-i18n";
@@ -120,7 +120,7 @@ const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
120
120
  }
121
121
  return (e, a) => {
122
122
  const f = r("el-input"), d = r("el-form-item"), u = r("el-col"), _ = r("jmash-select"), y = r("el-date-picker"), B = r("jmash-enum-radio"), C = r("el-button"), z = r("CircleClose"), O = r("el-icon"), G = r("el-row"), H = r("el-form"), $ = r("el-tab-pane"), J = r("el-tabs"), K = r("el-card"), Q = r("jmash-multi-upload");
123
- return b(), g("div", re, [
123
+ return g(), b("div", re, [
124
124
  t(K, { shadow: "never" }, {
125
125
  default: o(() => [
126
126
  t(J, {
@@ -179,7 +179,8 @@ const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
179
179
  data: n(m).taskSortTypeEnum.values,
180
180
  placeholder: e.$t("taskDefine.taskSort"),
181
181
  class: "w-full",
182
- clearable: ""
182
+ clearable: "",
183
+ disabled: ""
183
184
  }, null, 8, ["modelValue", "data", "placeholder"])
184
185
  ]),
185
186
  _: 1
@@ -287,7 +288,8 @@ const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
287
288
  t(B, {
288
289
  modelValue: n(l).overdueStatus,
289
290
  "onUpdate:modelValue": a[6] || (a[6] = (s) => n(l).overdueStatus = s),
290
- data: n(m).overdueStatusDict.values
291
+ data: n(m).overdueStatusDict.values,
292
+ disabled: ""
291
293
  }, null, 8, ["modelValue", "data"])
292
294
  ]),
293
295
  _: 1
@@ -308,7 +310,8 @@ const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
308
310
  data: n(m).taskInspectTypeDict.values,
309
311
  placeholder: e.$t("taskDefine.actionIdRequired"),
310
312
  clearable: "",
311
- class: "w-full"
313
+ class: "w-full",
314
+ disabled: ""
312
315
  }, null, 8, ["modelValue", "data", "placeholder"])
313
316
  ]),
314
317
  _: 1
@@ -359,7 +362,7 @@ const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
359
362
  }, 8, ["label"]),
360
363
  t(d, null, {
361
364
  default: o(() => [
362
- (b(!0), g(x, null, ee(n(l).fileInfo, (s, R) => (b(), g("div", {
365
+ (g(!0), b(x, null, ee(n(l).fileInfo, (s, R) => (g(), b("div", {
363
366
  key: R,
364
367
  class: "files-list"
365
368
  }, [
@@ -1,23 +1,23 @@
1
- import { defineComponent as ae, getCurrentInstance as le, ref as w, reactive as oe, onActivated as se, resolveComponent as r, resolveDirective as T, createElementBlock as k, openBlock as d, createElementVNode as D, createVNode as s, createBlock as g, createCommentVNode as C, withCtx as l, withKeys as V, unref as o, createTextVNode as h, toDisplayString as u, withDirectives as Y, isRef as U } from "vue";
2
- import { useTableHooks as ne } from "jmash-core";
3
- import { useI18n as re } from "vue-i18n";
1
+ import { defineComponent as oe, getCurrentInstance as se, ref as w, reactive as ne, onActivated as re, resolveComponent as n, resolveDirective as T, createElementBlock as k, openBlock as d, createElementVNode as g, createVNode as s, createBlock as D, createCommentVNode as C, withCtx as l, withKeys as V, unref as o, createTextVNode as h, toDisplayString as u, withDirectives as Y, isRef as U } from "vue";
2
+ import { useTableHooks as ue } from "jmash-core";
3
+ import { useI18n as ie } from "vue-i18n";
4
4
  import { D as m, C as j } from "./index-kbwxFttn.mjs";
5
- import { t as ue, a as ie } from "./report-Bi_FQqhd.mjs";
6
- import de from "./edit-CCHq3Xp5.mjs";
7
- import { useRouter as me } from "vue-router";
8
- const pe = { class: "app-container" }, ce = { class: "search-container" }, ke = { key: 0 }, fe = { key: 1 }, ve = ["onClick"], be = ["onClick"], ye = ["onClick"], Se = /* @__PURE__ */ ae({
5
+ import { t as de, a as me } from "./report-Bi_FQqhd.mjs";
6
+ import pe from "./edit-CCHq3Xp5.mjs";
7
+ import { useRouter as ce } from "vue-router";
8
+ const ke = { class: "app-container" }, fe = { class: "search-container" }, ve = { key: 0 }, be = { key: 1 }, ye = ["onClick"], _e = ["onClick"], Ie = ["onClick"], Re = /* @__PURE__ */ oe({
9
9
  __name: "index",
10
- setup(_e) {
11
- const { proxy: z } = le(), { t: f } = re(), M = me();
10
+ setup(we) {
11
+ const { proxy: z } = se(), { t: f } = ie(), M = ce();
12
12
  m.OrgBizDict.useValues(), m.itemBizLayDict.useValues();
13
- const n = w({}), {
13
+ const r = w({}), {
14
14
  tableHooks: i,
15
15
  multipleTableRef: q,
16
16
  queryFormRef: B,
17
17
  listLoading: E,
18
18
  tableData: L,
19
19
  total: y
20
- } = ne(f, ue, n);
20
+ } = ue(f, de, r);
21
21
  let v = w([
22
22
  // 任务主题
23
23
  {
@@ -95,7 +95,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
95
95
  },
96
96
  {
97
97
  label: "common.operate",
98
- width: "100",
98
+ width: "130",
99
99
  slotName: "operation",
100
100
  columnType: "slot",
101
101
  fixed: "right",
@@ -109,7 +109,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
109
109
  title: f("taskInst.reportNormal"),
110
110
  visible: !1
111
111
  });
112
- let _ = oe({});
112
+ let _ = ne({});
113
113
  function P(a) {
114
114
  Object.assign(_, a), p.value.title = f("taskInst.report"), p.value.visible = !0;
115
115
  }
@@ -135,16 +135,16 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
135
135
  function S(a) {
136
136
  a && i.getList();
137
137
  }
138
- return se(() => {
138
+ return re(() => {
139
139
  i.getList();
140
140
  }), (a, t) => {
141
- const A = r("el-input"), I = r("el-form-item"), b = r("el-col"), F = r("jmash-select"), W = r("el-date-picker"), $ = r("el-button"), R = r("el-row"), x = r("el-form"), G = r("jmash-column-select"), J = r("jmash-table"), X = r("jmash-pagination"), Z = r("el-card"), ee = T("hasPerm"), te = T("loading");
142
- return d(), k("div", pe, [
143
- D("div", ce, [
141
+ const A = n("el-input"), I = n("el-form-item"), b = n("el-col"), F = n("jmash-select"), W = n("el-date-picker"), $ = n("el-button"), R = n("el-row"), x = n("el-form"), G = n("jmash-column-select"), J = n("View"), X = n("el-icon"), Z = n("jmash-table"), ee = n("jmash-pagination"), te = n("el-card"), ae = T("hasPerm"), le = T("loading");
142
+ return d(), k("div", ke, [
143
+ g("div", fe, [
144
144
  s(x, {
145
145
  ref_key: "queryFormRef",
146
146
  ref: B,
147
- model: n.value,
147
+ model: r.value,
148
148
  inline: !0
149
149
  }, {
150
150
  default: l(() => [
@@ -158,8 +158,8 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
158
158
  }, {
159
159
  default: l(() => [
160
160
  s(A, {
161
- modelValue: n.value.keyword,
162
- "onUpdate:modelValue": t[0] || (t[0] = (e) => n.value.keyword = e),
161
+ modelValue: r.value.keyword,
162
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.keyword = e),
163
163
  placeholder: a.$t("taskInst.keywordRequired"),
164
164
  onKeyup: t[1] || (t[1] = V((e) => o(i).handleQuery(), ["enter"])),
165
165
  class: "!w-[203px]"
@@ -178,8 +178,8 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
178
178
  }, {
179
179
  default: l(() => [
180
180
  s(F, {
181
- modelValue: n.value.status,
182
- "onUpdate:modelValue": t[2] || (t[2] = (e) => n.value.status = e),
181
+ modelValue: r.value.status,
182
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.status = e),
183
183
  data: o(m).taskStatusEnum.values,
184
184
  placeholder: a.$t("taskInst.statusRequired"),
185
185
  onKeyup: t[3] || (t[3] = V((e) => o(i).handleQuery(), ["enter"])),
@@ -199,8 +199,8 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
199
199
  }, {
200
200
  default: l(() => [
201
201
  s(W, {
202
- modelValue: n.value.taskDate,
203
- "onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.taskDate = e),
202
+ modelValue: r.value.taskDate,
203
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.taskDate = e),
204
204
  type: "date",
205
205
  placeholder: a.$t("taskInst.taskDateRequired"),
206
206
  format: "YYYY-MM-DD",
@@ -248,7 +248,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
248
248
  _: 1
249
249
  }, 8, ["model"])
250
250
  ]),
251
- s(Z, {
251
+ s(te, {
252
252
  shadow: "never",
253
253
  class: "table-container"
254
254
  }, {
@@ -273,19 +273,19 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
273
273
  })
274
274
  ]),
275
275
  footer: l(() => [
276
- o(y) > 0 ? (d(), g(X, {
276
+ o(y) > 0 ? (d(), D(ee, {
277
277
  key: 0,
278
278
  total: o(y),
279
279
  "onUpdate:total": t[9] || (t[9] = (e) => U(y) ? y.value = e : null),
280
- "current-page": n.value.curPage,
281
- "onUpdate:currentPage": t[10] || (t[10] = (e) => n.value.curPage = e),
282
- "page-size": n.value.pageSize,
283
- "onUpdate:pageSize": t[11] || (t[11] = (e) => n.value.pageSize = e),
280
+ "current-page": r.value.curPage,
281
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => r.value.curPage = e),
282
+ "page-size": r.value.pageSize,
283
+ "onUpdate:pageSize": t[11] || (t[11] = (e) => r.value.pageSize = e),
284
284
  onPagination: t[12] || (t[12] = (e) => o(i).getList())
285
285
  }, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
286
286
  ]),
287
287
  default: l(() => [
288
- Y((d(), g(J, {
288
+ Y((d(), D(Z, {
289
289
  ref_key: "multipleTableRef",
290
290
  ref: q,
291
291
  "row-key": "taskInstId",
@@ -295,16 +295,16 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
295
295
  onSortChange: H
296
296
  }, {
297
297
  annivCustomerId: l((e) => [
298
- e.data.row.sort === o(j).CUSTOMER ? (d(), k("span", ke, u(o(m).OrgBizDict.getValue(e.data.row.annivCustomerId)), 1)) : (d(), k("span", fe, u(o(m).itemBizLayDict.getValue(e.data.row.annivCustomerId)), 1))
298
+ e.data.row.sort === o(j).CUSTOMER ? (d(), k("span", ve, u(o(m).OrgBizDict.getValue(e.data.row.annivCustomerId)), 1)) : (d(), k("span", be, u(o(m).itemBizLayDict.getValue(e.data.row.annivCustomerId)), 1))
299
299
  ]),
300
300
  readStatus: l((e) => [
301
- D("span", null, u(o(m).readStatusDict.getValue(e.data.row.readStatus)), 1)
301
+ g("span", null, u(o(m).readStatusDict.getValue(e.data.row.readStatus)), 1)
302
302
  ]),
303
303
  status: l((e) => [
304
- D("span", null, u(o(m).taskStatusEnum.getEnumValue(e.data.row.status)), 1)
304
+ g("span", null, u(o(m).taskStatusEnum.getEnumValue(e.data.row.status)), 1)
305
305
  ]),
306
306
  percent: l((e) => [
307
- D("span", null, u(e.data.row.percent) + "% ", 1)
307
+ g("span", null, u(e.data.row.percent) + "% ", 1)
308
308
  ]),
309
309
  finishDate: l((e) => [
310
310
  h(u(o(z).$moment.formatDate(
@@ -314,31 +314,37 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
314
314
  ]),
315
315
  operation: l((e) => [
316
316
  Y((d(), k("span", {
317
- class: "el-button-color",
317
+ class: "el-button-color grey_color",
318
318
  onClick: (N) => K(e.data.row)
319
319
  }, [
320
- h(u(a.$t("common.view")), 1)
321
- ], 8, ve)), [
322
- [ee, ["task:task_inst:delete"]]
320
+ s(X, null, {
321
+ default: l(() => [
322
+ s(J)
323
+ ]),
324
+ _: 1
325
+ }),
326
+ h(" " + u(a.$t("common.view")), 1)
327
+ ], 8, ye)), [
328
+ [ae, ["task:task_inst:delete"]]
323
329
  ]),
324
330
  e.data.row.sort === o(j).CUSTOMER ? (d(), k("span", {
325
331
  key: 0,
326
332
  class: "el-button-color",
327
333
  onClick: (N) => P(e.data.row)
328
- }, u(a.$t("taskInst.report")), 9, be)) : (d(), k("span", {
334
+ }, u(a.$t("taskInst.report")), 9, _e)) : (d(), k("span", {
329
335
  key: 1,
330
336
  class: "el-button-color",
331
337
  onClick: (N) => O(e.data.row)
332
- }, u(a.$t("taskInst.report")), 9, ye))
338
+ }, u(a.$t("taskInst.report")), 9, Ie))
333
339
  ]),
334
340
  _: 1
335
341
  }, 8, ["data", "table-label"])), [
336
- [te, o(E)]
342
+ [le, o(E)]
337
343
  ])
338
344
  ]),
339
345
  _: 1
340
346
  }),
341
- p.value.visible ? (d(), g(de, {
347
+ p.value.visible ? (d(), D(pe, {
342
348
  key: 0,
343
349
  modelValue: p.value.visible,
344
350
  "onUpdate:modelValue": t[13] || (t[13] = (e) => p.value.visible = e),
@@ -347,7 +353,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
347
353
  onRefresh: S,
348
354
  width: "600px"
349
355
  }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
350
- c.value.visible ? (d(), g(ie, {
356
+ c.value.visible ? (d(), D(me, {
351
357
  key: 1,
352
358
  modelValue: c.value.visible,
353
359
  "onUpdate:modelValue": t[14] || (t[14] = (e) => c.value.visible = e),
@@ -361,5 +367,5 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, ke =
361
367
  }
362
368
  });
363
369
  export {
364
- Se as default
370
+ Re as default
365
371
  };
@@ -0,0 +1,324 @@
1
+ import { defineComponent as ee, getCurrentInstance as te, ref as h, reactive as P, onActivated as oe, resolveComponent as s, resolveDirective as E, createElementBlock as C, openBlock as m, createElementVNode as g, createVNode as a, createBlock as _, createCommentVNode as N, withCtx as t, withKeys as ae, unref as n, createTextVNode as d, toDisplayString as r, withDirectives as b, isRef as R } from "vue";
2
+ import { useTableHooks as le } from "jmash-core";
3
+ import { useI18n as ne } from "vue-i18n";
4
+ import { S as se } from "./index-CsfOvnt4-CYkGp1YO.mjs";
5
+ import { t as re } from "./index-DrhTfMmI.mjs";
6
+ import { D as S } from "./index-kbwxFttn.mjs";
7
+ import { _ as ie } from "./add.vue_vue_type_script_setup_true_lang-DTf6YjPZ.mjs";
8
+ import { useRouter as ue } from "vue-router";
9
+ const me = { class: "app-container" }, de = { class: "search-container" }, pe = ["onClick"], ce = ["onClick"], ge = /* @__PURE__ */ ee({
10
+ __name: "index",
11
+ setup(fe) {
12
+ const { t: v } = ne(), j = ue(), { proxy: B } = te(), u = h({}), {
13
+ tableHooks: i,
14
+ multipleTableRef: I,
15
+ queryFormRef: U,
16
+ listLoading: z,
17
+ tableData: L,
18
+ total: f
19
+ } = le(v, re, u);
20
+ let c = h([
21
+ // 任务主题
22
+ {
23
+ label: "taskDefine.taskTitle",
24
+ prop: "taskTitle",
25
+ width: "170",
26
+ sortable: "custom",
27
+ isColumn: !0
28
+ },
29
+ // 任务类型
30
+ {
31
+ label: "taskDefine.taskSort",
32
+ prop: "taskSort",
33
+ slotName: "taskSort",
34
+ columnType: "slot",
35
+ width: "105",
36
+ sortable: "custom",
37
+ isColumn: !0
38
+ },
39
+ // 执行频次
40
+ {
41
+ label: "taskDefine.taskCount",
42
+ prop: "taskCount",
43
+ slotName: "taskCount",
44
+ columnType: "slot",
45
+ width: "105",
46
+ sortable: "custom",
47
+ isColumn: !0
48
+ },
49
+ // 开始日期
50
+ {
51
+ label: "taskDefine.startDate",
52
+ prop: "startDate",
53
+ width: "105",
54
+ sortable: "custom",
55
+ isColumn: !0
56
+ },
57
+ // 截止日期
58
+ {
59
+ label: "taskDefine.endDate",
60
+ prop: "endDate",
61
+ width: "105",
62
+ sortable: "custom",
63
+ isColumn: !0
64
+ },
65
+ // 任务描述
66
+ {
67
+ label: "taskDefine.note",
68
+ prop: "note",
69
+ minWidth: "150",
70
+ sortable: "custom",
71
+ isColumn: !0
72
+ },
73
+ // 创建人
74
+ {
75
+ label: "taskDefine.createBy",
76
+ prop: "createBy",
77
+ slotName: "createBy",
78
+ columnType: "slot",
79
+ width: "105",
80
+ sortable: "custom",
81
+ isColumn: !0
82
+ },
83
+ // 创建时间
84
+ {
85
+ label: "taskDefine.createTime",
86
+ prop: "createTime",
87
+ slotName: "createTime",
88
+ columnType: "slot",
89
+ width: "160",
90
+ sortable: "custom",
91
+ isColumn: !0
92
+ },
93
+ {
94
+ label: "common.operate",
95
+ width: "130",
96
+ slotName: "operation",
97
+ columnType: "slot",
98
+ fixed: "right",
99
+ isColumn: !0
100
+ }
101
+ ]);
102
+ const p = h({
103
+ title: v("common.edit"),
104
+ visible: !1
105
+ });
106
+ function q(l) {
107
+ j.push({
108
+ path: "/task/task-define/edit",
109
+ query: { taskDefineId: l.taskDefineId, taskSort: l.taskSort }
110
+ });
111
+ }
112
+ let w = P({});
113
+ function F() {
114
+ w = P({}), p.value.title = v("common.add"), p.value.visible = !0;
115
+ }
116
+ function H(l) {
117
+ i.selectionRows.value = l;
118
+ }
119
+ function Y(l) {
120
+ i.handleSort(l.prop, l.order);
121
+ }
122
+ function A(l) {
123
+ l && i.getList();
124
+ }
125
+ return oe(() => {
126
+ i.getList();
127
+ }), (l, o) => {
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"), M = s("EditPen"), $ = s("el-icon"), W = s("DeleteFilled"), G = s("jmash-table"), J = s("jmash-pagination"), O = s("el-card"), D = E("hasPerm"), X = E("loading");
129
+ return m(), C("div", me, [
130
+ g("div", de, [
131
+ a(Q, {
132
+ ref_key: "queryFormRef",
133
+ ref: U,
134
+ model: u.value,
135
+ inline: !0
136
+ }, {
137
+ default: t(() => [
138
+ a(V, null, {
139
+ default: t(() => [
140
+ a(k, { span: 6 }, {
141
+ default: t(() => [
142
+ a(T, {
143
+ label: l.$t("taskDefine.taskSort"),
144
+ prop: "taskSort"
145
+ }, {
146
+ default: t(() => [
147
+ a(K, {
148
+ modelValue: u.value.taskSort,
149
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => u.value.taskSort = e),
150
+ data: n(S).taskSortTypeEnum.values,
151
+ placeholder: l.$t("taskDefine.taskSort"),
152
+ onKeyup: o[1] || (o[1] = ae((e) => n(i).handleQuery(), ["enter"])),
153
+ class: "!w-[203px]"
154
+ }, null, 8, ["modelValue", "data", "placeholder"])
155
+ ]),
156
+ _: 1
157
+ }, 8, ["label"])
158
+ ]),
159
+ _: 1
160
+ }),
161
+ a(k, { span: 18 }, {
162
+ default: t(() => [
163
+ a(T, { class: "search-btn" }, {
164
+ default: t(() => [
165
+ a(y, {
166
+ type: "primary",
167
+ onClick: o[2] || (o[2] = (e) => n(i).handleQuery())
168
+ }, {
169
+ default: t(() => [
170
+ d(r(l.$t("common.search")), 1)
171
+ ]),
172
+ _: 1
173
+ }),
174
+ a(y, {
175
+ onClick: o[3] || (o[3] = (e) => n(i).resetQuery())
176
+ }, {
177
+ default: t(() => [
178
+ d(r(l.$t("common.reset")), 1)
179
+ ]),
180
+ _: 1
181
+ })
182
+ ]),
183
+ _: 1
184
+ })
185
+ ]),
186
+ _: 1
187
+ })
188
+ ]),
189
+ _: 1
190
+ })
191
+ ]),
192
+ _: 1
193
+ }, 8, ["model"])
194
+ ]),
195
+ a(O, {
196
+ shadow: "never",
197
+ class: "table-container"
198
+ }, {
199
+ header: t(() => [
200
+ a(V, null, {
201
+ default: t(() => [
202
+ a(k, { span: 17 }, {
203
+ default: t(() => [
204
+ b((m(), _(y, {
205
+ type: "primary",
206
+ onClick: F
207
+ }, {
208
+ default: t(() => [
209
+ d(r(l.$t("common.add")), 1)
210
+ ]),
211
+ _: 1
212
+ })), [
213
+ [D, ["task:task_define:add"]]
214
+ ])
215
+ ]),
216
+ _: 1
217
+ }),
218
+ a(k, {
219
+ span: 7,
220
+ class: "container-float"
221
+ }, {
222
+ default: t(() => [
223
+ a(x, {
224
+ modelValue: n(c),
225
+ "onUpdate:modelValue": o[4] || (o[4] = (e) => R(c) ? c.value = e : c = e),
226
+ "label-name": "task/task-define"
227
+ }, null, 8, ["modelValue"])
228
+ ]),
229
+ _: 1
230
+ })
231
+ ]),
232
+ _: 1
233
+ })
234
+ ]),
235
+ footer: t(() => [
236
+ n(f) > 0 ? (m(), _(J, {
237
+ key: 0,
238
+ total: n(f),
239
+ "onUpdate:total": o[5] || (o[5] = (e) => R(f) ? f.value = e : null),
240
+ "current-page": u.value.curPage,
241
+ "onUpdate:currentPage": o[6] || (o[6] = (e) => u.value.curPage = e),
242
+ "page-size": u.value.pageSize,
243
+ "onUpdate:pageSize": o[7] || (o[7] = (e) => u.value.pageSize = e),
244
+ onPagination: o[8] || (o[8] = (e) => n(i).getList())
245
+ }, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
246
+ ]),
247
+ default: t(() => [
248
+ b((m(), _(G, {
249
+ ref_key: "multipleTableRef",
250
+ ref: I,
251
+ "row-key": "taskDefineId",
252
+ data: n(L),
253
+ "table-label": n(c),
254
+ onSelectionChange: H,
255
+ onSortChange: Y
256
+ }, {
257
+ taskSort: t((e) => [
258
+ g("span", null, r(n(S).taskSortTypeEnum.getEnumValue(e.data.row.taskSort)), 1)
259
+ ]),
260
+ taskCount: t((e) => [
261
+ g("span", null, r(e.data.row.taskCount) + "次/" + r(n(S).taskPeriodEnum.getEnumValue(e.data.row.taskPeriod)), 1)
262
+ ]),
263
+ createBy: t((e) => [
264
+ d(r(n(se).userInfo(e.data.row.createBy).realName), 1)
265
+ ]),
266
+ createTime: t((e) => [
267
+ d(r(n(B).$moment.formatDate(
268
+ e.data.row.createTime,
269
+ "YYYY-MM-DD HH:mm:ss"
270
+ )), 1)
271
+ ]),
272
+ operation: t((e) => [
273
+ b((m(), C("span", {
274
+ class: "el-button-color",
275
+ onClick: (Z) => q(e.data.row)
276
+ }, [
277
+ a($, null, {
278
+ default: t(() => [
279
+ a(M)
280
+ ]),
281
+ _: 1
282
+ }),
283
+ d(" " + r(l.$t("common.edit")), 1)
284
+ ], 8, pe)), [
285
+ [D, ["task:task_define:update"]]
286
+ ]),
287
+ b((m(), C("span", {
288
+ class: "el-button-color red_color",
289
+ onClick: (Z) => n(i).deleteRecord(e.data.row)
290
+ }, [
291
+ a($, null, {
292
+ default: t(() => [
293
+ a(W)
294
+ ]),
295
+ _: 1
296
+ }),
297
+ d(" " + r(l.$t("common.delete")), 1)
298
+ ], 8, ce)), [
299
+ [D, ["task:task_define:delete"]]
300
+ ])
301
+ ]),
302
+ _: 1
303
+ }, 8, ["data", "table-label"])), [
304
+ [X, n(z)]
305
+ ])
306
+ ]),
307
+ _: 1
308
+ }),
309
+ p.value.visible ? (m(), _(ie, {
310
+ key: 0,
311
+ modelValue: p.value.visible,
312
+ "onUpdate:modelValue": o[9] || (o[9] = (e) => p.value.visible = e),
313
+ title: p.value.title,
314
+ "entity-key": n(w),
315
+ onRefresh: A,
316
+ width: "900px"
317
+ }, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
318
+ ]);
319
+ };
320
+ }
321
+ });
322
+ export {
323
+ ge as default
324
+ };