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
991c3a3d
Commit
991c3a3d
authored
Apr 13, 2021
by
qzhxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试优化
parent
57d04928
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
uploadImg.vue
src/page/content/components/uploadVue/uploadImg.vue
+2
-2
add.vue
src/page/content/learn/content/add.vue
+2
-1
add.vue
src/page/content/video/content/add.vue
+11
-4
No files found.
src/page/content/components/uploadVue/uploadImg.vue
View file @
991c3a3d
<
template
>
<div>
<el-upload
accept=
".jpg,.jpeg,.png
,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF
"
accept=
".jpg,.jpeg,.png
.JPG,.JPEG,.PNG
"
:class=
"
{disabled:uploadDisabled}"
action="http://111.203.232.175:8088/mall/file/image/upload"
list-type="picture-card"
...
...
@@ -14,7 +14,7 @@
:multiple ="false"
>
<i
class=
"el-icon-plus"
></i>
<div
slot=
"tip"
class=
"el-upload__tip color_red"
>
只能上传.jpg/.jpeg/.png
/.gif/.bmp/.pdf
文件
</div>
<div
slot=
"tip"
class=
"el-upload__tip color_red"
>
只能上传.jpg/.jpeg/.png文件
</div>
</el-upload>
<el-dialog
:visible
.
sync=
"dialogVisible"
>
<img
width=
"100%"
:src=
"dialogImageUrl"
alt
/>
...
...
src/page/content/learn/content/add.vue
View file @
991c3a3d
...
...
@@ -318,6 +318,7 @@ export default {
this
.
multipleSelection
=
data
.
exhibitionBoardList
;
this
.
$refs
.
uploadImg
.
showImg
(
this
.
ruleForm
.
cover
);
this
.
getExhibitionBoardTable
();
this
.
getAssetTypeData
()
})
.
catch
(
function
(
err
)
{
console
.
log
(
err
);
...
...
@@ -497,7 +498,7 @@ export default {
}
else
{
this
.
checkedThing2
=
false
;
}
this
.
getTableParam
()
//
this.getTableParam()
},
// 筛选展板备选清单选项条件
getTableParam
(){
...
...
src/page/content/video/content/add.vue
View file @
991c3a3d
...
...
@@ -238,8 +238,8 @@ export default {
init
()
{
if
(
this
.
$route
.
query
.
type
===
"Update"
)
{
this
.
getInfo
(
this
.
$route
.
query
.
id
);
this
.
getVideoContentCatData
()
this
.
getVideoContentCopyrightData
()
}
},
getVideoContentCat
(
data
){
...
...
@@ -267,6 +267,8 @@ export default {
this
.
ruleForm
.
videoFileIdList
=
data
.
videoFileIdList
this
.
ruleForm
.
imageList
=
[{
url
:
data
.
thumbnail
}]
this
.
ruleForm
.
videoList
=
data
.
videoFileList
.
map
(
item
=>
{
return
{
id
:
item
.
id
,
name
:
item
.
fileName
,
url
:
item
.
fileUrl
}})
this
.
getVideoContentCatData
()
this
.
getVideoContentCopyrightData
()
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
...
...
@@ -393,15 +395,20 @@ export default {
// 获取视频分类列表
getVideoContentCatData
()
{
let
vm
=
this
;
vm
.
$https
({
if
(
this
.
ruleForm
.
videoContentCopyrightOwnerId
){
vm
.
$https
({
url
:
"videoContentCat/getList"
,
method
:
"get"
,
authType
:
this
.
backToken
}).
then
(
res
=>
{
}
,{
copyrightOwnerId
:
this
.
ruleForm
.
videoContentCopyrightOwnerId
}
).
then
(
res
=>
{
this
.
videoContentCat
=
res
.
data
.
data
;
}).
catch
(
function
(
err
)
{
console
.
log
(
err
);
});
}
else
{
this
.
$message
.
warning
(
"请先选择视频版权方!"
)
}
},
getSelectDep
(
videoContentCatIdList
)
{
this
.
checkedThing
=
videoContentCatIdList
.
length
===
this
.
videoContentCat
.
length
;
...
...
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