Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-admin
Commits
03bc128c
Commit
03bc128c
authored
Sep 17, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into v2
parents
6ee1b9df
cbd3b5fa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
12 deletions
+25
-12
marketingRoutes.ts
config/routes/marketingRoutes.ts
+0
-0
merchantMarketingRoute.ts
config/routes/merchantMarketingRoute.ts
+10
-10
index.tsx
.../marketingManage/marketing/components/dateModal/index.tsx
+2
-1
add.tsx
...ages/marketingManage/marketing/waitAddedMarketing/add.tsx
+1
-1
index.tsx
...eting/waitAddedMarketing/components/applyMember/index.tsx
+1
-0
index.tsx
...eting/waitAddedMarketing/components/basicLayout/index.tsx
+11
-0
index.tsx
...eting/waitAddedMarketing/components/rulesLayout/index.tsx
+0
-0
No files found.
config/routes/marketingRoutes.ts
View file @
03bc128c
This diff is collapsed.
Click to expand it.
config/routes/merchantMarketingRoute.ts
View file @
03bc128c
...
...
@@ -4,44 +4,44 @@ const merchantMarketing = {
routes
:
[
{
/** 商家营销活动查询 - merchantMarketingSearch */
path
:
'/merchantMarketing/merchantMarketingSearch'
,
path
:
'/m
arketingManage/m
erchantMarketing/merchantMarketingSearch'
,
name
:
'商家营销活动查询'
,
hidePageHeader
:
true
,
component
:
'@/pages/merchantMarketing/merchantMarketingSearch'
,
component
:
'@/pages/m
arketingManage/m
erchantMarketing/merchantMarketingSearch'
,
},
{
/** 商家营销活动查询详情 - preview */
path
:
'/merchantMarketing/merchantMarketingSearch/preview'
,
path
:
'/m
arketingManage/m
erchantMarketing/merchantMarketingSearch/preview'
,
name
:
'商家营销活动查询详情'
,
hidePageHeader
:
true
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/merchantMarketing/detail'
,
component
:
'@/pages/m
arketingManage/m
erchantMarketing/detail'
,
},
{
/** 待审核商家营销活动 - waitAuditMerchantMarketing */
path
:
'/merchantMarketing/waitAuditMerchantMarketing'
,
path
:
'/m
arketingManage/m
erchantMarketing/waitAuditMerchantMarketing'
,
name
:
'待审核商家营销活动'
,
hidePageHeader
:
true
,
component
:
'@/pages/merchantMarketing/waitAuditMerchantMarketing'
,
component
:
'@/pages/m
arketingManage/m
erchantMarketing/waitAuditMerchantMarketing'
,
},
{
/** 待审核商家营销活动详情 - preview */
path
:
'/merchantMarketing/waitAuditMerchantMarketing/preview'
,
path
:
'/m
arketingManage/m
erchantMarketing/waitAuditMerchantMarketing/preview'
,
name
:
'待审核商家营销活动详情'
,
hidePageHeader
:
true
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/merchantMarketing/detail'
,
component
:
'@/pages/m
arketingManage/m
erchantMarketing/detail'
,
},
{
/** 待审核商家营销活动详情 - detail */
path
:
'/merchantMarketing/waitAuditMerchantMarketing/detail'
,
path
:
'/m
arketingManage/m
erchantMarketing/waitAuditMerchantMarketing/detail'
,
name
:
'待审核商家营销活动详情'
,
hidePageHeader
:
true
,
hideInMenu
:
true
,
noMargin
:
true
,
component
:
'@/pages/merchantMarketing/detail'
,
component
:
'@/pages/m
arketingManage/m
erchantMarketing/detail'
,
},
]
}
...
...
src/pages/marketingManage/marketing/components/dateModal/index.tsx
View file @
03bc128c
...
...
@@ -28,7 +28,6 @@ const DateModalLayout: React.FC<DateModalProps> = (props: any) => {
time
:
moment
(
res
.
time
).
format
(
'x'
),
reason
:
res
.
reason
,
}
console
.
log
(
params
,
fieldApi
)
setLoading
(
true
)
fieldApi
(
params
).
then
(
res
=>
{
if
(
res
.
code
!==
1000
)
{
...
...
@@ -36,6 +35,8 @@ const DateModalLayout: React.FC<DateModalProps> = (props: any) => {
return
}
onSubmit
();
form
.
resetFields
()
setLoading
(
false
)
}).
catch
(
err
=>
{
setLoading
(
false
)
})
...
...
src/pages/marketingManage/marketing/waitAddedMarketing/add.tsx
View file @
03bc128c
...
...
@@ -248,7 +248,7 @@ const AddedMarketing = (props: any) => {
roleType
:
item
.
roleId
,
roleTypeName
:
item
.
roleName
,
level
:
item
.
level
,
levelTyp
:
item
.
levelTyp
,
levelTyp
:
item
.
levelTyp
e
,
levelTypeName
:
item
.
levelTypeName
,
levelTag
:
item
.
levelTag
,
}
...
...
src/pages/marketingManage/marketing/waitAddedMarketing/components/applyMember/index.tsx
View file @
03bc128c
...
...
@@ -282,6 +282,7 @@ const ApplyMemberLayout: React.FC<ApplyMemberLayoutProps> = (props: any) => {
}
}
}
}
value=
{
dataSource
}
/>
</
CardLayout
>
)
...
...
src/pages/marketingManage/marketing/waitAddedMarketing/components/basicLayout/index.tsx
View file @
03bc128c
...
...
@@ -65,6 +65,13 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
focus$
.
emit
(
option
);
}
useEffect
(()
=>
{
if
(
isEdit
)
{
setActivitySignUpType
(
1
);
form
.
setFieldsValue
({
'activitySignUpType'
:
1
})
}
},
[
isEdit
])
return
(
<
CardLayout
id=
"basicInfoLayout"
...
...
@@ -136,6 +143,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
>
<
DatePicker
showTime
showNow=
{
false
}
allowClear
disabledDate=
{
(
current
)
=>
startTimeDisabled
(
current
,
'endTime'
)
}
/>
...
...
@@ -173,6 +181,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
>
<
DatePicker
showTime
showNow=
{
false
}
allowClear
disabledDate=
{
(
current
)
=>
endTimeDisabled
(
current
,
'startTime'
)
}
/>
...
...
@@ -215,6 +224,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
>
<
DatePicker
showTime
showNow=
{
false
}
allowClear
disabledDate=
{
(
current
)
=>
startTimeDisabled
(
current
,
'signUpEndTime'
)
}
/>
...
...
@@ -249,6 +259,7 @@ const BasicInfoLayout: React.FC<BasicInfoProps> = (props: any) => {
>
<
DatePicker
showTime
showNow=
{
false
}
allowClear
disabledDate=
{
(
current
)
=>
endTimeDisabled
(
current
,
'signUpStartTime'
)
}
/>
...
...
src/pages/marketingManage/marketing/waitAddedMarketing/components/rulesLayout/index.tsx
View file @
03bc128c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment