Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage-web
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
979878a0
authored
2025-07-06 19:02:35 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增编程类型
1 parent
b5235a6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
src/lang/package/zh-cn.js
src/views/legao/course/index.vue
src/lang/package/zh-cn.js
View file @
979878a
...
...
@@ -107,6 +107,7 @@ export default {
dialogPhoto
:
'课程图片'
,
dialogConfim
:
'确认'
,
dialogExit
:
'退出'
,
dialogCate
:
'编程类别'
,
},
// 常见问题
problem
:
{
...
...
src/views/legao/course/index.vue
View file @
979878a
...
...
@@ -91,6 +91,16 @@
style=
"width: 180px;"
/>
</el-form-item>
<el-form-item
:label=
"$t('course.dialogCate')"
prop=
"programType"
label-width=
"80"
>
<el-select
v-model=
"showForm.form.programType"
placeholder=
"请选择编程类别"
clearable
>
<el-option
v-for=
"dict in program_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('course.dialogPack')"
prop=
"canPack"
label-width=
"80"
>
<el-select
v-model=
"showForm.form.canPack"
...
...
@@ -171,6 +181,7 @@ const { windowSize } = useTableHeight('max-height')
// 导入字典
const
{
proxy
}
=
getCurrentInstance
();
const
{
program_type
}
=
proxy
.
useDict
(
"program_type"
);
const
{
dimensional_type
,
constrain_status
}
=
proxy
.
useDict
(
"dimensional_type"
,
"constrain_status"
);
const
props
=
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment