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.
- package/dist/{add-B4q1sdG4.mjs → add-DuZI-0rw.mjs} +10 -8
- package/dist/add-iEZo5s5C.mjs +4 -0
- package/dist/{add-sH-BWgn0.mjs → add.vue_vue_type_script_setup_true_lang-D46pjk8M.mjs} +145 -154
- package/dist/assets/7f3e996112b4923f.png +0 -0
- package/dist/{edit-CspvN839.mjs → edit-DvKXuCgK.mjs} +125 -135
- package/dist/{edit-CaWiv3Bu.mjs → edit-ww2K--dY.mjs} +33 -31
- package/dist/el-message-CajLrSgM.mjs +1370 -0
- package/dist/{index-BlznoarT.mjs → index-1LxoELHM.mjs} +94 -110
- package/dist/{index-DqgxALkk.mjs → index-CoroLg2B.mjs} +81 -81
- package/dist/{index-B_hFZVhb-C3Oi__-I.mjs → index-CsfOvnt4-CYkGp1YO.mjs} +736 -687
- package/dist/index-DVezr2bg.mjs +9358 -0
- package/dist/{index-BRMLJ2ar.mjs → index-DrhTfMmI.mjs} +20 -28
- package/dist/{index-BcYrJI8I.mjs → index-rQPWP-HJ.mjs} +1 -1
- package/dist/{index-WEwgqoRH.mjs → index-vh8fHlqF.mjs} +106 -118
- package/dist/index.mjs +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-BbHYN6H_.mjs → index.vue_vue_type_script_setup_true_lang-DVInku0F.mjs} +3 -3
- package/dist/info-BqqsNfP6.mjs +2029 -0
- package/dist/{report-DgEr-aXp.mjs → report-7UPImd_G.mjs} +26 -24
- package/dist/{report-info-CEYtaesO.mjs → report-info-CWhm1nL2.mjs} +4 -2
- package/dist/style.css +1 -1
- package/dts/src/api/index.d.ts +1 -0
- package/dts/src/api/task/task-define/index.d.ts +1 -2
- package/dts/src/api/task/task-define/types.d.ts +0 -11
- package/dts/src/constant.d.ts +1 -0
- package/package.json +10 -9
- package/dist/el-message-Bod6C9wB.mjs +0 -1252
- package/dist/index-DyMQey8N.mjs +0 -10483
- package/dist/info-DQHUz-Xv.mjs +0 -1992
|
@@ -1,97 +1,94 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as W, ref as k, reactive as S, onMounted as X, resolveComponent as r, createElementBlock as g, openBlock as b, 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
|
-
import { useRoute as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { routerUtil as
|
|
6
|
-
import { t as
|
|
7
|
-
import { D as
|
|
8
|
-
import { u as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { E as
|
|
11
|
-
const
|
|
3
|
+
import { useRoute as te, useRouter as ae } from "vue-router";
|
|
4
|
+
import { useI18n as le } from "vue-i18n";
|
|
5
|
+
import { routerUtil as oe } from "jmash-core";
|
|
6
|
+
import { t as I } from "./index-DrhTfMmI.mjs";
|
|
7
|
+
import { D as m } from "./index-DVezr2bg.mjs";
|
|
8
|
+
import { u as ne } from "./index-DaJ5KrbS.mjs";
|
|
9
|
+
import { _ as se } from "./index.vue_vue_type_script_setup_true_lang-DVInku0F.mjs";
|
|
10
|
+
import { E as q } from "./el-message-CajLrSgM.mjs";
|
|
11
|
+
const re = { class: "app-container" }, Ve = /* @__PURE__ */ W({
|
|
12
12
|
__name: "edit",
|
|
13
|
-
setup(
|
|
14
|
-
const { t:
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
let l =
|
|
13
|
+
setup(de) {
|
|
14
|
+
const { t: i } = le(), p = te(), T = ae();
|
|
15
|
+
m.taskInspectTypeDict.useValues();
|
|
16
|
+
const v = k(), c = k("first");
|
|
17
|
+
let l = S({
|
|
18
18
|
requestId: Math.random() * 10 + "",
|
|
19
19
|
updateMask: "taskTitle,startDate,endDate,taskPeriod,taskCount,note,fileInfo"
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}, F = (e) => {
|
|
27
|
-
e && l.startDate && new Date(e) < new Date(l.startDate) && I.warning(u("taskDefine.endDateEarlierThanStartDate"));
|
|
28
|
-
}, N = (e) => l.startDate ? e.getTime() < new Date(l.startDate).getTime() : !1, P = T({
|
|
21
|
+
const Y = (e) => {
|
|
22
|
+
e && l.endDate && new Date(e) > new Date(l.endDate) && (l.endDate = "", q.warning(i("taskDefine.startDateLaterThanEndDate")));
|
|
23
|
+
}, U = (e) => {
|
|
24
|
+
e && l.startDate && new Date(e) < new Date(l.startDate) && q.warning(i("taskDefine.endDateEarlierThanStartDate"));
|
|
25
|
+
}, M = (e) => l.startDate ? e.getTime() < new Date(l.startDate).getTime() : !1, F = S({
|
|
29
26
|
taskTitle: [
|
|
30
27
|
{
|
|
31
28
|
required: !0,
|
|
32
|
-
message:
|
|
29
|
+
message: i("taskDefine.taskTitleRequired"),
|
|
33
30
|
trigger: "change"
|
|
34
31
|
}
|
|
35
32
|
],
|
|
36
33
|
taskSort: [
|
|
37
34
|
{
|
|
38
35
|
required: !0,
|
|
39
|
-
message:
|
|
36
|
+
message: i("taskDefine.taskSortRequired"),
|
|
40
37
|
trigger: "change"
|
|
41
38
|
}
|
|
42
39
|
],
|
|
43
40
|
endDate: [
|
|
44
41
|
{
|
|
45
42
|
required: !0,
|
|
46
|
-
message:
|
|
43
|
+
message: i("taskDefine.endDateRequired"),
|
|
47
44
|
trigger: "change"
|
|
48
45
|
}
|
|
49
46
|
],
|
|
50
47
|
taskPeriod: [
|
|
51
48
|
{
|
|
52
49
|
required: !0,
|
|
53
|
-
message:
|
|
50
|
+
message: i("taskDefine.taskPeriodRequired"),
|
|
54
51
|
trigger: "change"
|
|
55
52
|
}
|
|
56
53
|
],
|
|
57
54
|
startDate: [
|
|
58
55
|
{
|
|
59
56
|
required: !0,
|
|
60
|
-
message:
|
|
57
|
+
message: i("taskDefine.startDateRequired"),
|
|
61
58
|
trigger: "change"
|
|
62
59
|
}
|
|
63
60
|
],
|
|
64
61
|
taskCount: [
|
|
65
62
|
{
|
|
66
63
|
required: !0,
|
|
67
|
-
message:
|
|
64
|
+
message: i("taskDefine.taskCountRequired"),
|
|
68
65
|
trigger: "change"
|
|
69
66
|
}
|
|
70
67
|
],
|
|
71
68
|
actionId: [
|
|
72
69
|
{
|
|
73
70
|
required: !0,
|
|
74
|
-
message:
|
|
71
|
+
message: i("taskDefine.actionIdRequired"),
|
|
75
72
|
trigger: "change"
|
|
76
73
|
}
|
|
77
74
|
]
|
|
78
|
-
}),
|
|
79
|
-
function
|
|
80
|
-
|
|
75
|
+
}), D = k(!1), w = k();
|
|
76
|
+
function E() {
|
|
77
|
+
D.value = !0, w.value.clearFileList();
|
|
81
78
|
}
|
|
82
|
-
function
|
|
79
|
+
function N(e) {
|
|
83
80
|
const a = {
|
|
84
81
|
fileName: e.name,
|
|
85
82
|
fileId: e.response.fileId
|
|
86
83
|
};
|
|
87
84
|
l.fileInfo || (l.fileInfo = []), l.fileInfo.push(a);
|
|
88
85
|
}
|
|
89
|
-
function
|
|
86
|
+
function P(e) {
|
|
90
87
|
var a;
|
|
91
88
|
(a = l.fileInfo) == null || a.splice(e, 1);
|
|
92
89
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
90
|
+
function j() {
|
|
91
|
+
I.findTaskList({ businessId: p.query.taskDefineId }).then(({ data: e }) => {
|
|
95
92
|
e.results && Array.isArray(e.results) && (l.fileInfo = e.results.map((a) => {
|
|
96
93
|
let f = "";
|
|
97
94
|
return a.fileName && (f = a.fileSort || a.type || ""), {
|
|
@@ -102,53 +99,53 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
102
99
|
}));
|
|
103
100
|
});
|
|
104
101
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
Object.assign(l, e.data),
|
|
102
|
+
X(() => {
|
|
103
|
+
p.query.taskDefineId && I.findById({ taskDefineId: p.query.taskDefineId }).then((e) => {
|
|
104
|
+
Object.assign(l, e.data), j();
|
|
108
105
|
});
|
|
109
106
|
});
|
|
110
|
-
const
|
|
107
|
+
const L = async () => {
|
|
111
108
|
var e;
|
|
112
|
-
await ((e =
|
|
113
|
-
a &&
|
|
114
|
-
f.status === 200 && (
|
|
115
|
-
message:
|
|
109
|
+
await ((e = v.value) == null ? void 0 : e.validate((a) => {
|
|
110
|
+
a && I.update(l).then((f) => {
|
|
111
|
+
f.status === 200 && (q({
|
|
112
|
+
message: i("common.submitSuccess"),
|
|
116
113
|
type: "success"
|
|
117
|
-
}),
|
|
114
|
+
}), oe.closeTagView(p.fullPath, T, !1));
|
|
118
115
|
});
|
|
119
116
|
}));
|
|
120
117
|
};
|
|
121
|
-
function
|
|
122
|
-
|
|
118
|
+
function A(e) {
|
|
119
|
+
c.value = e.paneName;
|
|
123
120
|
}
|
|
124
121
|
return (e, a) => {
|
|
125
|
-
const f = r("el-input"), d = r("el-form-item"),
|
|
126
|
-
return
|
|
127
|
-
t(
|
|
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 b(), g("div", re, [
|
|
124
|
+
t(K, { shadow: "never" }, {
|
|
128
125
|
default: o(() => [
|
|
129
|
-
t(
|
|
130
|
-
modelValue:
|
|
131
|
-
"onUpdate:modelValue": a[9] || (a[9] = (
|
|
132
|
-
onTabClick:
|
|
126
|
+
t(J, {
|
|
127
|
+
modelValue: c.value,
|
|
128
|
+
"onUpdate:modelValue": a[9] || (a[9] = (s) => c.value = s),
|
|
129
|
+
onTabClick: A
|
|
133
130
|
}, {
|
|
134
131
|
default: o(() => [
|
|
135
|
-
t(
|
|
132
|
+
t($, {
|
|
136
133
|
label: "基础信息",
|
|
137
134
|
name: "first"
|
|
138
135
|
}, {
|
|
139
136
|
default: o(() => [
|
|
140
|
-
a[11] || (a[11] =
|
|
141
|
-
t(
|
|
137
|
+
a[11] || (a[11] = Z("div", { class: "title-content" }, "基础信息", -1)),
|
|
138
|
+
t(H, {
|
|
142
139
|
ref_key: "taskFormRef",
|
|
143
|
-
ref:
|
|
144
|
-
model:
|
|
140
|
+
ref: v,
|
|
141
|
+
model: n(l),
|
|
145
142
|
"label-width": "120px",
|
|
146
|
-
rules:
|
|
143
|
+
rules: F
|
|
147
144
|
}, {
|
|
148
145
|
default: o(() => [
|
|
149
|
-
t(
|
|
146
|
+
t(G, null, {
|
|
150
147
|
default: o(() => [
|
|
151
|
-
t(
|
|
148
|
+
t(u, { span: 12 }, {
|
|
152
149
|
default: o(() => [
|
|
153
150
|
t(d, {
|
|
154
151
|
label: e.$t("taskDefine.taskTitle"),
|
|
@@ -156,8 +153,8 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
156
153
|
}, {
|
|
157
154
|
default: o(() => [
|
|
158
155
|
t(f, {
|
|
159
|
-
modelValue:
|
|
160
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
156
|
+
modelValue: n(l).taskTitle,
|
|
157
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => n(l).taskTitle = s),
|
|
161
158
|
placeholder: e.$t("taskDefine.taskTitleRequired"),
|
|
162
159
|
maxlength: "127",
|
|
163
160
|
"show-word-limit": "",
|
|
@@ -169,50 +166,43 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
169
166
|
]),
|
|
170
167
|
_: 1
|
|
171
168
|
}),
|
|
172
|
-
t(
|
|
169
|
+
t(u, { span: 12 }, {
|
|
173
170
|
default: o(() => [
|
|
174
171
|
t(d, {
|
|
175
172
|
label: e.$t("taskDefine.taskSort"),
|
|
176
173
|
prop: "taskSort"
|
|
177
174
|
}, {
|
|
178
175
|
default: o(() => [
|
|
179
|
-
t(
|
|
180
|
-
modelValue:
|
|
181
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
182
|
-
data:
|
|
183
|
-
placeholder: e.$t("taskDefine.taskSort")
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
key: n.key,
|
|
188
|
-
label: n.value,
|
|
189
|
-
value: n.key
|
|
190
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
191
|
-
]),
|
|
192
|
-
_: 1
|
|
193
|
-
}, 8, ["modelValue", "data", "placeholder"])
|
|
176
|
+
t(_, {
|
|
177
|
+
modelValue: n(l).taskSort,
|
|
178
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => n(l).taskSort = s),
|
|
179
|
+
data: n(m).taskSortTypeEnum.values,
|
|
180
|
+
placeholder: e.$t("taskDefine.taskSort"),
|
|
181
|
+
class: "w-full",
|
|
182
|
+
clearable: ""
|
|
183
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
194
184
|
]),
|
|
195
185
|
_: 1
|
|
196
186
|
}, 8, ["label"])
|
|
197
187
|
]),
|
|
198
188
|
_: 1
|
|
199
189
|
}),
|
|
200
|
-
t(
|
|
190
|
+
t(u, { span: 12 }, {
|
|
201
191
|
default: o(() => [
|
|
202
192
|
t(d, {
|
|
203
193
|
label: e.$t("taskDefine.startDate"),
|
|
204
194
|
prop: "startDate"
|
|
205
195
|
}, {
|
|
206
196
|
default: o(() => [
|
|
207
|
-
t(
|
|
208
|
-
modelValue:
|
|
209
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
197
|
+
t(y, {
|
|
198
|
+
modelValue: n(l).startDate,
|
|
199
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => n(l).startDate = s),
|
|
210
200
|
type: "date",
|
|
211
201
|
placeholder: e.$t("taskDefine.startDateRequired"),
|
|
212
202
|
format: "YYYY-MM-DD",
|
|
213
203
|
"value-format": "YYYY-MM-DD",
|
|
214
204
|
class: "w-full",
|
|
215
|
-
onChange:
|
|
205
|
+
onChange: Y
|
|
216
206
|
}, null, 8, ["modelValue", "placeholder"])
|
|
217
207
|
]),
|
|
218
208
|
_: 1
|
|
@@ -220,23 +210,23 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
220
210
|
]),
|
|
221
211
|
_: 1
|
|
222
212
|
}),
|
|
223
|
-
t(
|
|
213
|
+
t(u, { span: 12 }, {
|
|
224
214
|
default: o(() => [
|
|
225
215
|
t(d, {
|
|
226
216
|
label: e.$t("taskDefine.endDate"),
|
|
227
217
|
prop: "endDate"
|
|
228
218
|
}, {
|
|
229
219
|
default: o(() => [
|
|
230
|
-
t(
|
|
231
|
-
modelValue:
|
|
232
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
220
|
+
t(y, {
|
|
221
|
+
modelValue: n(l).endDate,
|
|
222
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => n(l).endDate = s),
|
|
233
223
|
type: "date",
|
|
234
224
|
placeholder: e.$t("taskDefine.endDateRequired"),
|
|
235
225
|
format: "YYYY-MM-DD",
|
|
236
226
|
"value-format": "YYYY-MM-DD",
|
|
237
227
|
class: "w-full",
|
|
238
|
-
"disabled-date":
|
|
239
|
-
onChange:
|
|
228
|
+
"disabled-date": M,
|
|
229
|
+
onChange: U
|
|
240
230
|
}, null, 8, ["modelValue", "placeholder"])
|
|
241
231
|
]),
|
|
242
232
|
_: 1
|
|
@@ -244,17 +234,17 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
244
234
|
]),
|
|
245
235
|
_: 1
|
|
246
236
|
}),
|
|
247
|
-
t(
|
|
237
|
+
t(u, { span: 12 }, {
|
|
248
238
|
default: o(() => [
|
|
249
239
|
t(d, {
|
|
250
240
|
label: e.$t("taskDefine.taskPeriod"),
|
|
251
241
|
prop: "taskPeriod"
|
|
252
242
|
}, {
|
|
253
243
|
default: o(() => [
|
|
254
|
-
t(
|
|
255
|
-
modelValue:
|
|
256
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
257
|
-
data:
|
|
244
|
+
t(_, {
|
|
245
|
+
modelValue: n(l).taskPeriod,
|
|
246
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => n(l).taskPeriod = s),
|
|
247
|
+
data: n(m).taskPeriodEnum.values,
|
|
258
248
|
placeholder: e.$t("taskDefine.taskPeriodRequired"),
|
|
259
249
|
"show-word-limit": "",
|
|
260
250
|
clearable: "",
|
|
@@ -266,7 +256,7 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
266
256
|
]),
|
|
267
257
|
_: 1
|
|
268
258
|
}),
|
|
269
|
-
t(
|
|
259
|
+
t(u, { span: 12 }, {
|
|
270
260
|
default: o(() => [
|
|
271
261
|
t(d, {
|
|
272
262
|
label: e.$t("taskDefine.taskCount"),
|
|
@@ -274,8 +264,8 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
274
264
|
}, {
|
|
275
265
|
default: o(() => [
|
|
276
266
|
t(f, {
|
|
277
|
-
modelValue:
|
|
278
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
267
|
+
modelValue: n(l).taskCount,
|
|
268
|
+
"onUpdate:modelValue": a[5] || (a[5] = (s) => n(l).taskCount = s),
|
|
279
269
|
placeholder: e.$t("taskDefine.taskCountRequired"),
|
|
280
270
|
maxlength: "5",
|
|
281
271
|
"show-word-limit": "",
|
|
@@ -287,17 +277,17 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
287
277
|
]),
|
|
288
278
|
_: 1
|
|
289
279
|
}),
|
|
290
|
-
t(
|
|
280
|
+
t(u, { span: 12 }, {
|
|
291
281
|
default: o(() => [
|
|
292
282
|
t(d, {
|
|
293
283
|
label: e.$t("taskDefine.overdueStatus"),
|
|
294
284
|
prop: "overdueStatus"
|
|
295
285
|
}, {
|
|
296
286
|
default: o(() => [
|
|
297
|
-
t(
|
|
298
|
-
modelValue:
|
|
299
|
-
"onUpdate:modelValue": a[6] || (a[6] = (
|
|
300
|
-
data:
|
|
287
|
+
t(B, {
|
|
288
|
+
modelValue: n(l).overdueStatus,
|
|
289
|
+
"onUpdate:modelValue": a[6] || (a[6] = (s) => n(l).overdueStatus = s),
|
|
290
|
+
data: n(m).overdueStatusDict.values
|
|
301
291
|
}, null, 8, ["modelValue", "data"])
|
|
302
292
|
]),
|
|
303
293
|
_: 1
|
|
@@ -305,17 +295,17 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
305
295
|
]),
|
|
306
296
|
_: 1
|
|
307
297
|
}),
|
|
308
|
-
t(
|
|
298
|
+
t(u, { span: 12 }, {
|
|
309
299
|
default: o(() => [
|
|
310
300
|
t(d, {
|
|
311
301
|
label: e.$t("taskDefine.actionId"),
|
|
312
302
|
prop: "actionId"
|
|
313
303
|
}, {
|
|
314
304
|
default: o(() => [
|
|
315
|
-
t(
|
|
316
|
-
modelValue:
|
|
317
|
-
"onUpdate:modelValue": a[7] || (a[7] = (
|
|
318
|
-
data:
|
|
305
|
+
t(_, {
|
|
306
|
+
modelValue: n(l).actionId,
|
|
307
|
+
"onUpdate:modelValue": a[7] || (a[7] = (s) => n(l).actionId = s),
|
|
308
|
+
data: n(m).taskInspectTypeDict.values,
|
|
319
309
|
placeholder: e.$t("taskDefine.actionIdRequired"),
|
|
320
310
|
clearable: "",
|
|
321
311
|
class: "w-full"
|
|
@@ -326,7 +316,7 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
326
316
|
]),
|
|
327
317
|
_: 1
|
|
328
318
|
}),
|
|
329
|
-
t(
|
|
319
|
+
t(u, { span: 24 }, {
|
|
330
320
|
default: o(() => [
|
|
331
321
|
t(d, {
|
|
332
322
|
label: e.$t("taskDefine.note"),
|
|
@@ -334,8 +324,8 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
334
324
|
}, {
|
|
335
325
|
default: o(() => [
|
|
336
326
|
t(f, {
|
|
337
|
-
modelValue:
|
|
338
|
-
"onUpdate:modelValue": a[8] || (a[8] = (
|
|
327
|
+
modelValue: n(l).note,
|
|
328
|
+
"onUpdate:modelValue": a[8] || (a[8] = (s) => n(l).note = s),
|
|
339
329
|
placeholder: e.$t("taskDefine.noteRequired"),
|
|
340
330
|
"show-word-limit": "",
|
|
341
331
|
clearable: "",
|
|
@@ -347,20 +337,20 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
347
337
|
]),
|
|
348
338
|
_: 1
|
|
349
339
|
}),
|
|
350
|
-
t(
|
|
340
|
+
t(u, { span: 24 }, {
|
|
351
341
|
default: o(() => [
|
|
352
342
|
t(d, {
|
|
353
343
|
label: e.$t("taskDefine.files"),
|
|
354
344
|
prop: "fileInfo"
|
|
355
345
|
}, {
|
|
356
346
|
default: o(() => [
|
|
357
|
-
t(
|
|
347
|
+
t(C, {
|
|
358
348
|
type: "primary",
|
|
359
|
-
icon:
|
|
360
|
-
onClick:
|
|
349
|
+
icon: n(ne),
|
|
350
|
+
onClick: E
|
|
361
351
|
}, {
|
|
362
352
|
default: o(() => [
|
|
363
|
-
h(
|
|
353
|
+
V(h(e.$t("common.uploadFiles")), 1)
|
|
364
354
|
]),
|
|
365
355
|
_: 1
|
|
366
356
|
}, 8, ["icon"])
|
|
@@ -369,18 +359,18 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
369
359
|
}, 8, ["label"]),
|
|
370
360
|
t(d, null, {
|
|
371
361
|
default: o(() => [
|
|
372
|
-
(
|
|
373
|
-
key:
|
|
362
|
+
(b(!0), g(x, null, ee(n(l).fileInfo, (s, R) => (b(), g("div", {
|
|
363
|
+
key: R,
|
|
374
364
|
class: "files-list"
|
|
375
365
|
}, [
|
|
376
|
-
h(
|
|
377
|
-
t(
|
|
366
|
+
V(h(s.fileName) + " ", 1),
|
|
367
|
+
t(O, {
|
|
378
368
|
size: "16",
|
|
379
369
|
class: "icon-right",
|
|
380
|
-
onClick: (
|
|
370
|
+
onClick: (ie) => P(R)
|
|
381
371
|
}, {
|
|
382
372
|
default: o(() => [
|
|
383
|
-
t(
|
|
373
|
+
t(z)
|
|
384
374
|
]),
|
|
385
375
|
_: 1
|
|
386
376
|
}, 8, ["onClick"])
|
|
@@ -396,12 +386,12 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
396
386
|
}),
|
|
397
387
|
t(d, null, {
|
|
398
388
|
default: o(() => [
|
|
399
|
-
t(
|
|
389
|
+
t(C, {
|
|
400
390
|
type: "primary",
|
|
401
|
-
onClick:
|
|
391
|
+
onClick: L
|
|
402
392
|
}, {
|
|
403
393
|
default: o(() => [
|
|
404
|
-
h(
|
|
394
|
+
V(h(e.$t("common.save")), 1)
|
|
405
395
|
]),
|
|
406
396
|
_: 1
|
|
407
397
|
})
|
|
@@ -414,12 +404,12 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
414
404
|
]),
|
|
415
405
|
_: 1
|
|
416
406
|
}),
|
|
417
|
-
t(
|
|
407
|
+
t($, {
|
|
418
408
|
label: "任务关系配置",
|
|
419
409
|
name: "second"
|
|
420
410
|
}, {
|
|
421
411
|
default: o(() => [
|
|
422
|
-
t(
|
|
412
|
+
t(se)
|
|
423
413
|
]),
|
|
424
414
|
_: 1
|
|
425
415
|
})
|
|
@@ -429,17 +419,17 @@ const me = { class: "app-container" }, qe = /* @__PURE__ */ te({
|
|
|
429
419
|
]),
|
|
430
420
|
_: 1
|
|
431
421
|
}),
|
|
432
|
-
t(
|
|
422
|
+
t(Q, {
|
|
433
423
|
ref_key: "uploadRef",
|
|
434
|
-
ref:
|
|
435
|
-
modelValue:
|
|
436
|
-
"onUpdate:modelValue": a[10] || (a[10] = (
|
|
437
|
-
onUploadFileList:
|
|
424
|
+
ref: w,
|
|
425
|
+
modelValue: D.value,
|
|
426
|
+
"onUpdate:modelValue": a[10] || (a[10] = (s) => D.value = s),
|
|
427
|
+
onUploadFileList: N
|
|
438
428
|
}, null, 8, ["modelValue"])
|
|
439
429
|
]);
|
|
440
430
|
};
|
|
441
431
|
}
|
|
442
432
|
});
|
|
443
433
|
export {
|
|
444
|
-
|
|
434
|
+
Ve as default
|
|
445
435
|
};
|