Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
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
qzhxx
national_museum_vod
Commits
6894527c
Commit
6894527c
authored
Apr 12, 2021
by
xulili
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.203.232.171:8888/qzhxx/national_museum_vod
parents
dafbf4c5
82dd868f
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
135 additions
and
94 deletions
+135
-94
httpServer.js
src/config/httpServer.js
+1
-1
addDialog.vue
src/page/STB/appversion/components/addDialog.vue
+8
-8
index.vue
src/page/STB/appversion/index.vue
+3
-2
index.vue
src/page/STB/base/index.vue
+3
-2
index.vue
src/page/STB/interactive/index.vue
+1
-1
index.vue
src/page/STB/operation/index.vue
+5
-4
index.vue
src/page/STB/pageCustom/index.vue
+6
-6
index.vue
src/page/check/display/index.vue
+0
-1
index.vue
src/page/check/learn/index.vue
+0
-1
index.vue
src/page/check/video/index.vue
+0
-1
uploadAudio.vue
src/page/content/components/uploadVue/uploadAudio.vue
+2
-6
uploadDatum.vue
src/page/content/components/uploadVue/uploadDatum.vue
+2
-6
uploadFile.vue
src/page/content/components/uploadVue/uploadFile.vue
+4
-7
uploadImg.vue
src/page/content/components/uploadVue/uploadImg.vue
+1
-1
uploadQrcode.vue
src/page/content/components/uploadVue/uploadQrcode.vue
+2
-2
add.vue
src/page/content/display/content/add.vue
+35
-13
add.vue
src/page/content/learn/content/add.vue
+11
-2
index.vue
src/page/content/learn/content/index.vue
+0
-13
index.vue
src/page/content/video/classify/index.vue
+0
-2
index.vue
src/page/content/video/content/index.vue
+46
-7
index.vue
src/page/content/video/copyright/index.vue
+0
-2
index.vue
src/page/content/video/remit/index.vue
+5
-6
No files found.
src/config/httpServer.js
View file @
6894527c
...
...
@@ -66,7 +66,7 @@ const httpServer = (opts, data, file, timeout) => {
let
httpDefaultOpts
=
{
method
:
opts
.
method
,
url
:
baseUrl
+
opts
.
url
,
timeout
:
timeout
?
timeout
:
2
0000
,
timeout
:
timeout
?
timeout
:
1080
0000
,
params
:
Object
.
assign
(
Public
,
data
),
data
:
data
,
headers
:
opts
.
headers
||
{},
...
...
src/page/STB/appversion/components/addDialog.vue
View file @
6894527c
...
...
@@ -28,10 +28,10 @@
v-model=
"formItem.versionInfo"
></el-input>
</el-form-item>
<el-form-item
label=
"更新内容:"
prop=
"update
Content
"
>
<el-form-item
label=
"更新内容:"
prop=
"update
Log
"
>
<el-input
type=
"textarea"
v-model=
"formItem.update
Content
"
v-model=
"formItem.update
Log
"
></el-input>
</el-form-item>
<el-upload
...
...
@@ -63,7 +63,7 @@
export
default
{
data
()
{
return
{
uploadUrl
:
'http://1
92.168.110.67
/mall/file/upload/allType'
,
uploadUrl
:
'http://1
11.203.232.175:8088
/mall/file/upload/allType'
,
formVisible
:
false
,
headers
:{
Authorization
:
localStorage
.
getItem
(
'backToken'
)},
formItem
:
{},
...
...
@@ -75,7 +75,7 @@ export default {
versionInfo
:
[
{
required
:
true
,
message
:
"请输入版本信息"
,
trigger
:
"blur"
},
],
update
Content
:
[
update
Log
:
[
{
required
:
true
,
message
:
"请输入更新内容"
,
trigger
:
"blur"
},
],
},
...
...
@@ -128,7 +128,7 @@ export default {
let
param
=
{
appVersion
:
this
.
formItem
.
appVersion
,
versionInfo
:
this
.
formItem
.
versionInfo
,
update
Content
:
this
.
formItem
.
updateContent
,
update
Log
:
this
.
formItem
.
updateLog
,
apkUrl
:
this
.
formItem
.
apkUrl
,
}
_this
...
...
src/page/STB/appversion/index.vue
View file @
6894527c
...
...
@@ -111,6 +111,7 @@ export default {
// 查询
onSearch
()
{
this
.
page
.
_index
=
1
;
this
.
requestForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
this
.
getTableData
();
},
// 获得数据接口
...
...
@@ -119,8 +120,8 @@ export default {
let
param
=
{
_index
:
this
.
page
.
_index
,
_size
:
this
.
page
.
_size
,
startDate
:
this
.
form
.
dateRange
.
length
?
this
.
f
orm
.
dateRange
[
0
]
:
""
,
endDate
:
this
.
form
.
dateRange
.
length
?
this
.
f
orm
.
dateRange
[
1
]
:
""
,
startDate
:
this
.
requestForm
.
dateRange
.
length
?
this
.
requestF
orm
.
dateRange
[
0
]
:
""
,
endDate
:
this
.
requestForm
.
dateRange
.
length
?
this
.
requestF
orm
.
dateRange
[
1
]
:
""
,
};
vm
.
$https
(
{
...
...
src/page/STB/base/index.vue
View file @
6894527c
...
...
@@ -94,6 +94,7 @@ export default {
// 查询
onSearch
()
{
this
.
page
.
_index
=
1
this
.
requestForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
this
.
getTableData
()
},
// 获得数据接口
...
...
@@ -102,8 +103,8 @@ export default {
let
param
=
{
_index
:
this
.
page
.
_index
,
_size
:
this
.
page
.
_size
,
areaId
:
this
.
form
.
areaId
.
length
?
this
.
form
.
areaId
[
this
.
f
orm
.
areaId
.
length
-
1
]
:
''
,
organId
:
this
.
f
orm
.
orgId
areaId
:
this
.
requestForm
.
areaId
.
length
?
this
.
requestForm
.
areaId
[
this
.
requestF
orm
.
areaId
.
length
-
1
]
:
''
,
organId
:
this
.
requestF
orm
.
orgId
};
vm
.
$https
(
{
...
...
src/page/STB/interactive/index.vue
View file @
6894527c
...
...
@@ -54,7 +54,7 @@
</div>
<div
class=
"img-box"
v-if=
"!item.images.length"
>
暂无数据
</div>
<div
class=
"author"
>
<div>
{{
item
.
user
name
}}
</div>
<div>
{{
item
.
name
}}
</div>
<div>
{{
item
.
createTime
}}
</div>
</div>
</div>
...
...
src/page/STB/operation/index.vue
View file @
6894527c
...
...
@@ -138,6 +138,7 @@ export default {
// 查询
onSearch
()
{
this
.
page
.
_index
=
1
;
this
.
requestForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
this
.
getTableData
();
},
// 获得数据接口
...
...
@@ -146,11 +147,11 @@ export default {
let
param
=
{
_index
:
this
.
page
.
_index
,
_size
:
this
.
page
.
_size
,
areaId
:
this
.
f
orm
.
areaId
.
length
?
this
.
form
.
areaId
[
this
.
f
orm
.
areaId
.
length
-
1
]
areaId
:
this
.
requestF
orm
.
areaId
.
length
?
this
.
requestForm
.
areaId
[
this
.
requestF
orm
.
areaId
.
length
-
1
]
:
""
,
organId
:
this
.
f
orm
.
orgId
,
status
:
this
.
f
orm
.
status
,
organId
:
this
.
requestF
orm
.
orgId
,
status
:
this
.
requestF
orm
.
status
,
};
vm
.
$https
(
{
...
...
src/page/STB/pageCustom/index.vue
View file @
6894527c
...
...
@@ -11,7 +11,7 @@
<div
class=
"title"
>
app目录界面设置
</div>
<div
class=
"btn-group"
>
<el-upload
action=
"http://1
92.168.110.67
/mall/file/image/upload"
action=
"http://1
11.203.232.175:8088
/mall/file/image/upload"
:on-success=
"uploadPageImg"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
...
...
@@ -43,7 +43,7 @@
<div
class=
"title"
>
app运行画面设置
</div>
<div
class=
"btn-group"
>
<el-upload
action=
"http://1
92.168.110.67
/mall/file/image/upload"
action=
"http://1
11.203.232.175:8088
/mall/file/image/upload"
:on-success=
"uploadRunImg"
:before-upload=
"handleBeforeUpload"
:headers =
"headers"
...
...
@@ -108,7 +108,7 @@ export default {
},
on
:
{
click
:
function
()
{
console
.
log
(
vm
);
if
(
this
.
$el
[
0
].
parentNode
.
className
.
indexOf
(
"top"
)
>
0
)
{
vm
.
radioPage
=
this
.
realIndex
;
}
...
...
@@ -237,8 +237,8 @@ export default {
},
// 修改当前项
submitForm
()
{
vm
.
radioPage
&&
this
.
updateCurrent
(
this
.
pageList
[
vm
.
radioPage
].
id
,
"tAppDirPic/update"
);
vm
.
radioRun
&&
this
.
updateCurrent
(
this
.
runList
[
vm
.
radioRun
].
id
,
"tAppRunPic/update"
);
this
.
updateCurrent
(
this
.
pageList
[
vm
.
radioPage
].
id
,
"tAppDirPic/update"
);
this
.
updateCurrent
(
this
.
runList
[
vm
.
radioRun
].
id
,
"tAppRunPic/update"
);
},
updateCurrent
(
id
,
url
)
{
let
vm
=
this
;
...
...
src/page/check/display/index.vue
View file @
6894527c
...
...
@@ -132,7 +132,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
src/page/check/learn/index.vue
View file @
6894527c
...
...
@@ -111,7 +111,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
src/page/check/video/index.vue
View file @
6894527c
...
...
@@ -97,7 +97,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
src/page/content/components/uploadVue/uploadAudio.vue
View file @
6894527c
<
template
>
<div>
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" -->
<!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" -->
<el-upload
ref=
"upload"
:multiple=
"true"
...
...
@@ -90,10 +86,10 @@ export default {
</
script
>
<
style
>
.fileUpload
{
.
el-upload
.
fileUpload
{
width
:
148px
;
height
:
148px
;
line-height
:
148px
;
line-height
:
148px
!important
;
margin
:
0
auto
;
border
:
1px
dashed
#c0ccda
;
font-size
:
24px
;
...
...
src/page/content/components/uploadVue/uploadDatum.vue
View file @
6894527c
<
template
>
<div>
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" -->
<!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" -->
<el-upload
ref=
"upload"
:multiple=
"true"
...
...
@@ -90,10 +86,10 @@ export default {
</
script
>
<
style
>
.fileUpload
{
.
el-upload
.
fileUpload
{
width
:
148px
;
height
:
148px
;
line-height
:
148px
;
line-height
:
148px
!important
;
margin
:
0
auto
;
border
:
1px
dashed
#c0ccda
;
font-size
:
24px
;
...
...
src/page/content/components/uploadVue/uploadFile.vue
View file @
6894527c
<
template
>
<div>
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" -->
<!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" -->
<el-upload
ref=
"upload"
:multiple=
"true"
...
...
@@ -101,10 +98,10 @@ export default {
</
script
>
<
style
>
.fileUpload
{
.
el-upload
.
fileUpload
{
width
:
148px
;
height
:
148px
;
line-height
:
148px
;
line-height
:
148px
!important
;
margin
:
0
auto
;
border
:
1px
dashed
#c0ccda
;
font-size
:
24px
;
...
...
src/page/content/components/uploadVue/uploadImg.vue
View file @
6894527c
<
template
>
<div>
<el-upload
action=
"http://1
92.168.110.67
/mall/file/image/upload"
action=
"http://1
11.203.232.175:8088
/mall/file/image/upload"
list-type=
"picture-card"
:on-preview=
"handlePictureCardPreview"
:on-remove=
"handleRemove"
...
...
src/page/content/components/uploadVue/uploadQrcode.vue
View file @
6894527c
<
template
>
<div>
<el-upload
action=
"http://1
92.168.110.67
/mall/file/image/upload"
action=
"http://1
11.203.232.175:8088
/mall/file/image/upload"
list-type=
"picture-card"
:on-preview=
"handlePictureCardPreview"
:on-remove=
"handleRemove"
...
...
src/page/content/display/content/add.vue
View file @
6894527c
...
...
@@ -73,6 +73,7 @@
<el-select
placeholder=
"请选择视频版权方"
v-model=
"ruleForm.videoContentCopyrightOwnerId"
@
change=
"clearVideo"
>
<el-option
v-for=
"item in copyrightOwner"
...
...
@@ -86,6 +87,7 @@
<el-select
placeholder=
"请选择视频分类"
v-model=
"ruleForm.videoContentCatId"
@
change=
"clearVideo"
>
<el-option
v-for=
"item in videoContentCat"
...
...
@@ -95,8 +97,9 @@
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"请选择视频"
prop=
"videoContentId"
>
<el-form-item
label=
"请选择视频"
prop=
"videoContentId"
class=
"w100"
>
<el-select
@
focus=
"getVideoData"
placeholder=
"请选择视频"
v-model=
"ruleForm.videoContentId"
>
...
...
@@ -109,10 +112,14 @@
</el-select>
</el-form-item>
<el-form-item></el-form-item>
<el-form-item
label=
"导览音频"
class=
"w50"
prop=
"audioIdList"
required
>
<el-form-item
label=
"导览音频"
prop=
"audioIdList"
required
>
<div
style=
"color:red;"
>
(可上传汉语、蒙语、藏语、维吾尔语、英语五种语言音频资料,命名方式为展板名称+语言)
</div>
<upload-audio
:fileList=
"ruleForm.audioList"
@
audioList=
"audioList"
></upload-audio>
</el-form-item>
<el-form-item
label=
"参考资料"
prop=
"datumIdList"
required
>
<div
style=
"color:red;"
>
(可支持word、excel、PDF、ppt、视频类型文件及图片上传)
</div>
<upload-datum
:fileList=
"ruleForm.datumList"
@
datumList=
"datumList"
></upload-datum>
</el-form-item>
</el-form>
...
...
@@ -163,6 +170,7 @@ export default {
boardCopyrightOwnerId
:
""
,
videoContentCopyrightOwnerId
:
""
,
videoContentCatId
:
""
,
videoContentId
:
""
,
audioIdList
:
[],
datumIdList
:
[],
datumList
:[],
...
...
@@ -205,7 +213,7 @@ export default {
this
.
getVideoContentCopyrightData
();
this
.
getExhibitionBoardCatId
();
this
.
getBoardCopyrightOwnerId
();
this
.
getVideoData
();
//
this.getVideoData();
if
(
this
.
$route
.
query
.
type
===
"Update"
)
{
this
.
getInfo
(
this
.
$route
.
query
.
id
);
}
...
...
@@ -366,19 +374,33 @@ export default {
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
},
// 视频版权方或视频分类发生变化时,重置视频的值
clearVideo
(){
this
.
ruleForm
.
videoContentId
=
''
},
// 获取视频列表
getVideoData
()
{
const
param
=
{
videoContentCatId
:
this
.
ruleForm
.
videoContentCatId
,
videoContentCopyrightOwnerId
:
this
.
ruleForm
.
videoContentCopyrightOwnerId
}
if
((
this
.
ruleForm
.
videoContentCatId
.
length
>
0
)
&&
(
this
.
ruleForm
.
videoContentCopyrightOwnerId
.
length
>
0
)){
let
vm
=
this
;
vm
.
$https
({
url
:
"videoContent/getList"
,
method
:
"get"
,
authType
:
this
.
backToken
}).
then
(
res
=>
{
},
param
).
then
(
res
=>
{
this
.
videoContentId
=
res
.
data
.
data
;
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
}
else
{
this
.
videoContentId
=
[]
}
},
// 关闭
close
()
{
...
...
src/page/content/learn/content/add.vue
View file @
6894527c
...
...
@@ -485,6 +485,7 @@ export default {
}
else
{
this
.
checkedThing
=
false
;
}
this
.
getTableParam
()
},
//
getSelectDep2
(
exhibitionBoardCatIdList
)
{
...
...
@@ -493,11 +494,19 @@ export default {
}
else
{
this
.
checkedThing2
=
false
;
}
this
.
getTableParam
()
},
// 筛选展板备选清单选项条件
getTableParam
(){
const
param
=
{
boardCopyrightOwnerIdList
:
this
.
ruleForm
.
copyrightOwnerIdList
,
exhibitionBoardCatIdList
:
this
.
ruleForm
.
exhibitionBoardCatIdList
};
if
((
param
.
boardCopyrightOwnerIdList
.
length
>
0
)
&&
(
param
.
exhibitionBoardCatIdList
.
length
>
0
)){
this
.
getTableData
(
param
);
}
else
{
this
.
tableData
=
[]
}
},
// 根据展板类别,版权方获取展板备选清单
getTableData
(
param
,
type
)
{
...
...
src/page/content/learn/content/index.vue
View file @
6894527c
...
...
@@ -148,19 +148,6 @@
<i
class=
"icon-table icon-disable"
></i>
</el-button>
</el-tooltip>
<!--
<el-button
type=
"text"
style=
"padding:0"
:disabled=
"scope.$index == 0"
@
click=
"moveUpward(scope.row, scope.$index)"
>
上移
</el-button>
<el-button
type=
"text"
style=
"padding:0"
:disabled=
"(scope.$index + 1) == tableData.length"
@
click=
"moveDown(scope.row, scope.$index)"
>
下移
</el-button>
-->
</div>
</
template
>
</el-table-column>
...
...
src/page/content/video/classify/index.vue
View file @
6894527c
...
...
@@ -71,8 +71,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
small
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
src/page/content/video/content/index.vue
View file @
6894527c
...
...
@@ -112,8 +112,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
small
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
@@ -513,10 +511,47 @@ export default {
console
.
log
(
err
);
});
},
// 删除
handleDelete
(
row
)
{
// 根据视频内容id查询被引用的展板
getUseBoard
(
id
){
this
.
$https
({
method
:
"get"
,
url
:
"videoContent/getExhibitionBoardById/"
+
id
,
authType
:
this
.
backToken
})
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
// console.log(res.data.data,'wwwww')
let
data
=
res
.
data
.
data
if
(
data
){
data
=
'当前视频已被展板('
+
res
.
data
.
data
+
')所使用,'
}
else
{
data
=
'当前视频无引用展板,'
}
console
.
log
(
data
)
this
.
openDel
(
id
,
data
)
}
else
{
this
.
$message
({
type
:
"error"
,
message
:
res
.
data
.
message
});
}
},
error
=>
{
this
.
$message
({
type
:
"fail"
,
message
:
"删除失败!"
+
error
.
response
.
data
});
}
);
},
//
// 删除弹出确认窗口
openDel
(
id
,
data
){
// alert(data)
const
dataMsg
=
data
let
_this
=
this
;
this
.
$confirm
(
"此操作将永久删除, 是否继续?"
,
"提示"
,
{
this
.
$confirm
(
dataMsg
+
"此操作将永久删除, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
...
...
@@ -525,7 +560,7 @@ export default {
_this
.
$https
({
method
:
"delete"
,
url
:
"videoContent/delete/"
+
row
.
id
,
url
:
"videoContent/delete/"
+
id
,
authType
:
this
.
backToken
})
.
then
(
...
...
@@ -548,6 +583,10 @@ export default {
})
.
catch
(()
=>
{});
},
// 删除
handleDelete
(
row
)
{
this
.
getUseBoard
(
row
.
id
)
},
// 批量操作
handleSelectionChange
(
selection
)
{
...
...
src/page/content/video/copyright/index.vue
View file @
6894527c
...
...
@@ -74,8 +74,6 @@
</div>
<div
class=
"partyt-pagination"
>
<el-pagination
small
background
@
current-change=
"handleCurrentChange"
:current-page=
"page.currentPage"
:page-size=
"page.pageSize"
...
...
src/page/content/video/remit/index.vue
View file @
6894527c
...
...
@@ -297,7 +297,7 @@ export default {
}
return
str
;
},
//
批量删除
//
汇出
multipleRemit
()
{
let
_this
=
this
;
let
str
=
_this
.
getMultipleSelect
();
...
...
@@ -306,10 +306,11 @@ export default {
console
.
log
(
str
);
_this
.
$https
({
url
:
"asset/download"
,
method
:
"
ge
t"
,
method
:
"
pos
t"
,
authType
:
this
.
backToken
},
{
idList
:
str
}
// {idList:str}
_this
.
$qs
.
stringify
({
idList
:
str
})
)
.
then
(
res
=>
{
...
...
@@ -329,8 +330,6 @@ export default {
downloadElement
.
click
()
// 点击下载
document
.
body
.
removeChild
(
downloadElement
)
// 下载完成移除元素
window
.
URL
.
revokeObjectURL
(
href
)
// 释放blob对象
},
error
=>
{}
);
...
...
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