sooyie-task 0.0.11 → 0.0.13
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/{add-iEZo5s5C.mjs → add-D9Kj8pyv.mjs} +1 -1
- package/dist/{add-DuZI-0rw.mjs → add-DNvfhqVb.mjs} +1 -1
- package/dist/{add.vue_vue_type_script_setup_true_lang-D46pjk8M.mjs → add.vue_vue_type_script_setup_true_lang-DTf6YjPZ.mjs} +7 -7
- package/dist/{edit-DvKXuCgK.mjs → edit-BW7MTmN4.mjs} +11 -8
- package/dist/{edit-ww2K--dY.mjs → edit-CCHq3Xp5.mjs} +1 -1
- package/dist/{index-1LxoELHM.mjs → index-4CZobjlQ.mjs} +1 -1
- package/dist/{index-rQPWP-HJ.mjs → index-DjzQMg24.mjs} +1 -1
- package/dist/{index-vh8fHlqF.mjs → index-Ix1e1zzg.mjs} +2 -2
- package/dist/{index-DVezr2bg.mjs → index-kbwxFttn.mjs} +1433 -1420
- package/dist/{index-CoroLg2B.mjs → index-muG16Xa0.mjs} +3 -3
- package/dist/index.mjs +4 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-DVInku0F.mjs → index.vue_vue_type_script_setup_true_lang-BRBaBhUl.mjs} +2 -2
- package/dist/{info-BqqsNfP6.mjs → info-B4yEuD0P.mjs} +709 -716
- package/dist/report-Bi_FQqhd.mjs +608 -0
- package/dist/{report-info-CWhm1nL2.mjs → report-info-Dsc2rhWy.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/src/lang/task/zh-cn.d.ts +1 -0
- package/package.json +5 -5
- package/dist/report-7UPImd_G.mjs +0 -601
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as K, mergeModels as Y, ref as T, reactive as B, useModel as q, resolveComponent as u, createBlock as O, openBlock as E, withCtx as o, createVNode as a, unref as s, createSlots as S, createCommentVNode as J, createTextVNode as V, toDisplayString as v, createElementVNode as Q } from "vue";
|
|
2
2
|
import { ElMessage as W } from "element-plus";
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
|
-
import { D as I, O as Z, U as $, C as z } from "./index-
|
|
4
|
+
import { D as I, O as Z, U as $, C as z } from "./index-kbwxFttn.mjs";
|
|
5
5
|
import { useUserStore as D, clearEmpty as h, request as b } from "jmash-core";
|
|
6
6
|
import { d as ee, p as te } from "./index-DaJ5KrbS.mjs";
|
|
7
7
|
import { useRoute as le } from "vue-router";
|
|
@@ -3,7 +3,7 @@ import { ElMessage as w } from "element-plus";
|
|
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
|
4
4
|
import { u as ne } from "./index-DaJ5KrbS.mjs";
|
|
5
5
|
import { t as se } from "./index-DrhTfMmI.mjs";
|
|
6
|
-
import { D as _,
|
|
6
|
+
import { D as _, a as de } from "./index-kbwxFttn.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
8
|
const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
9
9
|
__name: "add",
|
|
@@ -35,7 +35,7 @@ const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
|
35
35
|
e && a.endDate && new Date(e) > new Date(a.endDate) && (a.endDate = "", w.warning(i("taskDefine.startDateLaterThanEndDate")));
|
|
36
36
|
}, F = (e) => {
|
|
37
37
|
e && a.startDate && new Date(e) < new Date(a.startDate) && w.warning(i("taskDefine.endDateEarlierThanStartDate"));
|
|
38
|
-
}, E = (e) => a.startDate ? e.getTime() < new Date(a.startDate).getTime() : !1,
|
|
38
|
+
}, E = (e) => a.startDate ? e.getTime() < new Date(a.startDate).getTime() : !1, P = R({
|
|
39
39
|
taskTitle: [
|
|
40
40
|
{
|
|
41
41
|
required: !0,
|
|
@@ -85,8 +85,8 @@ const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
|
85
85
|
trigger: "change"
|
|
86
86
|
}
|
|
87
87
|
]
|
|
88
|
-
}), f = te(Y, "modelValue"),
|
|
89
|
-
function
|
|
88
|
+
}), f = te(Y, "modelValue"), j = M, b = c(!1), I = c();
|
|
89
|
+
function L() {
|
|
90
90
|
b.value = !0, I.value.clearFileList();
|
|
91
91
|
}
|
|
92
92
|
function N(e) {
|
|
@@ -107,7 +107,7 @@ const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
|
107
107
|
console.log(m), m.status === 200 && (w({
|
|
108
108
|
message: i("common.submitSuccess"),
|
|
109
109
|
type: "success"
|
|
110
|
-
}), f.value && (f.value = !1),
|
|
110
|
+
}), f.value && (f.value = !1), j("refresh", m.status === 200));
|
|
111
111
|
});
|
|
112
112
|
}));
|
|
113
113
|
};
|
|
@@ -149,7 +149,7 @@ const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
|
149
149
|
ref: C,
|
|
150
150
|
model: s(a),
|
|
151
151
|
"label-width": "120px",
|
|
152
|
-
rules:
|
|
152
|
+
rules: P
|
|
153
153
|
}, {
|
|
154
154
|
default: o(() => [
|
|
155
155
|
t(O, null, {
|
|
@@ -364,7 +364,7 @@ const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
|
364
364
|
t(h, {
|
|
365
365
|
type: "primary",
|
|
366
366
|
icon: s(ne),
|
|
367
|
-
onClick:
|
|
367
|
+
onClick: L
|
|
368
368
|
}, {
|
|
369
369
|
default: o(() => [
|
|
370
370
|
D(g(e.$t("common.uploadFiles")), 1)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as W, ref as k, reactive as S, onMounted as X, resolveComponent as r, createElementBlock as
|
|
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";
|
|
5
5
|
import { routerUtil as oe } from "jmash-core";
|
|
6
6
|
import { t as I } from "./index-DrhTfMmI.mjs";
|
|
7
|
-
import { D as m } from "./index-
|
|
7
|
+
import { D as m } from "./index-kbwxFttn.mjs";
|
|
8
8
|
import { u as ne } from "./index-DaJ5KrbS.mjs";
|
|
9
|
-
import { _ as se } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as se } from "./index.vue_vue_type_script_setup_true_lang-BRBaBhUl.mjs";
|
|
10
10
|
import { E as q } from "./el-message-CajLrSgM.mjs";
|
|
11
11
|
const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
|
|
12
12
|
__name: "edit",
|
|
@@ -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
|
|
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
|
-
(
|
|
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
|
}, [
|
|
@@ -2,7 +2,7 @@ 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-
|
|
5
|
+
import { D as x } from "./index-kbwxFttn.mjs";
|
|
6
6
|
import { t as ee } from "./index-BYV5ylFn.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
8
|
import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as G, getCurrentInstance as J, ref as $, onActivated as X, resolveComponent as m, resolveDirective as T, createElementBlock as I, openBlock as p, createElementVNode as c, createVNode as o, withCtx as a, withKeys as w, unref as s, createTextVNode as y, toDisplayString as u, withDirectives as D, createBlock as V, createCommentVNode as Z, isRef as N } from "vue";
|
|
2
2
|
import { useUserStore as E, clearEmpty as U, request as z, useTableHooks as tt } from "jmash-core";
|
|
3
3
|
import { useI18n as et } from "vue-i18n";
|
|
4
|
-
import { D as d, C as at } from "./index-
|
|
4
|
+
import { D as d, C as at } from "./index-kbwxFttn.mjs";
|
|
5
5
|
import { useRouter as st } from "vue-router";
|
|
6
6
|
class ot {
|
|
7
7
|
getKey() {
|
|
@@ -3,8 +3,8 @@ import { useTableHooks as te } from "jmash-core";
|
|
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
|
4
4
|
import { S as ae } from "./index-CsfOvnt4-CYkGp1YO.mjs";
|
|
5
5
|
import { t as le } from "./index-DrhTfMmI.mjs";
|
|
6
|
-
import { D as S } from "./index-
|
|
7
|
-
import { _ as ne } from "./add.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { D as S } from "./index-kbwxFttn.mjs";
|
|
7
|
+
import { _ as ne } from "./add.vue_vue_type_script_setup_true_lang-DTf6YjPZ.mjs";
|
|
8
8
|
import { useRouter as se } from "vue-router";
|
|
9
9
|
const re = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], he = /* @__PURE__ */ O({
|
|
10
10
|
__name: "index",
|