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
9cab4646
Commit
9cab4646
authored
Apr 02, 2021
by
qzhxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数调整
parent
db851fd3
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
93 additions
and
89 deletions
+93
-89
index.vue
src/page/check/display/index.vue
+3
-3
index.vue
src/page/check/learn/index.vue
+3
-3
index.vue
src/page/check/video/index.vue
+7
-7
addCopyright.vue
src/page/content/components/dialog/addCopyright.vue
+9
-9
mulDisplay.vue
src/page/content/components/mulClassify/mulDisplay.vue
+7
-7
mulVideo.vue
src/page/content/components/mulClassify/mulVideo.vue
+7
-7
uploadFile.vue
src/page/content/components/uploadVue/uploadFile.vue
+6
-4
uploadImg.vue
src/page/content/components/uploadVue/uploadImg.vue
+4
-2
uploadQrcode.vue
src/page/content/components/uploadVue/uploadQrcode.vue
+1
-1
add-.vue
src/page/content/display/content/add-.vue
+1
-1
add.vue
src/page/content/display/content/add.vue
+7
-7
add.vue
src/page/content/learn/content/add.vue
+5
-5
index.vue
src/page/content/video/classify/index.vue
+5
-5
add.vue
src/page/content/video/content/add.vue
+12
-12
index.vue
src/page/content/video/content/index.vue
+3
-3
add.vue
src/page/content/video/copyright/add.vue
+9
-9
index.vue
src/page/content/video/copyright/index.vue
+3
-3
index.vue
src/page/content/video/remit/index.vue
+1
-1
No files found.
src/page/check/display/index.vue
View file @
9cab4646
...
@@ -340,7 +340,7 @@ export default {
...
@@ -340,7 +340,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
_this
_this
.
$https
(
.
$https
(
{
url
:
"
assetType
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
{
url
:
"
videoContentCat
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
_this
.
$qs
.
stringify
(
_this
.
classForm
)
_this
.
$qs
.
stringify
(
_this
.
classForm
)
// _this.classForm
// _this.classForm
)
)
...
@@ -462,7 +462,7 @@ export default {
...
@@ -462,7 +462,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/get/"
+
id
,
url
:
"
videoContentCat
/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -533,7 +533,7 @@ export default {
...
@@ -533,7 +533,7 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
_this
.
$https
({
_this
.
$https
({
method
:
'delete'
,
method
:
'delete'
,
url
:
'
assetType
/delete/'
+
row
.
id
,
url
:
'
videoContentCat
/delete/'
+
row
.
id
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
...
...
src/page/check/learn/index.vue
View file @
9cab4646
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
_this
_this
.
$https
(
.
$https
(
{
url
:
"
assetType
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
{
url
:
"
videoContentCat
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
_this
.
$qs
.
stringify
(
_this
.
classForm
)
_this
.
$qs
.
stringify
(
_this
.
classForm
)
// _this.classForm
// _this.classForm
)
)
...
@@ -454,7 +454,7 @@ export default {
...
@@ -454,7 +454,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/get/"
+
id
,
url
:
"
videoContentCat
/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -488,7 +488,7 @@ export default {
...
@@ -488,7 +488,7 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
_this
.
$https
({
_this
.
$https
({
method
:
'delete'
,
method
:
'delete'
,
url
:
'
assetType
/delete/'
+
row
.
id
,
url
:
'
videoContentCat
/delete/'
+
row
.
id
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
...
...
src/page/check/video/index.vue
View file @
9cab4646
...
@@ -201,7 +201,7 @@ export default {
...
@@ -201,7 +201,7 @@ export default {
formLabelWidth
:
"100px"
,
formLabelWidth
:
"100px"
,
form
:
{
form
:
{
name
:
""
,
name
:
""
,
type
:
'
ASSE
T'
type
:
'
VIDEO_CONTEN
T'
},
},
editform
:
{
editform
:
{
menuName
:
""
,
menuName
:
""
,
...
@@ -312,14 +312,14 @@ export default {
...
@@ -312,14 +312,14 @@ export default {
_size
:
_this
.
page
.
pageSize
,
_size
:
_this
.
page
.
pageSize
,
name
:
_this
.
form
.
name
,
name
:
_this
.
form
.
name
,
status
:
_this
.
form
.
status
,
status
:
_this
.
form
.
status
,
type
:
'
ASSE
T'
type
:
'
VIDEO_CONTEN
T'
};
};
this
.
getTableData
(
searchObj
);
this
.
getTableData
(
searchObj
);
},
},
// 重置
// 重置
Reset
(){
Reset
(){
// this.$refs["form"].resetFields();
// this.$refs["form"].resetFields();
this
.
form
=
{
type
:
"
ASSE
T"
}
this
.
form
=
{
type
:
"
VIDEO_CONTEN
T"
}
this
.
Search
()
this
.
Search
()
},
},
// // 获取当前查询参数
// // 获取当前查询参数
...
@@ -350,7 +350,7 @@ export default {
...
@@ -350,7 +350,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
_this
_this
.
$https
(
.
$https
(
{
url
:
"
assetType
/save"
,
method
:
"post"
,
authType
:
this
.
backToken
},
{
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
authType
:
this
.
backToken
},
// _this.$qs.stringify(_this.classForm)
// _this.$qs.stringify(_this.classForm)
_this
.
classForm
_this
.
classForm
)
)
...
@@ -392,7 +392,7 @@ export default {
...
@@ -392,7 +392,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
_this
_this
.
$https
(
.
$https
(
{
url
:
"
assetType
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
{
url
:
"
videoContentCat
/update"
,
method
:
"put"
,
authType
:
this
.
backToken
},
_this
.
$qs
.
stringify
(
_this
.
classForm
)
_this
.
$qs
.
stringify
(
_this
.
classForm
)
// _this.classForm
// _this.classForm
)
)
...
@@ -467,7 +467,7 @@ export default {
...
@@ -467,7 +467,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/get/"
+
id
,
url
:
"
videoContentCat
/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -500,7 +500,7 @@ export default {
...
@@ -500,7 +500,7 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
_this
.
$https
({
_this
.
$https
({
method
:
'delete'
,
method
:
'delete'
,
url
:
'
assetType
/delete/'
+
row
.
id
,
url
:
'
videoContentCat
/delete/'
+
row
.
id
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
this
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
...
...
src/page/content/components/dialog/addCopyright.vue
View file @
9cab4646
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
@
change=
"getSelectDep"
@
change=
"getSelectDep"
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
v-for=
"item in
assetType
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
>
...
@@ -62,14 +62,14 @@ export default {
...
@@ -62,14 +62,14 @@ export default {
ruleForm
:
{
ruleForm
:
{
assetTypeIdList
:
[],
assetTypeIdList
:
[],
name
:
""
,
name
:
""
,
ownerType
:
"
ASSE
T"
ownerType
:
"
VIDEO_CONTEN
T"
},
},
ruleForm
:
{
ruleForm
:
{
assetTypeIdList
:
[],
assetTypeIdList
:
[],
name
:
""
,
name
:
""
,
ownerType
:
"
ASSE
T"
ownerType
:
"
VIDEO_CONTEN
T"
},
},
assetType
:
[
videoContentCat
:
[
{
{
value
:
"Beijing"
,
value
:
"Beijing"
,
label
:
"北京"
label
:
"北京"
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"
assetType
/save"
,
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -166,13 +166,13 @@ export default {
...
@@ -166,13 +166,13 @@ export default {
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
assetType
/getList"
,
url
:
"
videoContentCat
/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
// this.value1[0]=data.expireDateEnd
// this.value1[0]=data.expireDateEnd
//this.value1[1]=data.expireDateStart
//this.value1[1]=data.expireDateStart
})
})
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
});
});
},
},
getSelectDep
(
assetTypeIdList
)
{
getSelectDep
(
assetTypeIdList
)
{
if
(
assetTypeIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
assetTypeIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
// debugger
// debugger
this
.
ruleForm
.
assetTypeIdList
=
[];
this
.
ruleForm
.
assetTypeIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
...
src/page/content/components/mulClassify/mulDisplay.vue
View file @
9cab4646
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
@
change=
"getSelectDep"
@
change=
"getSelectDep"
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
v-for=
"item in
assetType
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</
template
>
</
template
>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
assetType
:
[],
videoContentCat
:
[],
assetTypeIdList
:
[],
assetTypeIdList
:
[],
checkedThing
:
false
,
checkedThing
:
false
,
selfstyle
:
{
selfstyle
:
{
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
// this.$refs.mulDisplay.
assetType
// 使用时父组件直接获取此值即可
// this.$refs.mulDisplay.
videoContentCat
// 使用时父组件直接获取此值即可
// 获取视频版权方
// 获取视频版权方
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
...
@@ -42,11 +42,11 @@ export default {
...
@@ -42,11 +42,11 @@ export default {
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
// _this.$qs.stringify(_this.permisform)
// _this.$qs.stringify(_this.permisform)
{
copyrightOwnerType
:
'
ASSE
T'
}
{
copyrightOwnerType
:
'
VIDEO_CONTEN
T'
}
)
)
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
// this.value1[0]=data.expireDateEnd
// this.value1[0]=data.expireDateEnd
//this.value1[1]=data.expireDateStart
//this.value1[1]=data.expireDateStart
})
})
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
});
});
},
},
getSelectDep
(
assetTypeIdList
)
{
getSelectDep
(
assetTypeIdList
)
{
if
(
assetTypeIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
assetTypeIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
// debugger
// debugger
this
.
assetTypeIdList
=
[];
this
.
assetTypeIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
assetTypeIdList
.
push
(
item
.
id
);
this
.
assetTypeIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
...
src/page/content/components/mulClassify/mulVideo.vue
View file @
9cab4646
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
@
change=
"getSelectDep"
@
change=
"getSelectDep"
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
v-for=
"item in
assetType
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</
template
>
</
template
>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
assetType
:
[],
videoContentCat
:
[],
assetTypeIdList
:
[],
assetTypeIdList
:
[],
checkedThing
:
false
,
checkedThing
:
false
,
selfstyle
:
{
selfstyle
:
{
...
@@ -26,18 +26,18 @@ export default {
...
@@ -26,18 +26,18 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
// this.$refs.mulDisplay.
assetType
// 使用时父组件直接获取此值即可
// this.$refs.mulDisplay.
videoContentCat
// 使用时父组件直接获取此值即可
// 获取视频分类列表
// 获取视频分类列表
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
assetType
/getList"
,
url
:
"
videoContentCat
/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
// this.value1[0]=data.expireDateEnd
// this.value1[0]=data.expireDateEnd
//this.value1[1]=data.expireDateStart
//this.value1[1]=data.expireDateStart
})
})
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
});
});
},
},
getSelectDep
(
assetTypeIdList
)
{
getSelectDep
(
assetTypeIdList
)
{
if
(
assetTypeIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
assetTypeIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
// debugger
// debugger
this
.
assetTypeIdList
=
[];
this
.
assetTypeIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
assetTypeIdList
.
push
(
item
.
id
);
this
.
assetTypeIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
...
src/page/content/components/uploadVue/uploadFile.vue
View file @
9cab4646
...
@@ -23,10 +23,12 @@
...
@@ -23,10 +23,12 @@
},
},
methods
:
{
methods
:
{
handleAvatarSuccess
(
res
,
file
)
{
handleAvatarSuccess
(
res
,
file
)
{
console
.
log
(
res
)
const
data
=
res
.
data
.
fileList
console
.
log
(
res
.
url
)
let
newArray
=
data
.
map
((
item
)
=>
{
this
.
$emit
(
'videoList'
,
res
.
urlList
)
return
item
.
id
;
})
this
.
$emit
(
'videoList'
,
newArray
)
// console.log(newArray,'----idArray')
},
},
submitUpload
()
{
submitUpload
()
{
this
.
$refs
.
upload
.
submit
();
this
.
$refs
.
upload
.
submit
();
...
...
src/page/content/components/uploadVue/uploadImg.vue
View file @
9cab4646
...
@@ -32,9 +32,11 @@ export default {
...
@@ -32,9 +32,11 @@ export default {
methods
:
{
methods
:
{
// 图片上传成功的返回值
// 图片上传成功的返回值
handleAvatarSuccess
(
res
,
file
)
{
handleAvatarSuccess
(
res
,
file
)
{
console
.
log
(
res
)
console
.
log
(
res
)
console
.
log
(
res
.
url
)
console
.
log
(
res
.
data
.
url
)
this
.
$emit
(
'imgUrl'
,
res
.
url
)
this
.
$emit
(
'imgUrl'
,
res
.
data
.
url
)
// console.log(data.fileList[0].url)
// this.imageUrl = URL.createObjectURL(file.raw);
// this.imageUrl = URL.createObjectURL(file.raw);
},
},
handleRemove
(
file
,
fileList
)
{
handleRemove
(
file
,
fileList
)
{
...
...
src/page/content/components/uploadVue/uploadQrcode.vue
View file @
9cab4646
...
@@ -34,7 +34,7 @@ export default {
...
@@ -34,7 +34,7 @@ export default {
handleAvatarSuccess
(
res
,
file
)
{
handleAvatarSuccess
(
res
,
file
)
{
console
.
log
(
res
)
console
.
log
(
res
)
console
.
log
(
res
.
url
)
console
.
log
(
res
.
url
)
this
.
$emit
(
'qrcodeUrl'
,
res
.
url
)
this
.
$emit
(
'qrcodeUrl'
,
res
.
data
.
url
)
// this.imageUrl = URL.createObjectURL(file.raw);
// this.imageUrl = URL.createObjectURL(file.raw);
},
},
handleRemove
(
file
,
fileList
)
{
handleRemove
(
file
,
fileList
)
{
...
...
src/page/content/display/content/add-.vue
View file @
9cab4646
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
asse
t/dddddgetPageList"
,
url
:
"
videoConten
t/dddddgetPageList"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
...
src/page/content/display/content/add.vue
View file @
9cab4646
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
@
change=
"getAssetType"
@
change=
"getAssetType"
>
>
<el-option
<el-option
v-for=
"item in
assetType
"
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
assetTypeId
:
""
,
assetTypeId
:
""
,
videoUrlList
:
[]
videoUrlList
:
[]
},
},
assetType
:
[
videoContentCat
:
[
{
{
value
:
"Beijing"
,
value
:
"Beijing"
,
label
:
"北京"
label
:
"北京"
...
@@ -314,7 +314,7 @@ export default {
...
@@ -314,7 +314,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"
assetType
/save"
,
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
method
:
"post"
,
// headers: {
// headers: {
// 'Content-Type': 'application/json'
// 'Content-Type': 'application/json'
...
@@ -406,7 +406,7 @@ export default {
...
@@ -406,7 +406,7 @@ export default {
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
{
copyrightOwnerType
:
"
ASSE
T"
}
{
copyrightOwnerType
:
"
VIDEO_CONTEN
T"
}
)
)
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
...
@@ -456,13 +456,13 @@ export default {
...
@@ -456,13 +456,13 @@ export default {
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
assetType
/getList"
,
url
:
"
videoContentCat
/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
})
})
.
catch
(
function
(
err
)
{
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
...
@@ -472,7 +472,7 @@ export default {
...
@@ -472,7 +472,7 @@ export default {
getVideoData
()
{
getVideoData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
asse
t/getList"
,
url
:
"
videoConten
t/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
...
...
src/page/content/learn/content/add.vue
View file @
9cab4646
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
<el-option
v-for=
"item in
assetType
"
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
classForm
:
{},
classForm
:
{},
type
:
this
.
$route
.
query
.
type
,
type
:
this
.
$route
.
query
.
type
,
learningProjectIdList
:
''
,
learningProjectIdList
:
''
,
assetType
:
[],
videoContentCat
:
[],
assetType2
:[],
assetType2
:[],
checkedThing
:
false
,
checkedThing
:
false
,
checkedThing2
:
false
,
checkedThing2
:
false
,
...
@@ -384,7 +384,7 @@ export default {
...
@@ -384,7 +384,7 @@ export default {
this
.
ruleForm
.
cover
=
url
this
.
ruleForm
.
cover
=
url
},
},
getSelectDep
(
exhibitionBoardCatIdList
)
{
getSelectDep
(
exhibitionBoardCatIdList
)
{
if
(
exhibitionBoardCatIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
exhibitionBoardCatIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -433,7 +433,7 @@ export default {
...
@@ -433,7 +433,7 @@ export default {
// debugger
// debugger
this
.
ruleForm
.
exhibitionBoardCatIdList
=
[];
this
.
ruleForm
.
exhibitionBoardCatIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
ruleForm
.
exhibitionBoardCatIdList
.
push
(
item
.
id
);
this
.
ruleForm
.
exhibitionBoardCatIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
@@ -461,7 +461,7 @@ export default {
...
@@ -461,7 +461,7 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
// this.value1[0]=data.expireDateEnd
// this.value1[0]=data.expireDateEnd
//this.value1[1]=data.expireDateStart
//this.value1[1]=data.expireDateStart
})
})
...
...
src/page/content/video/classify/index.vue
View file @
9cab4646
...
@@ -258,7 +258,7 @@ export default {
...
@@ -258,7 +258,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/getPageList"
,
url
:
"
videoContentCat
/getPageList"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -331,7 +331,7 @@ export default {
...
@@ -331,7 +331,7 @@ export default {
_this
_this
.
$https
(
.
$https
(
{
{
url
:
"
assetType
/save"
,
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -377,7 +377,7 @@ export default {
...
@@ -377,7 +377,7 @@ export default {
_this
_this
.
$https
(
.
$https
(
{
{
url
:
"
assetType
/update"
,
url
:
"
videoContentCat
/update"
,
method
:
"put"
,
method
:
"put"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -451,7 +451,7 @@ export default {
...
@@ -451,7 +451,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/get/"
+
id
,
url
:
"
videoContentCat
/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}
}
...
@@ -484,7 +484,7 @@ export default {
...
@@ -484,7 +484,7 @@ export default {
_this
_this
.
$https
({
.
$https
({
method
:
"delete"
,
method
:
"delete"
,
url
:
"
assetType
/delete/"
+
row
.
id
,
url
:
"
videoContentCat
/delete/"
+
row
.
id
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
.
then
(
...
...
src/page/content/video/content/add.vue
View file @
9cab4646
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
<el-option
v-for=
"item in
assetType
"
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
@
change=
"getAssetType"
@
change=
"getAssetType"
>
>
<el-option
<el-option
v-for=
"item in
assetType
"
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
thumbnail
:
""
,
thumbnail
:
""
,
videoUrlList
:[]
videoUrlList
:[]
},
},
assetType
:
[
videoContentCat
:
[
{
{
value
:
"Beijing"
,
value
:
"Beijing"
,
label
:
"北京"
label
:
"北京"
...
@@ -254,7 +254,7 @@ export default {
...
@@ -254,7 +254,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
asse
t/get/"
+
id
,
url
:
"
videoConten
t/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}
}
...
@@ -287,7 +287,7 @@ export default {
...
@@ -287,7 +287,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"
assetType
/save"
,
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
method
:
"post"
,
// headers: {
// headers: {
// 'Content-Type': 'application/json'
// 'Content-Type': 'application/json'
...
@@ -332,7 +332,7 @@ export default {
...
@@ -332,7 +332,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"/
asse
t/save"
,
url
:
"/
videoConten
t/save"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -359,7 +359,7 @@ export default {
...
@@ -359,7 +359,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"
asse
t/update"
,
url
:
"
videoConten
t/update"
,
method
:
"put"
,
method
:
"put"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -390,7 +390,7 @@ export default {
...
@@ -390,7 +390,7 @@ export default {
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
{
copyrightOwnerType
:
'
ASSE
T'
})
{
copyrightOwnerType
:
'
VIDEO_CONTEN
T'
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
copyrightOwner
=
data
;
this
.
copyrightOwner
=
data
;
...
@@ -403,20 +403,20 @@ export default {
...
@@ -403,20 +403,20 @@ export default {
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
assetType
/getList"
,
url
:
"
videoContentCat
/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
})
})
.
catch
(
function
(
err
)
{
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
});
});
},
},
getSelectDep
(
assetTypeIdList
)
{
getSelectDep
(
assetTypeIdList
)
{
if
(
assetTypeIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
assetTypeIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -426,7 +426,7 @@ export default {
...
@@ -426,7 +426,7 @@ export default {
// debugger
// debugger
this
.
ruleForm
.
assetTypeIdList
=
[];
this
.
ruleForm
.
assetTypeIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
...
src/page/content/video/content/index.vue
View file @
9cab4646
...
@@ -296,7 +296,7 @@ export default {
...
@@ -296,7 +296,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
asse
t/getPageList"
,
url
:
"
videoConten
t/getPageList"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
@@ -441,7 +441,7 @@ export default {
...
@@ -441,7 +441,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
asse
t/get/"
+
id
,
url
:
"
videoConten
t/get/"
+
id
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
}
}
...
@@ -467,7 +467,7 @@ export default {
...
@@ -467,7 +467,7 @@ export default {
_this
_this
.
$https
({
.
$https
({
method
:
"delete"
,
method
:
"delete"
,
url
:
"
asse
t/delete/"
+
row
.
id
,
url
:
"
videoConten
t/delete/"
+
row
.
id
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
.
then
(
...
...
src/page/content/video/copyright/add.vue
View file @
9cab4646
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
>
>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-checkbox
:style=
"selfstyle"
v-model=
"checkedThing"
@
change=
"selectAllThing"
>
全选
</el-checkbox>
<el-option
<el-option
v-for=
"item in
assetType
"
v-for=
"item in
videoContentCat
"
:label=
"item.name"
:label=
"item.name"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
:key=
"item.id"
...
@@ -122,9 +122,9 @@ export default {
...
@@ -122,9 +122,9 @@ export default {
ruleForm
:
{
ruleForm
:
{
assetTypeIdList
:
[],
assetTypeIdList
:
[],
name
:
""
,
name
:
""
,
ownerType
:
"
ASSE
T"
ownerType
:
"
VIDEO_CONTEN
T"
},
},
assetType
:
[
videoContentCat
:
[
{
{
value
:
"Beijing"
,
value
:
"Beijing"
,
label
:
"北京"
label
:
"北京"
...
@@ -197,7 +197,7 @@ export default {
...
@@ -197,7 +197,7 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// this.
assetType
= data
// this.
videoContentCat
= data
this
.
ruleForm
=
data
;
this
.
ruleForm
=
data
;
this
.
value1
=
[
data
.
expireDateStart
,
data
.
expireDateEnd
];
this
.
value1
=
[
data
.
expireDateStart
,
data
.
expireDateEnd
];
...
@@ -221,7 +221,7 @@ export default {
...
@@ -221,7 +221,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
this
.
$https
(
this
.
$https
(
{
{
url
:
"
assetType
/save"
,
url
:
"
videoContentCat
/save"
,
method
:
"post"
,
method
:
"post"
,
// headers: {
// headers: {
// 'Content-Type': 'application/json'
// 'Content-Type': 'application/json'
...
@@ -321,13 +321,13 @@ export default {
...
@@ -321,13 +321,13 @@ export default {
getAssetTypeData
()
{
getAssetTypeData
()
{
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
({
vm
.
$https
({
url
:
"
assetType
/getList"
,
url
:
"
videoContentCat
/getList"
,
method
:
"get"
,
method
:
"get"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
this
.
assetType
=
data
;
this
.
videoContentCat
=
data
;
// this.value1[0]=data.expireDateEnd
// this.value1[0]=data.expireDateEnd
//this.value1[1]=data.expireDateStart
//this.value1[1]=data.expireDateStart
})
})
...
@@ -336,7 +336,7 @@ export default {
...
@@ -336,7 +336,7 @@ export default {
});
});
},
},
getSelectDep
(
assetTypeIdList
)
{
getSelectDep
(
assetTypeIdList
)
{
if
(
assetTypeIdList
.
length
===
this
.
assetType
.
length
)
{
if
(
assetTypeIdList
.
length
===
this
.
videoContentCat
.
length
)
{
this
.
checkedThing
=
true
;
this
.
checkedThing
=
true
;
}
else
{
}
else
{
this
.
checkedThing
=
false
;
this
.
checkedThing
=
false
;
...
@@ -346,7 +346,7 @@ export default {
...
@@ -346,7 +346,7 @@ export default {
// debugger
// debugger
this
.
ruleForm
.
assetTypeIdList
=
[];
this
.
ruleForm
.
assetTypeIdList
=
[];
if
(
this
.
checkedThing
)
{
if
(
this
.
checkedThing
)
{
this
.
assetType
.
map
(
item
=>
{
this
.
videoContentCat
.
map
(
item
=>
{
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
this
.
ruleForm
.
assetTypeIdList
.
push
(
item
.
id
);
});
});
}
else
{
}
else
{
...
...
src/page/content/video/copyright/index.vue
View file @
9cab4646
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
formLabelWidth
:
"100px"
,
formLabelWidth
:
"100px"
,
form
:
{
form
:
{
nameOrCode
:
""
,
nameOrCode
:
""
,
ownerType
:
'
ASSE
T'
ownerType
:
'
VIDEO_CONTEN
T'
},
},
editform
:
{
editform
:
{
menuName
:
""
,
menuName
:
""
,
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
// 重置
// 重置
Reset
(){
Reset
(){
// this.$refs["form"].resetFields();
// this.$refs["form"].resetFields();
this
.
form
=
{
ownerType
:
'
ASSE
T'
}
this
.
form
=
{
ownerType
:
'
VIDEO_CONTEN
T'
}
this
.
Search
()
this
.
Search
()
},
},
Search
()
{
Search
()
{
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
_index
:
1
,
_index
:
1
,
_size
:
_this
.
page
.
pageSize
,
_size
:
_this
.
page
.
pageSize
,
nameOrCode
:
_this
.
form
.
nameOrCode
,
nameOrCode
:
_this
.
form
.
nameOrCode
,
ownerType
:
'
ASSE
T'
ownerType
:
'
VIDEO_CONTEN
T'
};
};
this
.
getTableData
(
searchObj
);
this
.
getTableData
(
searchObj
);
},
},
...
...
src/page/content/video/remit/index.vue
View file @
9cab4646
...
@@ -162,7 +162,7 @@ export default {
...
@@ -162,7 +162,7 @@ export default {
let
vm
=
this
;
let
vm
=
this
;
vm
.
$https
(
vm
.
$https
(
{
{
url
:
"
assetType
/getPageList"
,
url
:
"
videoContentCat
/getPageList"
,
method
:
"post"
,
method
:
"post"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
...
...
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