25639
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<section class="AppFoundingHundred">
|
<section class="AppFoundingHundred">
|
||||||
<ai-list v-if="showList">
|
<ai-list v-if="showList">
|
||||||
<template #title>
|
<template #title>
|
||||||
<ai-title title="党史课堂" isShowBottomBorder>
|
<ai-title title="党员学习" isShowBottomBorder>
|
||||||
<template #rightBtn>
|
<template #rightBtn>
|
||||||
<ai-party :instance="instance" v-model="organizationId" :topOrgId="topOrgId" size="small"
|
<ai-party :instance="instance" v-model="organizationId" :topOrgId="topOrgId" size="small"
|
||||||
@origin="changeParty"/>
|
@origin="changeParty"/>
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="add_Party" :class="{isDetail:!isEdit}">
|
|
||||||
<ai-detail>
|
<ai-detail>
|
||||||
<ai-title slot="title" :title="detailTitle" isShowBottomBorder isShowBack @onBackClick="$emit('back')">
|
<ai-title slot="title" :title="detailTitle" isShowBottomBorder isShowBack @onBackClick="$emit('back')">
|
||||||
</ai-title>
|
</ai-title>
|
||||||
|
<template #content>
|
||||||
|
<ai-card title="基本信息">
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="detail-content" v-if="isEdit">
|
<div class="detail-content" v-if="isEdit">
|
||||||
<el-form :model="form" label-width="120px" ref="ruleForm" :rules="rules">
|
<el-form class="ai-form" :model="form" label-width="120px" ref="ruleForm" :rules="rules">
|
||||||
<el-form-item label="课程主题" prop="title">
|
<el-form-item label="课程主题" prop="title">
|
||||||
<el-input size="small" v-model="form.title" clearable placeholder="请输入..." maxlength="100"
|
<el-input size="small" v-model="form.title" clearable placeholder="请输入..." maxlength="100"
|
||||||
show-word-limit/>
|
show-word-limit/>
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
<el-input size="small" v-model="form.organizationName" clearable placeholder="请输入..." maxlength="100"
|
<el-input size="small" v-model="form.organizationName" clearable placeholder="请输入..." maxlength="100"
|
||||||
show-word-limit/>
|
show-word-limit/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="封面" prop="thumbUrl">
|
<el-form-item style="width: 100%;" label="封面" prop="thumbUrl">
|
||||||
<ai-uploader
|
<ai-uploader
|
||||||
:instance="instance"
|
:instance="instance"
|
||||||
v-model="form.thumbUrl"
|
v-model="form.thumbUrl"
|
||||||
@@ -27,7 +28,7 @@
|
|||||||
<template slot="tips">图片比例:1.6:1</template>
|
<template slot="tips">图片比例:1.6:1</template>
|
||||||
</ai-uploader>
|
</ai-uploader>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="课程简介" prop="content">
|
<el-form-item label="课程简介" style="width: 100%;" prop="content">
|
||||||
<ai-editor v-model="form.content" :instance="instance"/>
|
<ai-editor v-model="form.content" :instance="instance"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -47,6 +48,8 @@
|
|||||||
</ai-wrapper>
|
</ai-wrapper>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
</ai-card>
|
||||||
|
</template>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<template v-if="isEdit">
|
<template v-if="isEdit">
|
||||||
<el-button size="small" @click="$emit('back')">取消</el-button>
|
<el-button size="small" @click="$emit('back')">取消</el-button>
|
||||||
@@ -57,7 +60,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</ai-detail>
|
</ai-detail>
|
||||||
</section>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -73,7 +75,7 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
detailTitle() {
|
detailTitle() {
|
||||||
return this.isEdit ? '编辑党史课堂' : '党史课堂详情'
|
return this.isEdit ? '编辑党员学习' : '党史党员学习'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -159,9 +161,6 @@
|
|||||||
.add_Party {
|
.add_Party {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #fff;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.detail-content {
|
.detail-content {
|
||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
|
|||||||
Reference in New Issue
Block a user