xyvcard-asset 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -52
- package/dist/assign-DzQUNp-Y.mjs +1626 -0
- package/dist/{edit-zFZfd8e1.mjs → edit-CCrekeeb.mjs} +1 -1
- package/dist/{edit-CE3u81Q0.mjs → edit-DdzPtYyH.mjs} +1 -1
- package/dist/edit-Dn-QMuy6.mjs +4 -0
- package/dist/edit-FdqpKRgF.mjs +294 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs → edit.vue_vue_type_script_setup_true_lang-BP4-GiBE.mjs} +152 -145
- package/dist/edit.vue_vue_type_script_setup_true_lang-CkBAP9Bk.mjs +547 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-IWUY0BmY.mjs +278 -0
- package/dist/index copy-CxTCJcvX.mjs +75 -0
- package/dist/index-B4vUTwSW.mjs +171 -0
- package/dist/index-BK24yagy.mjs +1663 -0
- package/dist/index-BW-5IuVN.mjs +91 -0
- package/dist/index-BWwU9hSp.mjs +320 -0
- package/dist/index-BvKWLFdr.mjs +345 -0
- package/dist/index-BwbnYpa1.mjs +29 -0
- package/dist/index-C5_f5Lce.mjs +213 -0
- package/dist/index-CSMEsPcN.mjs +432 -0
- package/dist/index-CgAq70-p.mjs +314 -0
- package/dist/index-CugJCeed.mjs +373 -0
- package/dist/index-DElPNxc7.mjs +398 -0
- package/dist/index-De4u-LEl.mjs +325 -0
- package/dist/index-Dyo7je0Z.mjs +38 -0
- package/dist/index-FUnFB7nG.mjs +61 -0
- package/dist/index-GhvyIwc3.mjs +4 -0
- package/dist/index-axEqTssj.mjs +378 -0
- package/dist/index-jOcS7tqC.mjs +311 -0
- package/dist/index-pfeu6d82.mjs +4 -0
- package/dist/index.mjs +2753 -35
- package/dist/index.vue_vue_type_script_setup_true_lang-BhVtd4iX.mjs +110 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dh1DZzIU.mjs +54 -0
- package/dist/index/345/244/207/344/273/275-BfKo5eBT.mjs +323 -0
- package/dist/style.css +1 -1
- package/dts/api/asset/asset-asset/index.d.ts +10 -5
- package/dts/api/asset/asset-asset/types.d.ts +39 -23
- package/dts/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +1 -12
- package/dts/api/asset/asset-service-appt-member/types.d.ts +1 -44
- package/dts/api/asset/asset-service-appt-record/index.d.ts +1 -12
- package/dts/api/asset/asset-service-appt-record/types.d.ts +7 -68
- package/dts/api/asset/asset-site/index.d.ts +1 -2
- package/dts/api/asset/asset-site/types.d.ts +4 -14
- package/dts/api/asset/asset-site-service/index.d.ts +1 -2
- package/dts/api/asset/asset-site-service/types.d.ts +1 -0
- package/dts/api/asset/text/index.d.ts +140 -0
- package/dts/api/asset/text/types.d.ts +179 -0
- package/dts/api/dict.d.ts +1 -4
- package/dts/api/index.d.ts +2 -0
- package/dts/components/{TMaps → PeopleSelectAsset}/index.vue.d.ts +5 -7
- package/dts/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/components/deptPeopleSelectAsset/index.vue.d.ts +14 -0
- package/dts/constant.d.ts +4 -1
- package/dts/index.d.ts +3 -1
- package/dts/lang/asset/zh-cn.d.ts +60 -1
- package/dts/router/page.d.ts +6 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +10 -5
- package/dts/src/api/asset/asset-asset/types.d.ts +39 -23
- package/dts/src/api/asset/asset-asset-detail/index.d.ts +12 -0
- package/dts/src/api/asset/asset-asset-detail/types.d.ts +56 -0
- package/dts/src/api/asset/asset-depreciation-record/index.d.ts +11 -0
- package/dts/src/api/asset/asset-depreciation-record/types.d.ts +38 -0
- package/dts/src/api/asset/asset-inventory-record/index.d.ts +10 -0
- package/dts/src/api/asset/asset-inventory-record/types.d.ts +62 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +1 -44
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +1 -12
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +7 -68
- package/dts/src/api/asset/asset-site/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site/types.d.ts +4 -14
- package/dts/src/api/asset/asset-site-service/index.d.ts +1 -2
- package/dts/src/api/asset/asset-site-service/types.d.ts +1 -0
- package/dts/src/api/asset/text/index.d.ts +0 -0
- package/dts/src/api/asset/text/types.d.ts +0 -0
- package/dts/src/api/dict.d.ts +1 -4
- package/dts/src/api/index.d.ts +2 -0
- package/dts/src/components/PeopleSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +1 -1
- package/dts/src/components copy/PeopleSelect/index.vue.d.ts +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 2.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy 22.vue.d.ts" +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index copy.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/index/345/215/225/351/200/211/346/241/206/346/234/200/346/226/260.vue.d.ts" +34 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275/tree/351/200/211/346/213/251/346/241/206/344/270/215/345/261/225/347/244/272/346/225/260/346/215/256,/344/270/213/346/226/271/351/242/204/350/247/210/346/225/260/346/215/256.vue.d.ts" +18 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//345/217/214/351/200/211/346/213/251.vue.d.ts" +42 -0
- package/dts/src/components copy/PeopleSelect//345/244/207/344/273/275//351/200/211/346/213/251/344/272/272/345/221/230/index.vue.d.ts" +34 -0
- package/dts/src/components copy/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/src/components copy/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/src/constant.d.ts +4 -1
- package/dts/src/index.d.ts +3 -1
- package/dts/src/lang/asset/zh-cn.d.ts +59 -1
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/momentPlugin.d.ts +5 -0
- package/dts/{views/asset/asset-service-appt-member/edit.vue.d.ts → src/views/asset/asset-asset/assign.vue.d.ts} +14 -7
- package/dts/src/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/{asset-service-appt-member → asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/src/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/src/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/asset/{asset-service-appt-record/edit.vue.d.ts → asset-asset/assign.vue.d.ts} +14 -7
- package/dts/views/asset/asset-asset/info/index.vue.d.ts +2 -0
- package/dts/{src/views/asset/asset-service-appt-record → views/asset/asset-asset-detail}/edit.vue.d.ts +5 -7
- package/dts/views/asset/asset-asset-detail/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-depreciation-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/dialogSelect/index.vue.d.ts +6 -0
- package/dts/views/asset/asset-inventory-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/indexOld.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/index/345/244/207/344/273/275.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index copy.vue.d.ts +2 -0
- package/dts/views/asset/asset-inventory-record/text/index.vue.d.ts +2 -0
- package/package.json +7 -6
- package/dist/edit-Bo9bnbUP.mjs +0 -492
- package/dist/edit-DJFxVmvv.mjs +0 -624
- package/dist/edit-qp_2xtTZ.mjs +0 -242
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +0 -322
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +0 -1
- package/dist/index-Bf5U4Ucl.mjs +0 -369
- package/dist/index-Bh2imlN_.mjs +0 -149
- package/dist/index-CHNiaFZk.mjs +0 -291
- package/dist/index-CmlP_Rro.mjs +0 -332
- package/dist/index-Cqw_E8lr.mjs +0 -1269
- package/dist/index-DA_FS24d.mjs +0 -146
- package/dist/index-DKmGNvQl.mjs +0 -370
- package/dist/index-DLxpE9s5.mjs +0 -305
- package/dist/index-DWaL87j5.mjs +0 -89
- package/dist/index-jOnQLJaB.mjs +0 -416
- package/dist/index-pyyjj1xa.mjs +0 -187
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +0 -37
- package/dts/api/org/union-org/index.d.ts +0 -14
- package/dts/api/org/union-org/types.d.ts +0 -49
- package/dts/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/components/EnumSelect/index.vue.d.ts +0 -18
- package/dts/src/api/org/union-org/index.d.ts +0 -14
- package/dts/src/api/org/union-org/types.d.ts +0 -49
- package/dts/src/components/EnumRadio/index.vue.d.ts +0 -18
- package/dts/src/components/EnumSelect/index.vue.d.ts +0 -18
- /package/dts/{views/asset/asset-service-appt-member → src/components/deptPeopleSelect}/index.vue.d.ts +0 -0
- /package/dts/src/{views/asset/asset-service-appt-member → components copy/deptPeopleSelect}/index.vue.d.ts +0 -0
package/dts/views/asset/{asset-service-appt-record/edit.vue.d.ts → asset-asset/assign.vue.d.ts}
RENAMED
@@ -1,22 +1,29 @@
|
|
1
|
-
import type {
|
2
|
-
import type { ServiceApptRecordKey } from "@/api/asset/asset-service-appt-record/types";
|
1
|
+
import type { AssetKey } from "@/api/asset/asset-asset/types";
|
3
2
|
declare const _default: import("vue").DefineComponent<{
|
4
|
-
modelValue: PropType<boolean>;
|
3
|
+
modelValue: globalThis.PropType<boolean>;
|
5
4
|
entityKey: {
|
6
|
-
type: PropType<
|
5
|
+
type: globalThis.PropType<AssetKey>;
|
7
6
|
default: () => void;
|
8
7
|
};
|
8
|
+
numberList: {
|
9
|
+
type: ObjectConstructor;
|
10
|
+
required: true;
|
11
|
+
};
|
9
12
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
13
|
refresh: (...args: any[]) => void;
|
11
14
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
-
modelValue: PropType<boolean>;
|
15
|
+
modelValue: globalThis.PropType<boolean>;
|
13
16
|
entityKey: {
|
14
|
-
type: PropType<
|
17
|
+
type: globalThis.PropType<AssetKey>;
|
15
18
|
default: () => void;
|
16
19
|
};
|
20
|
+
numberList: {
|
21
|
+
type: ObjectConstructor;
|
22
|
+
required: true;
|
23
|
+
};
|
17
24
|
}>> & {
|
18
25
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
26
|
}, {
|
20
|
-
entityKey:
|
27
|
+
entityKey: AssetKey;
|
21
28
|
}, {}>;
|
22
29
|
export default _default;
|
@@ -1,22 +1,20 @@
|
|
1
|
-
import type { PropType } from "vue";
|
2
|
-
import type { ServiceApptRecordKey } from "@/api/asset/asset-service-appt-record/types";
|
3
1
|
declare const _default: import("vue").DefineComponent<{
|
4
|
-
modelValue: PropType<boolean>;
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
5
3
|
entityKey: {
|
6
|
-
type:
|
4
|
+
type: ObjectConstructor;
|
7
5
|
default: () => void;
|
8
6
|
};
|
9
7
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
8
|
refresh: (...args: any[]) => void;
|
11
9
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
-
modelValue: PropType<boolean>;
|
10
|
+
modelValue: globalThis.PropType<boolean>;
|
13
11
|
entityKey: {
|
14
|
-
type:
|
12
|
+
type: ObjectConstructor;
|
15
13
|
default: () => void;
|
16
14
|
};
|
17
15
|
}>> & {
|
18
16
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
17
|
}, {
|
20
|
-
entityKey:
|
18
|
+
entityKey: Record<string, any>;
|
21
19
|
}, {}>;
|
22
20
|
export default _default;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
modelValue: globalThis.PropType<boolean>;
|
3
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
4
|
+
modelValue: globalThis.PropType<boolean>;
|
5
|
+
}>>, {}, {}>;
|
6
|
+
export default _default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "xyvcard-asset",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.10",
|
4
4
|
"private": false,
|
5
5
|
"module": "dist/index.mjs",
|
6
6
|
"types": "dts/index.d.ts",
|
@@ -15,9 +15,9 @@
|
|
15
15
|
"vue": "^3.4.21",
|
16
16
|
"vue-i18n": "^9.10.1",
|
17
17
|
"vue-router": "^4.3.0",
|
18
|
-
"jmash-core": "^0.0.
|
19
|
-
"jmash-
|
20
|
-
"jmash-
|
18
|
+
"jmash-core": "^0.0.95",
|
19
|
+
"jmash-dict": "^0.0.39",
|
20
|
+
"jmash-rbac": "file:jmash-rbac-0.0.21.tgz"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@rushstack/eslint-patch": "^1.3.3",
|
@@ -36,7 +36,8 @@
|
|
36
36
|
"unplugin-auto-import": "^0.17.5",
|
37
37
|
"unplugin-vue-components": "^0.26.0",
|
38
38
|
"vite": "^5.0.11",
|
39
|
-
"vue-tsc": "^1.8.27"
|
39
|
+
"vue-tsc": "^1.8.27",
|
40
|
+
"moment": "^2.30.1"
|
40
41
|
},
|
41
42
|
"dependencies": {
|
42
43
|
"@element-plus/icons-vue": "^2.3.1",
|
@@ -48,7 +49,7 @@
|
|
48
49
|
"viewerjs": "^1.11.6"
|
49
50
|
},
|
50
51
|
"scripts": {
|
51
|
-
"dev": "vite",
|
52
|
+
"dev": "vite --host",
|
52
53
|
"build": "vite build && pnpm build:dts",
|
53
54
|
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
54
55
|
"preview": "vite preview",
|
package/dist/edit-Bo9bnbUP.mjs
DELETED
@@ -1,492 +0,0 @@
|
|
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
|
-
};
|