diff --git a/src/plugins/formCreate/index.ts b/src/plugins/formCreate/index.ts
index 69816d8a77e350206725cfea1f8e53643ef0b866..0d72048eb17492be3f046d9cd4e1f45c678bd648 100644
--- a/src/plugins/formCreate/index.ts
+++ b/src/plugins/formCreate/index.ts
@@ -10,6 +10,8 @@ import {
ElTransfer,
ElAlert,
ElTabs,
+ ElTable,
+ ElTableColumn,
ElTabPane
} from 'element-plus'
@@ -27,6 +29,8 @@ const components = [
ElTransfer,
ElAlert,
ElTabs,
+ ElTable,
+ ElTableColumn,
ElTabPane
]
diff --git a/src/views/system/post/form.vue b/src/views/system/post/form.vue
index 065aecafe82787cc341199d5e4c14b1b8aefea5e..d5d65dd1366872dd796e6ef1f4e47ffba7464d06 100644
--- a/src/views/system/post/form.vue
+++ b/src/views/system/post/form.vue
@@ -1,81 +1,96 @@
-
-
-
-
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index c5a13e1ef36cd83487355926756d0876ebc31780..321b5ae3fb2043023eb5a9ab345fc73e98e4df16 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -1,71 +1,192 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+ @click="handleExport"
+ :loading="exportLoading"
+ v-hasPermi="['infra:config:export']"
+ >
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/views/system/post/post.data.ts b/src/views/system/post/post.data.ts
deleted file mode 100644
index 4926bcc69a432e401351ea49bd9c25ed062db28e..0000000000000000000000000000000000000000
--- a/src/views/system/post/post.data.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
-const { t } = useI18n() // 国际化
-
-// 表单校验
-export const rules = reactive({
- name: [required],
- code: [required],
- sort: [required]
-})
-
-// 增删改查 CrudSchema 配置
-const crudSchemas = reactive({
- primaryKey: 'id',
- primaryType: 'id',
- primaryTitle: '岗位编号',
- action: true,
- columns: [
- {
- title: '岗位名称',
- field: 'name',
- isSearch: true
- },
- {
- title: '岗位编码',
- field: 'code',
- isSearch: true
- },
- {
- title: '岗位顺序',
- field: 'sort',
- form: {
- component: 'InputNumber'
- }
- },
- {
- title: t('common.status'),
- field: 'status',
- dictType: DICT_TYPE.COMMON_STATUS,
- dictClass: 'number',
- isSearch: true
- },
- {
- title: '备注',
- field: 'remark',
- isTable: false
- },
- {
- title: t('common.createTime'),
- field: 'createTime',
- formatter: 'formatDate',
- isForm: false,
- table: {
- width: 180
- }
- }
- ]
-})
-export const { allSchemas } = useVxeCrudSchemas(crudSchemas)
diff --git a/src/views/system/role/MenuPermissionForm.vue b/src/views/system/role/MenuPermissionForm.vue
new file mode 100644
index 0000000000000000000000000000000000000000..18d4696fc74d4aae562a5f798cc9221d2f07255d
--- /dev/null
+++ b/src/views/system/role/MenuPermissionForm.vue
@@ -0,0 +1,203 @@
+
+
+
+
+
+
diff --git a/src/views/system/role/RoleForm.vue b/src/views/system/role/RoleForm.vue
new file mode 100644
index 0000000000000000000000000000000000000000..8412f1240118c6cf1f26e6b0ffc8b2673e30e79f
--- /dev/null
+++ b/src/views/system/role/RoleForm.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index da4b83893850d9ddc85a81c44b7d6c3a50293998..1acb3a8efe3016e8bec1f7effe0ca3301482fc3a 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -1,331 +1,250 @@
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dataScopeForm.name }}
-
- {{ dataScopeForm.code }}
+
+
-
-
-
+
+
-
-
-
-
-
-
- 父子联动(选中父节点,自动选择子节点):
-
- 全选/全不选:
-
-
-
-
-
+
+
+
+
+ 搜索
+ 重置
+
+ 新增
+
+
+ 导出
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+ 编辑
+
+
+
+ 菜单权限
+
+
+
+ 数据权限
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/views/system/role/role.data.ts b/src/views/system/role/role.data.ts
deleted file mode 100644
index d55b5e213339b0dd632602ffcb5a04b1c67fe84e..0000000000000000000000000000000000000000
--- a/src/views/system/role/role.data.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
-// 国际化
-const { t } = useI18n()
-// 表单校验
-export const rules = reactive({
- name: [required],
- code: [required],
- sort: [required]
-})
-// CrudSchema
-const crudSchemas = reactive({
- // primaryKey: 'id',
- // primaryTitle: '角色编号',
- // primaryType: 'seq',
- action: true,
- actionWidth: '400px',
- columns: [
- {
- title: '角色编号',
- field: 'id',
- table: {
- width: 200
- }
- },
- {
- title: '角色名称',
- field: 'name',
- isSearch: true
- },
- {
- title: '角色类型',
- field: 'type',
- dictType: DICT_TYPE.SYSTEM_ROLE_TYPE,
- dictClass: 'number',
- isForm: false
- },
- {
- title: '角色标识',
- field: 'code',
- isSearch: true
- },
- {
- title: '显示顺序',
- field: 'sort'
- },
- {
- title: t('form.remark'),
- field: 'remark',
- isTable: false,
- form: {
- component: 'Input',
- componentProps: {
- type: 'textarea',
- rows: 4
- },
- colProps: {
- span: 24
- }
- }
- },
- {
- title: t('common.status'),
- field: 'status',
- dictType: DICT_TYPE.COMMON_STATUS,
- dictClass: 'number',
- isSearch: true
- },
- {
- title: t('common.createTime'),
- field: 'createTime',
- formatter: 'formatDate',
- isForm: false,
- search: {
- show: true,
- itemRender: {
- name: 'XDataTimePicker'
- }
- }
- }
- ]
-})
-export const { allSchemas } = useVxeCrudSchemas(crudSchemas)