diff --git a/.env.development b/.env.development index b8ccd8b..fbcc74b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -#VITE_API_URL=http://127.0.0.1:9200/api +VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/api/shop/shopGift/model/index.ts b/src/api/shop/shopGift/model/index.ts index 84dca6a..2f5280d 100644 --- a/src/api/shop/shopGift/model/index.ts +++ b/src/api/shop/shopGift/model/index.ts @@ -14,8 +14,16 @@ export interface ShopGift { goodsId?: number; // 领取时间 takeTime?: string; - // 操作人 + // 核销时间 + verificationTime?: string; + // 操作人ID operatorUserId?: number; + // 操作人 + operatorUserName?: string; + // 操作备注 + operatorRemarks?: string; + // 使用地址 + useLocation?: string; // 是否展示 isShow?: boolean; // 状态, 0上架 1待上架 2待审核 3审核不通过 @@ -26,6 +34,8 @@ export interface ShopGift { sortNumber?: number; // 用户ID userId?: number; + // 昵称 + nickName?: string; // 是否删除, 0否, 1是 deleted?: number; // 租户id diff --git a/src/views/passport/register2/index.vue b/src/views/passport/register2/index.vue new file mode 100644 index 0000000..eca38fd --- /dev/null +++ b/src/views/passport/register2/index.vue @@ -0,0 +1,804 @@ + + + + + diff --git a/src/views/shop/shopGift/components/makeCard.vue b/src/views/shop/shopGift/components/makeCard.vue index d29cb27..962797e 100644 --- a/src/views/shop/shopGift/components/makeCard.vue +++ b/src/views/shop/shopGift/components/makeCard.vue @@ -20,10 +20,10 @@ " > - + - + + + + +
+ {{ goods.name }} + ¥{{ goods.price || 0 }} +
+
+ +
+ {{ goodsLoading ? '加载中...' : '暂无商品数据' }} +
+
+
+
- + + + + + + + + +
+ + 礼品卡预览 + +
+
+
{{ form.name }}
+
+ + 领取时间:{{ formatTime(form.takeTime) }} + 未领取 + +
+
+
+
+ 卡密: + {{ form.code || '自动生成' }} +
+
+ 关联商品: + {{ selectedGoods.name }} + ¥{{ selectedGoods.price }} +
+
+ 使用地址: + {{ form.useLocation }} +
+
+ +
+
+ + diff --git a/src/views/shop/shopGift/components/search.vue b/src/views/shop/shopGift/components/search.vue index f175c25..ed2556b 100644 --- a/src/views/shop/shopGift/components/search.vue +++ b/src/views/shop/shopGift/components/search.vue @@ -1,13 +1,16 @@