xyvcard-asset 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/README.md +52 -0
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  3. package/dist/common-kbgEWG-E.mjs +24 -0
  4. package/dist/edit-Bo9bnbUP.mjs +492 -0
  5. package/dist/edit-CE3u81Q0.mjs +4 -0
  6. package/dist/edit-DJFxVmvv.mjs +624 -0
  7. package/dist/edit-qp_2xtTZ.mjs +242 -0
  8. package/dist/edit-zFZfd8e1.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
  11. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
  12. package/dist/favicon.ico +0 -0
  13. package/dist/index-Bf5U4Ucl.mjs +369 -0
  14. package/dist/index-Bh2imlN_.mjs +149 -0
  15. package/dist/index-CHNiaFZk.mjs +291 -0
  16. package/dist/index-CmlP_Rro.mjs +332 -0
  17. package/dist/index-Cqw_E8lr.mjs +1269 -0
  18. package/dist/index-DA_FS24d.mjs +146 -0
  19. package/dist/index-DKmGNvQl.mjs +370 -0
  20. package/dist/index-DLxpE9s5.mjs +305 -0
  21. package/dist/index-DWaL87j5.mjs +89 -0
  22. package/dist/index-jOnQLJaB.mjs +416 -0
  23. package/dist/index-pyyjj1xa.mjs +187 -0
  24. package/dist/index.mjs +144 -0
  25. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
  26. package/dist/style.css +1 -0
  27. package/dts/App.vue.d.ts +2 -0
  28. package/dts/api/asset/asset-asset/index.d.ts +20 -0
  29. package/dts/api/asset/asset-asset/types.d.ts +93 -0
  30. package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
  31. package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
  32. package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
  33. package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
  34. package/dts/api/asset/asset-site/index.d.ts +15 -0
  35. package/dts/api/asset/asset-site/types.d.ts +81 -0
  36. package/dts/api/asset/asset-site-service/index.d.ts +14 -0
  37. package/dts/api/asset/asset-site-service/types.d.ts +80 -0
  38. package/dts/api/dict.d.ts +22 -0
  39. package/dts/api/index.d.ts +14 -0
  40. package/dts/api/org/union-org/index.d.ts +14 -0
  41. package/dts/api/org/union-org/types.d.ts +49 -0
  42. package/dts/components/EnumRadio/index.vue.d.ts +18 -0
  43. package/dts/components/EnumSelect/index.vue.d.ts +18 -0
  44. package/dts/components/TMaps/index.vue.d.ts +20 -0
  45. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  46. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  47. package/dts/constant.d.ts +16 -0
  48. package/dts/index.d.ts +4 -0
  49. package/dts/lang/asset/en.d.ts +2 -0
  50. package/dts/lang/asset/zh-cn.d.ts +91 -0
  51. package/dts/lang/index.d.ts +1 -0
  52. package/dts/main.d.ts +4 -0
  53. package/dts/permission.d.ts +1 -0
  54. package/dts/router/page.d.ts +2 -0
  55. package/dts/src/App.vue.d.ts +2 -0
  56. package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
  57. package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
  58. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
  59. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
  60. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
  61. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
  62. package/dts/src/api/asset/asset-site/index.d.ts +15 -0
  63. package/dts/src/api/asset/asset-site/types.d.ts +81 -0
  64. package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
  65. package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
  66. package/dts/src/api/dict.d.ts +22 -0
  67. package/dts/src/api/index.d.ts +14 -0
  68. package/dts/src/api/org/union-org/index.d.ts +14 -0
  69. package/dts/src/api/org/union-org/types.d.ts +49 -0
  70. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  71. package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
  72. package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
  73. package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
  74. package/dts/src/constant.d.ts +16 -0
  75. package/dts/src/index.d.ts +4 -0
  76. package/dts/src/lang/asset/en.d.ts +2 -0
  77. package/dts/src/lang/asset/zh-cn.d.ts +91 -0
  78. package/dts/src/lang/index.d.ts +1 -0
  79. package/dts/src/main.d.ts +4 -0
  80. package/dts/src/permission.d.ts +1 -0
  81. package/dts/src/router/page.d.ts +4 -0
  82. package/dts/src/utils/common.d.ts +51 -0
  83. package/dts/src/utils/index.d.ts +24 -0
  84. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
  85. package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
  86. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  87. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  88. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  89. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  90. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  91. package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
  92. package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
  93. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
  94. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  95. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
  96. package/dts/tsconfig.tsbuildinfo +1 -0
  97. package/dts/utils/common.d.ts +51 -0
  98. package/dts/utils/index.d.ts +24 -0
  99. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  100. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  101. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  102. package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  103. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  104. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  105. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  106. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  107. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  108. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  109. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  110. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  111. package/package.json +60 -0
