sooyie-task 0.0.10 → 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.
Files changed (28) hide show
  1. package/dist/{add-B4q1sdG4.mjs → add-DuZI-0rw.mjs} +10 -8
  2. package/dist/add-iEZo5s5C.mjs +4 -0
  3. package/dist/{add-sH-BWgn0.mjs → add.vue_vue_type_script_setup_true_lang-D46pjk8M.mjs} +145 -154
  4. package/dist/assets/7f3e996112b4923f.png +0 -0
  5. package/dist/{edit-CspvN839.mjs → edit-DvKXuCgK.mjs} +125 -135
  6. package/dist/{edit-CaWiv3Bu.mjs → edit-ww2K--dY.mjs} +33 -31
  7. package/dist/el-message-CajLrSgM.mjs +1370 -0
  8. package/dist/{index-BlznoarT.mjs → index-1LxoELHM.mjs} +94 -110
  9. package/dist/{index-DqgxALkk.mjs → index-CoroLg2B.mjs} +81 -81
  10. package/dist/{index-B_hFZVhb-C3Oi__-I.mjs → index-CsfOvnt4-CYkGp1YO.mjs} +736 -687
  11. package/dist/index-DVezr2bg.mjs +9358 -0
  12. package/dist/{index-BRMLJ2ar.mjs → index-DrhTfMmI.mjs} +20 -28
  13. package/dist/{index-BcYrJI8I.mjs → index-rQPWP-HJ.mjs} +1 -1
  14. package/dist/{index-WEwgqoRH.mjs → index-vh8fHlqF.mjs} +106 -118
  15. package/dist/index.mjs +2 -2
  16. package/dist/{index.vue_vue_type_script_setup_true_lang-BbHYN6H_.mjs → index.vue_vue_type_script_setup_true_lang-DVInku0F.mjs} +3 -3
  17. package/dist/info-BqqsNfP6.mjs +2029 -0
  18. package/dist/{report-DgEr-aXp.mjs → report-7UPImd_G.mjs} +26 -24
  19. package/dist/{report-info-CEYtaesO.mjs → report-info-CWhm1nL2.mjs} +4 -2
  20. package/dist/style.css +1 -1
  21. package/dts/src/api/index.d.ts +1 -0
  22. package/dts/src/api/task/task-define/index.d.ts +1 -2
  23. package/dts/src/api/task/task-define/types.d.ts +0 -11
  24. package/dts/src/constant.d.ts +1 -0
  25. package/package.json +10 -9
  26. package/dist/el-message-Bod6C9wB.mjs +0 -1252
  27. package/dist/index-DyMQey8N.mjs +0 -10483
  28. package/dist/info-DQHUz-Xv.mjs +0 -1992
@@ -2,11 +2,11 @@ import { defineComponent as H, mergeModels as F, ref as f, reactive as M, useMod
2
2
  import { ElMessage as W } from "element-plus";
3
3
  import { useI18n as X } from "vue-i18n";
4
4
  import { u as Z } from "./index-DaJ5KrbS.mjs";
5
- import { D as x } from "./index-DyMQey8N.mjs";
5
+ import { D as x } from "./index-DVezr2bg.mjs";
6
6
  import { t as ee } from "./index-BYV5ylFn.mjs";
7
7
  import "jmash-core";
8
- import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
8
+ import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
+ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
10
10
  __name: "edit",
11
11
  props: /* @__PURE__ */ F({
12
12
  entityKey: {
@@ -40,22 +40,22 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
40
40
  function j() {
41
41
  I.value = !0, C.value.clearFileList();
42
42
  }
43
- function q(t) {
44
- const l = {
45
- fileName: t.name,
46
- fileId: t.response.fileId,
43
+ function q(l) {
44
+ const t = {
45
+ fileName: l.name,
46
+ fileId: l.response.fileId,
47
47
  fileSort: m.entityKey.sort
48
48
  };
49
- n.file || (n.file = []), n.file.push(l);
49
+ n.file || (n.file = []), n.file.push(t);
50
50
  }
51
- function K(t) {
52
- var l;
53
- (l = n.file) == null || l.splice(t, 1);
51
+ function K(l) {
52
+ var t;
53
+ (t = n.file) == null || t.splice(l, 1);
54
54
  }
55
55
  const N = async () => {
56
- var t;
57
- await ((t = b.value) == null ? void 0 : t.validate((l) => {
58
- l && ee.create(n).then((d) => {
56
+ var l;
57
+ await ((l = b.value) == null ? void 0 : l.validate((t) => {
58
+ t && ee.create(n).then((d) => {
59
59
  console.log(d), d.status === 200 && (W({
60
60
  message: h("common.submitSuccess"),
61
61
  type: "success"
@@ -66,19 +66,21 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
66
66
  function w() {
67
67
  r.value && (r.value = !1);
68
68
  }
69
- return (t, l) => {
69
+ return (l, t) => {
70
70
  const d = a("jmash-select"), u = a("el-form-item"), c = a("el-col"), S = a("el-date-picker"), B = a("el-input"), g = a("el-button"), L = a("CircleClose"), E = a("el-icon"), T = a("el-row"), z = a("el-form"), A = a("el-dialog"), G = a("jmash-multi-upload");
71
71
  return y(), v($, null, [
72
72
  e(A, {
73
73
  modelValue: r.value,
74
- "onUpdate:modelValue": l[3] || (l[3] = (s) => r.value = s),
74
+ "onUpdate:modelValue": t[3] || (t[3] = (s) => r.value = s),
75
+ "close-on-click-modal": !1,
76
+ "close-on-press-escape": !1,
75
77
  onClose: w
76
78
  }, {
77
79
  footer: o(() => [
78
- Q("div", le, [
80
+ Q("div", te, [
79
81
  e(g, { onClick: w }, {
80
82
  default: o(() => [
81
- p(_(t.$t("common.cancel")), 1)
83
+ p(_(l.$t("common.cancel")), 1)
82
84
  ]),
83
85
  _: 1
84
86
  }),
@@ -87,7 +89,7 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
87
89
  onClick: N
88
90
  }, {
89
91
  default: o(() => [
90
- p(_(t.$t("common.confirm")), 1)
92
+ p(_(l.$t("common.confirm")), 1)
91
93
  ]),
92
94
  _: 1
93
95
  })
@@ -107,15 +109,15 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
107
109
  e(c, { span: 24 }, {
108
110
  default: o(() => [
109
111
  e(u, {
110
- label: t.$t("taskInst.customerId"),
112
+ label: l.$t("taskInst.customerId"),
111
113
  prop: "govOrgId"
112
114
  }, {
113
115
  default: o(() => [
114
116
  e(d, {
115
117
  modelValue: i(n).govOrgId,
116
- "onUpdate:modelValue": l[0] || (l[0] = (s) => i(n).govOrgId = s),
118
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => i(n).govOrgId = s),
117
119
  data: i(x).OrgBizDict.values,
118
- placeholder: t.$t("taskInst.customerIdRequired"),
120
+ placeholder: l.$t("taskInst.customerIdRequired"),
119
121
  maxlength: "8",
120
122
  "show-word-limit": "",
121
123
  clearable: "",
@@ -130,12 +132,12 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
130
132
  e(c, { span: 24 }, {
131
133
  default: o(() => [
132
134
  e(u, {
133
- label: t.$t("taskInst.createTime")
135
+ label: l.$t("taskInst.createTime")
134
136
  }, {
135
137
  default: o(() => [
136
138
  e(S, {
137
139
  modelValue: V.value,
138
- "onUpdate:modelValue": l[1] || (l[1] = (s) => V.value = s),
140
+ "onUpdate:modelValue": t[1] || (t[1] = (s) => V.value = s),
139
141
  type: "date",
140
142
  format: "YYYY-MM-DD",
141
143
  "value-format": "YYYY-MM-DD",
@@ -150,14 +152,14 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
150
152
  e(c, { span: 24 }, {
151
153
  default: o(() => [
152
154
  e(u, {
153
- label: t.$t("taskInst.note"),
155
+ label: l.$t("taskInst.note"),
154
156
  prop: "content"
155
157
  }, {
156
158
  default: o(() => [
157
159
  e(B, {
158
160
  modelValue: i(n).content,
159
- "onUpdate:modelValue": l[2] || (l[2] = (s) => i(n).content = s),
160
- placeholder: t.$t("taskInst.noteRequired"),
161
+ "onUpdate:modelValue": t[2] || (t[2] = (s) => i(n).content = s),
162
+ placeholder: l.$t("taskInst.noteRequired"),
161
163
  "show-word-limit": "",
162
164
  type: "textarea",
163
165
  clearable: ""
@@ -171,7 +173,7 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
171
173
  e(c, { span: 24 }, {
172
174
  default: o(() => [
173
175
  e(u, {
174
- label: t.$t("taskDefine.files"),
176
+ label: l.$t("taskDefine.files"),
175
177
  prop: "fileInfo"
176
178
  }, {
177
179
  default: o(() => [
@@ -181,7 +183,7 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
181
183
  onClick: j
182
184
  }, {
183
185
  default: o(() => [
184
- p(_(t.$t("common.uploadFiles")), 1)
186
+ p(_(l.$t("common.uploadFiles")), 1)
185
187
  ]),
186
188
  _: 1
187
189
  }, 8, ["icon"])
@@ -225,13 +227,13 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
225
227
  ref_key: "uploadRef",
226
228
  ref: C,
227
229
  modelValue: I.value,
228
- "onUpdate:modelValue": l[4] || (l[4] = (s) => I.value = s),
230
+ "onUpdate:modelValue": t[4] || (t[4] = (s) => I.value = s),
229
231
  onUploadFileList: q
230
232
  }, null, 8, ["modelValue"])
231
233
  ], 64);
232
234
  };
233
235
  }
234
- }), fe = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-cd2f9105"]]);
236
+ }), fe = /* @__PURE__ */ le(oe, [["__scopeId", "data-v-7a76bbaa"]]);
235
237
  export {
236
238
  fe as default
237
239
  };