Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 878988f8
authored
Oct 27, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表格样式
1 parent
930c000f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
11 deletions
src/assets/css/public.scss
src/views/cmmodityLibrary/warehousList.vue
src/views/cmmodityLibrary/warehousingList.vue
src/views/liveMember/memberList.vue
src/views/liveRoom/liveRoomList.vue
src/assets/css/public.scss
View file @
878988f
...
@@ -5,6 +5,15 @@
...
@@ -5,6 +5,15 @@
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.10
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.10
);
}
}
.live-room
.el-table
.cell
{
line-height
:
16px
;
}
.live-room
.table-btns
.el-button
{
padding
:
0
;
}
.live-room
.img-60
{
.live-room
.img-60
{
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
...
...
src/views/cmmodityLibrary/warehousList.vue
View file @
878988f
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<span
slot=
"coverImgUrl"
slot-scope=
"scope"
>
<span
slot=
"coverImgUrl"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.coverImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.coverImgUrl"
/>
</span>
</span>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
v-show=
"scope.scope.auditStatus != 1"
>
<span
v-show=
"scope.scope.auditStatus != 1"
>
<el-button
type=
"text"
@
click=
"handleExamine(scope.scope)"
>
提交审核
</el-button>
<el-button
type=
"text"
@
click=
"handleExamine(scope.scope)"
>
提交审核
</el-button>
<el-button
type=
"text"
@
click=
"scope.scope.goodsGroupFlag == 'N' ? handleEdit(2, scope.scope) : handleEditGroup(2, scope.scope)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"scope.scope.goodsGroupFlag == 'N' ? handleEdit(2, scope.scope) : handleEditGroup(2, scope.scope)"
>
编辑
</el-button>
...
@@ -56,7 +56,8 @@ export default {
...
@@ -56,7 +56,8 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品标题'
,
label
:
'商品标题'
,
prop
:
'name'
prop
:
'name'
,
line
:
2
},
},
{
{
label
:
'直播间图片'
,
label
:
'直播间图片'
,
...
@@ -66,6 +67,7 @@ export default {
...
@@ -66,6 +67,7 @@ export default {
{
{
label
:
'价格(元)'
,
label
:
'价格(元)'
,
prop
:
'price'
,
prop
:
'price'
,
line
:
1
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
price2
&&
cellValue
.
price1
!=
cellValue
.
price2
?
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
+
'-'
+
(
cellValue
.
price2
/
100
).
toFixed
(
2
)
:
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
return
cellValue
.
price2
&&
cellValue
.
price1
!=
cellValue
.
price2
?
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
+
'-'
+
(
cellValue
.
price2
/
100
).
toFixed
(
2
)
:
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
}
}
...
@@ -73,13 +75,15 @@ export default {
...
@@ -73,13 +75,15 @@ export default {
{
{
label
:
'审核状态'
,
label
:
'审核状态'
,
prop
:
'auditStatus'
,
prop
:
'auditStatus'
,
width
:
'80'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseDataList
.
auditStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
auditStatus
).
confName
return
this
.
baseDataList
.
auditStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
auditStatus
).
confName
}
}
},
},
{
{
label
:
'来源门店'
,
label
:
'来源门店'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
line
:
2
}
}
]
]
},
},
...
...
src/views/cmmodityLibrary/warehousingList.vue
View file @
878988f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<span
slot=
"coverImgUrl"
slot-scope=
"scope"
>
<span
slot=
"coverImgUrl"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.coverImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.coverImgUrl"
/>
</span>
</span>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"handleEdit(scope.scope)"
>
修改价格
</el-button>
<el-button
type=
"text"
@
click=
"handleEdit(scope.scope)"
>
修改价格
</el-button>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
</span>
</span>
...
@@ -62,7 +62,8 @@ export default {
...
@@ -62,7 +62,8 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品标题'
,
label
:
'商品标题'
,
prop
:
'name'
prop
:
'name'
,
line
:
2
},
},
{
{
label
:
'直播间图片'
,
label
:
'直播间图片'
,
...
@@ -72,13 +73,15 @@ export default {
...
@@ -72,13 +73,15 @@ export default {
{
{
label
:
'价格(元)'
,
label
:
'价格(元)'
,
prop
:
'price'
,
prop
:
'price'
,
line
:
1
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
price2
&&
cellValue
.
price1
!=
cellValue
.
price2
?
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
+
'-'
+
(
cellValue
.
price2
/
100
).
toFixed
(
2
)
:
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
return
cellValue
.
price2
&&
cellValue
.
price1
!=
cellValue
.
price2
?
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
+
'-'
+
(
cellValue
.
price2
/
100
).
toFixed
(
2
)
:
(
cellValue
.
price1
/
100
).
toFixed
(
2
)
}
}
},
},
{
{
label
:
'来源门店'
,
label
:
'来源门店'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
line
:
2
}
}
]
]
},
},
...
...
src/views/liveMember/memberList.vue
View file @
878988f
...
@@ -45,15 +45,18 @@ export default {
...
@@ -45,15 +45,18 @@ export default {
},
},
{
{
label
:
'昵称'
,
label
:
'昵称'
,
prop
:
'nickName'
prop
:
'nickName'
,
line
:
2
},
},
{
{
label
:
'微信号'
,
label
:
'微信号'
,
prop
:
'userName'
prop
:
'userName'
,
line
:
2
},
},
{
{
label
:
'所属角色'
,
label
:
'所属角色'
,
prop
:
'roleList'
,
prop
:
'roleList'
,
line
:
2
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
var
txt
=
''
var
txt
=
''
cellValue
.
roleList
.
forEach
((
item
,
index
)
=>
{
cellValue
.
roleList
.
forEach
((
item
,
index
)
=>
{
...
...
src/views/liveRoom/liveRoomList.vue
View file @
878988f
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
</span>
</span>
<span
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
控制台
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
控制台
</el-button>
<el-button
type=
"text"
@
click=
"handleShare(scope.scope)"
>
分享
</el-button>
<el-button
type=
"text"
@
click=
"handleShare(scope.scope)"
>
分享
</el-button>
<el-button
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</el-button>
...
@@ -89,13 +89,15 @@ export default {
...
@@ -89,13 +89,15 @@ export default {
{
{
label
:
'最近开播'
,
label
:
'最近开播'
,
prop
:
'time'
,
prop
:
'time'
,
width
:
'180'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
startTime
+
'-'
+
cellValue
.
endTime
return
cellValue
.
startTime
+
'-'
+
cellValue
.
endTime
}
}
},
},
{
{
label
:
'直播间名称'
,
label
:
'直播间名称'
,
prop
:
'name'
prop
:
'name'
,
line
:
1
},
},
{
{
label
:
'房间号'
,
label
:
'房间号'
,
...
@@ -103,7 +105,8 @@ export default {
...
@@ -103,7 +105,8 @@ export default {
},
},
{
{
label
:
'主播'
,
label
:
'主播'
,
prop
:
'anchorName'
prop
:
'anchorName'
,
line
:
1
},
},
{
{
label
:
'直播间图片'
,
label
:
'直播间图片'
,
...
@@ -114,6 +117,7 @@ export default {
...
@@ -114,6 +117,7 @@ export default {
{
{
label
:
'直播状态'
,
label
:
'直播状态'
,
prop
:
'liveStatus'
,
prop
:
'liveStatus'
,
width
:
'80'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseDataList
.
liveStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
liveStatus
).
confName
return
this
.
baseDataList
.
liveStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
liveStatus
).
confName
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment