refactor(shop): 重构店铺相关模型和界面组件

- 将店铺模型中的字段名从 shopName/shopAddress 更改为 name/address
- 移除经纬度拆分字段 lng 和 lat,新增 location、district 和 points 字段
- 更新店铺编辑表单以匹配新的字段命名
- 在店铺列表中为店铺名称添加标签样式
- 修正配送员页面的列标题和数据显示逻辑
- 启用开发环境的 API URL 配置
- 修复双击编辑功能的调用问题
This commit is contained in:
2026-02-01 01:43:10 +08:00
parent 5090dd1d44
commit f1c3bd199c
6 changed files with 67 additions and 34 deletions

View File

@@ -7,11 +7,9 @@ export interface ShopStore {
// 自增ID
id?: number;
// 店铺名称
shopName?: string;
// 门店横幅/图片
shopBanner?: string;
name?: string;
// 门店地址
shopAddress?: string;
address?: string;
// 手机号码
phone?: string;
// 邮箱
@@ -28,10 +26,12 @@ export interface ShopStore {
region?: string;
// 经度和纬度
lngAndLat?: string;
// 经度(部分接口可能拆分返回)
lng?: string;
// 纬度(部分接口可能拆分返回)
lat?: string;
// 位置
location?:string;
// 区域
district?: string;
// 轮廓
points?: string;
// 用户ID
userId?: number;
// 状态