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
@@ -0,0 +1,51 @@
|
|
1
|
+
export declare function generateRandomKey(): string;
|
2
|
+
export declare function getDaysInMonth(val?: any): string[];
|
3
|
+
/**
|
4
|
+
* 计算当前时间
|
5
|
+
*
|
6
|
+
* @returns 返回当前时间
|
7
|
+
*/
|
8
|
+
export declare function calculateDate(currentDate: any, year?: number, month?: number, day?: number): {
|
9
|
+
getYear: () => number;
|
10
|
+
getMonth: () => string;
|
11
|
+
getFullDate: () => string;
|
12
|
+
};
|
13
|
+
/**
|
14
|
+
* @returns 返回当前时分秒
|
15
|
+
*/
|
16
|
+
export declare function returnTime(time: any): string;
|
17
|
+
/**
|
18
|
+
* 解析身份证号信息
|
19
|
+
*
|
20
|
+
* @param idNumber 身份证号
|
21
|
+
* @returns 返回包含出生日期和性别等信息的对象
|
22
|
+
*/
|
23
|
+
export declare function parseIdNumber(idNumber: string): {
|
24
|
+
year: string;
|
25
|
+
month: string;
|
26
|
+
day: string;
|
27
|
+
fullDate: string;
|
28
|
+
gender: string;
|
29
|
+
};
|
30
|
+
export declare function isCreditCode(code: string): boolean;
|
31
|
+
/**
|
32
|
+
* 将数字转换为对应的中文数字
|
33
|
+
* @param number 需要转换的数字,必须是0到9之间的整数
|
34
|
+
* @return 返回对应的中文数字字符串
|
35
|
+
*/
|
36
|
+
export declare function numberToChinese(number: number): string | undefined;
|
37
|
+
/**
|
38
|
+
* 递归遍历树结构寻找指定id的节点的子节点。
|
39
|
+
* @param id 要查找的节点的id。
|
40
|
+
* @param node 当前遍历的节点。
|
41
|
+
* @returns 找到的子节点数组,如果未找到则返回空数组。
|
42
|
+
*/
|
43
|
+
export declare function traverseTreeRecursively(id: string, node: any): any;
|
44
|
+
/**
|
45
|
+
* 从传入的对象数组中查找指定key对应的value,并拼接成一个字符串返回
|
46
|
+
*
|
47
|
+
* @param data 对象数组
|
48
|
+
* @param key 需要查找的key
|
49
|
+
* @returns 返回拼接后的字符串
|
50
|
+
*/
|
51
|
+
export declare function treeData(node: any, key?: string): string | null;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Check if an element has a class
|
3
|
+
* @param {HTMLElement} ele
|
4
|
+
* @param {string} cls
|
5
|
+
* @returns {boolean}
|
6
|
+
*/
|
7
|
+
export declare function hasClass(ele: HTMLElement, cls: string): boolean;
|
8
|
+
/**
|
9
|
+
* Add class to element
|
10
|
+
* @param {HTMLElement} ele
|
11
|
+
* @param {string} cls
|
12
|
+
*/
|
13
|
+
export declare function addClass(ele: HTMLElement, cls: string): void;
|
14
|
+
/**
|
15
|
+
* Remove class from element
|
16
|
+
* @param {HTMLElement} ele
|
17
|
+
* @param {string} cls
|
18
|
+
*/
|
19
|
+
export declare function removeClass(ele: HTMLElement, cls: string): void;
|
20
|
+
/**
|
21
|
+
* @param {string} path
|
22
|
+
* @returns {Boolean}
|
23
|
+
*/
|
24
|
+
export declare function isExternal(path: string): boolean;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { AssetKey } from "@/api/asset/asset-asset/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<AssetKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<AssetKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: AssetKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { ServiceApptMemberKey } from "@/api/asset/asset-service-appt-member/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<ServiceApptMemberKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<ServiceApptMemberKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: ServiceApptMemberKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { ServiceApptRecordKey } from "@/api/asset/asset-service-appt-record/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<ServiceApptRecordKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<ServiceApptRecordKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: ServiceApptRecordKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { SiteKey } from "@/api/asset/asset-site/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<SiteKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<SiteKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: SiteKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { SiteServiceKey } from "@/api/asset/asset-site-service/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<SiteServiceKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<SiteServiceKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: SiteServiceKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|