|
|
@@ -383,7 +383,7 @@ const equityList = [
|
|
|
jumpLink: '-',
|
|
|
exchangeMethod: '权益平台',
|
|
|
productType: '券码',
|
|
|
- skuNo: 'SKU001',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户A',
|
|
|
creator: '李运营',
|
|
|
createTime: '2026-04-10 09:32:15',
|
|
|
@@ -404,7 +404,7 @@ const equityList = [
|
|
|
jumpLink: '太古地产',
|
|
|
exchangeMethod: '第三方(列表跳转)',
|
|
|
productType: '',
|
|
|
- skuNo: 'SKU002',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户B',
|
|
|
creator: '王运营',
|
|
|
createTime: '2026-04-12 14:08:42',
|
|
|
@@ -425,7 +425,7 @@ const equityList = [
|
|
|
jumpLink: '龙腾',
|
|
|
exchangeMethod: '第三方(详情页跳转)',
|
|
|
productType: '',
|
|
|
- skuNo: 'SKU003',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户C',
|
|
|
creator: '李运营',
|
|
|
createTime: '2026-04-08 11:20:05',
|
|
|
@@ -446,7 +446,7 @@ const equityList = [
|
|
|
jumpLink: 'h5链接',
|
|
|
exchangeMethod: '第三方(详情页跳转)',
|
|
|
productType: '',
|
|
|
- skuNo: 'SKU004',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户D',
|
|
|
creator: '陈运营',
|
|
|
createTime: '2026-04-05 15:50:18',
|
|
|
@@ -467,7 +467,7 @@ const equityList = [
|
|
|
jumpLink: '-',
|
|
|
exchangeMethod: '权益平台',
|
|
|
productType: '券码',
|
|
|
- skuNo: 'SKU005',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户E',
|
|
|
creator: '王运营',
|
|
|
createTime: '2026-03-28 09:00:11',
|
|
|
@@ -488,7 +488,7 @@ const equityList = [
|
|
|
jumpLink: '-',
|
|
|
exchangeMethod: '权益平台',
|
|
|
productType: '券码',
|
|
|
- skuNo: 'SKU006',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户F',
|
|
|
creator: '李运营',
|
|
|
createTime: '2026-05-16 10:00:00',
|
|
|
@@ -565,7 +565,7 @@ const auditList = [
|
|
|
jumpMethod: '没有',
|
|
|
jumpLink: '太古地产',
|
|
|
productType: '',
|
|
|
- skuNo: 'SKU002',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户B',
|
|
|
subTitle: '外部列表页副标题'
|
|
|
},
|
|
|
@@ -593,7 +593,7 @@ const auditList = [
|
|
|
jumpMethod: '有',
|
|
|
jumpLink: 'h5链接',
|
|
|
productType: '',
|
|
|
- skuNo: 'SKU004',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户D',
|
|
|
subTitle: '外部自定义链接副标题'
|
|
|
},
|
|
|
@@ -621,7 +621,7 @@ const auditList = [
|
|
|
jumpMethod: '-',
|
|
|
jumpLink: '-',
|
|
|
productType: '券码',
|
|
|
- skuNo: 'SKU001',
|
|
|
+ skuNo: '',
|
|
|
merchantName: '商户A',
|
|
|
subTitle: '副标题示例'
|
|
|
},
|
|
|
@@ -716,6 +716,8 @@ Mock.mock(/\/api\/equity\/save-draft/, 'post', (options) => {
|
|
|
exchangeMethod: body.exchangeMethod || '权益平台',
|
|
|
productType: body.isPlatformExchange === '否' ? '' : (body.productType || '券码'),
|
|
|
skuNo: body.skuNo || '',
|
|
|
+ rongshuProduct: body.rongshuProduct || '',
|
|
|
+ stockCount: body.stockCount ?? null,
|
|
|
merchantName: body.merchantName || '',
|
|
|
creator: body.creator || '李运营',
|
|
|
createTime: nowStr(),
|
|
|
@@ -760,6 +762,8 @@ Mock.mock(/\/api\/equity\/submit/, 'post', (options) => {
|
|
|
exchangeMethod: body.exchangeMethod || '权益平台',
|
|
|
productType: body.isPlatformExchange === '否' ? '' : (body.productType || '券码'),
|
|
|
skuNo: body.skuNo || '',
|
|
|
+ rongshuProduct: body.rongshuProduct || '',
|
|
|
+ stockCount: body.stockCount ?? null,
|
|
|
merchantName: body.merchantName || '',
|
|
|
creator: submitter,
|
|
|
createTime: nowStr(),
|
|
|
@@ -988,7 +992,7 @@ const equityGrantCampaignList = [
|
|
|
name: '春季会员尊享礼遇',
|
|
|
startTime: '2026-04-01 00:00:00',
|
|
|
endTime: '2026-06-30 23:59:59',
|
|
|
- crowdList: ['A0000120251224'],
|
|
|
+ crowdList: ['00000120251224'],
|
|
|
isAutoGrant: '否',
|
|
|
grantMode: 'direct',
|
|
|
equityList: ['Q100001'],
|
|
|
@@ -1138,7 +1142,7 @@ Mock.mock(/\/api\/grant-task\/detail/, 'get', (options) => {
|
|
|
grantQuantityLabel: plan ? `${cycleMap[plan.grantCycle] || plan.grantCycle} ${plan.grantQuantity} 个` : '',
|
|
|
validityLabel: plan ? (plan.validity.type === 'fixed' ? (plan.validity.fixedRange.join(' 至 ')) : `自发放起 ${plan.validity.relativeDays} 天内有效`) : '',
|
|
|
crowdLabel: plan ? (plan.crowdList.length ? plan.crowdList.map(id => {
|
|
|
- const crowdNames = { 'A0000120251224': '名单1' }
|
|
|
+ const crowdNames = { '00000120251224': '层层礼圈选客群1' }
|
|
|
return crowdNames[id] ? `${crowdNames[id]} (${id})` : id
|
|
|
}).join('、') : '-') : '-',
|
|
|
equityLabel: plan ? (plan.equityList.length ? plan.equityList.map(id => {
|
|
|
@@ -1317,7 +1321,7 @@ const campaignAuditList = [
|
|
|
startTime: '2026-09-01 00:00:00',
|
|
|
endTime: '2026-11-30 23:59:59',
|
|
|
grantMode: 'claim',
|
|
|
- crowdList: ['A0000120251224'],
|
|
|
+ crowdList: ['00000120251224'],
|
|
|
equityList: ['Q100001', 'Q100004'],
|
|
|
grantCycle: 'monthly',
|
|
|
grantQuantity: 1,
|
|
|
@@ -1343,7 +1347,7 @@ const campaignAuditList = [
|
|
|
startTime: '2026-12-01 00:00:00',
|
|
|
endTime: '2027-02-28 23:59:59',
|
|
|
grantMode: 'direct',
|
|
|
- crowdList: ['A0000120251224'],
|
|
|
+ crowdList: ['00000120251224'],
|
|
|
equityList: ['Q100001'],
|
|
|
grantCycle: 'total',
|
|
|
grantQuantity: 3,
|
|
|
@@ -1369,7 +1373,7 @@ const campaignAuditList = [
|
|
|
startTime: '2026-04-01 00:00:00',
|
|
|
endTime: '2026-06-30 23:59:59',
|
|
|
grantMode: 'direct',
|
|
|
- crowdList: ['A0000120251224'],
|
|
|
+ crowdList: ['00000120251224'],
|
|
|
equityList: ['Q100001'],
|
|
|
grantCycle: 'monthly',
|
|
|
grantQuantity: 2,
|