字典类型 CRUD

This commit is contained in:
2024-10-31 14:53:29 +08:00
parent b452636c37
commit b207bc0e68
26 changed files with 386 additions and 279 deletions

View File

@@ -101,21 +101,21 @@
<!-- 表格操作 -->
<!-- <template #operation="scope">
<el-button
type="primary"
dictType="primary"
link
:icon="View"
@click="openDrawer('查看', scope.row)"
>查看</el-button
>
<el-button
type="primary"
dictType="primary"
link
:icon="EditPen"
@click="openDrawer('编辑', scope.row)"
>导出</el-button
>
<el-button
type="primary"
dictType="primary"
link
:icon="Delete"
@click="deleteAccount(scope.row)"

View File

@@ -133,8 +133,8 @@ const treeRef = ref<any>();
// 表格配置项
const columns = reactive<ColumnProps<User.ResUserList>[]>([
{ type: "selection", fixed: "left", width: 70 },
// { type: "sort", label: "Sort", width: 80 },
// { type: "expand", label: "Expand", width: 85 },
// { dictType: "sort", label: "Sort", width: 80 },
// { dictType: "expand", label: "Expand", width: 85 },
{
prop: "planName",
label: "计划名称",