xyvcard-asset 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/common-kbgEWG-E.mjs +24 -0
- package/dist/edit-Bo9bnbUP.mjs +492 -0
- package/dist/edit-CE3u81Q0.mjs +4 -0
- package/dist/edit-DJFxVmvv.mjs +624 -0
- package/dist/edit-qp_2xtTZ.mjs +242 -0
- package/dist/edit-zFZfd8e1.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index-Bf5U4Ucl.mjs +369 -0
- package/dist/index-Bh2imlN_.mjs +149 -0
- package/dist/index-CHNiaFZk.mjs +291 -0
- package/dist/index-CmlP_Rro.mjs +332 -0
- package/dist/index-Cqw_E8lr.mjs +1269 -0
- package/dist/index-DA_FS24d.mjs +146 -0
- package/dist/index-DKmGNvQl.mjs +370 -0
- package/dist/index-DLxpE9s5.mjs +305 -0
- package/dist/index-DWaL87j5.mjs +89 -0
- package/dist/index-jOnQLJaB.mjs +416 -0
- package/dist/index-pyyjj1xa.mjs +187 -0
- package/dist/index.mjs +144 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
- package/dist/style.css +1 -0
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/api/asset/asset-site/index.d.ts +15 -0
- package/dts/api/asset/asset-site/types.d.ts +81 -0
- package/dts/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/api/dict.d.ts +22 -0
- package/dts/api/index.d.ts +14 -0
- package/dts/api/org/union-org/index.d.ts +14 -0
- package/dts/api/org/union-org/types.d.ts +49 -0
- package/dts/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/components/TMaps/index.vue.d.ts +20 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/constant.d.ts +16 -0
- package/dts/index.d.ts +4 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +91 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +2 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/src/api/asset/asset-site/index.d.ts +15 -0
- package/dts/src/api/asset/asset-site/types.d.ts +81 -0
- package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/src/api/dict.d.ts +22 -0
- package/dts/src/api/index.d.ts +14 -0
- package/dts/src/api/org/union-org/index.d.ts +14 -0
- package/dts/src/api/org/union-org/types.d.ts +49 -0
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/src/constant.d.ts +16 -0
- package/dts/src/index.d.ts +4 -0
- package/dts/src/lang/asset/en.d.ts +2 -0
- package/dts/src/lang/asset/zh-cn.d.ts +91 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/common.d.ts +51 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +60 -0
package/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# pnpm publish --no-git-checks
|
2
|
+
npm config set registry https://registry.npmjs.org/
|
3
|
+
|
4
|
+
# pnpm install
|
5
|
+
npm config set registry https://registry.npmmirror.com/
|
6
|
+
|
7
|
+
# jmash-dict
|
8
|
+
|
9
|
+
This template should help get you started developing with Vue 3 in Vite.
|
10
|
+
|
11
|
+
## Recommended IDE Setup
|
12
|
+
|
13
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
14
|
+
|
15
|
+
## Type Support for `.vue` Imports in TS
|
16
|
+
|
17
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
18
|
+
|
19
|
+
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
20
|
+
|
21
|
+
1. Disable the built-in TypeScript Extension
|
22
|
+
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
23
|
+
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
24
|
+
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
25
|
+
|
26
|
+
## Customize configuration
|
27
|
+
|
28
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
29
|
+
|
30
|
+
## Project Setup
|
31
|
+
|
32
|
+
```sh
|
33
|
+
pnpm install
|
34
|
+
```
|
35
|
+
|
36
|
+
### Compile and Hot-Reload for Development
|
37
|
+
|
38
|
+
```sh
|
39
|
+
pnpm dev
|
40
|
+
```
|
41
|
+
|
42
|
+
### Type-Check, Compile and Minify for Production
|
43
|
+
|
44
|
+
```sh
|
45
|
+
pnpm build
|
46
|
+
```
|
47
|
+
|
48
|
+
### Lint with [ESLint](https://eslint.org/)
|
49
|
+
|
50
|
+
```sh
|
51
|
+
pnpm lint
|
52
|
+
```
|
@@ -0,0 +1,24 @@
|
|
1
|
+
function D(r, e = 0, a = 0, c = 0) {
|
2
|
+
const t = new Date(r);
|
3
|
+
t.setFullYear(Number(t.getFullYear()) + Number(e)), t.setMonth(t.getMonth() + a), t.setDate(t.getDate() + c);
|
4
|
+
const o = t.getFullYear(), n = t.getMonth() + 1, u = t.getDate();
|
5
|
+
return {
|
6
|
+
getYear: function() {
|
7
|
+
return o;
|
8
|
+
},
|
9
|
+
getMonth: function() {
|
10
|
+
return o + "-" + (n < 10 ? "0" : "") + n;
|
11
|
+
},
|
12
|
+
getFullDate: function() {
|
13
|
+
return o + "-" + (n < 10 ? "0" : "") + n + "-" + (u < 10 ? "0" : "") + u;
|
14
|
+
}
|
15
|
+
};
|
16
|
+
}
|
17
|
+
function i(r) {
|
18
|
+
const e = new Date(r);
|
19
|
+
return e.getHours() + ":" + e.getMinutes() + ":" + e.getSeconds();
|
20
|
+
}
|
21
|
+
export {
|
22
|
+
D as c,
|
23
|
+
i as r
|
24
|
+
};
|
@@ -0,0 +1,492 @@
|
|
1
|
+
import { defineComponent as M, mergeModels as A, ref as I, reactive as w, useModel as B, resolveComponent as u, openBlock as j, createBlock as F, withCtx as r, createElementVNode as K, createVNode as e, createTextVNode as $, toDisplayString as N, unref as d } from "vue";
|
2
|
+
import { ElMessage as P } from "element-plus";
|
3
|
+
import { useI18n as O } from "vue-i18n";
|
4
|
+
import { s as c } from "./index-DA_FS24d.mjs";
|
5
|
+
const S = { class: "dialog-footer" }, H = /* @__PURE__ */ M({
|
6
|
+
__name: "edit",
|
7
|
+
props: /* @__PURE__ */ A({
|
8
|
+
entityKey: {
|
9
|
+
type: Object,
|
10
|
+
default: () => {
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}, {
|
14
|
+
modelValue: { type: Boolean },
|
15
|
+
modelModifiers: {}
|
16
|
+
}),
|
17
|
+
emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
|
18
|
+
setup(g, { emit: y }) {
|
19
|
+
const { t: i } = O(), v = I();
|
20
|
+
let o = w({
|
21
|
+
requestId: Math.random() * 10 + "",
|
22
|
+
updateMask: ""
|
23
|
+
});
|
24
|
+
const q = w({
|
25
|
+
recordId: [
|
26
|
+
{
|
27
|
+
required: !0,
|
28
|
+
message: i("serviceApptRecord.recordId"),
|
29
|
+
trigger: "change"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
limitId: [
|
33
|
+
{
|
34
|
+
required: !0,
|
35
|
+
message: i("serviceApptRecord.limitId"),
|
36
|
+
trigger: "change"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
orgId: [
|
40
|
+
{
|
41
|
+
required: !0,
|
42
|
+
message: i("serviceApptRecord.orgId"),
|
43
|
+
trigger: "change"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
orgName: [
|
47
|
+
{
|
48
|
+
required: !0,
|
49
|
+
message: i("serviceApptRecord.orgName"),
|
50
|
+
trigger: "change"
|
51
|
+
}
|
52
|
+
],
|
53
|
+
siteId: [
|
54
|
+
{
|
55
|
+
required: !0,
|
56
|
+
message: i("serviceApptRecord.siteId"),
|
57
|
+
trigger: "change"
|
58
|
+
}
|
59
|
+
// eslint-disable-next-line no-trailing-spaces
|
60
|
+
],
|
61
|
+
siteName: [
|
62
|
+
{
|
63
|
+
required: !0,
|
64
|
+
message: i("serviceApptRecord.siteName"),
|
65
|
+
trigger: "change"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
serviceId: [
|
69
|
+
{
|
70
|
+
required: !0,
|
71
|
+
message: i("serviceApptRecord.serviceId"),
|
72
|
+
trigger: "change"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
serviceName: [
|
76
|
+
{
|
77
|
+
required: !0,
|
78
|
+
message: i("serviceApptRecord.serviceName"),
|
79
|
+
trigger: "change"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
appointmentDate: [
|
83
|
+
{
|
84
|
+
required: !0,
|
85
|
+
message: i("serviceApptRecord.appointmentDate"),
|
86
|
+
trigger: "change"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
startTime: [
|
90
|
+
{
|
91
|
+
required: !0,
|
92
|
+
message: i("serviceApptRecord.startTime"),
|
93
|
+
trigger: "change"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
endTime: [
|
97
|
+
{
|
98
|
+
required: !0,
|
99
|
+
message: i("serviceApptRecord.endTime"),
|
100
|
+
trigger: "change"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
limitPerson: [
|
104
|
+
{
|
105
|
+
required: !0,
|
106
|
+
message: i("serviceApptRecord.limitPerson"),
|
107
|
+
trigger: "change"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
apptPerson: [
|
111
|
+
{
|
112
|
+
required: !0,
|
113
|
+
message: i("serviceApptRecord.apptPerson"),
|
114
|
+
trigger: "change"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
signPerson: [
|
118
|
+
{
|
119
|
+
required: !0,
|
120
|
+
message: i("serviceApptRecord.signPerson"),
|
121
|
+
trigger: "change"
|
122
|
+
}
|
123
|
+
]
|
124
|
+
}), n = B(g, "modelValue"), f = g, h = y, T = Object.keys(f.entityKey), b = I(T.length >= 1);
|
125
|
+
b.value && c.findById(f.entityKey).then(({ data: l }) => {
|
126
|
+
Object.assign(o, l);
|
127
|
+
});
|
128
|
+
const U = async () => {
|
129
|
+
var l;
|
130
|
+
await ((l = v.value) == null ? void 0 : l.validate((t) => {
|
131
|
+
t && (b.value ? c.update(o).then((s) => {
|
132
|
+
console.log(s), s.status === 200 && (P({
|
133
|
+
message: i("common.submitSuccess"),
|
134
|
+
type: "success"
|
135
|
+
}), n.value && (n.value = !1), h("refresh", s.status === 200));
|
136
|
+
}) : c.create(o).then((s) => {
|
137
|
+
console.log(s), s.status === 200 && (P({
|
138
|
+
message: i("common.submitSuccess"),
|
139
|
+
type: "success"
|
140
|
+
}), n.value && (n.value = !1), h("refresh", s.status === 200));
|
141
|
+
}));
|
142
|
+
}));
|
143
|
+
};
|
144
|
+
function V() {
|
145
|
+
n.value && (n.value = !1);
|
146
|
+
}
|
147
|
+
return (l, t) => {
|
148
|
+
const s = u("el-input"), p = u("el-form-item"), m = u("el-col"), D = u("el-row"), k = u("el-form"), R = u("el-button"), C = u("el-dialog");
|
149
|
+
return j(), F(C, {
|
150
|
+
modelValue: n.value,
|
151
|
+
"onUpdate:modelValue": t[14] || (t[14] = (a) => n.value = a),
|
152
|
+
onClose: V
|
153
|
+
}, {
|
154
|
+
footer: r(() => [
|
155
|
+
K("div", S, [
|
156
|
+
e(R, { onClick: V }, {
|
157
|
+
default: r(() => [
|
158
|
+
$(N(l.$t("common.cancel")), 1)
|
159
|
+
]),
|
160
|
+
_: 1
|
161
|
+
}),
|
162
|
+
e(R, {
|
163
|
+
type: "primary",
|
164
|
+
onClick: U
|
165
|
+
}, {
|
166
|
+
default: r(() => [
|
167
|
+
$(N(l.$t("common.confirm")), 1)
|
168
|
+
]),
|
169
|
+
_: 1
|
170
|
+
})
|
171
|
+
])
|
172
|
+
]),
|
173
|
+
default: r(() => [
|
174
|
+
e(k, {
|
175
|
+
ref_key: "serviceApptRecordFormRef",
|
176
|
+
ref: v,
|
177
|
+
model: d(o),
|
178
|
+
"label-width": "120px",
|
179
|
+
rules: q
|
180
|
+
}, {
|
181
|
+
default: r(() => [
|
182
|
+
e(D, null, {
|
183
|
+
default: r(() => [
|
184
|
+
e(m, { span: 12 }, {
|
185
|
+
default: r(() => [
|
186
|
+
e(p, {
|
187
|
+
label: l.$t("serviceApptRecord.recordId"),
|
188
|
+
prop: "recordId"
|
189
|
+
}, {
|
190
|
+
default: r(() => [
|
191
|
+
e(s, {
|
192
|
+
modelValue: d(o).recordId,
|
193
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => d(o).recordId = a),
|
194
|
+
placeholder: l.$t("serviceApptRecord.recordId"),
|
195
|
+
maxlength: "8",
|
196
|
+
"show-word-limit": "",
|
197
|
+
clearable: ""
|
198
|
+
}, null, 8, ["modelValue", "placeholder"])
|
199
|
+
]),
|
200
|
+
_: 1
|
201
|
+
}, 8, ["label"])
|
202
|
+
]),
|
203
|
+
_: 1
|
204
|
+
}),
|
205
|
+
e(m, { span: 12 }, {
|
206
|
+
default: r(() => [
|
207
|
+
e(p, {
|
208
|
+
label: l.$t("serviceApptRecord.limitId"),
|
209
|
+
prop: "limitId"
|
210
|
+
}, {
|
211
|
+
default: r(() => [
|
212
|
+
e(s, {
|
213
|
+
modelValue: d(o).limitId,
|
214
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => d(o).limitId = a),
|
215
|
+
placeholder: l.$t("serviceApptRecord.limitId"),
|
216
|
+
maxlength: "8",
|
217
|
+
"show-word-limit": "",
|
218
|
+
clearable: ""
|
219
|
+
}, null, 8, ["modelValue", "placeholder"])
|
220
|
+
]),
|
221
|
+
_: 1
|
222
|
+
}, 8, ["label"])
|
223
|
+
]),
|
224
|
+
_: 1
|
225
|
+
}),
|
226
|
+
e(m, { span: 12 }, {
|
227
|
+
default: r(() => [
|
228
|
+
e(p, {
|
229
|
+
label: l.$t("serviceApptRecord.orgId"),
|
230
|
+
prop: "orgId"
|
231
|
+
}, {
|
232
|
+
default: r(() => [
|
233
|
+
e(s, {
|
234
|
+
modelValue: d(o).orgId,
|
235
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => d(o).orgId = a),
|
236
|
+
placeholder: l.$t("serviceApptRecord.orgId"),
|
237
|
+
maxlength: "8",
|
238
|
+
"show-word-limit": "",
|
239
|
+
clearable: ""
|
240
|
+
}, null, 8, ["modelValue", "placeholder"])
|
241
|
+
]),
|
242
|
+
_: 1
|
243
|
+
}, 8, ["label"])
|
244
|
+
]),
|
245
|
+
_: 1
|
246
|
+
}),
|
247
|
+
e(m, { span: 12 }, {
|
248
|
+
default: r(() => [
|
249
|
+
e(p, {
|
250
|
+
label: l.$t("serviceApptRecord.orgName"),
|
251
|
+
prop: "orgName"
|
252
|
+
}, {
|
253
|
+
default: r(() => [
|
254
|
+
e(s, {
|
255
|
+
modelValue: d(o).orgName,
|
256
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => d(o).orgName = a),
|
257
|
+
placeholder: l.$t("serviceApptRecord.orgName"),
|
258
|
+
maxlength: "60",
|
259
|
+
"show-word-limit": "",
|
260
|
+
clearable: ""
|
261
|
+
}, null, 8, ["modelValue", "placeholder"])
|
262
|
+
]),
|
263
|
+
_: 1
|
264
|
+
}, 8, ["label"])
|
265
|
+
]),
|
266
|
+
_: 1
|
267
|
+
}),
|
268
|
+
e(m, { span: 12 }, {
|
269
|
+
default: r(() => [
|
270
|
+
e(p, {
|
271
|
+
label: l.$t("serviceApptRecord.siteId"),
|
272
|
+
prop: "siteId"
|
273
|
+
}, {
|
274
|
+
default: r(() => [
|
275
|
+
e(s, {
|
276
|
+
modelValue: d(o).siteId,
|
277
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => d(o).siteId = a),
|
278
|
+
placeholder: l.$t("serviceApptRecord.siteId"),
|
279
|
+
maxlength: "8",
|
280
|
+
"show-word-limit": "",
|
281
|
+
clearable: ""
|
282
|
+
}, null, 8, ["modelValue", "placeholder"])
|
283
|
+
]),
|
284
|
+
_: 1
|
285
|
+
}, 8, ["label"])
|
286
|
+
]),
|
287
|
+
_: 1
|
288
|
+
}),
|
289
|
+
e(m, { span: 12 }, {
|
290
|
+
default: r(() => [
|
291
|
+
e(p, {
|
292
|
+
label: l.$t("serviceApptRecord.siteName"),
|
293
|
+
prop: "siteName"
|
294
|
+
}, {
|
295
|
+
default: r(() => [
|
296
|
+
e(s, {
|
297
|
+
modelValue: d(o).siteName,
|
298
|
+
"onUpdate:modelValue": t[5] || (t[5] = (a) => d(o).siteName = a),
|
299
|
+
placeholder: l.$t("serviceApptRecord.siteName"),
|
300
|
+
maxlength: "60",
|
301
|
+
"show-word-limit": "",
|
302
|
+
clearable: ""
|
303
|
+
}, null, 8, ["modelValue", "placeholder"])
|
304
|
+
]),
|
305
|
+
_: 1
|
306
|
+
}, 8, ["label"])
|
307
|
+
]),
|
308
|
+
_: 1
|
309
|
+
}),
|
310
|
+
e(m, { span: 12 }, {
|
311
|
+
default: r(() => [
|
312
|
+
e(p, {
|
313
|
+
label: l.$t("serviceApptRecord.serviceId"),
|
314
|
+
prop: "serviceId"
|
315
|
+
}, {
|
316
|
+
default: r(() => [
|
317
|
+
e(s, {
|
318
|
+
modelValue: d(o).serviceId,
|
319
|
+
"onUpdate:modelValue": t[6] || (t[6] = (a) => d(o).serviceId = a),
|
320
|
+
placeholder: l.$t("serviceApptRecord.serviceId"),
|
321
|
+
maxlength: "8",
|
322
|
+
"show-word-limit": "",
|
323
|
+
clearable: ""
|
324
|
+
}, null, 8, ["modelValue", "placeholder"])
|
325
|
+
]),
|
326
|
+
_: 1
|
327
|
+
}, 8, ["label"])
|
328
|
+
]),
|
329
|
+
_: 1
|
330
|
+
}),
|
331
|
+
e(m, { span: 12 }, {
|
332
|
+
default: r(() => [
|
333
|
+
e(p, {
|
334
|
+
label: l.$t("serviceApptRecord.serviceName"),
|
335
|
+
prop: "serviceName"
|
336
|
+
}, {
|
337
|
+
default: r(() => [
|
338
|
+
e(s, {
|
339
|
+
modelValue: d(o).serviceName,
|
340
|
+
"onUpdate:modelValue": t[7] || (t[7] = (a) => d(o).serviceName = a),
|
341
|
+
placeholder: l.$t("serviceApptRecord.serviceName"),
|
342
|
+
maxlength: "60",
|
343
|
+
"show-word-limit": "",
|
344
|
+
clearable: ""
|
345
|
+
}, null, 8, ["modelValue", "placeholder"])
|
346
|
+
]),
|
347
|
+
_: 1
|
348
|
+
}, 8, ["label"])
|
349
|
+
]),
|
350
|
+
_: 1
|
351
|
+
}),
|
352
|
+
e(m, { span: 12 }, {
|
353
|
+
default: r(() => [
|
354
|
+
e(p, {
|
355
|
+
label: l.$t("serviceApptRecord.appointmentDate"),
|
356
|
+
prop: "appointmentDate"
|
357
|
+
}, {
|
358
|
+
default: r(() => [
|
359
|
+
e(s, {
|
360
|
+
modelValue: d(o).appointmentDate,
|
361
|
+
"onUpdate:modelValue": t[8] || (t[8] = (a) => d(o).appointmentDate = a),
|
362
|
+
placeholder: l.$t("serviceApptRecord.appointmentDate"),
|
363
|
+
maxlength: "5",
|
364
|
+
"show-word-limit": "",
|
365
|
+
clearable: ""
|
366
|
+
}, null, 8, ["modelValue", "placeholder"])
|
367
|
+
]),
|
368
|
+
_: 1
|
369
|
+
}, 8, ["label"])
|
370
|
+
]),
|
371
|
+
_: 1
|
372
|
+
}),
|
373
|
+
e(m, { span: 12 }, {
|
374
|
+
default: r(() => [
|
375
|
+
e(p, {
|
376
|
+
label: l.$t("serviceApptRecord.startTime"),
|
377
|
+
prop: "startTime"
|
378
|
+
}, {
|
379
|
+
default: r(() => [
|
380
|
+
e(s, {
|
381
|
+
modelValue: d(o).startTime,
|
382
|
+
"onUpdate:modelValue": t[9] || (t[9] = (a) => d(o).startTime = a),
|
383
|
+
placeholder: l.$t("serviceApptRecord.startTime"),
|
384
|
+
maxlength: "15",
|
385
|
+
"show-word-limit": "",
|
386
|
+
clearable: ""
|
387
|
+
}, null, 8, ["modelValue", "placeholder"])
|
388
|
+
]),
|
389
|
+
_: 1
|
390
|
+
}, 8, ["label"])
|
391
|
+
]),
|
392
|
+
_: 1
|
393
|
+
}),
|
394
|
+
e(m, { span: 12 }, {
|
395
|
+
default: r(() => [
|
396
|
+
e(p, {
|
397
|
+
label: l.$t("serviceApptRecord.endTime"),
|
398
|
+
prop: "endTime"
|
399
|
+
}, {
|
400
|
+
default: r(() => [
|
401
|
+
e(s, {
|
402
|
+
modelValue: d(o).endTime,
|
403
|
+
"onUpdate:modelValue": t[10] || (t[10] = (a) => d(o).endTime = a),
|
404
|
+
placeholder: l.$t("serviceApptRecord.endTime"),
|
405
|
+
maxlength: "15",
|
406
|
+
"show-word-limit": "",
|
407
|
+
clearable: ""
|
408
|
+
}, null, 8, ["modelValue", "placeholder"])
|
409
|
+
]),
|
410
|
+
_: 1
|
411
|
+
}, 8, ["label"])
|
412
|
+
]),
|
413
|
+
_: 1
|
414
|
+
}),
|
415
|
+
e(m, { span: 12 }, {
|
416
|
+
default: r(() => [
|
417
|
+
e(p, {
|
418
|
+
label: l.$t("serviceApptRecord.limitPerson"),
|
419
|
+
prop: "limitPerson"
|
420
|
+
}, {
|
421
|
+
default: r(() => [
|
422
|
+
e(s, {
|
423
|
+
modelValue: d(o).limitPerson,
|
424
|
+
"onUpdate:modelValue": t[11] || (t[11] = (a) => d(o).limitPerson = a),
|
425
|
+
placeholder: l.$t("serviceApptRecord.limitPerson"),
|
426
|
+
maxlength: "5",
|
427
|
+
"show-word-limit": "",
|
428
|
+
clearable: ""
|
429
|
+
}, null, 8, ["modelValue", "placeholder"])
|
430
|
+
]),
|
431
|
+
_: 1
|
432
|
+
}, 8, ["label"])
|
433
|
+
]),
|
434
|
+
_: 1
|
435
|
+
}),
|
436
|
+
e(m, { span: 12 }, {
|
437
|
+
default: r(() => [
|
438
|
+
e(p, {
|
439
|
+
label: l.$t("serviceApptRecord.apptPerson"),
|
440
|
+
prop: "apptPerson"
|
441
|
+
}, {
|
442
|
+
default: r(() => [
|
443
|
+
e(s, {
|
444
|
+
modelValue: d(o).apptPerson,
|
445
|
+
"onUpdate:modelValue": t[12] || (t[12] = (a) => d(o).apptPerson = a),
|
446
|
+
placeholder: l.$t("serviceApptRecord.apptPerson"),
|
447
|
+
maxlength: "5",
|
448
|
+
"show-word-limit": "",
|
449
|
+
clearable: ""
|
450
|
+
}, null, 8, ["modelValue", "placeholder"])
|
451
|
+
]),
|
452
|
+
_: 1
|
453
|
+
}, 8, ["label"])
|
454
|
+
]),
|
455
|
+
_: 1
|
456
|
+
}),
|
457
|
+
e(m, { span: 12 }, {
|
458
|
+
default: r(() => [
|
459
|
+
e(p, {
|
460
|
+
label: l.$t("serviceApptRecord.signPerson"),
|
461
|
+
prop: "signPerson"
|
462
|
+
}, {
|
463
|
+
default: r(() => [
|
464
|
+
e(s, {
|
465
|
+
modelValue: d(o).signPerson,
|
466
|
+
"onUpdate:modelValue": t[13] || (t[13] = (a) => d(o).signPerson = a),
|
467
|
+
placeholder: l.$t("serviceApptRecord.signPerson"),
|
468
|
+
maxlength: "5",
|
469
|
+
"show-word-limit": "",
|
470
|
+
clearable: ""
|
471
|
+
}, null, 8, ["modelValue", "placeholder"])
|
472
|
+
]),
|
473
|
+
_: 1
|
474
|
+
}, 8, ["label"])
|
475
|
+
]),
|
476
|
+
_: 1
|
477
|
+
})
|
478
|
+
]),
|
479
|
+
_: 1
|
480
|
+
})
|
481
|
+
]),
|
482
|
+
_: 1
|
483
|
+
}, 8, ["model", "rules"])
|
484
|
+
]),
|
485
|
+
_: 1
|
486
|
+
}, 8, ["modelValue"]);
|
487
|
+
};
|
488
|
+
}
|
489
|
+
});
|
490
|
+
export {
|
491
|
+
H as default
|
492
|
+
};
|