系统项目按钮调整

This commit is contained in:
Yjhon 2022-03-30 10:06:12 +08:00
parent c5b3af31e7
commit bf42fd1d64
3 changed files with 3 additions and 4 deletions

View File

@ -45,7 +45,7 @@
<a-button type="primary" size="default" @click="toPrep" style="margin-right: 8px;">上一步</a-button>
<a-button v-if="['2','4'].includes(form.trainWay) || form.projectType != 0 " type="primary" size="default" @click="toNext">下一步</a-button>
<a-button v-if="['1','3'].includes(form.trainWay) && form.projectType == 0 " type="primary" size="default" @click="toSaveOrIssue('save')" style="margin-right: 8px;">保存</a-button>
<a-button v-if="['1','3'].includes(form.trainWay) && form.projectType == 0 " type="primary" size="default" @click="toSaveOrIssue('issue')">发布</a-button>
<a-button v-if="['1','3'].includes(form.trainWay) || form.projectType != 0 " type="primary" size="default" @click="toSaveOrIssue('issue')">发布</a-button>
</a-col>
<a-drawer title="课程预览" :destroyOnClose="true" placement="right" width="1200" :closable="true" :visible="courseVisible" @close="drawerClose">
<courseware-list :courseId="selectCourseId"></courseware-list>

View File

@ -59,7 +59,7 @@
<a-button type="primary" size="default" @click="toPrev" style="margin-right: 8px;">上一步</a-button>
<a-button v-if="['2','4'].includes(form.trainWay)" type="primary" size="default" @click="toNext">下一步</a-button>
<a-button v-if="['1','3'].includes(form.trainWay)" type="primary" size="default" @click="toSaveOrIssue('save')" style="margin-right: 8px;">保存</a-button>
<a-button v-if="['1','3'].includes(form.trainWay)" type="primary" size="default" @click="toSaveOrIssue('issue')">发布</a-button>
<a-button v-if="['1','3'].includes(form.trainWay) || form.projectType != 0" type="primary" size="default" @click="toSaveOrIssue('issue')">发布</a-button>
</a-col>
</a-card>
</template>

View File

@ -54,7 +54,7 @@
<a-col :span="24" style="text-align: center;">
<a-button type="primary" size="default" @click="toPrev" style="margin-right: 8px;">上一步</a-button>
<a-button type="primary" size="default" @click="toSave" style="margin-right: 8px;">保存</a-button>
<a-button type="primary" size="default" @click="toIssue">发布</a-button>
<a-button v-if="form.projectType != 0" type="primary" size="default" @click="toIssue">发布</a-button>
</a-col>
</a-card>
</template>
@ -63,7 +63,6 @@
// jsjsjson
// import from ''
import { getQuestionNumByCourseIds } from '@/api/course/question/question'
import Item from '@/components/AvatarList/Item'
export default {
// import使