From aa2b41e0e1f59ca1383cdc4336ecca631905fb91 Mon Sep 17 00:00:00 2001 From: zhangds Date: Thu, 25 Aug 2022 16:29:18 +0800 Subject: [PATCH] =?UTF-8?q?1)=20=E5=A2=9E=E5=8A=A0=E6=B6=88=E8=B4=B9?= =?UTF-8?q?=E5=8D=B7table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/coupon/list/index.jsx | 90 +++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 3 deletions(-) diff --git a/src/pages/coupon/list/index.jsx b/src/pages/coupon/list/index.jsx index 6b48414a..94de8cd0 100644 --- a/src/pages/coupon/list/index.jsx +++ b/src/pages/coupon/list/index.jsx @@ -9,14 +9,98 @@ import "./style.less"; const tableColumn = [ { - title: "table 示例 1", + title: "优惠券-批次ID", name: "key_code", prop: "key_code", type: "normal", width: "auto", }, { - title: "table 示例 2", + title: "优惠券批次名称", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "有效期", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "归属营销计划名称", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "归属key批次名称", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "卷总数(已发放)", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "已领取", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "已使用", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "剩余数", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "已失效", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "已作废", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "状态", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "启用/暂停", + width: "auto", + type: "normal", + prop: "title", + name: "title", + }, + { + title: "操作", width: "auto", type: "normal", prop: "title", @@ -149,7 +233,7 @@ const UseCouponList = () => { value={state.key_word} wordSearch={() => searchCallback()} icon="search" - placeholder={"请输入xxxxx"} + placeholder={"请输入批次号、名称、key批次名称、计划名称 进行搜索"} countShow={false} height={"36px"} width={"260px"}