Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
4aeb4338
Commit
4aeb4338
authored
Aug 13, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
be2bef07
f9d1e6fa
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
156 additions
and
251 deletions
+156
-251
imgsc.png
src/assets/img/userman/imgsc.png
+0
-0
wdbg.png
src/assets/img/wdbg.png
+0
-0
liveManage.vue
src/components/StoreDesign/liveManage.vue
+55
-1
wdCustomSet.vue
src/components/UserMan/tinyMerchant/wdCustomSet.vue
+101
-250
No files found.
src/assets/img/userman/imgsc.png
0 → 100644
View file @
4aeb4338
1.01 KB
src/assets/img/wdbg.png
0 → 100644
View file @
4aeb4338
70.5 KB
src/components/StoreDesign/liveManage.vue
View file @
4aeb4338
...
...
@@ -11,7 +11,7 @@
v-loading=
"loading"
style=
"width: 100%"
>
<el-table-column
prop=
"
ID
"
prop=
"
roomid
"
label=
"房间ID"
width=
"80"
>
</el-table-column>
...
...
@@ -59,7 +59,23 @@
<div
class=
"el-tag"
v-if=
"scope.row.live_status==106"
>
异常
</div>
<div
class=
"el-tag"
v-if=
"scope.row.live_status==107"
>
已过期
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"海报"
>
<
template
slot-scope=
"scope"
>
<el-image
:src=
"scope.row.ExtensionImg"
class=
"goods-image"
:preview-src-list=
"[scope.row.ExtensionImg]"
style=
"width:150px;height:150px"
></el-image>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"图片上传"
placement=
"top"
>
<img
@
click=
"imgupload(scope.row)"
class=
"app-order-icon"
src=
"../../assets/img/userman/imgsc.png"
alt=
""
>
</el-tooltip>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
background
...
...
@@ -69,12 +85,20 @@
:total=
"count"
>
</el-pagination>
</div>
<!-- 选择文件 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
ref=
"mychild"
></ChooseImg>
</el-dialog>
</div>
</template>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
name
:
"liveManage"
,
components
:
{
ChooseImg
},
data
(){
return
{
msg
:{
...
...
@@ -85,6 +109,12 @@
tableData
:
[],
loading
:
false
,
btnload
:
false
,
changeState
:
false
,
imgMsg
:{
ID
:
0
,
roomid
:
0
,
ExtensionImg
:
''
,
}
}
},
created
(){
...
...
@@ -120,6 +150,30 @@
this
.
msg
.
pageIndex
=
val
;
this
.
getIntegraStatisticslList
();
},
imgupload
(
row
){
console
.
log
(
row
)
this
.
imgMsg
.
ID
=
row
.
HouseImgID
;
this
.
imgMsg
.
roomid
=
row
.
roomid
;
this
.
changeState
=
true
;
},
SelectId
(
msg
){
let
img
=
this
.
getIconLink
(
msg
.
url
)
this
.
changeState
=
false
;
this
.
imgMsg
.
ExtensionImg
=
img
;
this
.
addOrUpdateHouseImg
()
},
addOrUpdateHouseImg
(){
this
.
btnload
=
true
;
this
.
apipost
(
"/api/Publish/AddOrUpdateHouseImg"
,
this
.
imgMsg
,
res
=>
{
this
.
btnload
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
getDateList
()
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
},
}
}
</
script
>
...
...
src/components/UserMan/tinyMerchant/wdCustomSet.vue
View file @
4aeb4338
This diff is collapsed.
Click to expand it.
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