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
e747bde3
authored
2025-09-22 21:57:18 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增系列属性
1 parent
fea9544d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
src/lang/package/zh-cn.js
src/views/legao/block/index.vue
src/lang/package/zh-cn.js
View file @
e747bde
...
...
@@ -61,6 +61,7 @@ export default {
title
:
'系列管理'
,
indexName
:
'序号'
,
blockName
:
'系列名称'
,
typeName
:
'类型'
,
sortName
:
'排序'
,
groupName
:
'套件'
,
tableControlsName
:
'操作'
,
...
...
@@ -72,6 +73,7 @@ export default {
dialogTitleAdd
:
'新增'
,
dialogTitleEdit
:
'修改'
,
dialogName
:
'系列名称'
,
dialogType
:
'类型'
,
tableSortName
:
'排序'
,
dialogPhoto
:
'图片'
,
dialogConfim
:
'确认'
,
...
...
src/views/legao/block/index.vue
View file @
e747bde
...
...
@@ -42,6 +42,7 @@
>
<el-table-column
:label=
"$t('block.indexName')"
type=
"index"
width=
"80"
/>
<el-table-column
:label=
"$t('block.blockName')"
prop=
"name"
/>
<el-table-column
:label=
"$t('block.typeName')"
prop=
"type"
/>
<el-table-column
:label=
"$t('block.sortName')"
prop=
"sort"
/>
<el-table-column
:label=
"$t('block.tableControlsName')"
class-name=
"small-padding fixed-width"
>
<template
#
default=
"
{ row }">
...
...
@@ -72,6 +73,15 @@
<el-form-item
:label=
"$t('block.dialogName')"
prop=
"name"
label-width=
"80"
>
<el-input
v-model=
"showForm.form.name"
placeholder=
"请输入系列名称"
/>
</el-form-item>
<el-form-item
:label=
"$t('block.dialogType')"
prop=
"type"
label-width=
"80"
>
<el-select-v2
v-model=
"showForm.form.type"
:options=
"blockLists"
:props=
"props"
placeholder=
"请选择类型"
style=
"width: 180px;"
/>
</el-form-item>
<el-form-item
:label=
"$t('block.tableSortName')"
label-width=
"80"
>
<el-input-number
v-model=
"showForm.form.sort"
controls-position=
"right"
:min=
"0"
/>
</el-form-item>
...
...
@@ -111,7 +121,7 @@ const data = reactive({
showForm
:
false
,
showCodePart
:
false
},
kitLists
:
[
],
blockLists
:
[{
"id"
:
"词语编程"
,
"name"
:
"词语编程"
},{
"id"
:
"图标编程"
,
"name"
:
"图标编程"
},{
"id"
:
"无编程"
,
"name"
:
"无编程"
}
],
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
...
...
@@ -132,7 +142,7 @@ const data = reactive({
}
})
const
{
status
,
queryParams
,
total
,
list
,
showForm
,
rules
,
kit
Lists
}
=
toRefs
(
data
)
const
{
status
,
queryParams
,
total
,
list
,
showForm
,
rules
,
block
Lists
}
=
toRefs
(
data
)
//#region 初始化
...
...
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