修改
This commit is contained in:
parent
183be231d0
commit
e3eb00535f
@ -749,19 +749,28 @@
|
|||||||
placeholder="请输入报名须知"
|
placeholder="请输入报名须知"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-table
|
||||||
<el-form-item
|
|
||||||
label=""
|
|
||||||
prop="itemDirectoryUrl"
|
|
||||||
v-if="form.trainingItemType == 'VIDEO_LEARNING'"
|
v-if="form.trainingItemType == 'VIDEO_LEARNING'"
|
||||||
|
ref="trainingItemDirectoryList"
|
||||||
|
style="margin-top: 20px; width: 1250px"
|
||||||
|
:data="form.trainingItemDirectoryList"
|
||||||
>
|
>
|
||||||
<el-table
|
<el-table-column label="章节视频" align="center" width="300">
|
||||||
ref="trainingItemDirectoryList"
|
<template slot-scope="scope">
|
||||||
style="margin-top: 20px; width: 1250px"
|
<el-form-item
|
||||||
:data="form.trainingItemDirectoryList"
|
:prop="
|
||||||
>
|
'trainingItemDirectoryList.' +
|
||||||
<el-table-column label="章节视频" align="center" width="300">
|
scope.$index +
|
||||||
<template slot-scope="scope">
|
'.itemDirectoryUrl'
|
||||||
|
"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请上传章节视频',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
<stationAcatar
|
<stationAcatar
|
||||||
@imgUrl="imgUrl4"
|
@imgUrl="imgUrl4"
|
||||||
@item="itemDirectoryUrl"
|
@item="itemDirectoryUrl"
|
||||||
@ -769,28 +778,73 @@
|
|||||||
:type="'itemDirectoryUrl'"
|
:type="'itemDirectoryUrl'"
|
||||||
:item="scope.row"
|
:item="scope.row"
|
||||||
/>
|
/>
|
||||||
</template>
|
</el-form-item>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column label="章节名称" align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column label="章节名称" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-form-item
|
||||||
|
:prop="
|
||||||
|
'trainingItemDirectoryList.' +
|
||||||
|
scope.$index +
|
||||||
|
'.itemDirectoryName'
|
||||||
|
"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请输入章节名称',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="100"
|
maxlength="100"
|
||||||
v-model="scope.row.itemDirectoryName"
|
v-model="scope.row.itemDirectoryName"
|
||||||
placeholder="请输入章节名称"
|
placeholder="请输入章节名称"
|
||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</el-form-item>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column label="章节标题" align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column label="章节标题" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-form-item
|
||||||
|
:prop="
|
||||||
|
'trainingItemDirectoryList.' +
|
||||||
|
scope.$index +
|
||||||
|
'.itemDirectoryTitle'
|
||||||
|
"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请输入章节标题',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="100"
|
maxlength="100"
|
||||||
v-model="scope.row.itemDirectoryTitle"
|
v-model="scope.row.itemDirectoryTitle"
|
||||||
placeholder="请输入章节标题"
|
placeholder="请输入章节标题"
|
||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</el-form-item>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column label="章节内容简介" align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column label="章节内容简介" align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-form-item
|
||||||
|
:prop="
|
||||||
|
'trainingItemDirectoryList.' +
|
||||||
|
scope.$index +
|
||||||
|
'.itemDirectoryIntroduce'
|
||||||
|
"
|
||||||
|
:rules="[
|
||||||
|
{
|
||||||
|
required: true,
|
||||||
|
message: '请输入章节标题',
|
||||||
|
trigger: 'blur',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="300"
|
maxlength="300"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -799,33 +853,33 @@
|
|||||||
v-model="scope.row.itemDirectoryIntroduce"
|
v-model="scope.row.itemDirectoryIntroduce"
|
||||||
placeholder="请输入章节内容简介"
|
placeholder="请输入章节内容简介"
|
||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</el-form-item>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column label="章节排序" align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column label="章节排序" align="center">
|
||||||
<el-input
|
<template slot-scope="scope">
|
||||||
oninput="value=value.replace(/[^\d]/g,'')"
|
<el-input
|
||||||
maxlength="5"
|
oninput="value=value.replace(/[^\d]/g,'')"
|
||||||
v-model.number="scope.row.itemDirectorySort"
|
maxlength="5"
|
||||||
placeholder="请输入章节排序"
|
v-model.number="scope.row.itemDirectorySort"
|
||||||
></el-input>
|
placeholder="请输入章节排序"
|
||||||
</template>
|
></el-input>
|
||||||
</el-table-column>
|
</template>
|
||||||
<el-table-column label="操作" align="center">
|
</el-table-column>
|
||||||
<template slot-scope="scope">
|
<el-table-column label="操作" align="center">
|
||||||
<el-button size="mini" type="text" @click="addPictureUrl"
|
<template slot-scope="scope">
|
||||||
>新增</el-button
|
<el-button size="mini" type="text" @click="addPictureUrl"
|
||||||
>
|
>新增</el-button
|
||||||
<el-button
|
>
|
||||||
size="mini"
|
<el-button
|
||||||
type="text"
|
size="mini"
|
||||||
@click="delPictureUrl(scope.row)"
|
type="text"
|
||||||
>删除</el-button
|
@click="delPictureUrl(scope.row)"
|
||||||
>
|
>删除</el-button
|
||||||
</template>
|
>
|
||||||
</el-table-column>
|
</template>
|
||||||
</el-table>
|
</el-table-column>
|
||||||
</el-form-item>
|
</el-table>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
@ -1440,7 +1494,7 @@ export default {
|
|||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
::v-deep .wihi:hover:after {
|
::v-deep .wihi:hover:after {
|
||||||
transform: translate(0%,30%);
|
transform: translate(0%, 30%);
|
||||||
}
|
}
|
||||||
::v-deep .video-avatar {
|
::v-deep .video-avatar {
|
||||||
transform: translateX(-25%);
|
transform: translateX(-25%);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user