sooyie-task 0.0.3 → 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.
- package/dist/{edit-CE42VR9Z.mjs → edit-Ci8Uch5Z.mjs} +47 -47
- package/dist/{index-D2MCvi1T.mjs → index-DtM5EnwJ.mjs} +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{info-CV-udiTK.mjs → info-BTSBObrr.mjs} +2 -2
- package/dist/report-Uf6UKzUn.mjs +584 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/report-CJWipPH_.mjs +0 -564
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as H, mergeModels as F, ref as f, reactive as M, useModel as J, resolveComponent as a, createElementBlock as
|
|
1
|
+
import { defineComponent as H, mergeModels as F, ref as f, reactive as M, useModel as J, resolveComponent as a, createElementBlock as v, openBlock as y, Fragment as $, createVNode as e, withCtx as o, unref as i, createTextVNode as p, toDisplayString as _, renderList as P, createElementVNode as Q } from "vue";
|
|
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
5
|
import { D as x } from "./index-DvawPwK3.mjs";
|
|
6
6
|
import { t as ee } from "./index-BYV5ylFn.mjs";
|
|
7
|
+
import "jmash-core";
|
|
7
8
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
9
|
const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
9
10
|
__name: "edit",
|
|
@@ -19,14 +20,13 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
19
20
|
}),
|
|
20
21
|
emits: /* @__PURE__ */ F(["refresh"], ["update:modelValue"]),
|
|
21
22
|
setup(k, { emit: R }) {
|
|
22
|
-
const O = (/* @__PURE__ */ new Date()).toISOString().split("T")[0], V = f(O), b = f(), { t: h } = X(),
|
|
23
|
-
console.log(d.entityKey.sort, "=> props.entityKey?.sort");
|
|
23
|
+
const O = (/* @__PURE__ */ new Date()).toISOString().split("T")[0], V = f(O), b = f(), { t: h } = X(), m = k;
|
|
24
24
|
let n = M({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
26
|
-
taskInstId:
|
|
26
|
+
taskInstId: m.entityKey.taskInstId,
|
|
27
27
|
file: [],
|
|
28
|
-
govOrgId:
|
|
29
|
-
type:
|
|
28
|
+
govOrgId: m.entityKey.annivCustomerId,
|
|
29
|
+
type: m.entityKey.sort
|
|
30
30
|
});
|
|
31
31
|
const Y = M({
|
|
32
32
|
govOrgId: [
|
|
@@ -36,53 +36,53 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
36
36
|
trigger: "change"
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
|
-
}),
|
|
40
|
-
function
|
|
41
|
-
|
|
39
|
+
}), r = J(k, "modelValue"), U = R, I = f(!1), C = f();
|
|
40
|
+
function j() {
|
|
41
|
+
I.value = !0, C.value.clearFileList();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function q(t) {
|
|
44
44
|
const l = {
|
|
45
45
|
fileName: t.name,
|
|
46
46
|
fileId: t.response.fileId,
|
|
47
|
-
fileSort:
|
|
47
|
+
fileSort: m.entityKey.sort
|
|
48
48
|
};
|
|
49
49
|
n.file || (n.file = []), n.file.push(l);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function K(t) {
|
|
52
52
|
var l;
|
|
53
53
|
(l = n.file) == null || l.splice(t, 1);
|
|
54
54
|
}
|
|
55
55
|
const N = async () => {
|
|
56
56
|
var t;
|
|
57
57
|
await ((t = b.value) == null ? void 0 : t.validate((l) => {
|
|
58
|
-
l && ee.create(n).then((
|
|
59
|
-
console.log(
|
|
58
|
+
l && ee.create(n).then((d) => {
|
|
59
|
+
console.log(d), d.status === 200 && (W({
|
|
60
60
|
message: h("common.submitSuccess"),
|
|
61
61
|
type: "success"
|
|
62
|
-
}),
|
|
62
|
+
}), r.value && (r.value = !1), U("refresh", d.status === 200));
|
|
63
63
|
});
|
|
64
64
|
}));
|
|
65
65
|
};
|
|
66
66
|
function w() {
|
|
67
|
-
|
|
67
|
+
r.value && (r.value = !1);
|
|
68
68
|
}
|
|
69
69
|
return (t, l) => {
|
|
70
|
-
const
|
|
71
|
-
return
|
|
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
|
+
return y(), v($, null, [
|
|
72
72
|
e(A, {
|
|
73
|
-
modelValue:
|
|
74
|
-
"onUpdate:modelValue": l[3] || (l[3] = (s) =>
|
|
73
|
+
modelValue: r.value,
|
|
74
|
+
"onUpdate:modelValue": l[3] || (l[3] = (s) => r.value = s),
|
|
75
75
|
onClose: w
|
|
76
76
|
}, {
|
|
77
77
|
footer: o(() => [
|
|
78
78
|
Q("div", le, [
|
|
79
|
-
e(
|
|
79
|
+
e(g, { onClick: w }, {
|
|
80
80
|
default: o(() => [
|
|
81
81
|
p(_(t.$t("common.cancel")), 1)
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
84
|
}),
|
|
85
|
-
e(
|
|
85
|
+
e(g, {
|
|
86
86
|
type: "primary",
|
|
87
87
|
onClick: N
|
|
88
88
|
}, {
|
|
@@ -97,24 +97,24 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
97
97
|
e(z, {
|
|
98
98
|
ref_key: "taskInstFormRef",
|
|
99
99
|
ref: b,
|
|
100
|
-
model:
|
|
100
|
+
model: i(n),
|
|
101
101
|
"label-width": "120px",
|
|
102
102
|
rules: Y
|
|
103
103
|
}, {
|
|
104
104
|
default: o(() => [
|
|
105
|
-
e(
|
|
105
|
+
e(T, null, {
|
|
106
106
|
default: o(() => [
|
|
107
107
|
e(c, { span: 24 }, {
|
|
108
108
|
default: o(() => [
|
|
109
|
-
e(
|
|
109
|
+
e(u, {
|
|
110
110
|
label: t.$t("taskInst.customerId"),
|
|
111
111
|
prop: "govOrgId"
|
|
112
112
|
}, {
|
|
113
113
|
default: o(() => [
|
|
114
|
-
e(
|
|
115
|
-
modelValue:
|
|
116
|
-
"onUpdate:modelValue": l[0] || (l[0] = (s) =>
|
|
117
|
-
data:
|
|
114
|
+
e(d, {
|
|
115
|
+
modelValue: i(n).govOrgId,
|
|
116
|
+
"onUpdate:modelValue": l[0] || (l[0] = (s) => i(n).govOrgId = s),
|
|
117
|
+
data: i(x).OrgBizDict.values,
|
|
118
118
|
placeholder: t.$t("taskInst.customerIdRequired"),
|
|
119
119
|
maxlength: "8",
|
|
120
120
|
"show-word-limit": "",
|
|
@@ -129,7 +129,7 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
129
129
|
}),
|
|
130
130
|
e(c, { span: 24 }, {
|
|
131
131
|
default: o(() => [
|
|
132
|
-
e(
|
|
132
|
+
e(u, {
|
|
133
133
|
label: t.$t("taskInst.createTime")
|
|
134
134
|
}, {
|
|
135
135
|
default: o(() => [
|
|
@@ -149,17 +149,17 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
149
149
|
}),
|
|
150
150
|
e(c, { span: 24 }, {
|
|
151
151
|
default: o(() => [
|
|
152
|
-
e(
|
|
152
|
+
e(u, {
|
|
153
153
|
label: t.$t("taskInst.note"),
|
|
154
154
|
prop: "content"
|
|
155
155
|
}, {
|
|
156
156
|
default: o(() => [
|
|
157
157
|
e(B, {
|
|
158
|
-
modelValue:
|
|
159
|
-
"onUpdate:modelValue": l[2] || (l[2] = (s) =>
|
|
158
|
+
modelValue: i(n).content,
|
|
159
|
+
"onUpdate:modelValue": l[2] || (l[2] = (s) => i(n).content = s),
|
|
160
160
|
placeholder: t.$t("taskInst.noteRequired"),
|
|
161
|
-
maxlength: "8",
|
|
162
161
|
"show-word-limit": "",
|
|
162
|
+
type: "textarea",
|
|
163
163
|
clearable: ""
|
|
164
164
|
}, null, 8, ["modelValue", "placeholder"])
|
|
165
165
|
]),
|
|
@@ -170,15 +170,15 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
170
170
|
}),
|
|
171
171
|
e(c, { span: 24 }, {
|
|
172
172
|
default: o(() => [
|
|
173
|
-
e(
|
|
173
|
+
e(u, {
|
|
174
174
|
label: t.$t("taskDefine.files"),
|
|
175
175
|
prop: "fileInfo"
|
|
176
176
|
}, {
|
|
177
177
|
default: o(() => [
|
|
178
|
-
e(
|
|
178
|
+
e(g, {
|
|
179
179
|
type: "primary",
|
|
180
|
-
icon:
|
|
181
|
-
onClick:
|
|
180
|
+
icon: i(Z),
|
|
181
|
+
onClick: j
|
|
182
182
|
}, {
|
|
183
183
|
default: o(() => [
|
|
184
184
|
p(_(t.$t("common.uploadFiles")), 1)
|
|
@@ -188,17 +188,17 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
188
188
|
]),
|
|
189
189
|
_: 1
|
|
190
190
|
}, 8, ["label"]),
|
|
191
|
-
e(
|
|
191
|
+
e(u, null, {
|
|
192
192
|
default: o(() => [
|
|
193
|
-
(
|
|
193
|
+
(y(!0), v($, null, P(i(n).file, (s, D) => (y(), v("div", {
|
|
194
194
|
key: D,
|
|
195
195
|
class: "files-list"
|
|
196
196
|
}, [
|
|
197
197
|
p(_(s.fileName) + " ", 1),
|
|
198
|
-
e(
|
|
198
|
+
e(E, {
|
|
199
199
|
size: "16",
|
|
200
200
|
class: "icon-right",
|
|
201
|
-
onClick: (ae) =>
|
|
201
|
+
onClick: (ae) => K(D)
|
|
202
202
|
}, {
|
|
203
203
|
default: o(() => [
|
|
204
204
|
e(L)
|
|
@@ -224,14 +224,14 @@ const le = { class: "dialog-footer" }, oe = /* @__PURE__ */ H({
|
|
|
224
224
|
e(G, {
|
|
225
225
|
ref_key: "uploadRef",
|
|
226
226
|
ref: C,
|
|
227
|
-
modelValue:
|
|
228
|
-
"onUpdate:modelValue": l[4] || (l[4] = (s) =>
|
|
229
|
-
onUploadFileList:
|
|
227
|
+
modelValue: I.value,
|
|
228
|
+
"onUpdate:modelValue": l[4] || (l[4] = (s) => I.value = s),
|
|
229
|
+
onUploadFileList: q
|
|
230
230
|
}, null, 8, ["modelValue"])
|
|
231
231
|
], 64);
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
}),
|
|
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-
|
|
6
|
-
import ie from "./edit-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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;
|