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
95843d16
Commit
95843d16
authored
Jun 04, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:商户编辑页面跳转修改、商户详情功能角色权限控制处理
parent
bb6d7511
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
home.js
home.js
+1
-1
_shanghu_detail-edit.html
src/_shanghu_detail-edit.html
+1
-1
_shanghu_detail-edit.js
src/_shanghu_detail-edit.js
+10
-2
_shanghu_home.html
src/_shanghu_home.html
+1
-1
No files found.
home.js
View file @
95843d16
...
@@ -78,7 +78,7 @@ window.onload = function () {
...
@@ -78,7 +78,7 @@ window.onload = function () {
className
:
'
shangjia
'
,
className
:
'
shangjia
'
,
title
:
'
商家信息
'
,
title
:
'
商家信息
'
,
remark
:
''
,
remark
:
''
,
navTo
:
'
shanghu_detail
'
,
navTo
:
'
shanghu_detail
-edit
'
,
},
},
{
{
className
:
'
zicha
'
,
className
:
'
zicha
'
,
...
...
src/_shanghu_detail-edit.html
View file @
95843d16
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
<img
:src=
"formData.qrCodeUrl"
style=
"margin-left: 50%; transform: translateX(-50%);"
/>
<img
:src=
"formData.qrCodeUrl"
style=
"margin-left: 50%; transform: translateX(-50%);"
/>
</div>
</div>
</div>
</div>
<button
v-if=
"userType
!
=='shop'"
class=
"save-btn"
style=
"margin-left: 50%; transform: translateX(-50%);"
@
click=
"saveCanvas"
<button
v-if=
"userType
=
=='shop'"
class=
"save-btn"
style=
"margin-left: 50%; transform: translateX(-50%);"
@
click=
"saveCanvas"
>
保存二维码
</button>
>
保存二维码
</button>
</div>
</div>
<!-- form结束 -->
<!-- form结束 -->
...
...
src/_shanghu_detail-edit.js
View file @
95843d16
...
@@ -7,7 +7,7 @@ window.addEventListener('load', function () {
...
@@ -7,7 +7,7 @@ window.addEventListener('load', function () {
data
()
{
data
()
{
return
{
return
{
activeTab
:
0
,
activeTab
:
0
,
flag
:
'
X
G
'
,
flag
:
'
X
Q
'
,
canvasReady
:
false
,
canvasReady
:
false
,
loadedImages
:
0
,
// 记录已加载的图片数量
loadedImages
:
0
,
// 记录已加载的图片数量
userType
:
gemhoUtil
.
getCookie
(
'
userType
'
),
userType
:
gemhoUtil
.
getCookie
(
'
userType
'
),
...
@@ -61,6 +61,14 @@ window.addEventListener('load', function () {
...
@@ -61,6 +61,14 @@ window.addEventListener('load', function () {
},
},
computed
:
{},
computed
:
{},
mounted
()
{
mounted
()
{
// 详情编辑权限控制
const
userType
=
gemhoUtil
.
getCookie
(
'
userType
'
)
if
(
userType
==
'
wgy
'
){
this
.
flag
=
'
XG
'
}
else
{
this
.
flag
=
'
XQ
'
}
this
.
detail
()
this
.
detail
()
this
.
getDict4changhsuoType
()
this
.
getDict4changhsuoType
()
this
.
getDict4fangwuType
()
this
.
getDict4fangwuType
()
...
...
src/_shanghu_home.html
View file @
95843d16
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<div
class=
"detail"
>
<div
class=
"detail"
>
<van-row>
<van-row>
<van-col
span=
"24"
>
场所类型: {{merInformation.smallPlaceTypeName}}
</van-col>
<van-col
span=
"24"
>
场所类型: {{merInformation.smallPlaceTypeName}}
</van-col>
<div
class=
"detail_link"
@
click=
"navTo('shanghu_detail')"
>
详情
<van-icon
name=
"arrow"
/></div>
<div
class=
"detail_link"
@
click=
"navTo('shanghu_detail
-edit
')"
>
详情
<van-icon
name=
"arrow"
/></div>
</van-row>
</van-row>
<van-row
type=
"flex"
justify=
"space-around"
<van-row
type=
"flex"
justify=
"space-around"
style=
"width:100%; margin-top: .3rem; margin-bottom: .3rem;"
>
style=
"width:100%; margin-top: .3rem; margin-bottom: .3rem;"
>
...
...
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