feat: 所有菜单页面样式优化~

This commit is contained in:
H0nGzA1
2023-03-30 16:43:57 +08:00
parent f89a5228cd
commit 1ee709b9eb
12 changed files with 565 additions and 277 deletions

View File

@@ -2,7 +2,7 @@ import * as api from './api';
import { dict, PageQuery, AddReq, DelReq, EditReq, CrudExpose, CrudOptions } from '@fast-crud/fast-crud';
import { request } from '/@/utils/service';
import { dictionary } from '/@/utils/dictionary';
import {watch} from "vue";
import { watch } from 'vue';
interface CreateCrudOptionsTypes {
crudOptions: CrudOptions;
}
@@ -30,6 +30,24 @@ export const createCrudOptions = function ({ crudExpose }: { crudExpose: CrudExp
editRequest,
delRequest,
},
rowHandle: {
//固定右侧
fixed: 'right',
width: 200,
buttons: {
view: {
show: false,
},
edit: {
iconRight: 'Edit',
type: 'text',
},
remove: {
iconRight: 'Delete',
type: 'text',
},
},
},
columns: {
_index: {
title: '序号',