Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
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
office
haoban-3
Commits
912d66d7
Commit
912d66d7
authored
Jun 07, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/4月-菜单和权限' into test
parents
e7cb7a22
d7ad7e4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
9 deletions
+22
-9
select-group.vue
src/components/app/customer/select-group.vue
+10
-4
memberGroupSetList.vue
src/views/apps/customerApp/memberGroupSetList.vue
+12
-5
No files found.
src/components/app/customer/select-group.vue
View file @
912d66d7
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
import selectGroup from '@/components/app/customer/select-group.vue';
import selectGroup from '@/components/app/customer/select-group.vue';
-->
-->
<
template
>
<
template
>
<el-dialog
title=
"选择分组"
:visible
.
sync=
"dialogVisible"
width=
"833px"
:before-close=
"handleClose"
>
<el-dialog
class=
"select-table-dialog"
title=
"选择分组"
:visible
.
sync=
"dialogVisible"
width=
"833px"
:before-close=
"handleClose"
>
<div
class=
""
>
<div
class=
""
>
<div
class=
"search-top m-b-20"
>
<div
class=
"search-top m-b-20"
>
<el-input
placeholder=
"请输入分组名称搜索"
maxlength=
"50"
prefix-icon=
"el-icon-search"
v-model=
"searchInput"
class=
"w-280"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"clearInput"
>
</el-input>
<el-input
placeholder=
"请输入分组名称搜索"
maxlength=
"50"
prefix-icon=
"el-icon-search"
v-model=
"searchInput"
class=
"w-280"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"clearInput"
>
</el-input>
</div>
</div>
<el-table
class=
"select-table"
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
height=
"
450
"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }" @selection-change="handleSelectionChange">
<el-table
class=
"select-table"
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
height=
"
33vh
"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }" @selection-change="handleSelectionChange">
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
label=
"分组名称"
>
<el-table-column
label=
"分组名称"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -47,8 +47,8 @@
...
@@ -47,8 +47,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"block common-wrap__page text-right
m-t-24
"
v-if=
"tableData.length != 0"
>
<div
class=
"block common-wrap__page text-right"
v-if=
"tableData.length != 0"
>
<dm-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageSize"
layout=
"total, sizes, prev, pager, next
, jumper"
:total=
"total
"
>
</dm-pagination>
<dm-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"pageSize"
layout=
"total, sizes, prev, pager, next
"
:total=
"total"
style=
"margin-bottom: 0
"
>
</dm-pagination>
</div>
</div>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -188,6 +188,12 @@ export default {
...
@@ -188,6 +188,12 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.select-table-dialog
{
>>>
.el-dialog__body
{
padding-top
:
10px
;
padding-bottom
:
10px
;
}
}
.m-b-20
{
.m-b-20
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
...
...
src/views/apps/customerApp/memberGroupSetList.vue
View file @
912d66d7
...
@@ -22,22 +22,29 @@
...
@@ -22,22 +22,29 @@
</div>
</div>
<div
class=
"m-t-20"
>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"tempTable"
v-loading=
"loading"
:data=
"templateList"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }">
<el-table
class=
"select-table"
ref=
"tempTable"
v-loading=
"loading"
:data=
"templateList"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }">
<el-table-column
label=
"模板名称"
show-overflow-tooltip
>
<el-table-column
label=
"模板名称"
show-overflow-tooltip
min-width=
"150"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
templateName
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
templateName
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"模板id"
show-overflow-tooltip
>
<el-table-column
label=
"模板id"
show-overflow-tooltip
min-width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
templateId
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
templateId
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"编辑人"
show-overflow-tooltip
>
<el-table-column
label=
"创建人"
prop=
"creatorName"
show-overflow-tooltip
min-width=
"90"
></el-table-column>
<el-table-column
label=
"创建时间"
prop=
"createTime"
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
<div
class=
"line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToYmd
}}
</div>
<div
class=
"line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToHms
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"编辑人"
show-overflow-tooltip
min-width=
"90"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
editPerson
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
editPerson
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"最近编辑时间"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"最近编辑时间"
show-overflow-tooltip
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"line-18"
>
{{
scope
.
row
.
editTime
|
timeStampToYmd
}}
</div>
<div
class=
"line-18"
>
{{
scope
.
row
.
editTime
|
timeStampToYmd
}}
</div>
<div
class=
"line-18"
>
{{
scope
.
row
.
editTime
|
timeStampToHms
}}
</div>
<div
class=
"line-18"
>
{{
scope
.
row
.
editTime
|
timeStampToHms
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"$getButtonLimit($buttonCode.editGroupTemp) || $getButtonLimit($buttonCode.setStoreArea) || $getButtonLimit($buttonCode.delGroupTemp)"
>
<el-table-column
label=
"操作"
v-if=
"$getButtonLimit($buttonCode.editGroupTemp) || $getButtonLimit($buttonCode.setStoreArea) || $getButtonLimit($buttonCode.delGroupTemp)"
min-width=
"150"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"$getButtonLimit($buttonCode.editGroupTemp)"
:limit-code=
"$buttonCode.editGroupTemp"
@
click=
"toEdit(scope.$index, scope.row)"
type=
"text"
:disabled=
"$store.state.wxEnterpriseType"
>
编辑
</el-button>
<el-button
v-if=
"$getButtonLimit($buttonCode.editGroupTemp)"
:limit-code=
"$buttonCode.editGroupTemp"
@
click=
"toEdit(scope.$index, scope.row)"
type=
"text"
:disabled=
"$store.state.wxEnterpriseType"
>
编辑
</el-button>
<el-button
v-if=
"$getButtonLimit($buttonCode.setStoreArea)"
:limit-code=
"$buttonCode.setStoreArea"
@
click=
"toStore(scope.$index, scope.row)"
type=
"text"
:disabled=
"$store.state.wxEnterpriseType"
>
门店范围设置
</el-button>
<el-button
v-if=
"$getButtonLimit($buttonCode.setStoreArea)"
:limit-code=
"$buttonCode.setStoreArea"
@
click=
"toStore(scope.$index, scope.row)"
type=
"text"
:disabled=
"$store.state.wxEnterpriseType"
>
门店范围设置
</el-button>
...
...
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