From dfcad17fb44e37a04108075877669e4bc12925cd Mon Sep 17 00:00:00 2001 From: lzq <2495532633@qq.com> Date: Thu, 5 Feb 2026 18:16:31 +0800 Subject: [PATCH] 1 --- index.html | 6 +- package-lock.json | 63 +++++++++++- package.json | 1 + plugin/html-process.ts | 5 +- src/components/a-form-panel/AFormPanel.tsx | 2 +- src/components/a-map/AMap.tsx | 92 +++++++++++++++++ src/components/a-map/amap-api.ts | 1 + src/components/a-map/tmap.d.ts | 7 ++ src/dts/components.d.ts | 5 +- src/pages/cst/station/Station.vue | 13 +-- src/pages/cst/station/StationForm.vue | 102 +++++++++--------- src/pages/cst/station/station.d.ts | 114 ++++++++------------- src/pages/sys/user/UserDropTable.vue | 27 +++++ vite.config.ts | 2 +- 14 files changed, 297 insertions(+), 143 deletions(-) create mode 100644 src/components/a-map/AMap.tsx create mode 100644 src/components/a-map/amap-api.ts create mode 100644 src/components/a-map/tmap.d.ts create mode 100644 src/pages/sys/user/UserDropTable.vue diff --git a/index.html b/index.html index 38a1eae..fc1ad01 100644 --- a/index.html +++ b/index.html @@ -4,11 +4,7 @@ - - - + diff --git a/src/pages/cst/station/station.d.ts b/src/pages/cst/station/station.d.ts index c048559..f284b93 100644 --- a/src/pages/cst/station/station.d.ts +++ b/src/pages/cst/station/station.d.ts @@ -3,44 +3,19 @@ export {} declare global { namespace StationTypes { interface SearchStationParam extends G.PageParam { - // Id - id?: string - // 企业信息 Id - orgId?: string // 站点名称 stationName?: string - // 省;代码 - province?: string - // 市;代码 - city?: string - // 区县;代码 - area?: string - // 乡镇街道;代码 - town?: string - // 省;名称 - provinceName?: string - // 市;名称 - cityName?: string - // 区县;名称 - areaName?: string - // 乡镇街道;名称 - townName?: string - // 详细地址 - address?: string - // 经度 - lng?: number - // 纬度 - lat?: number - // 创建人 Id; sys_user.id - creatorId?: string - // 修改人 Id; sys_user.id - modifierId?: string - // 创建时间 - createTime?: string - // 修改时间 - modifyTime?: string - // 是否删除; 0-->未删除、1-->已删除 - deleted?: boolean + } + + interface CustomerInfo { + id?: string + username?: string + // 客户姓名 + customerName?: string + // 客户联系电话 + phone?: string + orgId?: string + orgName?: string } interface SearchStationResult { @@ -72,23 +47,35 @@ declare global { lng?: number // 纬度 lat?: number - // 创建人 Id; sys_user.id - creatorId?: string - // 修改人 Id; sys_user.id - modifierId?: string - // 创建时间 - createTime?: string - // 修改时间 - modifyTime?: string - // 是否删除; 0-->未删除、1-->已删除 - deleted?: boolean + customer: CustomerInfo + } + + interface OrgInfo { + // 统一社会信用代码 + uscc?: string + // 企业名称 + orgName?: string + // 营业执照 + businessLicense?: string + // 营业执照有效期 + licenseStartTime?: string + // 营业执照有效期 + licenseEndTime?: string + // 法人名称 + legalRepresentative?: string + // 法人身份证号 + idcard?: string + // 法人身份证有效期 + idcardStartTime?: string + // 法人身份证有效期 + idcardEndTime?: string + // 法人身份证正面 + idcardFront?: string + // 法人身份证反面 + idcardBack?: string } interface AddStationParam { - // Id - id?: string - // 企业信息 Id - orgId?: string // 站点名称 stationName?: string // 省;代码 @@ -113,23 +100,16 @@ declare global { lng?: number // 纬度 lat?: number - // 创建人 Id; sys_user.id - creatorId?: string - // 修改人 Id; sys_user.id - modifierId?: string - // 创建时间 - createTime?: string - // 修改时间 - modifyTime?: string - // 是否删除; 0-->未删除、1-->已删除 - deleted?: boolean + // 账号 + userId?: string + customerName?: string + phone?: string + orgInfo?: OrgInfo } interface ModifyStationParam { // Id id?: string - // 企业信息 Id - orgId?: string // 站点名称 stationName?: string // 省;代码 @@ -154,16 +134,6 @@ declare global { lng?: number // 纬度 lat?: number - // 创建人 Id; sys_user.id - creatorId?: string - // 修改人 Id; sys_user.id - modifierId?: string - // 创建时间 - createTime?: string - // 修改时间 - modifyTime?: string - // 是否删除; 0-->未删除、1-->已删除 - deleted?: boolean } } } diff --git a/src/pages/sys/user/UserDropTable.vue b/src/pages/sys/user/UserDropTable.vue new file mode 100644 index 0000000..6b8aadb --- /dev/null +++ b/src/pages/sys/user/UserDropTable.vue @@ -0,0 +1,27 @@ + + + diff --git a/vite.config.ts b/vite.config.ts index de68400..23c0aea 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -47,7 +47,7 @@ export default defineConfig((configEnv) => { dirs: [ './src/widgets' ], resolvers: [ ElementPlusResolver() ], }), - processHtml(env.VITE_APP_NAME), + processHtml(env.VITE_APP_NAME, ''), fileWatcher(IconfontProcess, ColorProcess), zipDist(), ],