sooyie-task 0.0.7 → 0.0.9

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 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";
1
+ import { defineComponent as X, getCurrentInstance as Z, ref as v, reactive as N, onActivated as ee, resolveComponent as s, resolveDirective as te, createElementBlock as _, openBlock as m, createElementVNode as y, createVNode as n, createBlock as g, createCommentVNode as P, withCtx as o, withKeys as oe, unref as l, Fragment as ae, renderList as le, createTextVNode as d, toDisplayString as r, withDirectives as S, isRef as R } from "vue";
2
2
  import { useTableHooks as ne } from "jmash-core";
3
3
  import { useI18n as se } from "vue-i18n";
4
4
  import { b as re } from "./index-B_hFZVhb-C3Oi__-I.mjs";
@@ -9,7 +9,7 @@ import { useRouter as de } from "vue-router";
9
9
  const pe = { class: "app-container" }, ce = { class: "search-container" }, fe = ["onClick"], ke = ["onClick"], Se = /* @__PURE__ */ X({
10
10
  __name: "index",
11
11
  setup(be) {
12
- const { t: w } = se(), L = de(), { proxy: E } = Z(), m = C({}), c = C([]);
12
+ const { t: C } = se(), L = de(), { proxy: E } = Z(), u = v({}), c = v([]);
13
13
  function j(a) {
14
14
  c.value.length === 0 && B.getEnum({ className: ue.TASKSORT_TYPE, type: 1 }).then((k) => {
15
15
  c.value = k.data.values;
@@ -23,9 +23,9 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
23
23
  queryFormRef: U,
24
24
  listLoading: z,
25
25
  tableData: A,
26
- total: v
27
- } = ne(w, B, m);
28
- let f = C([
26
+ total: b
27
+ } = ne(C, B, u);
28
+ let f = v([
29
29
  // 任务主题
30
30
  {
31
31
  label: "taskDefine.taskTitle",
@@ -107,8 +107,8 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
107
107
  isColumn: !0
108
108
  }
109
109
  ]);
110
- const p = C({
111
- title: w("common.edit"),
110
+ const p = v({
111
+ title: C("common.edit"),
112
112
  visible: !1
113
113
  });
114
114
  function Y(a) {
@@ -119,7 +119,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
119
119
  }
120
120
  let T = N({});
121
121
  function q() {
122
- T = N({}), p.value.title = w("common.add"), p.value.visible = !0;
122
+ T = N({}), p.value.title = C("common.add"), p.value.visible = !0;
123
123
  }
124
124
  function H(a) {
125
125
  i.selectionRows.value = a;
@@ -133,35 +133,35 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
133
133
  return ee(() => {
134
134
  i.getList();
135
135
  }), (a, t) => {
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, {
136
+ const k = s("el-option"), Q = s("el-select"), V = s("el-form-item"), D = s("el-col"), $ = s("el-row"), h = s("el-button"), x = s("el-form"), M = s("jmash-column-select"), O = s("jmash-table"), W = s("jmash-pagination"), G = s("el-card"), w = te("hasPerm");
137
+ return m(), _("div", pe, [
138
+ y("div", ce, [
139
+ n(x, {
140
140
  ref_key: "queryFormRef",
141
141
  ref: U,
142
- model: m.value,
142
+ model: u.value,
143
143
  inline: !0
144
144
  }, {
145
145
  default: o(() => [
146
- n(V, null, {
146
+ n($, null, {
147
147
  default: o(() => [
148
- n(S, { span: 6 }, {
148
+ n(D, { span: 6 }, {
149
149
  default: o(() => [
150
- n($, {
150
+ n(V, {
151
151
  label: a.$t("taskDefine.taskSort"),
152
152
  prop: "taskSort"
153
153
  }, {
154
154
  default: o(() => [
155
155
  n(Q, {
156
- modelValue: m.value.taskSort,
157
- "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value.taskSort = e),
156
+ modelValue: u.value.taskSort,
157
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.taskSort = e),
158
158
  data: c.value,
159
159
  placeholder: a.$t("taskDefine.taskSort"),
160
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(ae, null, le(c.value, (e) => (u(), b(k, {
164
+ (m(!0), _(ae, null, le(c.value, (e) => (m(), g(k, {
165
165
  key: e.key,
166
166
  label: e.value,
167
167
  value: e.key
@@ -178,9 +178,9 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
178
178
  ]),
179
179
  _: 1
180
180
  }),
181
- n($, { class: "search-btn" }, {
181
+ n(V, { class: "search-btn" }, {
182
182
  default: o(() => [
183
- n(y, {
183
+ n(h, {
184
184
  type: "primary",
185
185
  onClick: t[2] || (t[2] = (e) => l(i).handleQuery())
186
186
  }, {
@@ -189,7 +189,7 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
189
189
  ]),
190
190
  _: 1
191
191
  }),
192
- n(y, {
192
+ n(h, {
193
193
  onClick: t[3] || (t[3] = (e) => l(i).resetQuery())
194
194
  }, {
195
195
  default: o(() => [
@@ -203,18 +203,18 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
203
203
  ]),
204
204
  _: 1
205
205
  }, 8, ["model"]),
206
- t[11] || (t[11] = D("div", { class: "clear" }, null, -1))
206
+ t[10] || (t[10] = y("div", { class: "clear" }, null, -1))
207
207
  ]),
208
208
  n(G, {
209
209
  shadow: "never",
210
210
  class: "table-container"
211
211
  }, {
212
212
  header: o(() => [
213
- n(V, null, {
213
+ n($, null, {
214
214
  default: o(() => [
215
- n(S, { span: 17 }, {
215
+ n(D, { span: 17 }, {
216
216
  default: o(() => [
217
- h((u(), b(y, {
217
+ S((m(), g(h, {
218
218
  type: "primary",
219
219
  onClick: q
220
220
  }, {
@@ -223,30 +223,19 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
223
223
  ]),
224
224
  _: 1
225
225
  })), [
226
- [_, ["task:task_define:add"]]
227
- ]),
228
- h((u(), b(y, {
229
- type: "primary",
230
- onClick: t[4] || (t[4] = (e) => l(i).deleteRecords())
231
- }, {
232
- default: o(() => [
233
- d(r(a.$t("common.batchDelete")), 1)
234
- ]),
235
- _: 1
236
- })), [
237
- [_, ["task:task_define:delete"]]
226
+ [w, ["task:task_define:add"]]
238
227
  ])
239
228
  ]),
240
229
  _: 1
241
230
  }),
242
- n(S, {
231
+ n(D, {
243
232
  span: 7,
244
233
  class: "container-float"
245
234
  }, {
246
235
  default: o(() => [
247
- n(x, {
236
+ n(M, {
248
237
  modelValue: l(f),
249
- "onUpdate:modelValue": t[5] || (t[5] = (e) => P(f) ? f.value = e : f = e),
238
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => R(f) ? f.value = e : f = e),
250
239
  "label-name": "task/task-define"
251
240
  }, null, 8, ["modelValue"])
252
241
  ]),
@@ -257,16 +246,16 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
257
246
  })
258
247
  ]),
259
248
  footer: o(() => [
260
- l(v) > 0 ? (u(), b(W, {
249
+ l(b) > 0 ? (m(), g(W, {
261
250
  key: 0,
262
- total: l(v),
263
- "onUpdate:total": t[6] || (t[6] = (e) => P(v) ? v.value = e : null),
264
- "current-page": m.value.curPage,
265
- "onUpdate:currentPage": t[7] || (t[7] = (e) => m.value.curPage = e),
266
- "page-size": m.value.pageSize,
267
- "onUpdate:pageSize": t[8] || (t[8] = (e) => m.value.pageSize = e),
268
- onPagination: t[9] || (t[9] = (e) => l(i).getList())
269
- }, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
251
+ total: l(b),
252
+ "onUpdate:total": t[5] || (t[5] = (e) => R(b) ? b.value = e : null),
253
+ "current-page": u.value.curPage,
254
+ "onUpdate:currentPage": t[6] || (t[6] = (e) => u.value.curPage = e),
255
+ "page-size": u.value.pageSize,
256
+ "onUpdate:pageSize": t[7] || (t[7] = (e) => u.value.pageSize = e),
257
+ onPagination: t[8] || (t[8] = (e) => l(i).getList())
258
+ }, null, 8, ["total", "current-page", "page-size"])) : P("", !0)
270
259
  ]),
271
260
  default: o(() => [
272
261
  n(O, {
@@ -280,10 +269,10 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
280
269
  onSortChange: K
281
270
  }, {
282
271
  taskSort: o((e) => [
283
- D("span", null, r(j(e.data.row.taskSort)), 1)
272
+ y("span", null, r(j(e.data.row.taskSort)), 1)
284
273
  ]),
285
274
  taskCount: o((e) => [
286
- D("span", null, r(e.data.row.taskCount) + "次/" + r(l(ie).taskPeriodEnum.getEnumValue(e.data.row.taskPeriod)), 1)
275
+ y("span", null, r(e.data.row.taskCount) + "次/" + r(l(ie).taskPeriodEnum.getEnumValue(e.data.row.taskPeriod)), 1)
287
276
  ]),
288
277
  createBy: o((e) => [
289
278
  d(r(l(re).userInfo(e.data.row.createBy).realName), 1)
@@ -295,21 +284,21 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
295
284
  )), 1)
296
285
  ]),
297
286
  operation: o((e) => [
298
- h((u(), g("span", {
287
+ S((m(), _("span", {
299
288
  class: "el-button-color",
300
289
  onClick: (J) => Y(e.data.row)
301
290
  }, [
302
291
  d(r(a.$t("common.edit")), 1)
303
292
  ], 8, fe)), [
304
- [_, ["task:task_define:update"]]
293
+ [w, ["task:task_define:update"]]
305
294
  ]),
306
- h((u(), g("span", {
295
+ S((m(), _("span", {
307
296
  class: "el-button-color dropdown-left",
308
297
  onClick: (J) => l(i).deleteRecord(e.data.row)
309
298
  }, [
310
299
  d(r(a.$t("common.delete")), 1)
311
300
  ], 8, ke)), [
312
- [_, ["task:task_define:delete"]]
301
+ [w, ["task:task_define:delete"]]
313
302
  ])
314
303
  ]),
315
304
  _: 1
@@ -317,15 +306,15 @@ const pe = { class: "app-container" }, ce = { class: "search-container" }, fe =
317
306
  ]),
318
307
  _: 1
319
308
  }),
320
- p.value.visible ? (u(), b(me, {
309
+ p.value.visible ? (m(), g(me, {
321
310
  key: 0,
322
311
  modelValue: p.value.visible,
323
- "onUpdate:modelValue": t[10] || (t[10] = (e) => p.value.visible = e),
312
+ "onUpdate:modelValue": t[9] || (t[9] = (e) => p.value.visible = e),
324
313
  title: p.value.title,
325
314
  "entity-key": l(T),
326
315
  onRefresh: F,
327
316
  width: "900px"
328
- }, null, 8, ["modelValue", "title", "entity-key"])) : R("", !0)
317
+ }, null, 8, ["modelValue", "title", "entity-key"])) : P("", !0)
329
318
  ]);
330
319
  };
331
320
  }
@@ -1,24 +1,24 @@
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";
1
+ import { defineComponent as Z, getCurrentInstance as ee, ref as D, reactive as te, onActivated as ae, resolveComponent as r, resolveDirective as le, createElementBlock as c, openBlock as d, createElementVNode as y, createVNode as s, createBlock as h, createCommentVNode as C, withCtx as l, withKeys as V, unref as o, createTextVNode as g, toDisplayString as u, withDirectives as oe, isRef as T } from "vue";
2
2
  import { useTableHooks as se } from "jmash-core";
3
3
  import { useI18n as ne } from "vue-i18n";
4
- import { D as m, C as j } from "./index-DvawPwK3.mjs";
5
- import { t as re, a as ue } from "./report-Uf6UKzUn.mjs";
4
+ import { D as m, C as Y } from "./index-DvawPwK3.mjs";
5
+ import { t as re, a as ue } from "./report-CEnjUOYk.mjs";
6
6
  import ie from "./edit-Ci8Uch5Z.mjs";
7
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({
8
+ const me = { class: "app-container" }, pe = { class: "search-container" }, ke = { key: 0 }, ce = { key: 1 }, fe = ["onClick"], ve = ["onClick"], be = ["onClick"], Ve = /* @__PURE__ */ Z({
9
9
  __name: "index",
10
10
  setup(ye) {
11
- const { proxy: z } = te(), { t: p } = ne(), E = de();
11
+ const { proxy: U } = ee(), { t: f } = ne(), j = de();
12
12
  m.OrgBizDict.useValues(), m.itemBizLayDict.useValues();
13
- const n = g({}), {
13
+ const n = D({}), {
14
14
  tableHooks: i,
15
- multipleTableRef: M,
16
- queryFormRef: q,
17
- listLoading: B,
18
- tableData: L,
19
- total: w
20
- } = se(p, re, n);
21
- let v = g([
15
+ multipleTableRef: z,
16
+ queryFormRef: M,
17
+ listLoading: q,
18
+ tableData: B,
19
+ total: I
20
+ } = se(f, re, n);
21
+ let v = D([
22
22
  // 任务主题
23
23
  {
24
24
  label: "taskInst.taskName",
@@ -102,22 +102,22 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
102
102
  isColumn: !0
103
103
  }
104
104
  ]);
105
- const k = g({
106
- title: p("taskInst.report"),
105
+ const p = D({
106
+ title: f("taskInst.report"),
107
107
  visible: !1
108
- }), c = g({
109
- title: p("taskInst.reportNormal"),
108
+ }), k = D({
109
+ title: f("taskInst.reportNormal"),
110
110
  visible: !1
111
111
  });
112
- let _ = ae({});
113
- function P(a) {
114
- Object.assign(_, a), k.value.title = p("taskInst.report"), k.value.visible = !0;
112
+ let _ = te({});
113
+ function E(a) {
114
+ Object.assign(_, a), p.value.title = f("taskInst.report"), p.value.visible = !0;
115
115
  }
116
- function O(a) {
117
- Object.assign(_, a), c.value.title = p("taskInst.reportNormal"), c.value.visible = !0;
116
+ function L(a) {
117
+ Object.assign(_, a), k.value.title = f("taskInst.reportNormal"), k.value.visible = !0;
118
118
  }
119
- function K(a) {
120
- E.push({
119
+ function P(a) {
120
+ j.push({
121
121
  path: "/task/task-inst/info",
122
122
  query: {
123
123
  taskInstId: a.taskInstId,
@@ -126,24 +126,24 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
126
126
  }
127
127
  });
128
128
  }
129
- function Q(a) {
129
+ function O(a) {
130
130
  i.selectionRows.value = a;
131
131
  }
132
- function H(a) {
132
+ function K(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 le(() => {
138
+ return ae(() => {
139
139
  i.getList();
140
140
  }), (a, t) => {
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, [
141
+ const Q = r("el-input"), w = r("el-form-item"), b = r("el-col"), H = r("jmash-select"), A = r("el-date-picker"), $ = r("el-button"), R = r("el-row"), F = r("el-form"), W = r("jmash-column-select"), x = r("jmash-table"), G = r("jmash-pagination"), J = r("el-card"), X = le("hasPerm");
142
+ return d(), c("div", me, [
143
143
  y("div", pe, [
144
- s(W, {
144
+ s(F, {
145
145
  ref_key: "queryFormRef",
146
- ref: q,
146
+ ref: M,
147
147
  model: n.value,
148
148
  inline: !0
149
149
  }, {
@@ -152,16 +152,16 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
152
152
  default: l(() => [
153
153
  s(b, { span: 6 }, {
154
154
  default: l(() => [
155
- s(D, {
155
+ s(w, {
156
156
  label: a.$t("taskInst.keyword"),
157
157
  prop: "keyword"
158
158
  }, {
159
159
  default: l(() => [
160
- s(x, {
160
+ s(Q, {
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"),
164
- onKeyup: t[1] || (t[1] = $((e) => o(i).handleQuery(), ["enter"])),
164
+ onKeyup: t[1] || (t[1] = V((e) => o(i).handleQuery(), ["enter"])),
165
165
  class: "!w-[203px]"
166
166
  }, null, 8, ["modelValue", "placeholder"])
167
167
  ]),
@@ -172,17 +172,17 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
172
172
  }),
173
173
  s(b, { span: 6 }, {
174
174
  default: l(() => [
175
- s(D, {
175
+ s(w, {
176
176
  label: a.$t("taskInst.status"),
177
177
  prop: "status"
178
178
  }, {
179
179
  default: l(() => [
180
- s(A, {
180
+ s(H, {
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,
184
184
  placeholder: a.$t("taskInst.statusRequired"),
185
- onKeyup: t[3] || (t[3] = $((e) => o(i).handleQuery(), ["enter"])),
185
+ onKeyup: t[3] || (t[3] = V((e) => o(i).handleQuery(), ["enter"])),
186
186
  class: "!w-[203px]"
187
187
  }, null, 8, ["modelValue", "data", "placeholder"])
188
188
  ]),
@@ -193,19 +193,19 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
193
193
  }),
194
194
  s(b, { span: 6 }, {
195
195
  default: l(() => [
196
- s(D, {
196
+ s(w, {
197
197
  label: a.$t("taskInst.taskDate"),
198
198
  prop: "taskDate"
199
199
  }, {
200
200
  default: l(() => [
201
- s(F, {
201
+ s(A, {
202
202
  modelValue: n.value.taskDate,
203
203
  "onUpdate:modelValue": t[4] || (t[4] = (e) => n.value.taskDate = e),
204
204
  type: "date",
205
205
  placeholder: a.$t("taskInst.taskDateRequired"),
206
206
  format: "YYYY-MM-DD",
207
207
  "value-format": "YYYY-MM-DD",
208
- onKeyup: t[5] || (t[5] = $((e) => o(i).handleQuery(), ["enter"])),
208
+ onKeyup: t[5] || (t[5] = V((e) => o(i).handleQuery(), ["enter"])),
209
209
  class: "w-full"
210
210
  }, null, 8, ["modelValue", "placeholder"])
211
211
  ]),
@@ -216,22 +216,22 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
216
216
  }),
217
217
  s(b, { span: 6 }, {
218
218
  default: l(() => [
219
- s(D, { class: "search-btn" }, {
219
+ s(w, { class: "search-btn" }, {
220
220
  default: l(() => [
221
- s(h, {
221
+ s($, {
222
222
  type: "primary",
223
223
  onClick: t[6] || (t[6] = (e) => o(i).handleQuery())
224
224
  }, {
225
225
  default: l(() => [
226
- I(u(a.$t("common.search")), 1)
226
+ g(u(a.$t("common.search")), 1)
227
227
  ]),
228
228
  _: 1
229
229
  }),
230
- s(h, {
230
+ s($, {
231
231
  onClick: t[7] || (t[7] = (e) => o(i).resetQuery())
232
232
  }, {
233
233
  default: l(() => [
234
- I(u(a.$t("common.reset")), 1)
234
+ g(u(a.$t("common.reset")), 1)
235
235
  ]),
236
236
  _: 1
237
237
  })
@@ -247,9 +247,9 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
247
247
  ]),
248
248
  _: 1
249
249
  }, 8, ["model"]),
250
- t[16] || (t[16] = y("div", { class: "clear" }, null, -1))
250
+ t[15] || (t[15] = y("div", { class: "clear" }, null, -1))
251
251
  ]),
252
- s(Z, {
252
+ s(J, {
253
253
  shadow: "never",
254
254
  class: "table-container"
255
255
  }, {
@@ -261,21 +261,9 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
261
261
  class: "container-float"
262
262
  }, {
263
263
  default: l(() => [
264
- Y((d(), C(h, {
265
- plain: "",
266
- type: "primary",
267
- onClick: t[8] || (t[8] = (e) => o(i).handleExport(o(p)("task.taskInst.name")))
268
- }, {
269
- default: l(() => [
270
- I(u(a.$t("common.export")), 1)
271
- ]),
272
- _: 1
273
- })), [
274
- [N, ["task:task_inst:export"]]
275
- ]),
276
- s(G, {
264
+ s(W, {
277
265
  modelValue: o(v),
278
- "onUpdate:modelValue": t[9] || (t[9] = (e) => U(v) ? v.value = e : v = e),
266
+ "onUpdate:modelValue": t[8] || (t[8] = (e) => T(v) ? v.value = e : v = e),
279
267
  "label-name": "task/task-inst"
280
268
  }, null, 8, ["modelValue"])
281
269
  ]),
@@ -286,30 +274,30 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
286
274
  })
287
275
  ]),
288
276
  footer: l(() => [
289
- o(w) > 0 ? (d(), C(X, {
277
+ o(I) > 0 ? (d(), h(G, {
290
278
  key: 0,
291
- total: o(w),
292
- "onUpdate:total": t[10] || (t[10] = (e) => U(w) ? w.value = e : null),
279
+ total: o(I),
280
+ "onUpdate:total": t[9] || (t[9] = (e) => T(I) ? I.value = e : null),
293
281
  "current-page": n.value.curPage,
294
- "onUpdate:currentPage": t[11] || (t[11] = (e) => n.value.curPage = e),
282
+ "onUpdate:currentPage": t[10] || (t[10] = (e) => n.value.curPage = e),
295
283
  "page-size": n.value.pageSize,
296
- "onUpdate:pageSize": t[12] || (t[12] = (e) => n.value.pageSize = e),
297
- onPagination: t[13] || (t[13] = (e) => o(i).getList())
298
- }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
284
+ "onUpdate:pageSize": t[11] || (t[11] = (e) => n.value.pageSize = e),
285
+ onPagination: t[12] || (t[12] = (e) => o(i).getList())
286
+ }, null, 8, ["total", "current-page", "page-size"])) : C("", !0)
299
287
  ]),
300
288
  default: l(() => [
301
- s(J, {
289
+ s(x, {
302
290
  ref_key: "multipleTableRef",
303
- ref: M,
291
+ ref: z,
304
292
  "row-key": "taskInstId",
305
- "list-loading": o(B),
306
- data: o(L),
293
+ "list-loading": o(q),
294
+ data: o(B),
307
295
  "table-label": o(v),
308
- onSelectionChange: Q,
309
- onSortChange: H
296
+ onSelectionChange: O,
297
+ onSortChange: K
310
298
  }, {
311
299
  annivCustomerId: l((e) => [
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))
300
+ e.data.row.sort === o(Y).CUSTOMER ? (d(), c("span", ke, u(o(m).OrgBizDict.getValue(e.data.row.annivCustomerId)), 1)) : (d(), c("span", ce, u(o(m).itemBizLayDict.getValue(e.data.row.annivCustomerId)), 1))
313
301
  ]),
314
302
  readStatus: l((e) => [
315
303
  y("span", null, u(o(m).readStatusDict.getValue(e.data.row.readStatus)), 1)
@@ -321,28 +309,28 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
321
309
  y("span", null, u(e.data.row.percent) + "% ", 1)
322
310
  ]),
323
311
  finishDate: l((e) => [
324
- I(u(o(z).$moment.formatDate(
312
+ g(u(o(U).$moment.formatDate(
325
313
  e.data.row.finishDate,
326
314
  "YYYY-MM-DD HH:mm:ss"
327
315
  )), 1)
328
316
  ]),
329
317
  operation: l((e) => [
330
- Y((d(), f("span", {
318
+ oe((d(), c("span", {
331
319
  class: "el-button-color",
332
- onClick: (T) => K(e.data.row)
320
+ onClick: (N) => P(e.data.row)
333
321
  }, [
334
- I(u(a.$t("common.view")), 1)
322
+ g(u(a.$t("common.view")), 1)
335
323
  ], 8, fe)), [
336
- [N, ["task:task_inst:delete"]]
324
+ [X, ["task:task_inst:delete"]]
337
325
  ]),
338
- e.data.row.sort === o(j).CUSTOMER ? (d(), f("span", {
326
+ e.data.row.sort === o(Y).CUSTOMER ? (d(), c("span", {
339
327
  key: 0,
340
328
  class: "el-button-color dropdown-left",
341
- onClick: (T) => P(e.data.row)
342
- }, u(a.$t("taskInst.report")), 9, ve)) : (d(), f("span", {
329
+ onClick: (N) => E(e.data.row)
330
+ }, u(a.$t("taskInst.report")), 9, ve)) : (d(), c("span", {
343
331
  key: 1,
344
332
  class: "el-button-color dropdown-left",
345
- onClick: (T) => O(e.data.row)
333
+ onClick: (N) => L(e.data.row)
346
334
  }, u(a.$t("taskInst.report")), 9, be))
347
335
  ]),
348
336
  _: 1
@@ -350,24 +338,24 @@ const me = { class: "app-container" }, pe = { class: "search-container" }, ke =
350
338
  ]),
351
339
  _: 1
352
340
  }),
353
- k.value.visible ? (d(), C(ie, {
341
+ p.value.visible ? (d(), h(ie, {
354
342
  key: 0,
355
- modelValue: k.value.visible,
356
- "onUpdate:modelValue": t[14] || (t[14] = (e) => k.value.visible = e),
357
- title: k.value.title,
343
+ modelValue: p.value.visible,
344
+ "onUpdate:modelValue": t[13] || (t[13] = (e) => p.value.visible = e),
345
+ title: p.value.title,
358
346
  "entity-key": o(_),
359
347
  onRefresh: S,
360
348
  width: "600px"
361
- }, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0),
362
- c.value.visible ? (d(), C(ue, {
349
+ }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0),
350
+ k.value.visible ? (d(), h(ue, {
363
351
  key: 1,
364
- modelValue: c.value.visible,
365
- "onUpdate:modelValue": t[15] || (t[15] = (e) => c.value.visible = e),
366
- title: c.value.title,
352
+ modelValue: k.value.visible,
353
+ "onUpdate:modelValue": t[14] || (t[14] = (e) => k.value.visible = e),
354
+ title: k.value.title,
367
355
  "entity-key": o(_),
368
356
  onRefresh: S,
369
357
  width: "1000px"
370
- }, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0)
358
+ }, null, 8, ["modelValue", "title", "entity-key"])) : C("", !0)
371
359
  ]);
372
360
  };
373
361
  }
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-DR6TsOR1.mjs"), xs = () => import("./info-RcJkYBPy.mjs"), Ns = [
216
+ const Is = () => import("./edit-DR6TsOR1.mjs"), xs = () => import("./info-CMCBPoFL.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-7_dK5ok_.mjs").then((e) => e.b), "./views/task/task-define-rel/index.vue": () => import("./index-DIHsBjkh.mjs"), "./views/task/task-define/add.vue": () => import("./add-BaHTXQnK.mjs"), "./views/task/task-define/edit.vue": () => import("./edit-DR6TsOR1.mjs"), "./views/task/task-define/index.vue": () => import("./index-DnYkwumi.mjs"), "./views/task/task-inst/edit.vue": () => import("./edit-Ci8Uch5Z.mjs"), "./views/task/task-inst/index.vue": () => import("./index-DtM5EnwJ.mjs"), "./views/task/task-inst/info.vue": () => import("./info-RcJkYBPy.mjs"), "./views/task/task-inst/report-info.vue": () => import("./report-info-B0NXFFzR.mjs").then((e) => e.r), "./views/task/task-inst/report.vue": () => import("./report-Uf6UKzUn.mjs").then((e) => e.r), "./views/task/task-task/index.vue": () => import("./index-Cb72ljTZ.mjs") }), Ci = {
2830
+ }, Wi = /* @__PURE__ */ Object.assign({ "./views/task/task-define-rel/add.vue": () => import("./add-7_dK5ok_.mjs").then((e) => e.b), "./views/task/task-define-rel/index.vue": () => import("./index-DIHsBjkh.mjs"), "./views/task/task-define/add.vue": () => import("./add-BaHTXQnK.mjs"), "./views/task/task-define/edit.vue": () => import("./edit-DR6TsOR1.mjs"), "./views/task/task-define/index.vue": () => import("./index-CSqnIoJ3.mjs"), "./views/task/task-inst/edit.vue": () => import("./edit-Ci8Uch5Z.mjs"), "./views/task/task-inst/index.vue": () => import("./index-D75JtZHf.mjs"), "./views/task/task-inst/info.vue": () => import("./info-CMCBPoFL.mjs"), "./views/task/task-inst/report-info.vue": () => import("./report-info-B0NXFFzR.mjs").then((e) => e.r), "./views/task/task-inst/report.vue": () => import("./report-CEnjUOYk.mjs").then((e) => e.r), "./views/task/task-task/index.vue": () => import("./index-Cb72ljTZ.mjs") }), Ci = {
2831
2831
  install(e) {
2832
2832
  vs(Wi, 7), bs(Ys), ps(Ns), e.use(Pi);
2833
2833
  }