This commit is contained in:
parent
1c88143d3b
commit
f77ef19a43
|
|
@ -20,33 +20,6 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="标签名称" prop="name">
|
|
||||||
<el-input v-model="addAndEditForm.name" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="标签属性" prop="type">
|
|
||||||
<el-input v-model="addAndEditForm.type" />
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<el-row>
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="描述" prop="description">
|
|
||||||
<el-input
|
|
||||||
clearable
|
|
||||||
type="textarea"
|
|
||||||
placeholder="请输入描述"
|
|
||||||
:autosize="{ minRows: 3, maxRows: 6 }"
|
|
||||||
v-model="addAndEditForm.description"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<!-- 底部按钮 -->
|
<!-- 底部按钮 -->
|
||||||
|
|
@ -125,7 +98,6 @@ export default {
|
||||||
this.$message.closeAll()
|
this.$message.closeAll()
|
||||||
try {
|
try {
|
||||||
await this.$refs.addAndEditForm.validate()
|
await this.$refs.addAndEditForm.validate()
|
||||||
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.$emit('closeDialog', true)
|
this.$emit('closeDialog', true)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
|
|
@ -185,14 +185,6 @@ export default {
|
||||||
label: '类型',
|
label: '类型',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
prop: 'tags',
|
|
||||||
label: '标签',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'description',
|
|
||||||
label: '描述',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
prop: 'createBy',
|
prop: 'createBy',
|
||||||
label: '创建人',
|
label: '创建人',
|
||||||
|
|
|
||||||
|
|
@ -87,11 +87,11 @@ export default {
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex: 1;
|
// flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
padding: 16px 20px;
|
padding: 16px 20px;
|
||||||
overflow: hidden;
|
// overflow: hidden;
|
||||||
|
|
||||||
.left-sidebar {
|
.left-sidebar {
|
||||||
width: 280px;
|
width: 280px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue