Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
trimble-admin-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
993f8e6e
authored
2020-04-30 10:53:11 +0800
by
qingxiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
7e7a7241
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
src/views/oneStep/index.vue
src/views/playback/index.vue
src/views/oneStep/index.vue
View file @
993f8e6
...
...
@@ -150,7 +150,19 @@
cancelCreate
()
{
this
.
dialogVisible
=
false
this
.
oneStepForm
=
{}
}
},
/*分页*/
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
)
this
.
queryForm
.
size
=
val
this
.
queryForm
.
page
=
1
this
.
initOneStep
()
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
)
this
.
queryForm
.
page
=
val
this
.
initOneStep
()
},
},
created
()
{
this
.
initOneStep
()
...
...
src/views/playback/index.vue
View file @
993f8e6
...
...
@@ -23,6 +23,8 @@
>
<el-table-column
label=
"名称"
prop=
"title"
></el-table-column>
<el-table-column
label=
"视频链接"
prop=
"videoUrl"
></el-table-column>
<el-table-column
label=
"内容"
prop=
"videoContent"
>
</el-table-column>
<el-table-column
label=
"类型"
prop=
"typeName"
></el-table-column>
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
>
...
...
@@ -73,6 +75,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"内容描述:"
prop=
"videoContent"
>
<el-input
type=
"textarea"
maxlength=
"100"
show-word-limit
v-model=
"playbackForm.videoContent"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm('playbackForm')"
>
提交
</el-button>
...
...
@@ -113,7 +118,8 @@
playbackRules
:
{
title
:
[{
required
:
true
,
message
:
'请输入名称'
,
trigger
:
'blur'
}],
videoUrl
:
[{
required
:
true
,
message
:
'请输入视频链接'
,
trigger
:
'blur'
}],
playbackTypeCode
:
[{
required
:
true
,
message
:
'请选择'
,
trigger
:
'blur'
}]
playbackTypeCode
:
[{
required
:
true
,
message
:
'请选择'
,
trigger
:
'blur'
}],
videoContent
:
[{
required
:
true
,
message
:
'请输入内容'
,
trigger
:
'blur'
}]
},
playbackTypeList
:
[]
}
...
...
Please
register
or
sign in
to post a comment