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,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { useUserStore as D, clearEmpty as h, request as
|
|
4
|
+
import { D as I, O as Z, U as $, C as z } from "./index-DVezr2bg.mjs";
|
|
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";
|
|
8
8
|
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -13,7 +13,7 @@ class oe {
|
|
|
13
13
|
// 任务定义查询接口
|
|
14
14
|
findTaskRelById(t) {
|
|
15
15
|
const m = D().user.tenant;
|
|
16
|
-
return h(t),
|
|
16
|
+
return h(t), b({
|
|
17
17
|
url: "/v1/front/task/sooyie/task_define_rel/id/" + m + "/" + (t == null ? void 0 : t.taskDefineId),
|
|
18
18
|
method: "get",
|
|
19
19
|
params: t
|
|
@@ -21,7 +21,7 @@ class oe {
|
|
|
21
21
|
}
|
|
22
22
|
// 删除任务关系
|
|
23
23
|
deleteTaskRelById(t) {
|
|
24
|
-
return t.tenant = D().user.tenant, h(t),
|
|
24
|
+
return t.tenant = D().user.tenant, h(t), b({
|
|
25
25
|
url: "/v1/front/task/sooyie/task_define_rel/id",
|
|
26
26
|
method: "delete",
|
|
27
27
|
params: t
|
|
@@ -29,7 +29,7 @@ class oe {
|
|
|
29
29
|
}
|
|
30
30
|
//创建任务关系
|
|
31
31
|
addTaskRel(t) {
|
|
32
|
-
return t.tenant = D().user.tenant, h(t),
|
|
32
|
+
return t.tenant = D().user.tenant, h(t), b({
|
|
33
33
|
url: "/v1/front/task/sooyie/task_define_rel",
|
|
34
34
|
method: "post",
|
|
35
35
|
data: t
|
|
@@ -43,7 +43,7 @@ const se = new oe(), ne = { class: "dialog-footer" }, de = /* @__PURE__ */ K({
|
|
|
43
43
|
modelModifiers: {}
|
|
44
44
|
},
|
|
45
45
|
emits: /* @__PURE__ */ Y(["refresh"], ["update:modelValue"]),
|
|
46
|
-
setup(
|
|
46
|
+
setup(y, { emit: t }) {
|
|
47
47
|
I.itemBizLayDict.useValues();
|
|
48
48
|
const m = new Z({
|
|
49
49
|
orgType: "HALL"
|
|
@@ -63,7 +63,7 @@ const se = new oe(), ne = { class: "dialog-footer" }, de = /* @__PURE__ */ K({
|
|
|
63
63
|
let _ = B({
|
|
64
64
|
taskDefineId: p.query.taskDefineId
|
|
65
65
|
});
|
|
66
|
-
const M = B({}), i = q(
|
|
66
|
+
const M = B({}), i = q(y, "modelValue"), A = t, c = T([
|
|
67
67
|
{
|
|
68
68
|
customerId: "",
|
|
69
69
|
userId: ""
|
|
@@ -98,6 +98,8 @@ const se = new oe(), ne = { class: "dialog-footer" }, de = /* @__PURE__ */ K({
|
|
|
98
98
|
return E(), O(H, {
|
|
99
99
|
modelValue: i.value,
|
|
100
100
|
"onUpdate:modelValue": r[0] || (r[0] = (e) => i.value = e),
|
|
101
|
+
"close-on-click-modal": !1,
|
|
102
|
+
"close-on-press-escape": !1,
|
|
101
103
|
onClose: w
|
|
102
104
|
}, {
|
|
103
105
|
footer: o(() => [
|
|
@@ -250,7 +252,7 @@ const se = new oe(), ne = { class: "dialog-footer" }, de = /* @__PURE__ */ K({
|
|
|
250
252
|
}, 8, ["modelValue"]);
|
|
251
253
|
};
|
|
252
254
|
}
|
|
253
|
-
}), ue = /* @__PURE__ */ ae(de, [["__scopeId", "data-v-
|
|
255
|
+
}), ue = /* @__PURE__ */ ae(de, [["__scopeId", "data-v-2137b1ff"]]), Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
254
256
|
__proto__: null,
|
|
255
257
|
default: ue
|
|
256
258
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,170 +1,169 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Z, mergeModels as x, ref as c, reactive as R, watch as ee, useModel as te, resolveComponent as d, createElementBlock as k, openBlock as p, Fragment as v, createVNode as t, withCtx as o, unref as s, renderList as T, createBlock as ae, createTextVNode as D, toDisplayString as g, createElementVNode as le } from "vue";
|
|
2
2
|
import { ElMessage as w } from "element-plus";
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { u as
|
|
5
|
-
import { t as
|
|
6
|
-
import { D as
|
|
3
|
+
import { useI18n as oe } from "vue-i18n";
|
|
4
|
+
import { u as ne } from "./index-DaJ5KrbS.mjs";
|
|
5
|
+
import { t as se } from "./index-DrhTfMmI.mjs";
|
|
6
|
+
import { D as _, L as de } from "./index-DVezr2bg.mjs";
|
|
7
7
|
import "jmash-core";
|
|
8
|
-
|
|
9
|
-
const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
8
|
+
const re = { class: "dialog-footer" }, ge = /* @__PURE__ */ Z({
|
|
10
9
|
__name: "add",
|
|
11
10
|
props: {
|
|
12
11
|
modelValue: { type: Boolean },
|
|
13
12
|
modelModifiers: {}
|
|
14
13
|
},
|
|
15
|
-
emits: /* @__PURE__ */
|
|
16
|
-
setup(
|
|
17
|
-
const { t:
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
let a =
|
|
14
|
+
emits: /* @__PURE__ */ x(["refresh"], ["update:modelValue"]),
|
|
15
|
+
setup(Y, { emit: M }) {
|
|
16
|
+
const { t: i } = oe();
|
|
17
|
+
_.taskInspectTypeDict.useValues();
|
|
18
|
+
const C = c(), V = c([]);
|
|
19
|
+
let a = R({
|
|
21
20
|
requestId: Math.random() * 10 + "",
|
|
22
21
|
updateMask: "",
|
|
23
22
|
fileInfo: [],
|
|
24
23
|
overdueStatus: !1
|
|
25
24
|
});
|
|
26
|
-
|
|
27
|
-
V.value = e.data.values;
|
|
28
|
-
}), le(
|
|
25
|
+
ee(
|
|
29
26
|
() => a.taskSort,
|
|
30
27
|
(e) => {
|
|
31
|
-
e ?
|
|
32
|
-
|
|
33
|
-
}) : (
|
|
28
|
+
e ? de.findList({ inspectType: e }).then((l) => {
|
|
29
|
+
V.value = l.data.results, a.actionId = "";
|
|
30
|
+
}) : (V.value = [], a.actionId = "");
|
|
34
31
|
},
|
|
35
32
|
{ immediate: !0 }
|
|
36
33
|
);
|
|
37
|
-
const
|
|
38
|
-
e && a.endDate && new Date(e) > new Date(a.endDate) && (a.endDate = "", w.warning(
|
|
39
|
-
},
|
|
40
|
-
e && a.startDate && new Date(e) < new Date(a.startDate) && w.warning(
|
|
41
|
-
},
|
|
34
|
+
const U = (e) => {
|
|
35
|
+
e && a.endDate && new Date(e) > new Date(a.endDate) && (a.endDate = "", w.warning(i("taskDefine.startDateLaterThanEndDate")));
|
|
36
|
+
}, F = (e) => {
|
|
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, L = R({
|
|
42
39
|
taskTitle: [
|
|
43
40
|
{
|
|
44
41
|
required: !0,
|
|
45
|
-
message:
|
|
42
|
+
message: i("taskDefine.taskTitleRequired"),
|
|
46
43
|
trigger: "change"
|
|
47
44
|
}
|
|
48
45
|
],
|
|
49
46
|
taskSort: [
|
|
50
47
|
{
|
|
51
48
|
required: !0,
|
|
52
|
-
message:
|
|
49
|
+
message: i("taskDefine.taskSortRequired"),
|
|
53
50
|
trigger: "change"
|
|
54
51
|
}
|
|
55
52
|
],
|
|
56
53
|
endDate: [
|
|
57
54
|
{
|
|
58
55
|
required: !0,
|
|
59
|
-
message:
|
|
56
|
+
message: i("taskDefine.endDateRequired"),
|
|
60
57
|
trigger: "change"
|
|
61
58
|
}
|
|
62
59
|
],
|
|
63
60
|
taskPeriod: [
|
|
64
61
|
{
|
|
65
62
|
required: !0,
|
|
66
|
-
message:
|
|
63
|
+
message: i("taskDefine.taskPeriodRequired"),
|
|
67
64
|
trigger: "change"
|
|
68
65
|
}
|
|
69
66
|
],
|
|
70
67
|
startDate: [
|
|
71
68
|
{
|
|
72
69
|
required: !0,
|
|
73
|
-
message:
|
|
70
|
+
message: i("taskDefine.startDateRequired"),
|
|
74
71
|
trigger: "change"
|
|
75
72
|
}
|
|
76
73
|
],
|
|
77
74
|
taskCount: [
|
|
78
75
|
{
|
|
79
76
|
required: !0,
|
|
80
|
-
message:
|
|
77
|
+
message: i("taskDefine.taskCountRequired"),
|
|
81
78
|
trigger: "change"
|
|
82
79
|
}
|
|
83
80
|
],
|
|
84
81
|
actionId: [
|
|
85
82
|
{
|
|
86
83
|
required: !0,
|
|
87
|
-
message:
|
|
84
|
+
message: i("taskDefine.actionIdRequired"),
|
|
88
85
|
trigger: "change"
|
|
89
86
|
}
|
|
90
87
|
]
|
|
91
|
-
}),
|
|
92
|
-
function
|
|
93
|
-
|
|
88
|
+
}), f = te(Y, "modelValue"), P = M, b = c(!1), I = c();
|
|
89
|
+
function j() {
|
|
90
|
+
b.value = !0, I.value.clearFileList();
|
|
94
91
|
}
|
|
95
|
-
function
|
|
92
|
+
function N(e) {
|
|
96
93
|
const l = {
|
|
97
94
|
fileName: e.name,
|
|
98
95
|
fileId: e.response.fileId
|
|
99
96
|
};
|
|
100
97
|
a.fileInfo || (a.fileInfo = []), a.fileInfo.push(l);
|
|
101
98
|
}
|
|
102
|
-
function
|
|
99
|
+
function B(e) {
|
|
103
100
|
var l;
|
|
104
101
|
(l = a.fileInfo) == null || l.splice(e, 1);
|
|
105
102
|
}
|
|
106
|
-
const
|
|
103
|
+
const z = async () => {
|
|
107
104
|
var e;
|
|
108
|
-
await ((e =
|
|
109
|
-
l &&
|
|
110
|
-
console.log(
|
|
111
|
-
message:
|
|
105
|
+
await ((e = C.value) == null ? void 0 : e.validate((l) => {
|
|
106
|
+
l && se.create(a).then((m) => {
|
|
107
|
+
console.log(m), m.status === 200 && (w({
|
|
108
|
+
message: i("common.submitSuccess"),
|
|
112
109
|
type: "success"
|
|
113
|
-
}),
|
|
110
|
+
}), f.value && (f.value = !1), P("refresh", m.status === 200));
|
|
114
111
|
});
|
|
115
112
|
}));
|
|
116
113
|
};
|
|
117
|
-
function
|
|
118
|
-
|
|
114
|
+
function q() {
|
|
115
|
+
f.value && (f.value = !1);
|
|
119
116
|
}
|
|
120
117
|
return (e, l) => {
|
|
121
|
-
const
|
|
122
|
-
return
|
|
123
|
-
t(
|
|
124
|
-
modelValue:
|
|
125
|
-
"onUpdate:modelValue": l[9] || (l[9] = (
|
|
126
|
-
|
|
118
|
+
const m = d("el-input"), r = d("el-form-item"), u = d("el-col"), $ = d("jmash-select"), y = d("el-date-picker"), A = d("jmash-enum-radio"), G = d("el-option"), H = d("el-select"), h = d("el-button"), J = d("CircleClose"), K = d("el-icon"), O = d("el-row"), Q = d("el-form"), W = d("el-dialog"), X = d("jmash-multi-upload");
|
|
119
|
+
return p(), k(v, null, [
|
|
120
|
+
t(W, {
|
|
121
|
+
modelValue: f.value,
|
|
122
|
+
"onUpdate:modelValue": l[9] || (l[9] = (n) => f.value = n),
|
|
123
|
+
"close-on-click-modal": !1,
|
|
124
|
+
"close-on-press-escape": !1,
|
|
125
|
+
onClose: q
|
|
127
126
|
}, {
|
|
128
|
-
footer:
|
|
129
|
-
|
|
130
|
-
t(h, { onClick:
|
|
131
|
-
default:
|
|
132
|
-
|
|
127
|
+
footer: o(() => [
|
|
128
|
+
le("div", re, [
|
|
129
|
+
t(h, { onClick: q }, {
|
|
130
|
+
default: o(() => [
|
|
131
|
+
D(g(e.$t("common.cancel")), 1)
|
|
133
132
|
]),
|
|
134
133
|
_: 1
|
|
135
134
|
}),
|
|
136
135
|
t(h, {
|
|
137
136
|
type: "primary",
|
|
138
|
-
onClick:
|
|
137
|
+
onClick: z
|
|
139
138
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
139
|
+
default: o(() => [
|
|
140
|
+
D(g(e.$t("common.confirm")), 1)
|
|
142
141
|
]),
|
|
143
142
|
_: 1
|
|
144
143
|
})
|
|
145
144
|
])
|
|
146
145
|
]),
|
|
147
|
-
default:
|
|
148
|
-
t(
|
|
146
|
+
default: o(() => [
|
|
147
|
+
t(Q, {
|
|
149
148
|
ref_key: "taskDefineFormRef",
|
|
150
|
-
ref:
|
|
149
|
+
ref: C,
|
|
151
150
|
model: s(a),
|
|
152
151
|
"label-width": "120px",
|
|
153
|
-
rules:
|
|
152
|
+
rules: L
|
|
154
153
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
t(
|
|
157
|
-
default:
|
|
158
|
-
t(
|
|
159
|
-
default:
|
|
154
|
+
default: o(() => [
|
|
155
|
+
t(O, null, {
|
|
156
|
+
default: o(() => [
|
|
157
|
+
t(u, { span: 12 }, {
|
|
158
|
+
default: o(() => [
|
|
160
159
|
t(r, {
|
|
161
160
|
label: e.$t("taskDefine.taskTitle"),
|
|
162
161
|
prop: "taskTitle"
|
|
163
162
|
}, {
|
|
164
|
-
default:
|
|
165
|
-
t(
|
|
163
|
+
default: o(() => [
|
|
164
|
+
t(m, {
|
|
166
165
|
modelValue: s(a).taskTitle,
|
|
167
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
166
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => s(a).taskTitle = n),
|
|
168
167
|
placeholder: e.$t("taskDefine.taskTitleRequired"),
|
|
169
168
|
maxlength: "127",
|
|
170
169
|
"show-word-limit": "",
|
|
@@ -176,51 +175,43 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
176
175
|
]),
|
|
177
176
|
_: 1
|
|
178
177
|
}),
|
|
179
|
-
t(
|
|
180
|
-
default:
|
|
178
|
+
t(u, { span: 12 }, {
|
|
179
|
+
default: o(() => [
|
|
181
180
|
t(r, {
|
|
182
181
|
label: e.$t("taskDefine.taskSort"),
|
|
183
182
|
prop: "taskSort"
|
|
184
183
|
}, {
|
|
185
|
-
default:
|
|
186
|
-
t(
|
|
184
|
+
default: o(() => [
|
|
185
|
+
t($, {
|
|
187
186
|
modelValue: s(a).taskSort,
|
|
188
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
189
|
-
data:
|
|
187
|
+
"onUpdate:modelValue": l[1] || (l[1] = (n) => s(a).taskSort = n),
|
|
188
|
+
data: s(_).taskSortTypeEnum.values,
|
|
190
189
|
placeholder: e.$t("taskDefine.taskSort"),
|
|
191
|
-
class: "w-full"
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
(m(!0), k(D, null, C(V.value, (o) => (m(), U(S, {
|
|
195
|
-
key: o.key,
|
|
196
|
-
label: o.value,
|
|
197
|
-
value: o.key
|
|
198
|
-
}, null, 8, ["label", "value"]))), 128))
|
|
199
|
-
]),
|
|
200
|
-
_: 1
|
|
201
|
-
}, 8, ["modelValue", "data", "placeholder"])
|
|
190
|
+
class: "w-full",
|
|
191
|
+
clearable: ""
|
|
192
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
202
193
|
]),
|
|
203
194
|
_: 1
|
|
204
195
|
}, 8, ["label"])
|
|
205
196
|
]),
|
|
206
197
|
_: 1
|
|
207
198
|
}),
|
|
208
|
-
t(
|
|
209
|
-
default:
|
|
199
|
+
t(u, { span: 12 }, {
|
|
200
|
+
default: o(() => [
|
|
210
201
|
t(r, {
|
|
211
202
|
label: e.$t("taskDefine.startDate"),
|
|
212
203
|
prop: "startDate"
|
|
213
204
|
}, {
|
|
214
|
-
default:
|
|
215
|
-
t(
|
|
205
|
+
default: o(() => [
|
|
206
|
+
t(y, {
|
|
216
207
|
modelValue: s(a).startDate,
|
|
217
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
208
|
+
"onUpdate:modelValue": l[2] || (l[2] = (n) => s(a).startDate = n),
|
|
218
209
|
type: "date",
|
|
219
210
|
placeholder: e.$t("taskDefine.startDateRequired"),
|
|
220
211
|
format: "YYYY-MM-DD",
|
|
221
212
|
"value-format": "YYYY-MM-DD",
|
|
222
213
|
class: "w-full",
|
|
223
|
-
onChange:
|
|
214
|
+
onChange: U
|
|
224
215
|
}, null, 8, ["modelValue", "placeholder"])
|
|
225
216
|
]),
|
|
226
217
|
_: 1
|
|
@@ -228,23 +219,23 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
228
219
|
]),
|
|
229
220
|
_: 1
|
|
230
221
|
}),
|
|
231
|
-
t(
|
|
232
|
-
default:
|
|
222
|
+
t(u, { span: 12 }, {
|
|
223
|
+
default: o(() => [
|
|
233
224
|
t(r, {
|
|
234
225
|
label: e.$t("taskDefine.endDate"),
|
|
235
226
|
prop: "endDate"
|
|
236
227
|
}, {
|
|
237
|
-
default:
|
|
238
|
-
t(
|
|
228
|
+
default: o(() => [
|
|
229
|
+
t(y, {
|
|
239
230
|
modelValue: s(a).endDate,
|
|
240
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
231
|
+
"onUpdate:modelValue": l[3] || (l[3] = (n) => s(a).endDate = n),
|
|
241
232
|
type: "date",
|
|
242
233
|
placeholder: e.$t("taskDefine.endDateRequired"),
|
|
243
234
|
format: "YYYY-MM-DD",
|
|
244
235
|
"value-format": "YYYY-MM-DD",
|
|
245
236
|
class: "w-full",
|
|
246
|
-
"disabled-date":
|
|
247
|
-
onChange:
|
|
237
|
+
"disabled-date": E,
|
|
238
|
+
onChange: F
|
|
248
239
|
}, null, 8, ["modelValue", "placeholder"])
|
|
249
240
|
]),
|
|
250
241
|
_: 1
|
|
@@ -252,17 +243,17 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
252
243
|
]),
|
|
253
244
|
_: 1
|
|
254
245
|
}),
|
|
255
|
-
t(
|
|
256
|
-
default:
|
|
246
|
+
t(u, { span: 12 }, {
|
|
247
|
+
default: o(() => [
|
|
257
248
|
t(r, {
|
|
258
249
|
label: e.$t("taskDefine.taskPeriod"),
|
|
259
250
|
prop: "taskPeriod"
|
|
260
251
|
}, {
|
|
261
|
-
default:
|
|
262
|
-
t(
|
|
252
|
+
default: o(() => [
|
|
253
|
+
t($, {
|
|
263
254
|
modelValue: s(a).taskPeriod,
|
|
264
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
265
|
-
data: s(
|
|
255
|
+
"onUpdate:modelValue": l[4] || (l[4] = (n) => s(a).taskPeriod = n),
|
|
256
|
+
data: s(_).taskPeriodEnum.values,
|
|
266
257
|
placeholder: e.$t("taskDefine.taskPeriodRequired"),
|
|
267
258
|
"show-word-limit": "",
|
|
268
259
|
clearable: "",
|
|
@@ -274,16 +265,16 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
274
265
|
]),
|
|
275
266
|
_: 1
|
|
276
267
|
}),
|
|
277
|
-
t(
|
|
278
|
-
default:
|
|
268
|
+
t(u, { span: 12 }, {
|
|
269
|
+
default: o(() => [
|
|
279
270
|
t(r, {
|
|
280
271
|
label: e.$t("taskDefine.taskCount"),
|
|
281
272
|
prop: "taskCount"
|
|
282
273
|
}, {
|
|
283
|
-
default:
|
|
284
|
-
t(
|
|
274
|
+
default: o(() => [
|
|
275
|
+
t(m, {
|
|
285
276
|
modelValue: s(a).taskCount,
|
|
286
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
277
|
+
"onUpdate:modelValue": l[5] || (l[5] = (n) => s(a).taskCount = n),
|
|
287
278
|
placeholder: e.$t("taskDefine.taskCountRequired"),
|
|
288
279
|
maxlength: "5",
|
|
289
280
|
"show-word-limit": "",
|
|
@@ -295,17 +286,17 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
295
286
|
]),
|
|
296
287
|
_: 1
|
|
297
288
|
}),
|
|
298
|
-
t(
|
|
299
|
-
default:
|
|
289
|
+
t(u, { span: 12 }, {
|
|
290
|
+
default: o(() => [
|
|
300
291
|
t(r, {
|
|
301
292
|
label: e.$t("taskDefine.overdueStatus"),
|
|
302
293
|
prop: "overdueStatus"
|
|
303
294
|
}, {
|
|
304
|
-
default:
|
|
305
|
-
t(
|
|
295
|
+
default: o(() => [
|
|
296
|
+
t(A, {
|
|
306
297
|
modelValue: s(a).overdueStatus,
|
|
307
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
308
|
-
data: s(
|
|
298
|
+
"onUpdate:modelValue": l[6] || (l[6] = (n) => s(a).overdueStatus = n),
|
|
299
|
+
data: s(_).overdueStatusDict.values
|
|
309
300
|
}, null, 8, ["modelValue", "data"])
|
|
310
301
|
]),
|
|
311
302
|
_: 1
|
|
@@ -313,25 +304,25 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
313
304
|
]),
|
|
314
305
|
_: 1
|
|
315
306
|
}),
|
|
316
|
-
t(
|
|
317
|
-
default:
|
|
307
|
+
t(u, { span: 12 }, {
|
|
308
|
+
default: o(() => [
|
|
318
309
|
t(r, {
|
|
319
310
|
label: e.$t("taskDefine.actionId"),
|
|
320
311
|
prop: "actionId"
|
|
321
312
|
}, {
|
|
322
|
-
default:
|
|
323
|
-
t(
|
|
313
|
+
default: o(() => [
|
|
314
|
+
t(H, {
|
|
324
315
|
modelValue: s(a).actionId,
|
|
325
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
316
|
+
"onUpdate:modelValue": l[7] || (l[7] = (n) => s(a).actionId = n),
|
|
326
317
|
placeholder: e.$t("taskDefine.actionIdRequired"),
|
|
327
318
|
clearable: "",
|
|
328
319
|
class: "w-full"
|
|
329
320
|
}, {
|
|
330
|
-
default:
|
|
331
|
-
(
|
|
332
|
-
key:
|
|
333
|
-
label:
|
|
334
|
-
value:
|
|
321
|
+
default: o(() => [
|
|
322
|
+
(p(!0), k(v, null, T(V.value, (n) => (p(), ae(G, {
|
|
323
|
+
key: n.inspectId,
|
|
324
|
+
label: n.inspectName,
|
|
325
|
+
value: n.inspectId
|
|
335
326
|
}, null, 8, ["label", "value"]))), 128))
|
|
336
327
|
]),
|
|
337
328
|
_: 1
|
|
@@ -342,16 +333,16 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
342
333
|
]),
|
|
343
334
|
_: 1
|
|
344
335
|
}),
|
|
345
|
-
t(
|
|
346
|
-
default:
|
|
336
|
+
t(u, { span: 24 }, {
|
|
337
|
+
default: o(() => [
|
|
347
338
|
t(r, {
|
|
348
339
|
label: e.$t("taskDefine.note"),
|
|
349
340
|
prop: "note"
|
|
350
341
|
}, {
|
|
351
|
-
default:
|
|
352
|
-
t(
|
|
342
|
+
default: o(() => [
|
|
343
|
+
t(m, {
|
|
353
344
|
modelValue: s(a).note,
|
|
354
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
345
|
+
"onUpdate:modelValue": l[8] || (l[8] = (n) => s(a).note = n),
|
|
355
346
|
placeholder: e.$t("taskDefine.noteRequired"),
|
|
356
347
|
"show-word-limit": "",
|
|
357
348
|
clearable: "",
|
|
@@ -363,20 +354,20 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
363
354
|
]),
|
|
364
355
|
_: 1
|
|
365
356
|
}),
|
|
366
|
-
t(
|
|
367
|
-
default:
|
|
357
|
+
t(u, { span: 24 }, {
|
|
358
|
+
default: o(() => [
|
|
368
359
|
t(r, {
|
|
369
360
|
label: e.$t("taskDefine.files"),
|
|
370
361
|
prop: "fileInfo"
|
|
371
362
|
}, {
|
|
372
|
-
default:
|
|
363
|
+
default: o(() => [
|
|
373
364
|
t(h, {
|
|
374
365
|
type: "primary",
|
|
375
|
-
icon: s(
|
|
376
|
-
onClick:
|
|
366
|
+
icon: s(ne),
|
|
367
|
+
onClick: j
|
|
377
368
|
}, {
|
|
378
|
-
default:
|
|
379
|
-
|
|
369
|
+
default: o(() => [
|
|
370
|
+
D(g(e.$t("common.uploadFiles")), 1)
|
|
380
371
|
]),
|
|
381
372
|
_: 1
|
|
382
373
|
}, 8, ["icon"])
|
|
@@ -384,19 +375,19 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
384
375
|
_: 1
|
|
385
376
|
}, 8, ["label"]),
|
|
386
377
|
t(r, null, {
|
|
387
|
-
default:
|
|
388
|
-
(
|
|
389
|
-
key:
|
|
378
|
+
default: o(() => [
|
|
379
|
+
(p(!0), k(v, null, T(s(a).fileInfo, (n, S) => (p(), k("div", {
|
|
380
|
+
key: S,
|
|
390
381
|
class: "files-list"
|
|
391
382
|
}, [
|
|
392
|
-
|
|
393
|
-
t(
|
|
383
|
+
D(g(n.fileName) + " ", 1),
|
|
384
|
+
t(K, {
|
|
394
385
|
size: "16",
|
|
395
386
|
class: "icon-right",
|
|
396
|
-
onClick: (
|
|
387
|
+
onClick: (ie) => B(S)
|
|
397
388
|
}, {
|
|
398
|
-
default:
|
|
399
|
-
t(
|
|
389
|
+
default: o(() => [
|
|
390
|
+
t(J)
|
|
400
391
|
]),
|
|
401
392
|
_: 1
|
|
402
393
|
}, 8, ["onClick"])
|
|
@@ -416,17 +407,17 @@ const fe = { class: "dialog-footer" }, me = /* @__PURE__ */ te({
|
|
|
416
407
|
]),
|
|
417
408
|
_: 1
|
|
418
409
|
}, 8, ["modelValue"]),
|
|
419
|
-
t(
|
|
410
|
+
t(X, {
|
|
420
411
|
ref_key: "uploadRef",
|
|
421
|
-
ref:
|
|
422
|
-
modelValue:
|
|
423
|
-
"onUpdate:modelValue": l[10] || (l[10] = (
|
|
424
|
-
onUploadFileList:
|
|
412
|
+
ref: I,
|
|
413
|
+
modelValue: b.value,
|
|
414
|
+
"onUpdate:modelValue": l[10] || (l[10] = (n) => b.value = n),
|
|
415
|
+
onUploadFileList: N
|
|
425
416
|
}, null, 8, ["modelValue"])
|
|
426
417
|
], 64);
|
|
427
418
|
};
|
|
428
419
|
}
|
|
429
|
-
})
|
|
420
|
+
});
|
|
430
421
|
export {
|
|
431
|
-
|
|
422
|
+
ge as _
|
|
432
423
|
};
|
|
Binary file
|