package/dist/index.mjs ADDED
@@ -0,0 +1,144 @@
1
+ import { Layout as a, addViteMenus as r, addDynamicRoute as o, i18n as n } from "jmash-core";
2
+ const d = () => import("./index-DWaL87j5.mjs"), u = () => import("./index-pyyjj1xa.mjs"), m = [
3
+ {
4
+ path: "/asset",
5
+ component: a,
6
+ name: "asset",
7
+ meta: {
8
+ hidden: !0
9
+ },
10
+ children: [
11
+ {
12
+ path: "asset/asset-site/info",
13
+ component: d,
14
+ name: "AssetSiteInfo",
15
+ meta: {
16
+ hidden: !0,
17
+ title: "场地管理",
18
+ icon: ""
19
+ // roleCode: "admin",
20
+ // permCode: "union:union_member:update",
21
+ }
22
+ },
23
+ {
24
+ path: "asset/asset-service-appt-record/info",
25
+ component: u,
26
+ name: "AssetServiceApptRecordInfo",
27
+ meta: {
28
+ hidden: !0,
29
+ title: "预约记录",
30
+ icon: ""
31
+ // roleCode: "jcgh",
32
+ // permCode: "teams:teams_info:view",
33
+ }
34
+ }
35
+ ]
36
+ }
37
+ ], c = {}, p = {
38
+ // 场地管理
39
+ site: {
40
+ orgId: "所属工会",
41
+ orgIdRequired: "请输入所属工会",
42
+ name: "场地名称",
43
+ nameRequired: "请输入场地名称",
44
+ status: "状态",
45
+ statusRequired: "启用/禁用",
46
+ siteQrcode: "场地码",
47
+ address: "场地地址",
48
+ addressRequired: "请输入场地地址",
49
+ buildDate: "建成时间",
50
+ buildDateRequired: "建成时间",
51
+ area: "面积/㎡",
52
+ manager: "管理员姓名",
53
+ managerRequired: "请输入管理员姓名",
54
+ mobilePhone: "手机号",
55
+ mobilePhoneRequired: "请输入手机号"
56
+ },
57
+ // 预约项目
58
+ siteService: {
59
+ orgId: "所属工会",
60
+ orgIdRequired: "请选择所属工会",
61
+ siteId: "场地名称",
62
+ siteIdRequired: "请输入场地名称",
63
+ serviceName: "预约项目",
64
+ serviceNameRequired: "请输入预约项目",
65
+ status: "项目状态",
66
+ statusRequired: "请选择项目状态",
67
+ limitPerson: "限制人流",
68
+ limitPersonRequired: "请输入限制人流",
69
+ manager: "项目管理员",
70
+ managerRequired: "请选择管理员姓名",
71
+ day: "可预约天数",
72
+ dayRequired: "请输入可预约天数",
73
+ time: "可预约时间段",
74
+ note: "预约规则说明",
75
+ noteRequired: "请输入预约规则说明",
76
+ startTime: "开始时间",
77
+ endTime: "结束时间"
78
+ },
79
+ // 预约记录
80
+ serviceApptRecord: {
81
+ orgId: "所属工会",
82
+ orgIdRequired: "请选择所属工会",
83
+ siteId: "场地名称",
84
+ siteIdRequired: "请选择场地名称",
85
+ serviceName: "预约项目",
86
+ serviceNameRequired: "请输入预约项目",
87
+ startDate: "开始时间",
88
+ endDate: "结束时间",
89
+ appointmentDate: "预约日期",
90
+ time: "可预约时间段",
91
+ limitPerson: "限制人流(单位/人)",
92
+ apptPerson: "已预约人数(单位/人)",
93
+ signPerson: "已签到人数(单位/人)"
94
+ },
95
+ serviceApptMember: {
96
+ realName: "会员姓名",
97
+ status: "状态"
98
+ },
99
+ // 资产管理
100
+ asset: {
101
+ name: "资产名称",
102
+ nameRequired: "请输入资产名称",
103
+ assetSort: "资产属性",
104
+ assetSortRequired: "请选择资产属性",
105
+ assignStatus: "分配状态",
106
+ assignStatusRequired: "请选择分配状态",
107
+ code: "资产编号",
108
+ codeRequired: "请输入资产编号",
109
+ numberUnit: "数量及单位",
110
+ number: "数量",
111
+ numberRequired: "请输入数量",
112
+ buyDate: "购买日期",
113
+ buyMoney: "单价",
114
+ buyMoneyRequired: "请输入单价",
115
+ depreciationType: "折旧方式",
116
+ unit: "单位",
117
+ unitRequired: "请输入单位",
118
+ oldMoney: "资产原值",
119
+ oldMoneyRequired: "请输入资产原值",
120
+ useLimit: "折旧年限",
121
+ useLimitRequired: "请输入折旧年限",
122
+ netSalvage: "预支净产值",
123
+ netSalvageRequired: "请输入预支净产值",
124
+ monthDepreciation: "月折旧额",
125
+ monthDepreciationRequired: "请输入月折旧额",
126
+ totalDepreciation: "总折旧额",
127
+ totalDepreciationRequired: "请输入总折旧额",
128
+ buyDateRequired: "请选择购买日期"
129
+ }
130
+ };
131
+ function l(e) {
132
+ let t = e.global.getLocaleMessage("zh-cn");
133
+ t = Object.assign(t, p);
134
+ let s = e.global.getLocaleMessage("en");
135
+ s = Object.assign(s, c), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", s);
136
+ }
137
+ const i = /* @__PURE__ */ Object.assign({ "./views/asset/asset-asset/edit.vue": () => import("./edit-DJFxVmvv.mjs").then((e) => e.e), "./views/asset/asset-asset/index.vue": () => import("./index-jOnQLJaB.mjs"), "./views/asset/asset-service-appt-member/edit.vue": () => import("./edit-qp_2xtTZ.mjs"), "./views/asset/asset-service-appt-member/index.vue": () => import("./index-DKmGNvQl.mjs"), "./views/asset/asset-service-appt-record/edit.vue": () => import("./edit-Bo9bnbUP.mjs"), "./views/asset/asset-service-appt-record/index.vue": () => import("./index-CHNiaFZk.mjs"), "./views/asset/asset-service-appt-record/info/index.vue": () => import("./index-pyyjj1xa.mjs"), "./views/asset/asset-site-service/edit.vue": () => import("./edit-CE3u81Q0.mjs"), "./views/asset/asset-site-service/index.vue": () => import("./index-CmlP_Rro.mjs"), "./views/asset/asset-site/edit.vue": () => import("./edit-zFZfd8e1.mjs"), "./views/asset/asset-site/index.vue": () => import("./index-Bf5U4Ucl.mjs"), "./views/asset/asset-site/info/index.vue": () => import("./index-DWaL87j5.mjs") }), R = {
138
+ install() {
139
+ console.log(i), r(i, 7), o(m), l(n);
140
+ }
141
+ };
142
+ export {
143
+ R as default
144
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as s, mergeModels as p, useModel as c, resolveComponent as a, openBlock as l, createBlock as u, withCtx as i, createElementBlock as _, Fragment as f, renderList as k, unref as v } from "vue";
2
+ const B = /* @__PURE__ */ s({
3
+ __name: "index",
4
+ props: /* @__PURE__ */ p({
5
+ data: {
6
+ type: Object,
7
+ default: function() {
8
+ }
9
+ }
10
+ }, {
11
+ modelValue: { type: [String, Boolean] },
12
+ modelModifiers: {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(o) {
16
+ const t = c(o, "modelValue"), r = o.data;
17
+ return (y, n) => {
18
+ const d = a("el-option"), m = a("el-select");
19
+ return l(), u(m, {
20
+ modelValue: t.value,
21
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => t.value = e)
22
+ }, {
23
+ default: i(() => [
24
+ (l(!0), _(f, null, k(v(r), (e) => (l(), u(d, {
25
+ key: e.key,
26
+ label: e.value,
27
+ value: e.key
28
+ }, null, 8, ["label", "value"]))), 128))
29
+ ]),
30
+ _: 1
31
+ }, 8, ["modelValue"]);
32
+ };
33
+ }
34
+ });
35
+ export {
36
+ B as _
37
+ };
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .position-center[data-v-84f6d27c]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-84f6d27c]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-198fdb2f]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-198fdb2f]{position:absolute;right:0;top:0;margin-top:8px}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { AssetApi, AssetReq, AssetModel, AssetPage, AssetList, AssetKey, AssetCreateReq, AssetUpdateReq, AssetExportReq, AssetImportReq } from "./types";
3
+ declare class AssetApiImpl implements AssetApi {
4
+ getKey(model: AssetModel): AssetKey;
5
+ findPage(query?: AssetReq): AxiosPromise<AssetPage>;
6
+ findList(query?: AssetReq): AxiosPromise<AssetList>;
7
+ findById(query: AssetKey): AxiosPromise<AssetModel>;
8
+ create(data: AssetCreateReq): AxiosPromise<AssetModel>;
9
+ update: (data: AssetUpdateReq) => AxiosPromise<AssetModel>;
10
+ move(key: AssetKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: AssetKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: AssetKey): AxiosPromise<AssetModel>;
13
+ batchDelete(keys: AssetKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: AssetImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: AssetExportReq): AxiosPromise;
17
+ exportPdf(queryParams: AssetExportReq): AxiosPromise;
18
+ }
19
+ declare const assetApi: AssetApiImpl;
20
+ export { assetApi };
@@ -0,0 +1,93 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface AssetApi extends EntityApi {
3
+ }
4
+ export interface AssetReq extends EntityReq {
5
+ name?: string;
6
+ assetSort?: string;
7
+ assignStatus?: boolean;
8
+ likeName?: string;
9
+ }
10
+ export interface AssetModel extends EntityModel {
11
+ name?: string;
12
+ assetId?: string;
13
+ assetSort?: string;
14
+ code?: string;
15
+ number?: number;
16
+ unit?: string;
17
+ buyDate?: string;
18
+ buyMoney?: string;
19
+ oldMoney?: string;
20
+ depreciationType?: string;
21
+ useLimit?: number;
22
+ monthDepreciation?: string;
23
+ totalDepreciation?: string;
24
+ }
25
+ export interface AssetList extends EntityList {
26
+ results: Array<AssetModel>;
27
+ }
28
+ export interface AssetPage extends EntityPage {
29
+ results: Array<AssetModel>;
30
+ subTotalDto: AssetModelTotal;
31
+ totalDto: AssetModelTotal;
32
+ }
33
+ export interface AssetModelTotal extends EntityTotal {
34
+ totalSize: number;
35
+ }
36
+ export interface AssetKey extends EntityKey {
37
+ tenant?: string;
38
+ assetId?: string;
39
+ }
40
+ export interface AssetKeyList extends EntityKeyList {
41
+ tenant?: string;
42
+ assetId?: Array<string>;
43
+ }
44
+ export interface AssetCreateReq extends EntityCreateReq {
45
+ assetId?: string;
46
+ name?: string;
47
+ assetSort?: string;
48
+ code?: string;
49
+ number?: number;
50
+ unit?: string;
51
+ model?: string;
52
+ buyDate?: string;
53
+ buyMoney?: string;
54
+ oldMoney?: string;
55
+ depreciationType?: string;
56
+ useLimit?: number;
57
+ netSalvage?: string;
58
+ monthDepreciation?: string;
59
+ totalDepreciation?: string;
60
+ }
61
+ export interface AssetUpdateReq extends EntityUpdateReq {
62
+ assetId?: string;
63
+ name?: string;
64
+ assetSort?: string;
65
+ code?: string;
66
+ number?: number;
67
+ unit?: string;
68
+ model?: string;
69
+ buyDate?: string;
70
+ buyMoney?: string;
71
+ oldMoney?: string;
72
+ depreciationType?: string;
73
+ useLimit?: number;
74
+ netSalvage?: string;
75
+ monthDepreciation?: string;
76
+ totalDepreciation?: string;
77
+ }
78
+ export type AssetFormReq = AssetCreateReq | AssetUpdateReq;
79
+ export interface AssetExportReq extends EntityExportReq {
80
+ req: AssetReq;
81
+ }
82
+ export interface AssetImportReq extends EntityImportReq {
83
+ }
84
+ export interface AssetMoveKey {
85
+ tenant?: string;
86
+ assetId?: string;
87
+ up?: boolean;
88
+ }
89
+ export interface AssetEnableKey {
90
+ tenant?: string;
91
+ assetId?: string;
92
+ enable?: boolean;
93
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ServiceApptMemberApi, ServiceApptMemberReq, ServiceApptMemberModel, ServiceApptMemberPage, ServiceApptMemberList, ServiceApptMemberKey, ServiceApptMemberCreateReq, ServiceApptMemberUpdateReq, ServiceApptMemberExportReq, ServiceApptMemberImportReq } from "./types";
3
+ declare class ServiceApptMemberApiImpl implements ServiceApptMemberApi {
4
+ getKey(model: ServiceApptMemberModel): ServiceApptMemberKey;
5
+ findPage(query?: ServiceApptMemberReq): AxiosPromise<ServiceApptMemberPage>;
6
+ findList(query?: ServiceApptMemberReq): AxiosPromise<ServiceApptMemberList>;
7
+ findById(query: ServiceApptMemberKey): AxiosPromise<ServiceApptMemberModel>;
8
+ create(data: ServiceApptMemberCreateReq): AxiosPromise<ServiceApptMemberModel>;
9
+ update: (data: ServiceApptMemberUpdateReq) => AxiosPromise<ServiceApptMemberModel>;
10
+ move(key: ServiceApptMemberKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ServiceApptMemberKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ServiceApptMemberKey): AxiosPromise<ServiceApptMemberModel>;
13
+ batchDelete(keys: ServiceApptMemberKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ServiceApptMemberImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ServiceApptMemberExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ServiceApptMemberExportReq): AxiosPromise;
18
+ }
19
+ declare const serviceApptMemberApi: ServiceApptMemberApiImpl;
20
+ export { serviceApptMemberApi };
@@ -0,0 +1,71 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface ServiceApptMemberApi extends EntityApi {
3
+ }
4
+ export interface ServiceApptMemberReq extends EntityReq {
5
+ recordId?: string;
6
+ memberId?: string;
7
+ realName?: string;
8
+ status?: string;
9
+ statusTime?: string;
10
+ }
11
+ export interface ServiceApptMemberModel extends EntityModel {
12
+ recordId?: string;
13
+ memberId?: string;
14
+ realName?: string;
15
+ status?: string;
16
+ statusTime?: string;
17
+ }
18
+ export interface ServiceApptMemberList extends EntityList {
19
+ results: Array<ServiceApptMemberModel>;
20
+ }
21
+ export interface ServiceApptMemberPage extends EntityPage {
22
+ results: Array<ServiceApptMemberModel>;
23
+ subTotalDto: ServiceApptMemberModelTotal;
24
+ totalDto: ServiceApptMemberModelTotal;
25
+ }
26
+ export interface ServiceApptMemberModelTotal extends EntityTotal {
27
+ totalSize: number;
28
+ }
29
+ export interface ServiceApptMemberKey extends EntityKey {
30
+ serviceApptMemberPk: any;
31
+ tenant?: string;
32
+ recordId?: string;
33
+ memberId?: string;
34
+ }
35
+ export interface ServiceApptMemberKeyList extends EntityKeyList {
36
+ tenant?: string;
37
+ serviceApptMemberKey?: Array<ServiceApptMemberKey>;
38
+ }
39
+ export interface ServiceApptMemberCreateReq extends EntityCreateReq {
40
+ recordId?: string;
41
+ memberId?: string;
42
+ realName?: string;
43
+ status?: string;
44
+ statusTime?: string;
45
+ }
46
+ export interface ServiceApptMemberUpdateReq extends EntityUpdateReq {
47
+ recordId?: string;
48
+ memberId?: string;
49
+ realName?: string;
50
+ status?: string;
51
+ statusTime?: string;
52
+ }
53
+ export type ServiceApptMemberFormReq = ServiceApptMemberCreateReq | ServiceApptMemberUpdateReq;
54
+ export interface ServiceApptMemberExportReq extends EntityExportReq {
55
+ req: ServiceApptMemberReq;
56
+ }
57
+ export interface ServiceApptMemberImportReq extends EntityImportReq {
58
+ tenant: any;
59
+ }
60
+ export interface ServiceApptMemberMoveKey {
61
+ tenant?: string;
62
+ recordId?: string;
63
+ memberId?: string;
64
+ up?: boolean;
65
+ }
66
+ export interface ServiceApptMemberEnableKey {
67
+ tenant?: string;
68
+ recordId?: string;
69
+ memberId?: string;
70
+ enable?: boolean;
71
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ServiceApptRecordApi, ServiceApptRecordReq, ServiceApptRecordModel, ServiceApptRecordPage, ServiceApptRecordList, ServiceApptRecordKey, ServiceApptRecordCreateReq, ServiceApptRecordUpdateReq, ServiceApptRecordExportReq, ServiceApptRecordImportReq } from "./types";
3
+ declare class ServiceApptRecordApiImpl implements ServiceApptRecordApi {
4
+ getKey(model: ServiceApptRecordModel): ServiceApptRecordKey;
5
+ findPage(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordPage>;
6
+ findList(query?: ServiceApptRecordReq): AxiosPromise<ServiceApptRecordList>;
7
+ findById(query: ServiceApptRecordKey): AxiosPromise<ServiceApptRecordModel>;
8
+ create(data: ServiceApptRecordCreateReq): AxiosPromise<ServiceApptRecordModel>;
9
+ update: (data: ServiceApptRecordUpdateReq) => AxiosPromise<ServiceApptRecordModel>;
10
+ move(key: ServiceApptRecordKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ServiceApptRecordKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ServiceApptRecordKey): AxiosPromise<ServiceApptRecordModel>;
13
+ batchDelete(keys: ServiceApptRecordKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ServiceApptRecordImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ServiceApptRecordExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ServiceApptRecordExportReq): AxiosPromise;
18
+ }
19
+ declare const serviceApptRecordApi: ServiceApptRecordApiImpl;
20
+ export { serviceApptRecordApi };
@@ -0,0 +1,98 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { EpPropMergeType } from "element-plus/es/utils/index.mjs";
3
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
4
+ export interface ServiceApptRecordApi extends EntityApi {
5
+ update(arg0: ServiceApptRecordUpdateReq): AxiosPromise<EntityModel>;
6
+ }
7
+ export interface ServiceApptRecordReq extends EntityReq {
8
+ orgId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
9
+ appointmentDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
10
+ siteId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
11
+ serviceId?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
12
+ likeServiceName?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
13
+ endDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
14
+ startDate?: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined))[], unknown, unknown>;
15
+ }
16
+ export interface ServiceApptRecordModel extends EntityModel {
17
+ recordId?: string;
18
+ limitId?: string;
19
+ orgId?: string;
20
+ orgName?: string;
21
+ siteId?: string;
22
+ siteName?: string;
23
+ serviceId?: string;
24
+ serviceName?: string;
25
+ appointmentDate?: string;
26
+ startDate?: string;
27
+ endTime?: string;
28
+ limitPerson?: number;
29
+ apptPerson?: number;
30
+ signPerson?: number;
31
+ }
32
+ export interface ServiceApptRecordList extends EntityList {
33
+ results: Array<ServiceApptRecordModel>;
34
+ }
35
+ export interface ServiceApptRecordPage extends EntityPage {
36
+ results: Array<ServiceApptRecordModel>;
37
+ subTotalDto: ServiceApptRecordModelTotal;
38
+ totalDto: ServiceApptRecordModelTotal;
39
+ }
40
+ export interface ServiceApptRecordModelTotal extends EntityTotal {
41
+ totalSize: number;
42
+ }
43
+ export interface ServiceApptRecordKey extends EntityKey {
44
+ tenant?: string;
45
+ recordId?: string;
46
+ }
47
+ export interface ServiceApptRecordKeyList extends EntityKeyList {
48
+ tenant?: string;
49
+ recordId?: Array<string>;
50
+ }
51
+ export interface ServiceApptRecordCreateReq extends EntityCreateReq {
52
+ recordId?: string;
53
+ limitId?: string;
54
+ orgId?: string;
55
+ orgName?: string;
56
+ siteId?: string;
57
+ siteName?: string;
58
+ serviceId?: string;
59
+ serviceName?: string;
60
+ appointmentDate?: string;
61
+ startTime?: string;
62
+ endTime?: string;
63
+ limitPerson?: number;
64
+ apptPerson?: number;
65
+ signPerson?: number;
66
+ }
67
+ export interface ServiceApptRecordUpdateReq extends EntityUpdateReq {
68
+ recordId?: string;
69
+ limitId?: string;
70
+ orgId?: string;
71
+ orgName?: string;
72
+ siteId?: string;
73
+ siteName?: string;
74
+ serviceId?: string;
75
+ serviceName?: string;
76
+ appointmentDate?: string;
77
+ startTime?: string;
78
+ endTime?: string;
79
+ limitPerson?: number;
80
+ apptPerson?: number;
81
+ signPerson?: number;
82
+ }
83
+ export type ServiceApptRecordFormReq = ServiceApptRecordCreateReq | ServiceApptRecordUpdateReq;
84
+ export interface ServiceApptRecordExportReq extends EntityExportReq {
85
+ req: ServiceApptRecordReq;
86
+ }
87
+ export interface ServiceApptRecordImportReq extends EntityImportReq {
88
+ }
89
+ export interface ServiceApptRecordMoveKey {
90
+ tenant?: string;
91
+ recordId?: string;
92
+ up?: boolean;
93
+ }
94
+ export interface ServiceApptRecordEnableKey {
95
+ tenant?: string;
96
+ recordId?: string;
97
+ enable?: boolean;
98
+ }
@@ -0,0 +1,15 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { SiteApi, SiteReq, SiteModel, SitePage, SiteList, SiteKey, SiteCreateReq, SiteUpdateReq } from "./types";
3
+ declare class SiteApiImpl implements SiteApi {
4
+ getKey(model: SiteModel): SiteKey;
5
+ findPage(query?: SiteReq): AxiosPromise<SitePage>;
6
+ findList(query?: SiteReq): AxiosPromise<SiteList>;
7
+ findById(query: SiteKey): AxiosPromise<SiteModel>;
8
+ create(data: SiteCreateReq): AxiosPromise<SiteModel>;
9
+ update: (data: SiteUpdateReq) => AxiosPromise<SiteModel>;
10
+ enable(key: SiteKey, enable: boolean): AxiosPromise<boolean>;
11
+ delete(query: SiteKey): AxiosPromise<SiteModel>;
12
+ batchDelete(keys: SiteKey[]): AxiosPromise<number>;
13
+ }
14
+ declare const siteApi: SiteApiImpl;
15
+ export { siteApi };
@@ -0,0 +1,81 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface SiteApi extends EntityApi {
3
+ }
4
+ export interface SiteReq extends EntityReq {
5
+ orgId?: string;
6
+ likeName?: string;
7
+ status?: true;
8
+ hasStatus?: boolean;
9
+ siteId?: string;
10
+ }
11
+ export interface SiteModel extends EntityModel {
12
+ siteId?: string;
13
+ orgId?: string;
14
+ name?: string;
15
+ address?: string;
16
+ buildDate?: string;
17
+ area?: string;
18
+ status?: boolean;
19
+ manager?: string;
20
+ mobilePhone?: string;
21
+ mobilePhoneIns?: string;
22
+ createBy?: string;
23
+ createTime?: string;
24
+ siteQrcode?: string;
25
+ }
26
+ export interface SiteList extends EntityList {
27
+ results: Array<SiteModel>;
28
+ }
29
+ export interface SitePage extends EntityPage {
30
+ results: Array<SiteModel>;
31
+ subTotalDto: SiteModelTotal;
32
+ totalDto: SiteModelTotal;
33
+ }
34
+ export interface SiteModelTotal extends EntityTotal {
35
+ totalSize: number;
36
+ }
37
+ export interface SiteKey extends EntityKey {
38
+ tenant?: string;
39
+ siteId?: string;
40
+ }
41
+ export interface SiteKeyList extends EntityKeyList {
42
+ tenant?: string;
43
+ siteId?: Array<any>;
44
+ }
45
+ export interface SiteCreateReq extends EntityCreateReq {
46
+ siteId?: string;
47
+ orgId?: string;
48
+ name?: string;
49
+ address?: string;
50
+ buildDate?: string;
51
+ area?: string;
52
+ status?: boolean;
53
+ manager?: string;
54
+ mobilePhone?: string;
55
+ mobilePhoneIns?: string;
56
+ createTime?: string;
57
+ }
58
+ export interface SiteUpdateReq extends EntityUpdateReq {
59
+ siteId?: string;
60
+ orgId?: string;
61
+ name?: string;
62
+ address?: string;
63
+ buildDate?: string;
64
+ area?: string;
65
+ status?: boolean;
66
+ manager?: string;
67
+ mobilePhone?: string;
68
+ mobilePhoneIns?: string;
69
+ createTime?: string;
70
+ }
71
+ export type SiteFormReq = SiteCreateReq | SiteUpdateReq;
72
+ export interface SiteExportReq extends EntityExportReq {
73
+ req: SiteReq;
74
+ }
75
+ export interface SiteImportReq extends EntityImportReq {
76
+ }
77
+ export interface SiteEnableKey {
78
+ tenant?: string;
79
+ siteId?: string;
80
+ enable?: boolean;
81
+ }
@@ -0,0 +1,14 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { SiteServiceApi, SiteServiceReq, SiteServiceModel, SiteServicePage, SiteServiceList, SiteServiceKey, SiteServiceCreateReq, SiteServiceUpdateReq } from "./types";
3
+ declare class SiteServiceApiImpl implements SiteServiceApi {
4
+ getKey(model: SiteServiceModel): SiteServiceKey;
5
+ findPage(query?: SiteServiceReq): AxiosPromise<SiteServicePage>;
6
+ findList(query?: SiteServiceReq): AxiosPromise<SiteServiceList>;
7
+ findById(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
8
+ create(data: SiteServiceCreateReq): AxiosPromise<SiteServiceModel>;
9
+ update: (data: SiteServiceUpdateReq) => AxiosPromise<SiteServiceModel>;
10
+ delete(query: SiteServiceKey): AxiosPromise<SiteServiceModel>;
11
+ batchDelete(keys: SiteServiceKey[]): AxiosPromise<number>;
12
+ }
13
+ declare const siteServiceApi: SiteServiceApiImpl;
14
+ export { siteServiceApi };