字典类型 CRUD
This commit is contained in:
@@ -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)"
|
||||
|
||||
@@ -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: "计划名称",
|
||||
|
||||
Reference in New Issue
Block a user