sooyie-task 0.0.11 → 0.0.12
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-ww2K--dY.mjs → edit-CCHq3Xp5.mjs} +1 -1
- package/dist/{edit-DvKXuCgK.mjs → edit-CrE2B7M0.mjs} +2 -2
- 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-ORF5-jXV.mjs +2040 -0
- 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/dts/src/views/task/task-define/add.vue.d.ts +1 -1
- package/dts/src/views/task/task-define-rel/add.vue.d.ts +1 -1
- package/dts/src/views/task/task-inst/edit.vue.d.ts +1 -1
- package/dts/src/views/task/task-inst/report.vue.d.ts +1 -1
- package/package.json +5 -5
- package/dist/info-BqqsNfP6.mjs +0 -2029
- 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)
|
|
@@ -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";
|
|
@@ -4,9 +4,9 @@ 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",
|
|
@@ -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",
|