Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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-platform
Commits
c3dcba71
Commit
c3dcba71
authored
Oct 19, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 自营商城关于我们配置接口修改
parent
ccdb8c98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.tsx
src/pages/ownMall/ownMallManager/ownMallAboutUs/index.tsx
+7
-7
No files found.
src/pages/ownMall/ownMallManager/ownMallAboutUs/index.tsx
View file @
c3dcba71
...
...
@@ -77,7 +77,7 @@ const OwnMallAboutUs = () => {
temp
.
push
(
item
)
setSelectCityData
(
temp
)
form
.
setFieldsValue
({
member
Channel
Areas
:
temp
member
Shop
Areas
:
temp
})
}
...
...
@@ -86,14 +86,14 @@ const OwnMallAboutUs = () => {
temp
=
temp
.
filter
((
item
:
any
)
=>
item
.
index
!==
index
)
setSelectCityData
(
temp
)
form
.
setFieldsValue
({
member
Channel
Areas
:
temp
member
Shop
Areas
:
temp
})
}
const
handleCityChange
=
(
data
:
any
)
=>
{
setSelectCityData
(
data
)
form
.
setFieldsValue
({
member
Channel
Areas
:
data
member
Shop
Areas
:
data
})
}
...
...
@@ -117,7 +117,7 @@ const OwnMallAboutUs = () => {
}
console
.
log
(
`params`
,
params
)
setSaveLoading
(
true
)
PublicApi
.
post
ManageShopAboutSubmit
(
params
).
then
(
res
=>
{
PublicApi
.
post
TemplateWebMemberSelfWebSaveCurrMemberSelf
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
setIsFormChange
(
false
)
}
...
...
@@ -146,7 +146,7 @@ const OwnMallAboutUs = () => {
// 获取关于我们详情
const
getAboutUsInfo
=
()
=>
{
PublicApi
.
get
ManageShopAboutGet
().
then
(
res
=>
{
PublicApi
.
get
TemplateWebMemberSelfWebFindCurrMemberSelf
().
then
(
res
=>
{
const
{
code
,
data
}
=
res
if
(
code
===
1000
&&
data
)
{
const
{
albumName
,
albumUrl
,
honorPics
,
workshopPics
,
...
rest
}
=
data
...
...
@@ -161,7 +161,7 @@ const OwnMallAboutUs = () => {
setIsFormChange
(
false
)
setAlbumUrls
(
newAlbumUrls
)
setSelectCityData
(
rest
.
member
Channel
Areas
)
setSelectCityData
(
rest
.
member
Shop
Areas
)
setMallUrl
(
rest
.
url
)
}
})
...
...
@@ -196,7 +196,7 @@ const OwnMallAboutUs = () => {
</
Col
>
<
Col
span=
{
12
}
>
<
Form
.
Item
name=
'member
Channel
Areas'
name=
'member
Shop
Areas'
label=
{
<
RequireItem
label=
"业务覆盖地市"
isRequire=
{
true
}
/>
}
rules=
{
[
{
required
:
true
,
message
:
"请选择业务覆盖地市"
}
...
...
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