sooyie-task 0.0.4 → 0.0.5

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.
@@ -5,8 +5,8 @@ import { u as Z } from "./index-DaJ5KrbS.mjs";
5
5
  import { D as x } from "./index-DvawPwK3.mjs";
6
6
  import { t as ee } from "./index-BYV5ylFn.mjs";
7
7
  import "jmash-core";
8
- import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
8
+ import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
+ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
10
10
  __name: "edit",
11
11
  props: /* @__PURE__ */ F({
12
12
  entityKey: {
@@ -40,22 +40,22 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
40
40
  function j() {
41
41
  I.value = !0, C.value.clearFileList();
42
42
  }
43
- function q(l) {
44
- const t = {
45
- fileName: l.name,
46
- fileId: l.response.fileId,
43
+ function q(t) {
44
+ const l = {
45
+ fileName: t.name,
46
+ fileId: t.response.fileId,
47
47
  fileSort: m.entityKey.sort
48
48
  };
49
- n.file || (n.file = []), n.file.push(t);
49
+ n.file || (n.file = []), n.file.push(l);
50
50
  }
51
- function K(l) {
52
- var t;
53
- (t = n.file) == null || t.splice(l, 1);
51
+ function K(t) {
52
+ var l;
53
+ (l = n.file) == null || l.splice(t, 1);
54
54
  }
55
55
  const N = async () => {
56
- var l;
57
- await ((l = b.value) == null ? void 0 : l.validate((t) => {
58
- t && ee.create(n).then((d) => {
56
+ var t;
57
+ await ((t = b.value) == null ? void 0 : t.validate((l) => {
58
+ l && 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,19 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
66
66
  function w() {
67
67
  r.value && (r.value = !1);
68
68
  }
69
- return (l, t) => {
69
+ return (t, l) => {
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": t[3] || (t[3] = (s) => r.value = s),
74
+ "onUpdate:modelValue": l[3] || (l[3] = (s) => r.value = s),
75
75
  onClose: w
76
76
  }, {
77
77
  footer: o(() => [
78
- Q("div", te, [
78
+ Q("div", le, [
79
79
  e(g, { onClick: w }, {
80
80
  default: o(() => [
81
- p(_(l.$t("common.cancel")), 1)
81
+ p(_(t.$t("common.cancel")), 1)
82
82
  ]),
83
83
  _: 1
84
84
  }),
@@ -87,7 +87,7 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
87
87
  onClick: N
88
88
  }, {
89
89
  default: o(() => [
90
- p(_(l.$t("common.confirm")), 1)
90
+ p(_(t.$t("common.confirm")), 1)
91
91
  ]),
92
92
  _: 1
93
93
  })
@@ -107,15 +107,15 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
107
107
  e(c, { span: 24 }, {
108
108
  default: o(() => [
109
109
  e(u, {
110
- label: l.$t("taskInst.customerId"),
110
+ label: t.$t("taskInst.customerId"),
111
111
  prop: "govOrgId"
112
112
  }, {
113
113
  default: o(() => [
114
114
  e(d, {
115
115
  modelValue: i(n).govOrgId,
116
- "onUpdate:modelValue": t[0] || (t[0] = (s) => i(n).govOrgId = s),
116
+ "onUpdate:modelValue": l[0] || (l[0] = (s) => i(n).govOrgId = s),
117
117
  data: i(x).OrgBizDict.values,
118
- placeholder: l.$t("taskInst.customerIdRequired"),
118
+ placeholder: t.$t("taskInst.customerIdRequired"),
119
119
  maxlength: "8",
120
120
  "show-word-limit": "",
121
121
  clearable: "",
@@ -130,12 +130,12 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
130
130
  e(c, { span: 24 }, {
131
131
  default: o(() => [
132
132
  e(u, {
133
- label: l.$t("taskInst.createTime")
133
+ label: t.$t("taskInst.createTime")
134
134
  }, {
135
135
  default: o(() => [
136
136
  e(S, {
137
137
  modelValue: V.value,
138
- "onUpdate:modelValue": t[1] || (t[1] = (s) => V.value = s),
138
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => V.value = s),
139
139
  type: "date",
140
140
  format: "YYYY-MM-DD",
141
141
  "value-format": "YYYY-MM-DD",
@@ -150,16 +150,16 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
150
150
  e(c, { span: 24 }, {
151
151
  default: o(() => [
152
152
  e(u, {
153
- label: l.$t("taskInst.note"),
153
+ label: t.$t("taskInst.note"),
154
154
  prop: "content"
155
155
  }, {
156
156
  default: o(() => [
157
157
  e(B, {
158
158
  modelValue: i(n).content,
159
- "onUpdate:modelValue": t[2] || (t[2] = (s) => i(n).content = s),
160
- placeholder: l.$t("taskInst.noteRequired"),
161
- maxlength: "8",
159
+ "onUpdate:modelValue": l[2] || (l[2] = (s) => i(n).content = s),
160
+ placeholder: t.$t("taskInst.noteRequired"),
162
161
  "show-word-limit": "",
162
+ type: "textarea",
163
163
  clearable: ""
164
164
  }, null, 8, ["modelValue", "placeholder"])
165
165
  ]),
@@ -171,7 +171,7 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
171
171
  e(c, { span: 24 }, {
172
172
  default: o(() => [
173
173
  e(u, {
174
- label: l.$t("taskDefine.files"),
174
+ label: t.$t("taskDefine.files"),
175
175
  prop: "fileInfo"
176
176
  }, {
177
177
  default: o(() => [
@@ -181,7 +181,7 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
181
181
  onClick: j
182
182
  }, {
183
183
  default: o(() => [
184
- p(_(l.$t("common.uploadFiles")), 1)
184
+ p(_(t.$t("common.uploadFiles")), 1)
185
185
  ]),
186
186
  _: 1
187
187
  }, 8, ["icon"])
@@ -225,13 +225,13 @@ const te = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
225
225
  ref_key: "uploadRef",
226
226
  ref: C,
227
227
  modelValue: I.value,
228
- "onUpdate:modelValue": t[4] || (t[4] = (s) => I.value = s),
228
+ "onUpdate:modelValue": l[4] || (l[4] = (s) => I.value = s),
229
229
  onUploadFileList: q
230
230
  }, null, 8, ["modelValue"])
231
231
  ], 64);
232
232
  };
233
233
  }
234
- }), fe = /* @__PURE__ */ le(oe, [["__scopeId", "data-v-ea26f6d1"]]);
234
+ }), fe = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-cd2f9105"]]);
235
235
  export {
236
236
  fe as default
237
237
  };
@@ -2,8 +2,8 @@ import { defineComponent as ee, getCurrentInstance as te, ref as g, reactive as
2
2
  import { useTableHooks as se } from "jmash-core";
3
3
  import { useI18n as ne } from "vue-i18n";
4
4
  import { D as m, C as j } from "./index-DvawPwK3.mjs";
5
- import { t as re, a as ue } from "./report-CJWipPH_.mjs";
6
- import ie from "./edit-BLm8ohXr.mjs";
5
+ import { t as re, a as ue } from "./report-Uf6UKzUn.mjs";
6
+ import ie from "./edit-Ci8Uch5Z.mjs";
7
7
  import { useRouter as de } from "vue-router";
8
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",
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-CRQkMd15.mjs"), xs = () => import("./info-Z_lia45C.mjs"), Ns = [
216
+ const Is = () => import("./edit-CRQkMd15.mjs"), xs = () => import("./info-BTSBObrr.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-C2devcsq.mjs"), "./views/task/task-define/edit.vue": () => import("./edit-CRQkMd15.mjs"), "./views/task/task-define/index.vue": () => import("./index-_jDuSfL7.mjs"), "./views/task/task-inst/edit.vue": () => import("./edit-BLm8ohXr.mjs"), "./views/task/task-inst/index.vue": () => import("./index-B9aPHUP4.mjs"), "./views/task/task-inst/info.vue": () => import("./info-Z_lia45C.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-CJWipPH_.mjs").then((e) => e.r), "./views/task/task-task/index.vue": () => import("./index-aDDSbb4h.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-C2devcsq.mjs"), "./views/task/task-define/edit.vue": () => import("./edit-CRQkMd15.mjs"), "./views/task/task-define/index.vue": () => import("./index-_jDuSfL7.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-BTSBObrr.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-aDDSbb4h.mjs") }), Ci = {
2831
2831
  install(e) {
2832
2832
  vs(Wi, 7), bs(Ys), ps(Ns), e.use(Pi);
2833
2833
  }
@@ -5,9 +5,9 @@ import { useRoute as Rr } from "vue-router";
5
5
  import { D as L, J as Dr, $ as Nr, C as Re } from "./index-DvawPwK3.mjs";
6
6
  import { t as Tr } from "./index-CEvxhWYT.mjs";
7
7
  import { t as Et, a as Fr } from "./report-info-B0NXFFzR.mjs";
8
- import { t as At, a as Cr } from "./report-CJWipPH_.mjs";
8
+ import { t as At, a as Cr } from "./report-Uf6UKzUn.mjs";
9
9
  import { useI18n as Mr } from "vue-i18n";
10
- import xr from "./edit-BLm8ohXr.mjs";
10
+ import xr from "./edit-Ci8Uch5Z.mjs";
11
11
  var $t = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
12
12
  function Br(t) {
13
13
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;