ソースを参照

fix: 将优惠券审核状态“审核失败”修改为“审核不通过”,更新相关注释

laiqi 11 ヶ月 前
コミット
6a2d747011

+ 1 - 1
apps/web-ele/src/views/examine-manage/examine-coupon/form.vue

@@ -80,7 +80,7 @@ const [BaseForm, baseFormApi] = useVbenForm({
         options: [
           { label: '申请中', value: 0 },
           { label: '审核通过', value: 1 },
-          { label: '审核失败', value: 2 },
+          { label: '审核不通过', value: 2 },
         ],
       },
       rules: z.number().min(0, { message: '请选择优惠券状态' }),

+ 1 - 1
apps/web-ele/src/views/examine-manage/examine-coupon/index.vue

@@ -86,7 +86,7 @@ const gridOptions: VxeGridProps<any> = {
           const typeMap = {
             0: { text: '申请中', type: 'info' },
             1: { text: '审核通过', type: 'success' },
-            2: { text: '审核失败', type: 'danger' },
+            2: { text: '审核不通过', type: 'danger' },
           } as const;
           return h(
             ElTag,

+ 2 - 2
packages/types/src/coupon2.ts

@@ -6,7 +6,7 @@
 //   `coupon2reviewdatetime` datetime DEFAULT NULL COMMENT '优惠券审核时间',
 //   `coupon2userid` varchar(50) DEFAULT NULL COMMENT '关联申请人id',
 //   `coupon2openid` varchar(50) DEFAULT NULL COMMENT '关联申请人openid',
-//   `coupon2sype` tinyint(2) DEFAULT NULL COMMENT '优惠券(0:申请中,1:审核通过,2:审核失败)',
+//   `coupon2sype` tinyint(2) DEFAULT NULL COMMENT '优惠券(0:申请中,1:审核通过,2:审核不通过)',
 //   `coupon2isused` tinyint(2) DEFAULT NULL COMMENT '是否已使用(0:未使用,1:已使用)',
 //   `coupon2merchantid` varchar(50) DEFAULT NULL COMMENT '对应渠道id',
 //   `coupon2productids` varchar(5000) DEFAULT NULL COMMENT '可用产品id',
@@ -31,7 +31,7 @@ interface Coupon2Entity {
   coupon2reviewdatetime: string;
   /** 关联申请人id */
   coupon2userid: string;
-  /** 优惠券(0:申请中,1:审核通过,2:审核失败) */
+  /** 优惠券(0:申请中,1:审核通过,2:审核不通过) */
   coupon2sype: number;
   /** 是否已使用(0:未使用,1:已使用) */
   coupon2isused: number;