Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
GaoQuYingJiH5-ASD
Commits
eedded71
Commit
eedded71
authored
Jun 16, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 编辑失败处理、消费者建议列表分页问题处理
parent
6e07fbe0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
_shanghu_detail-edit.js
src/_shanghu_detail-edit.js
+10
-2
No files found.
src/_shanghu_detail-edit.js
View file @
eedded71
...
@@ -93,6 +93,13 @@ window.addEventListener('load', function () {
...
@@ -93,6 +93,13 @@ window.addEventListener('load', function () {
}
}
},
},
methods
:
{
methods
:
{
reset
(){
this
.
page
=
0
this
.
size
=
9999
this
.
total
=
0
this
.
consumerSuggestList
=
[]
},
showImage
(
list
,
index
)
{
showImage
(
list
,
index
)
{
const
images
=
list
.
map
((
item
)
=>
{
const
images
=
list
.
map
((
item
)
=>
{
return
this
.
previewUrl
+
item
return
this
.
previewUrl
+
item
...
@@ -190,6 +197,7 @@ window.addEventListener('load', function () {
...
@@ -190,6 +197,7 @@ window.addEventListener('load', function () {
},
},
clickTab
()
{
clickTab
()
{
if
(
this
.
activeTab
>
1
)
{
if
(
this
.
activeTab
>
1
)
{
this
.
reset
()
this
.
getConsumerSuggestList
()
// 获取检查列表
this
.
getConsumerSuggestList
()
// 获取检查列表
}
}
},
},
...
@@ -483,9 +491,9 @@ window.addEventListener('load', function () {
...
@@ -483,9 +491,9 @@ window.addEventListener('load', function () {
reqParam
.
storefrontPhotos
=
this
.
formData
.
storefrontPhotos
.
join
(
'
,
'
)
reqParam
.
storefrontPhotos
=
this
.
formData
.
storefrontPhotos
.
join
(
'
,
'
)
http3
.
put
(
'
/gq/merchant
'
,
reqParam
).
then
((
res
)
=>
{
http3
.
put
(
'
/gq/merchant
'
,
reqParam
).
then
((
res
)
=>
{
console
.
log
(
'
添加
结果
'
,
res
)
console
.
log
(
'
保存
结果
'
,
res
)
vant
.
Toast
({
vant
.
Toast
({
message
:
'
操作成功
'
,
message
:
res
.
code
===
200
?
'
操作成功
'
:
'
操作失败
'
,
})
})
// gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...')
// gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...')
})
})
...
...
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