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
a0ff0c1c
Commit
a0ff0c1c
authored
Apr 06, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
695faa29
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
49 deletions
+49
-49
index.vue
src/page/check/display/index.vue
+12
-12
index.vue
src/page/content/display/classify/index.vue
+4
-4
add.vue
src/page/content/display/content/add.vue
+23
-23
index.vue
src/page/content/display/copyright/index.vue
+3
-3
add.vue
src/page/content/video/content/add.vue
+7
-7
No files found.
src/page/check/display/index.vue
View file @
a0ff0c1c
...
@@ -500,7 +500,7 @@ export default {
...
@@ -500,7 +500,7 @@ export default {
// this.editForm = data
// this.editForm = data
// this.ruleForm = data;
// this.ruleForm = data;
// this.ruleForm = {
// this.ruleForm = {
//
assetCopyrightOwnerId :data.asse
tCopyrightOwnerId,
//
videoContentCopyrightOwnerId :data.videoConten
tCopyrightOwnerId,
// assetId:data.assetId,
// assetId:data.assetId,
// assetTypeId:data.assetTypeId,
// assetTypeId:data.assetTypeId,
// boardCopyrightOwnerId:data.boardCopyrightOwnerId,
// boardCopyrightOwnerId:data.boardCopyrightOwnerId,
...
...
src/page/content/display/classify/index.vue
View file @
a0ff0c1c
...
@@ -417,10 +417,10 @@ export default {
...
@@ -417,10 +417,10 @@ export default {
// }
// }
// _this.editform= Object.assign({}, row);
// _this.editform= Object.assign({}, row);
_this
.
FormVisible1
=
true
;
_this
.
FormVisible1
=
true
;
this
.
get
AssetType
Info
(
row
.
id
)
this
.
get
VideoContentCat
Info
(
row
.
id
)
},
},
// 获取展板分类详情
// 获取展板分类详情
get
AssetType
Info
(
id
){
get
VideoContentCat
Info
(
id
){
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
...
...
src/page/content/display/content/add.vue
View file @
a0ff0c1c
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
<el-select
<el-select
placeholder=
"请选择视频版权方"
placeholder=
"请选择视频版权方"
@
focus=
"getAssetCopyrightData"
@
focus=
"getAssetCopyrightData"
v-model=
"ruleForm.
asse
tCopyrightOwnerId"
v-model=
"ruleForm.
videoConten
tCopyrightOwnerId"
>
>
<el-option
<el-option
v-for=
"item in copyrightOwner"
v-for=
"item in copyrightOwner"
...
@@ -88,9 +88,9 @@
...
@@ -88,9 +88,9 @@
<el-form-item
label=
"请选择预设视频分类"
>
<el-form-item
label=
"请选择预设视频分类"
>
<el-select
<el-select
placeholder=
"请选择预设视频分类"
placeholder=
"请选择预设视频分类"
@
focus=
"get
AssetType
Data"
@
focus=
"get
VideoContentCat
Data"
v-model=
"ruleForm.
assetType
Id"
v-model=
"ruleForm.
videoContentCat
Id"
@
change=
"get
AssetType
"
@
change=
"get
VideoContentCat
"
>
>
<el-option
<el-option
v-for=
"item in videoContentCat"
v-for=
"item in videoContentCat"
...
@@ -104,10 +104,10 @@
...
@@ -104,10 +104,10 @@
<el-select
<el-select
placeholder=
"请选择视频"
placeholder=
"请选择视频"
@
focus=
"getVideoData"
@
focus=
"getVideoData"
v-model=
"ruleForm.
asse
tId"
v-model=
"ruleForm.
videoConten
tId"
>
>
<el-option
<el-option
v-for=
"item in
asse
tId"
v-for=
"item in
videoConten
tId"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
copyrightOwner
:
[],
copyrightOwner
:
[],
boardCopyrightOwnerId
:[],
boardCopyrightOwnerId
:[],
exhibitionBoardCatId
:[],
exhibitionBoardCatId
:[],
asse
tId
:[],
videoConten
tId
:[],
type
:
this
.
$route
.
query
.
type
,
type
:
this
.
$route
.
query
.
type
,
dialogVisible
:
false
,
dialogVisible
:
false
,
formLabelWidth
:
"100px"
,
formLabelWidth
:
"100px"
,
...
@@ -174,8 +174,8 @@ export default {
...
@@ -174,8 +174,8 @@ export default {
ruleForm
:
{
ruleForm
:
{
name
:
""
,
name
:
""
,
boardCopyrightOwnerId
:
""
,
boardCopyrightOwnerId
:
""
,
asse
tCopyrightOwnerId
:
""
,
videoConten
tCopyrightOwnerId
:
""
,
assetType
Id
:
""
,
videoContentCat
Id
:
""
,
videoUrlList
:
[]
videoUrlList
:
[]
},
},
videoContentCat
:
[
videoContentCat
:
[
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
},
},
// 视频版权方名称id
// 视频版权方名称id
videoCopyright
(
idlist
)
{
videoCopyright
(
idlist
)
{
this
.
ruleForm
.
asse
tCopyrightOwnerId
=
idlist
;
this
.
ruleForm
.
videoConten
tCopyrightOwnerId
=
idlist
;
},
},
// 缩略图地址
// 缩略图地址
imgUrl
(
url
)
{
imgUrl
(
url
)
{
...
@@ -248,14 +248,14 @@ export default {
...
@@ -248,14 +248,14 @@ export default {
videoList
(
list
)
{
videoList
(
list
)
{
this
.
ruleForm
.
videoUrlList
=
list
;
this
.
ruleForm
.
videoUrlList
=
list
;
},
},
get
AssetType
(
data
)
{
get
VideoContentCat
(
data
)
{
console
.
log
(
data
);
console
.
log
(
data
);
console
.
log
(
this
.
ruleForm
.
assetType
Id
);
console
.
log
(
this
.
ruleForm
.
videoContentCat
Id
);
},
},
init
()
{
init
()
{
if
(
this
.
$route
.
query
.
type
===
"Update"
)
{
if
(
this
.
$route
.
query
.
type
===
"Update"
)
{
this
.
getInfo
(
this
.
$route
.
query
.
id
);
this
.
getInfo
(
this
.
$route
.
query
.
id
);
this
.
get
AssetType
Data
();
this
.
get
VideoContentCat
Data
();
this
.
getAssetCopyrightData
();
this
.
getAssetCopyrightData
();
this
.
getExhibitionBoardCatId
();
this
.
getExhibitionBoardCatId
();
this
.
getBoardCopyrightOwnerId
();
this
.
getBoardCopyrightOwnerId
();
...
@@ -278,9 +278,9 @@ export default {
...
@@ -278,9 +278,9 @@ export default {
// this.ruleForm = data;
// this.ruleForm = data;
console
.
log
(
this
.
ruleForm
)
console
.
log
(
this
.
ruleForm
)
this
.
ruleForm
=
{
this
.
ruleForm
=
{
assetCopyrightOwnerId
:
data
.
asse
tCopyrightOwnerId
,
videoContentCopyrightOwnerId
:
data
.
videoConten
tCopyrightOwnerId
,
assetId
:
data
.
asse
tId
,
videoContentId
:
data
.
videoConten
tId
,
assetTypeId
:
data
.
assetType
Id
,
videoContentCatId
:
data
.
videoContentCat
Id
,
boardCopyrightOwnerId
:
data
.
boardCopyrightOwnerId
,
boardCopyrightOwnerId
:
data
.
boardCopyrightOwnerId
,
cover
:
data
.
cover
,
cover
:
data
.
cover
,
exhibitionBoardCatId
:
data
.
exhibitionBoardCatId
,
exhibitionBoardCatId
:
data
.
exhibitionBoardCatId
,
...
@@ -453,7 +453,7 @@ export default {
...
@@ -453,7 +453,7 @@ export default {
});
});
},
},
// 获取视频分类列表
// 获取视频分类列表
get
AssetType
Data
()
{
get
VideoContentCat
Data
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"videoContentCat/getList"
,
url
:
"videoContentCat/getList"
,
...
@@ -478,7 +478,7 @@ export default {
...
@@ -478,7 +478,7 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
asse
tId
=
data
;
this
.
videoConten
tId
=
data
;
})
})
.
catch
(
function
(
err
)
{
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
...
...
src/page/content/display/copyright/index.vue
View file @
a0ff0c1c
...
@@ -441,10 +441,10 @@ export default {
...
@@ -441,10 +441,10 @@ export default {
// }
// }
// _this.editform= Object.assign({}, row);
// _this.editform= Object.assign({}, row);
_this
.
FormVisible1
=
true
;
_this
.
FormVisible1
=
true
;
this
.
get
AssetType
Info
(
row
.
id
)
this
.
get
VideoContentCat
Info
(
row
.
id
)
},
},
// 获取视频分类详情
// 获取视频分类详情
get
AssetType
Info
(
id
){
get
VideoContentCat
Info
(
id
){
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
...
...
src/page/content/video/content/add.vue
View file @
a0ff0c1c
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<el-select
<el-select
placeholder=
"请选择视频版权方"
placeholder=
"请选择视频版权方"
@
focus=
"getAssetCopyrightData"
@
focus=
"getAssetCopyrightData"
v-model=
"ruleForm.
asse
tCopyrightOwnerId"
v-model=
"ruleForm.
videoConten
tCopyrightOwnerId"
>
>
<el-option
<el-option
v-for=
"item in copyrightOwner"
v-for=
"item in copyrightOwner"
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
value1
:
[],
value1
:
[],
ruleForm
:
{
ruleForm
:
{
name
:
""
,
name
:
""
,
asse
tCopyrightOwnerId
:
""
,
videoConten
tCopyrightOwnerId
:
""
,
assetTypeId
:
""
,
assetTypeId
:
""
,
thumbnail
:
""
,
thumbnail
:
""
,
videoUrlList
:[]
videoUrlList
:[]
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
methods
:
{
methods
:
{
// 视频版权方名称id
// 视频版权方名称id
videoCopyright
(
idlist
){
videoCopyright
(
idlist
){
this
.
ruleForm
.
asse
tCopyrightOwnerId
=
idlist
this
.
ruleForm
.
videoConten
tCopyrightOwnerId
=
idlist
},
},
// 缩略图地址
// 缩略图地址
imgUrl
(
url
){
imgUrl
(
url
){
...
@@ -265,7 +265,7 @@ export default {
...
@@ -265,7 +265,7 @@ export default {
// this.ruleForm = data;
// this.ruleForm = data;
this
.
ruleForm
.
id
=
data
.
id
this
.
ruleForm
.
id
=
data
.
id
this
.
ruleForm
.
name
=
data
.
name
this
.
ruleForm
.
name
=
data
.
name
this
.
ruleForm
.
assetCopyrightOwnerId
=
data
.
asse
tCopyrightOwnerId
this
.
ruleForm
.
videoContentCopyrightOwnerId
=
data
.
videoConten
tCopyrightOwnerId
this
.
ruleForm
.
assetTypeId
=
data
.
assetTypeId
this
.
ruleForm
.
assetTypeId
=
data
.
assetTypeId
this
.
ruleForm
.
thumbnail
=
data
.
thumbnail
this
.
ruleForm
.
thumbnail
=
data
.
thumbnail
this
.
ruleForm
.
videoUrlList
=
data
.
videoUrlList
this
.
ruleForm
.
videoUrlList
=
data
.
videoUrlList
...
@@ -324,7 +324,7 @@ export default {
...
@@ -324,7 +324,7 @@ export default {
// 新增
// 新增
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
(
valid
=>
{
this
.
$refs
[
formName
].
validate
(
valid
=>
{
// this.ruleForm.
asse
tCopyrightOwnerId = ["1373225989501456385"]
// this.ruleForm.
videoConten
tCopyrightOwnerId = ["1373225989501456385"]
// this.ruleForm.assetTypeIdList = []
// this.ruleForm.assetTypeIdList = []
// this.ruleForm.videoUrlList = [
// this.ruleForm.videoUrlList = [
// "http://111.203.232.175:8085/group1/M00/00/39/wKhuVWBgIvaANgtZAAAAAAAAAAA947.mp4"
// "http://111.203.232.175:8085/group1/M00/00/39/wKhuVWBgIvaANgtZAAAAAAAAAAA947.mp4"
...
...
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