48496125 by chentao

增加课程排序

1 parent cfe66423
......@@ -83,6 +83,7 @@ export default {
buildName: '搭建',
caseName: '有无案例',
packName: '是否打包',
tableSortName: '排序',
tableControlsName: '操作',
controlsDelName: '删除',
controlsEditName: '编辑',
......@@ -102,7 +103,7 @@ export default {
dialogPpt: '课程',
dialogPhoto: '课程图片',
dialogConfim: '确认',
dialogExit: '退出',
dialogExit: '退出',
},
// 常见问题
problem: {
......
......@@ -145,6 +145,9 @@
<el-form-item :label="$t('course.dialogPhoto')" prop="ossId" label-width="80">
<imageUpload v-model="showForm.form.ossId" :limit='1' :fileType='["png", "jpg", "jpeg", "ico"]'/>
</el-form-item>
<el-form-item :label="$t('course.tableSortName')" label-width="80">
<el-input-number v-model="showForm.form.sort" controls-position="right" :min="0" />
</el-form-item>
</el-form>
<template #footer>
<div class="dialog-footer">
......@@ -191,7 +194,7 @@ const data = reactive({
title: '',
open: false,
form: {
}
},
rules: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!