分类字典
This commit is contained in:
parent
5d482a1337
commit
be3ea032a5
@ -28,6 +28,7 @@
|
||||
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
|
||||
<el-table-column prop="name" label="分类字典名称" width="260"></el-table-column>
|
||||
<el-table-column prop="code" label="分类字典编码" width="260"></el-table-column>
|
||||
<el-table-column prop="sort" label="排序" width="100"></el-table-column>
|
||||
<el-table-column prop="remark" label="备注" width="260"></el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
@ -60,6 +61,11 @@
|
||||
<el-input v-model="form.code" placeholder="请输入分类字典编码" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="显示排序" prop="sort">
|
||||
<el-input-number v-model="form.sort" controls-position="right" :min="0" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注" />
|
||||
@ -114,6 +120,7 @@ export default {
|
||||
pid: undefined,
|
||||
name: undefined,
|
||||
code: undefined,
|
||||
sort:0,
|
||||
remark: undefined,
|
||||
},
|
||||
// 表单校验
|
||||
@ -162,6 +169,7 @@ export default {
|
||||
pid: undefined,
|
||||
name: undefined,
|
||||
code: undefined,
|
||||
sort:0,
|
||||
remark: undefined,
|
||||
};
|
||||
this.resetForm("form");
|
||||
|
Loading…
Reference in New Issue
Block a user