Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
longhui_web
Project
Project
Details
Activity
Releases
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
杨硕
longhui_web
Commits
0eb46d07
Commit
0eb46d07
authored
Jun 21, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员权益
parent
55c9c65a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
69 deletions
+5
-69
index.vue
src/views/business/index.vue
+5
-69
No files found.
src/views/business/index.vue
View file @
0eb46d07
...
@@ -148,73 +148,6 @@
...
@@ -148,73 +148,6 @@
:limit
.
sync=
"queryParams.pageSize"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
@
pagination=
"getList"
/>
/>
<!-- 添加或修改参数配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"779px"
append-to-body
@
close=
"reset"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"100px"
>
<el-form-item
label=
"商家名称"
prop=
"name"
>
<el-input
v-model
.
trim=
"form.name"
:maxlength=
"30"
placeholder=
"请输入商家名称"
/>
</el-form-item>
<el-form-item
label=
"入驻日期"
prop=
"entryDate"
>
<el-date-picker
v-model=
"form.entryDate"
type=
"date"
placeholder=
"入驻日期"
style=
"width: 100%"
/>
</el-form-item>
<el-form-item
label=
"商家地址"
prop=
"address"
>
<el-input
v-model
.
trim=
"form.address"
:maxlength=
"30"
placeholder=
"请输入商家地址"
/>
</el-form-item>
<el-form-item
label=
"负责人"
prop=
"head"
>
<el-input
v-model
.
trim=
"form.head"
:maxlength=
"30"
placeholder=
"请输入负责人"
/>
</el-form-item>
<el-form-item
label=
"联系方式"
prop=
"phone"
>
<el-input
v-model
.
trim=
"form.phone"
:maxlength=
"30"
placeholder=
"请输入联系方式"
/>
</el-form-item>
<el-form-item
label=
"商家账号"
prop=
"entryAccount"
>
<el-input
v-model
.
trim=
"form.entryAccount"
:maxlength=
"30"
placeholder=
"请输入商家账号"
/>
</el-form-item>
<el-form-item
label=
"商家简介"
prop=
"entryDetails"
>
<el-input
v-model
.
trim=
"form.entryDetails"
type=
"textarea"
placeholder=
"请输入商家简介"
/>
</el-form-item>
<el-form-item
label=
"竖版封面"
prop=
"img"
>
<el-upload
class=
"upload-demo"
action=
"https://jsonplaceholder.typicode.com/posts/"
:on-preview=
"handlePreview"
:on-remove=
"handleRemove"
:file-list=
"fileList"
list-type=
"picture"
>
<!-- <el-button size="small" type="primary">点击上传</el-button>-->
<div
class=
"upload-trademark"
>
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<div
class=
"upload-trademark-title"
>
上传竖版封面
</div></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"封面"
prop=
"image"
>
<el-upload
class=
"upload-demo"
action=
"https://jsonplaceholder.typicode.com/posts/"
:on-preview=
"handlePreview"
:on-remove=
"handleRemove"
:file-list=
"fileList"
list-type=
"picture"
>
<!-- <el-button size="small" type="primary">点击上传</el-button>-->
<div
class=
"upload-trademark"
>
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<div
class=
"upload-trademark-title"
>
上传封面
</div></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
</el-upload>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
:loading=
"manageLoading"
:disabled=
"manageLoading"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
<!-- 详情弹出框-->
<!-- 详情弹出框-->
<el-dialog
title=
"商家详情"
:close-on-click-modal=
"false"
:visible
.
sync=
"detailopen"
width=
"779px"
append-to-body
@
close=
"reset"
>
<el-dialog
title=
"商家详情"
:close-on-click-modal=
"false"
:visible
.
sync=
"detailopen"
width=
"779px"
append-to-body
@
close=
"reset"
>
<el-form
:model=
"businessForm"
label-width=
"100px"
>
<el-form
:model=
"businessForm"
label-width=
"100px"
>
...
@@ -243,7 +176,7 @@
...
@@ -243,7 +176,7 @@
</el-dialog>
</el-dialog>
<!-- 绑定管理员弹窗-->
<!-- 绑定管理员弹窗-->
<el-dialog
title=
"绑定会员 "
:close-on-click-modal=
"false"
class=
"memberDialog"
:visible
.
sync=
"bindopen"
width=
"60%"
append-to-body
@
close=
"reset"
>
<el-dialog
title=
"绑定会员 "
:close-on-click-modal=
"false"
class=
"memberDialog"
:visible
.
sync=
"bindopen"
width=
"60%"
append-to-body
@
close=
"reset"
>
<el-form
ref=
"query"
style=
"padding: 0 0 0 0px"
:model=
"query"
:inline=
"true"
>
<el-form
ref=
"query"
style=
"padding: 0 0 0 0px"
:model=
"query"
:inline=
"true"
>
<el-form-item
prop=
"phone"
>
<el-form-item
prop=
"phone"
>
<el-input
<el-input
v-model=
"query.phone"
v-model=
"query.phone"
...
@@ -692,8 +625,11 @@ export default {
...
@@ -692,8 +625,11 @@ export default {
}
else
{
}
else
{
this
.
memberId
=
''
this
.
memberId
=
''
}
}
const
obj
=
{
storeId
:
row
.
businessId
}
console
.
log
(
'绑定的会员id为'
,
this
.
memberId
)
console
.
log
(
'绑定的会员id为'
,
this
.
memberId
)
queryMemberList
().
then
(
respos
=>
{
queryMemberList
(
obj
).
then
(
respos
=>
{
console
.
log
(
'会员列表'
,
respos
)
console
.
log
(
'会员列表'
,
respos
)
this
.
memberList
=
respos
.
rows
this
.
memberList
=
respos
.
rows
this
.
queryList
.
total
=
respos
.
total
this
.
queryList
.
total
=
respos
.
total
...
...
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