From 73278105e70ea4895b4234d92f86984bf332593b Mon Sep 17 00:00:00 2001 From: xiongqian <2167232911@qq.com> Date: Tue, 10 Jan 2023 18:25:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 15 +- public/images/init-home/mark.png | Bin 0 -> 469 bytes src/utils/consts.ts | 3 + src/views/init-home/data/RoleData.ts | 845 +++++++++++++++++++ src/views/init-home/data/interface.ts | 33 + src/views/init-home/index.vue | 1117 +++++++++++++++++++++++++ 6 files changed, 2012 insertions(+), 1 deletion(-) create mode 100644 public/images/init-home/mark.png create mode 100644 src/views/init-home/data/RoleData.ts create mode 100644 src/views/init-home/data/interface.ts create mode 100644 src/views/init-home/index.vue diff --git a/components.d.ts b/components.d.ts index 01a36e5e..c6352220 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,10 +7,23 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - ACard: typeof import('ant-design-vue/es')['Card'] + AButton: typeof import('ant-design-vue/es')['Button'] + ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] + ACheckboxGroup: typeof import('ant-design-vue/es')['CheckboxGroup'] ACol: typeof import('ant-design-vue/es')['Col'] + ACollapse: typeof import('ant-design-vue/es')['Collapse'] + ACollapsePanel: typeof import('ant-design-vue/es')['CollapsePanel'] + AForm: typeof import('ant-design-vue/es')['Form'] + AFormItem: typeof import('ant-design-vue/es')['FormItem'] + AInput: typeof import('ant-design-vue/es')['Input'] + AInputNumber: typeof import('ant-design-vue/es')['InputNumber'] + AModal: typeof import('ant-design-vue/es')['Modal'] ARow: typeof import('ant-design-vue/es')['Row'] + ASelect: typeof import('ant-design-vue/es')['Select'] + ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] + ASpin: typeof import('ant-design-vue/es')['Spin'] ATooltip: typeof import('ant-design-vue/es')['Tooltip'] + AUpload: typeof import('ant-design-vue/es')['Upload'] BadgeStatus: typeof import('./src/components/BadgeStatus/index.vue')['default'] CardBox: typeof import('./src/components/CardBox/index.vue')['default'] GeoComponent: typeof import('./src/components/GeoComponent/index.vue')['default'] diff --git a/public/images/init-home/mark.png b/public/images/init-home/mark.png new file mode 100644 index 0000000000000000000000000000000000000000..f653fd50739dd5fc0313a33a36e138353373333b GIT binary patch literal 469 zcmV;`0V@89P)7Aw6YNtgcF1a77B8L;0c2B-o2Yl zHoG}8@Q`F?c6Pot9ch+?pMSHQS`mFu*;iJSMe0grsN~8+Q=nAIlx5|ShYDlcCD30R z+e9EZ9?^KEd`VbP>Oko#XD(RBI2`i#Da&xdQR2GtNj`I8TDj(60e@_N2cXj>d986VZ3Nu z;W_2RWsJ-2JfDK+6BlTfpnp5ciNq&awrND#X~YQ)eUAjenbHMj(4$G4HPB-Ha#lEA?X9DPkaY+cWy(iB!F_Po(4x ztIC0l8wpvEy6Jngee<%>0Ahb5?#W; +} + +/**基本信息表单 */ +export interface formState { + title: string; // 系统名称 + headerTheme: string; // 主题色 + apikey: string; // 高德 API key + basePath: string; // 系统后台访问的URL + logo: string; // 系统logo + icon: string; // 浏览器页签 + rulesFrom: Record; +} + +/** + * logo上传表当 + */ +export interface logoState { + logoValue: string; + logoLoading: boolean; + inLogo: boolean; + inIcon: boolean; + inBackground: boolean; + iconValue: string; + backValue: string; + handleChangeLogo:(url: string) => void +} \ No newline at end of file diff --git a/src/views/init-home/index.vue b/src/views/init-home/index.vue new file mode 100644 index 00000000..bfada546 --- /dev/null +++ b/src/views/init-home/index.vue @@ -0,0 +1,1117 @@ + + + +