sooyie-task 0.0.1
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/README.md +51 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/add-7_dK5ok_.mjs +261 -0
- package/dist/add-C2devcsq.mjs +439 -0
- package/dist/edit-CE42VR9Z.mjs +237 -0
- package/dist/edit-CRQkMd15.mjs +452 -0
- package/dist/el-message-Bod6C9wB.mjs +1252 -0
- package/dist/index-BYV5ylFn.mjs +29 -0
- package/dist/index-B_hFZVhb-C3Oi__-I.mjs +1851 -0
- package/dist/index-CEvxhWYT.mjs +104 -0
- package/dist/index-CK1KRDsU.mjs +335 -0
- package/dist/index-C_NGsTkK.mjs +412 -0
- package/dist/index-CewoF68r.mjs +105 -0
- package/dist/index-DIHsBjkh.mjs +4 -0
- package/dist/index-DaJ5KrbS.mjs +125 -0
- package/dist/index-DvawPwK3.mjs +10483 -0
- package/dist/index-rm9IgDWo.mjs +377 -0
- package/dist/index.mjs +2807 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-DRYjMxBU.mjs +141 -0
- package/dist/info-Dls9Zhvf.mjs +1990 -0
- package/dist/report-CJWipPH_.mjs +564 -0
- package/dist/report-info-B0NXFFzR.mjs +313 -0
- package/dist/style.css +1 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/dict.d.ts +13 -0
- package/dts/src/api/index.d.ts +16 -0
- package/dts/src/api/task/report-files/index.d.ts +9 -0
- package/dts/src/api/task/report-files/types.d.ts +26 -0
- package/dts/src/api/task/task-define/index.d.ts +17 -0
- package/dts/src/api/task/task-define/types.d.ts +141 -0
- package/dts/src/api/task/task-define-rel/index.d.ts +10 -0
- package/dts/src/api/task/task-define-rel/types.d.ts +25 -0
- package/dts/src/api/task/task-inspect-matterst-record/index.d.ts +9 -0
- package/dts/src/api/task/task-inspect-matterst-record/types.d.ts +65 -0
- package/dts/src/api/task/task-inst/index.d.ts +12 -0
- package/dts/src/api/task/task-inst/types.d.ts +137 -0
- package/dts/src/api/task/task-record/index.d.ts +20 -0
- package/dts/src/api/task/task-record/types.d.ts +62 -0
- package/dts/src/api/task/task-task/index.d.ts +9 -0
- package/dts/src/api/task/task-task/types.d.ts +57 -0
- package/dts/src/api/task/task_my_assigned/index.d.ts +9 -0
- package/dts/src/api/task/task_my_assigned/types.d.ts +56 -0
- package/dts/src/components/singleImageUpload/index.vue.d.ts +45 -0
- package/dts/src/constant.d.ts +56 -0
- package/dts/src/index.d.ts +5 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/task/en.d.ts +81 -0
- package/dts/src/lang/task/zh-cn.d.ts +122 -0
- package/dts/src/main.d.ts +5 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/src/views/task/task-define/add.vue.d.ts +11 -0
- package/dts/src/views/task/task-define/edit.vue.d.ts +2 -0
- package/dts/src/views/task/task-define/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-define-rel/add.vue.d.ts +11 -0
- package/dts/src/views/task/task-define-rel/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/edit.vue.d.ts +26 -0
- package/dts/src/views/task/task-inst/index.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/info.vue.d.ts +2 -0
- package/dts/src/views/task/task-inst/report-info.vue.d.ts +33 -0
- package/dts/src/views/task/task-inst/report.vue.d.ts +26 -0
- package/dts/src/views/task/task-task/index.vue.d.ts +2 -0
- package/package.json +62 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { defineComponent as W, mergeModels as B, useModel as z, ref as T, resolveComponent as s, createBlock as _, openBlock as n, withCtx as r, createVNode as t, createElementBlock as w, createCommentVNode as y, unref as e, createTextVNode as I, toDisplayString as E, Fragment as A, renderList as q, createElementVNode as X } from "vue";
|
|
2
|
+
import { useI18n as G } from "vue-i18n";
|
|
3
|
+
import { D as S, C as i } from "./index-DvawPwK3.mjs";
|
|
4
|
+
import { useUserStore as H, clearEmpty as $, request as J, useUserStoreHook as Q, fileApi as h } from "jmash-core";
|
|
5
|
+
import { useRoute as Z } from "vue-router";
|
|
6
|
+
import { t as ee } from "./index-BYV5ylFn.mjs";
|
|
7
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
class oe {
|
|
9
|
+
getKey(a) {
|
|
10
|
+
return {};
|
|
11
|
+
}
|
|
12
|
+
// 查询列表信息附件
|
|
13
|
+
findList(a) {
|
|
14
|
+
const V = H().user.tenant;
|
|
15
|
+
return $(a), J({
|
|
16
|
+
url: "/v1/front/task/sooyie/file/list/" + V,
|
|
17
|
+
method: "get",
|
|
18
|
+
params: a
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
const C = new oe(), le = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "margin-top"
|
|
25
|
+
}, re = /* @__PURE__ */ W({
|
|
26
|
+
__name: "report-info",
|
|
27
|
+
props: /* @__PURE__ */ B({
|
|
28
|
+
govOrgId: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: ""
|
|
31
|
+
},
|
|
32
|
+
reportsInfoEntityKey: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: () => {
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}, {
|
|
38
|
+
modelValue: { type: Boolean },
|
|
39
|
+
modelModifiers: {}
|
|
40
|
+
}),
|
|
41
|
+
emits: ["update:modelValue"],
|
|
42
|
+
setup(R) {
|
|
43
|
+
const a = Z(), V = Q(), { t: se } = G(), g = z(R, "modelValue");
|
|
44
|
+
S.itemBizLayDict.useValues();
|
|
45
|
+
const D = ({ rowIndex: d, columnIndex: o }) => {
|
|
46
|
+
if (o === 1) {
|
|
47
|
+
if (d === 0)
|
|
48
|
+
return { rowspan: 3, colspan: 1 };
|
|
49
|
+
if (d < 3)
|
|
50
|
+
return { rowspan: 0, colspan: 0 };
|
|
51
|
+
}
|
|
52
|
+
return o === 7 ? { rowspan: 1, colspan: 1 } : { rowspan: 1, colspan: 1 };
|
|
53
|
+
}, f = R, L = T([]), v = T([]);
|
|
54
|
+
ee.findList({ reportRecordId: f.reportsInfoEntityKey.taskRecordId }).then(async (d) => {
|
|
55
|
+
const o = d.data.results;
|
|
56
|
+
v.value = o;
|
|
57
|
+
const b = await Promise.all(
|
|
58
|
+
o.map(async (p) => {
|
|
59
|
+
const m = p.recordId;
|
|
60
|
+
a.query.taskSort === i.LOG_ANALYSIS && C.findList({
|
|
61
|
+
businessId: v.value[0].reportRecordId
|
|
62
|
+
}).then((N) => {
|
|
63
|
+
L.value = N.data.results;
|
|
64
|
+
});
|
|
65
|
+
const c = await C.findList({ businessId: m });
|
|
66
|
+
return {
|
|
67
|
+
...p,
|
|
68
|
+
images: c.data.results || []
|
|
69
|
+
};
|
|
70
|
+
})
|
|
71
|
+
);
|
|
72
|
+
v.value = b;
|
|
73
|
+
});
|
|
74
|
+
async function P(d) {
|
|
75
|
+
try {
|
|
76
|
+
const o = h.fileUrl(d.filePath), p = await (await fetch(o)).blob(), m = window.URL.createObjectURL(p), c = document.createElement("a");
|
|
77
|
+
c.href = m, c.download = d.fileName || d.fileId || "", document.body.appendChild(c), c.click();
|
|
78
|
+
} catch {
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
function U() {
|
|
82
|
+
g.value && (g.value = !1);
|
|
83
|
+
}
|
|
84
|
+
return (d, o) => {
|
|
85
|
+
const b = s("el-input"), p = s("el-form-item"), m = s("el-col"), c = s("jmash-select"), N = s("el-date-picker"), Y = s("el-row"), M = s("el-form"), u = s("el-table-column"), x = s("el-image"), F = s("el-table"), j = s("el-button"), K = s("el-dialog");
|
|
86
|
+
return n(), _(K, {
|
|
87
|
+
modelValue: g.value,
|
|
88
|
+
"onUpdate:modelValue": o[3] || (o[3] = (l) => g.value = l),
|
|
89
|
+
onClose: U,
|
|
90
|
+
width: "1200px"
|
|
91
|
+
}, {
|
|
92
|
+
default: r(() => [
|
|
93
|
+
t(M, {
|
|
94
|
+
ref: "taskReportFormRef",
|
|
95
|
+
"label-width": "120",
|
|
96
|
+
"label-position": "top"
|
|
97
|
+
}, {
|
|
98
|
+
default: r(() => [
|
|
99
|
+
t(Y, null, {
|
|
100
|
+
default: r(() => [
|
|
101
|
+
t(m, { span: 6 }, {
|
|
102
|
+
default: r(() => [
|
|
103
|
+
t(p, { label: "省直单位名称:" }, {
|
|
104
|
+
default: r(() => [
|
|
105
|
+
t(b, {
|
|
106
|
+
modelValue: f.govOrgId,
|
|
107
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => f.govOrgId = l),
|
|
108
|
+
"show-word-limit": "",
|
|
109
|
+
clearable: "",
|
|
110
|
+
required: "",
|
|
111
|
+
disabled: !0,
|
|
112
|
+
class: "!w-[203px]"
|
|
113
|
+
}, null, 8, ["modelValue"])
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
})
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
t(m, { span: 6 }, {
|
|
121
|
+
default: r(() => [
|
|
122
|
+
t(p, { label: "运维项目:" }, {
|
|
123
|
+
default: r(() => [
|
|
124
|
+
t(c, {
|
|
125
|
+
modelValue: f.reportsInfoEntityKey.customerId,
|
|
126
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => f.reportsInfoEntityKey.customerId = l),
|
|
127
|
+
data: e(S).itemBizLayDict.values,
|
|
128
|
+
"show-word-limit": "",
|
|
129
|
+
clearable: "",
|
|
130
|
+
required: "",
|
|
131
|
+
disabled: !0,
|
|
132
|
+
class: "!w-[203px]"
|
|
133
|
+
}, null, 8, ["modelValue", "data"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}),
|
|
140
|
+
t(m, { span: 6 }, {
|
|
141
|
+
default: r(() => [
|
|
142
|
+
t(p, {
|
|
143
|
+
label: "巡检日期:",
|
|
144
|
+
prop: "createTime"
|
|
145
|
+
}, {
|
|
146
|
+
default: r(() => [
|
|
147
|
+
t(N, {
|
|
148
|
+
modelValue: f.reportsInfoEntityKey.createTime,
|
|
149
|
+
"onUpdate:modelValue": o[2] || (o[2] = (l) => f.reportsInfoEntityKey.createTime = l),
|
|
150
|
+
type: "date",
|
|
151
|
+
format: "YYYY-MM-DD",
|
|
152
|
+
"value-format": "YYYY-MM-DD",
|
|
153
|
+
disabled: !0
|
|
154
|
+
}, null, 8, ["modelValue"])
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
})
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
}),
|
|
161
|
+
t(m, { span: 6 }, {
|
|
162
|
+
default: r(() => [
|
|
163
|
+
t(p, {
|
|
164
|
+
label: "巡检人:",
|
|
165
|
+
prop: "realName"
|
|
166
|
+
}, {
|
|
167
|
+
default: r(() => [
|
|
168
|
+
t(b, {
|
|
169
|
+
value: e(V).user.realName,
|
|
170
|
+
"show-word-limit": "",
|
|
171
|
+
clearable: "",
|
|
172
|
+
disabled: !0,
|
|
173
|
+
class: "!w-[203px]"
|
|
174
|
+
}, null, 8, ["value"])
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
})
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
})
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
})
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
}, 512),
|
|
187
|
+
t(F, {
|
|
188
|
+
data: v.value,
|
|
189
|
+
"span-method": D,
|
|
190
|
+
border: "",
|
|
191
|
+
style: { width: "100%", "margin-top": "20px" }
|
|
192
|
+
}, {
|
|
193
|
+
default: r(() => [
|
|
194
|
+
t(u, {
|
|
195
|
+
type: "index",
|
|
196
|
+
label: "序号",
|
|
197
|
+
width: "60"
|
|
198
|
+
}),
|
|
199
|
+
t(u, {
|
|
200
|
+
prop: "mattersDimension",
|
|
201
|
+
label: "检查维度"
|
|
202
|
+
}),
|
|
203
|
+
t(u, {
|
|
204
|
+
prop: "mattersItem",
|
|
205
|
+
label: "检查项目"
|
|
206
|
+
}),
|
|
207
|
+
t(u, {
|
|
208
|
+
prop: "mattersWay",
|
|
209
|
+
label: "检查内容与方法"
|
|
210
|
+
}),
|
|
211
|
+
t(u, {
|
|
212
|
+
prop: "mattersStandard",
|
|
213
|
+
label: "达标标准"
|
|
214
|
+
}),
|
|
215
|
+
e(a).query.taskSort === e(i).HARDWARE ? (n(), _(u, {
|
|
216
|
+
key: 0,
|
|
217
|
+
prop: "riskLevel",
|
|
218
|
+
label: "风险等级"
|
|
219
|
+
}, {
|
|
220
|
+
default: r((l) => [
|
|
221
|
+
I(E(e(S).riskLevelEnum.getEnumValue(l.row.riskLevel)), 1)
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
})) : y("", !0),
|
|
225
|
+
e(a).query.taskSort === e(i).EXPERT_INSPECTION || e(a).query.taskSort === e(i).SOFTWARE ? (n(), _(u, {
|
|
226
|
+
key: 1,
|
|
227
|
+
label: "巡检结果",
|
|
228
|
+
width: "180",
|
|
229
|
+
prop: "mattersResult"
|
|
230
|
+
}, {
|
|
231
|
+
default: r((l) => [
|
|
232
|
+
I(E(e(S).mattersResultDict.getValue(l.row.mattersResult)), 1)
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})) : y("", !0),
|
|
236
|
+
e(a).query.taskSort === e(i).LOG_ANALYSIS ? (n(), _(u, {
|
|
237
|
+
key: 2,
|
|
238
|
+
label: "结果",
|
|
239
|
+
width: "180",
|
|
240
|
+
prop: "mattersResult"
|
|
241
|
+
}, {
|
|
242
|
+
default: r((l) => [
|
|
243
|
+
I(E(e(S).logResultDict.getValue(l.row.mattersResult)), 1)
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
})) : y("", !0),
|
|
247
|
+
e(a).query.taskSort === e(i).EXPERT_INSPECTION || e(a).query.taskSort === e(i).SOFTWARE ? (n(), _(u, {
|
|
248
|
+
key: 3,
|
|
249
|
+
label: "截图/拍照"
|
|
250
|
+
}, {
|
|
251
|
+
default: r((l) => [
|
|
252
|
+
(n(!0), w(A, null, q(l.row.images, (k, O) => (n(), w("div", {
|
|
253
|
+
key: k.id || O
|
|
254
|
+
}, [
|
|
255
|
+
t(x, {
|
|
256
|
+
src: e(h).imageUrl(k.filePath, 120, 120),
|
|
257
|
+
"preview-src-list": [e(h).imageUrl(k.filePath)],
|
|
258
|
+
"preview-teleported": "",
|
|
259
|
+
"hide-on-click-modal": "",
|
|
260
|
+
fit: "cover"
|
|
261
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
262
|
+
]))), 128))
|
|
263
|
+
]),
|
|
264
|
+
_: 1
|
|
265
|
+
})) : y("", !0),
|
|
266
|
+
e(a).query.taskSort === e(i).EXPERT_INSPECTION || e(a).query.taskSort === e(i).SOFTWARE ? (n(), _(u, {
|
|
267
|
+
key: 4,
|
|
268
|
+
label: "问题记录",
|
|
269
|
+
prop: "problem"
|
|
270
|
+
})) : y("", !0),
|
|
271
|
+
e(a).query.taskSort === e(i).EXPERT_INSPECTION || e(a).query.taskSort === e(i).SOFTWARE ? (n(), _(u, {
|
|
272
|
+
key: 5,
|
|
273
|
+
label: "处置建议",
|
|
274
|
+
prop: "proposal"
|
|
275
|
+
})) : y("", !0)
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}, 8, ["data"]),
|
|
279
|
+
e(a).query.taskSort === e(i).LOG_ANALYSIS ? (n(), w("div", le, [
|
|
280
|
+
o[5] || (o[5] = X("span", null, "日志附件:", -1)),
|
|
281
|
+
(n(!0), w(A, null, q(L.value, (l, k) => (n(), w("div", {
|
|
282
|
+
key: k,
|
|
283
|
+
class: "files-list"
|
|
284
|
+
}, [
|
|
285
|
+
I(E(l.fileName) + " ", 1),
|
|
286
|
+
t(j, {
|
|
287
|
+
type: "primary",
|
|
288
|
+
link: "",
|
|
289
|
+
size: "small",
|
|
290
|
+
class: "icon-right",
|
|
291
|
+
onClick: (O) => P(l)
|
|
292
|
+
}, {
|
|
293
|
+
default: r(() => [...o[4] || (o[4] = [
|
|
294
|
+
I(" 查看 ", -1)
|
|
295
|
+
])]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["onClick"])
|
|
298
|
+
]))), 128))
|
|
299
|
+
])) : y("", !0)
|
|
300
|
+
]),
|
|
301
|
+
_: 1
|
|
302
|
+
}, 8, ["modelValue"]);
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
}), ae = /* @__PURE__ */ te(re, [["__scopeId", "data-v-83bfbc7d"]]), fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
306
|
+
__proto__: null,
|
|
307
|
+
default: ae
|
|
308
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
309
|
+
export {
|
|
310
|
+
ae as a,
|
|
311
|
+
fe as r,
|
|
312
|
+
C as t
|
|
313
|
+
};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.addButton[data-v-df300259]{margin-top:15px;margin-bottom:20px;width:100%}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-fit-content;width:fit-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:50%;transform:translate(-50%)}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0}.el-message-fade-enter-from:is(.is-left,.is-right),.el-message-fade-leave-to:is(.is-left,.is-right){transform:translateY(-100%)}.el-message-fade-enter-from:is(.is-left,.is-right).is-bottom,.el-message-fade-leave-to:is(.is-left,.is-right).is-bottom{transform:translateY(100%)}.el-message-fade-enter-from.is-center,.el-message-fade-leave-to.is-center{transform:translate(-50%,-100%)}.el-message-fade-enter-from.is-center.is-bottom,.el-message-fade-leave-to.is-center.is-bottom{transform:translate(-50%,100%)}.position-center[data-v-81c944b2]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-81c944b2]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-0f70f792]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-0f70f792]{position:absolute;right:0;top:0;margin-top:8px}.avatar-uploader .avatar{width:80px;height:80px;display:block}.avatar-uploader .el-upload{border:1px dashed var(--el-border-color);cursor:pointer;position:relative;overflow:hidden;transition:var(--el-transition-duration-fast)}.avatar-uploader .el-upload:hover{border-color:var(--el-color-primary)}.avatar-uploader .el-icon.avatar-uploader-icon{font-size:26px;color:#8c939d;width:80px;height:80px;text-align:center}.margin-top[data-v-38d5ac41]{margin-top:20px}.margin-left[data-v-38d5ac41]{margin-left:20px}.margin-top[data-v-83bfbc7d]{margin-top:20px}.margin-left[data-v-83bfbc7d]{margin-left:20px}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BizDict, type Entry } from "jmash-core";
|
|
2
|
+
export declare class TaskInspectTypeBizDict extends BizDict {
|
|
3
|
+
useValues(): Promise<Entry[]>;
|
|
4
|
+
}
|
|
5
|
+
export declare class ItemBizDict extends BizDict {
|
|
6
|
+
useValues(): Promise<Entry[]>;
|
|
7
|
+
}
|
|
8
|
+
export declare class UserExtBizDict extends BizDict {
|
|
9
|
+
useValues(): Promise<Entry[]>;
|
|
10
|
+
}
|
|
11
|
+
export declare class OrgBizDict extends BizDict {
|
|
12
|
+
useValues(): Promise<Entry[]>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CustomBizDict, EnumDict } from "jmash-core";
|
|
2
|
+
import { ItemBizDict, OrgBizDict, TaskInspectTypeBizDict, UserExtBizDict } from "./dict";
|
|
3
|
+
export declare class Dict {
|
|
4
|
+
static readonly overdueStatusDict: CustomBizDict;
|
|
5
|
+
static readonly readStatusDict: CustomBizDict;
|
|
6
|
+
static readonly taskPeriodEnum: EnumDict;
|
|
7
|
+
static readonly taskInspectTypeDict: TaskInspectTypeBizDict;
|
|
8
|
+
static readonly userSortEnum: EnumDict;
|
|
9
|
+
static readonly itemBizLayDict: ItemBizDict;
|
|
10
|
+
static readonly UserExtBizDict: UserExtBizDict;
|
|
11
|
+
static readonly OrgBizDict: OrgBizDict;
|
|
12
|
+
static readonly taskStatusEnum: EnumDict;
|
|
13
|
+
static readonly mattersResultDict: CustomBizDict;
|
|
14
|
+
static readonly logResultDict: CustomBizDict;
|
|
15
|
+
static readonly riskLevelEnum: EnumDict;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { TaskFilesApi, TaskFilesReq } from "./types";
|
|
3
|
+
import type { TaskFilesList } from "../task-define/types";
|
|
4
|
+
declare class TaskFilesApiImpl implements TaskFilesApi {
|
|
5
|
+
getKey(model: any): any;
|
|
6
|
+
findList(query?: TaskFilesReq): AxiosPromise<TaskFilesList>;
|
|
7
|
+
}
|
|
8
|
+
declare const taskFilesApi: TaskFilesApiImpl;
|
|
9
|
+
export { taskFilesApi };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel } from "jmash-core";
|
|
2
|
+
export interface TaskFilesApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface TaskFilesReq extends EntityReq {
|
|
5
|
+
actionId?: string;
|
|
6
|
+
taskDefineId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TaskFilesReq extends EntityReq {
|
|
9
|
+
businessId?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TaskFilesModel extends EntityModel {
|
|
12
|
+
filesId?: string;
|
|
13
|
+
actionId?: string;
|
|
14
|
+
fileSort?: string;
|
|
15
|
+
fileId?: string;
|
|
16
|
+
fileName?: string;
|
|
17
|
+
fileType?: string;
|
|
18
|
+
filePath?: string;
|
|
19
|
+
fileSize?: string;
|
|
20
|
+
fileExt?: string;
|
|
21
|
+
fileWidth?: string;
|
|
22
|
+
fileHeight?: string;
|
|
23
|
+
orderBy?: string;
|
|
24
|
+
createTime?: string;
|
|
25
|
+
createBy?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { TaskDefineApi, TaskDefineReq, TaskDefineModel, TaskDefinePage, TaskDefineList, TaskDefineKey, TaskDefineCreateReq, TaskDefineUpdateReq, TaskFilesList, TaskFilesReq, TaskDefineEnum, TaskDefineEnumList } from "./types";
|
|
3
|
+
declare class TaskDefineApiImpl implements TaskDefineApi {
|
|
4
|
+
getKey(model: TaskDefineModel): TaskDefineKey;
|
|
5
|
+
findPage(query?: TaskDefineReq): AxiosPromise<TaskDefinePage>;
|
|
6
|
+
findList(query?: TaskDefineReq): AxiosPromise<TaskDefineList>;
|
|
7
|
+
findById(query: TaskDefineKey): AxiosPromise<TaskDefineModel>;
|
|
8
|
+
create(data: TaskDefineCreateReq): AxiosPromise<TaskDefineModel>;
|
|
9
|
+
update(data: TaskDefineUpdateReq): AxiosPromise<TaskDefineModel>;
|
|
10
|
+
delete(query: TaskDefineKey): AxiosPromise<TaskDefineModel>;
|
|
11
|
+
batchDelete(keys: TaskDefineKey[]): AxiosPromise<number>;
|
|
12
|
+
downloadTemplate(): AxiosPromise;
|
|
13
|
+
findTaskList(query?: TaskFilesReq): AxiosPromise<TaskFilesList>;
|
|
14
|
+
getEnum(query: TaskDefineEnum): AxiosPromise<TaskDefineEnumList>;
|
|
15
|
+
}
|
|
16
|
+
declare const taskDefineApi: TaskDefineApiImpl;
|
|
17
|
+
export { taskDefineApi };
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq } from "jmash-core";
|
|
2
|
+
export interface TaskDefineApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface TaskDefineReq extends EntityReq {
|
|
5
|
+
hasTaskSort?: boolean;
|
|
6
|
+
taskSort?: string;
|
|
7
|
+
hasUserSort?: boolean;
|
|
8
|
+
userSort?: string;
|
|
9
|
+
customerTagId?: string;
|
|
10
|
+
taskDate?: string;
|
|
11
|
+
hasStatus?: boolean;
|
|
12
|
+
status?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TaskDefineModel extends EntityModel {
|
|
15
|
+
taskDefineId?: string;
|
|
16
|
+
tenantId?: string;
|
|
17
|
+
taskTitle?: string;
|
|
18
|
+
taskSort?: string;
|
|
19
|
+
userSort?: string;
|
|
20
|
+
deptGroup?: string;
|
|
21
|
+
endDate?: string;
|
|
22
|
+
note?: string;
|
|
23
|
+
reward?: string;
|
|
24
|
+
status?: boolean;
|
|
25
|
+
taskPeriod?: string;
|
|
26
|
+
startDate?: string;
|
|
27
|
+
taskCount?: string;
|
|
28
|
+
customerTagId?: string;
|
|
29
|
+
festivalDays?: string;
|
|
30
|
+
memorialDays?: string;
|
|
31
|
+
jobName?: string;
|
|
32
|
+
overdueStatus?: boolean;
|
|
33
|
+
actionId?: string;
|
|
34
|
+
createBy?: string;
|
|
35
|
+
createTime?: string;
|
|
36
|
+
updateBy?: string;
|
|
37
|
+
updateTime?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface TaskDefineList extends EntityList {
|
|
40
|
+
results: Array<TaskDefineModel>;
|
|
41
|
+
}
|
|
42
|
+
export interface TaskDefinePage extends EntityPage {
|
|
43
|
+
results: Array<TaskDefineModel>;
|
|
44
|
+
subTotalDto: TaskDefineModelTotal;
|
|
45
|
+
totalDto: TaskDefineModelTotal;
|
|
46
|
+
}
|
|
47
|
+
export interface TaskDefineModelTotal extends EntityTotal {
|
|
48
|
+
totalSize: number;
|
|
49
|
+
}
|
|
50
|
+
export interface TaskDefineKey extends EntityKey {
|
|
51
|
+
tenant?: string;
|
|
52
|
+
taskDefineId?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface TaskDefineKeyList extends EntityKeyList {
|
|
55
|
+
tenant?: string;
|
|
56
|
+
taskDefineId?: Array<string>;
|
|
57
|
+
}
|
|
58
|
+
export interface TaskDefineCreateReq extends EntityCreateReq {
|
|
59
|
+
taskDefineId?: string;
|
|
60
|
+
tenantId?: string;
|
|
61
|
+
taskTitle?: string;
|
|
62
|
+
taskSort?: string;
|
|
63
|
+
userSort?: string;
|
|
64
|
+
deptGroup?: string;
|
|
65
|
+
endDate?: string;
|
|
66
|
+
note?: string;
|
|
67
|
+
reward?: string;
|
|
68
|
+
status?: boolean;
|
|
69
|
+
taskPeriod?: string;
|
|
70
|
+
startDate?: string;
|
|
71
|
+
taskCount?: string;
|
|
72
|
+
customerTagId?: string;
|
|
73
|
+
festivalDays?: string;
|
|
74
|
+
memorialDays?: string;
|
|
75
|
+
jobName?: string;
|
|
76
|
+
overdueStatus?: boolean;
|
|
77
|
+
actionId?: string;
|
|
78
|
+
fileInfo?: Array<TaskFiles>;
|
|
79
|
+
}
|
|
80
|
+
export interface TaskDefineUpdateReq extends EntityUpdateReq {
|
|
81
|
+
taskDefineId?: string;
|
|
82
|
+
tenantId?: string;
|
|
83
|
+
taskTitle?: string;
|
|
84
|
+
taskSort?: string;
|
|
85
|
+
userSort?: string;
|
|
86
|
+
deptGroup?: string;
|
|
87
|
+
endDate?: string;
|
|
88
|
+
note?: string;
|
|
89
|
+
reward?: string;
|
|
90
|
+
status?: boolean;
|
|
91
|
+
taskPeriod?: string;
|
|
92
|
+
startDate?: string;
|
|
93
|
+
taskCount?: string;
|
|
94
|
+
customerTagId?: string;
|
|
95
|
+
festivalDays?: string;
|
|
96
|
+
memorialDays?: string;
|
|
97
|
+
jobName?: string;
|
|
98
|
+
overdueStatus?: boolean;
|
|
99
|
+
actionId?: string;
|
|
100
|
+
fileInfo?: Array<TaskFiles>;
|
|
101
|
+
}
|
|
102
|
+
export interface TaskFiles {
|
|
103
|
+
fileName?: string;
|
|
104
|
+
fileId?: string;
|
|
105
|
+
fileSort?: string;
|
|
106
|
+
fileSrc?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface TaskFilesReq extends EntityReq {
|
|
109
|
+
businessId?: string;
|
|
110
|
+
}
|
|
111
|
+
export interface TaskFilesList extends EntityList {
|
|
112
|
+
results: Array<TaskFilesModel>;
|
|
113
|
+
}
|
|
114
|
+
export interface TaskFilesModel extends EntityModel {
|
|
115
|
+
filesId?: string;
|
|
116
|
+
actionId?: string;
|
|
117
|
+
fileSort?: string;
|
|
118
|
+
fileId?: string;
|
|
119
|
+
fileName?: string;
|
|
120
|
+
fileType?: string;
|
|
121
|
+
filePath?: string;
|
|
122
|
+
fileSize?: string;
|
|
123
|
+
fileExt?: string;
|
|
124
|
+
fileWidth?: string;
|
|
125
|
+
fileHeight?: string;
|
|
126
|
+
orderBy?: string;
|
|
127
|
+
createTime?: string;
|
|
128
|
+
createBy?: string;
|
|
129
|
+
}
|
|
130
|
+
export type TaskDefineFormReq = TaskDefineCreateReq | TaskDefineUpdateReq;
|
|
131
|
+
export interface TaskDefineEnum {
|
|
132
|
+
className?: string;
|
|
133
|
+
type?: number;
|
|
134
|
+
}
|
|
135
|
+
export interface TaskDefineEnumList extends EntityList {
|
|
136
|
+
values: Array<Entry>;
|
|
137
|
+
}
|
|
138
|
+
export interface Entry {
|
|
139
|
+
key?: string;
|
|
140
|
+
value?: string;
|
|
141
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { TaskDefineRelApi, TaskDefineRelCreateReq, TaskDefineRelDeleteKey, TaskDefineRelList, TaskDefineRelReq } from "./types";
|
|
3
|
+
declare class TaskDefineRelApiImpl implements TaskDefineRelApi {
|
|
4
|
+
getKey(): any;
|
|
5
|
+
findTaskRelById(query?: TaskDefineRelReq): AxiosPromise<TaskDefineRelList>;
|
|
6
|
+
deleteTaskRelById(query: TaskDefineRelDeleteKey): AxiosPromise<TaskDefineRelList>;
|
|
7
|
+
addTaskRel(data: TaskDefineRelCreateReq): AxiosPromise<number>;
|
|
8
|
+
}
|
|
9
|
+
declare const taskDefineRelApi: TaskDefineRelApiImpl;
|
|
10
|
+
export { taskDefineRelApi };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { EntityApi, EntityReq, EntityModel, EntityList, EntityKey, EntityCreateReq } from "jmash-core";
|
|
2
|
+
export interface TaskDefineRelApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface TaskDefineRelReq extends EntityReq {
|
|
5
|
+
taskDefineId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TaskDefineRelList extends EntityList {
|
|
8
|
+
results: Array<TaskDefineRelModel>;
|
|
9
|
+
}
|
|
10
|
+
export interface TaskDefineRelModel extends EntityModel {
|
|
11
|
+
taskDefineId?: string;
|
|
12
|
+
customerId?: string;
|
|
13
|
+
userId?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface TaskDefineRelDeleteKey extends EntityKey {
|
|
16
|
+
taskDefineId?: string;
|
|
17
|
+
customerId?: string;
|
|
18
|
+
userId?: string;
|
|
19
|
+
tenant?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface TaskDefineRelCreateReq extends EntityCreateReq {
|
|
22
|
+
tenant?: string;
|
|
23
|
+
taskDefineId?: string;
|
|
24
|
+
taskDefineRel?: Array<TaskDefineRelModel>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { TaskInspectMatterstRecordApi, TaskInspectMatterstRecordModel, TaskInspectMatterstRecordKey, TaskInspectMatterstRecordCreateReq, TaskInspectMatterstRecordList, TaskInspectMatterstRecordReq } from "./types";
|
|
3
|
+
declare class TaskInspectMatterstRecordApiImpl implements TaskInspectMatterstRecordApi {
|
|
4
|
+
getKey(model: TaskInspectMatterstRecordModel): TaskInspectMatterstRecordKey;
|
|
5
|
+
create(data: TaskInspectMatterstRecordCreateReq): AxiosPromise<TaskInspectMatterstRecordModel>;
|
|
6
|
+
findList(query: TaskInspectMatterstRecordReq): AxiosPromise<TaskInspectMatterstRecordList>;
|
|
7
|
+
}
|
|
8
|
+
declare const taskInspectMatterstRecordApi: TaskInspectMatterstRecordApiImpl;
|
|
9
|
+
export { taskInspectMatterstRecordApi };
|