diff --git a/apps/web-antd/src/views/system/post/index.vue b/apps/web-antd/src/views/system/post/index.vue
index a71ba7683..d742c3f55 100644
--- a/apps/web-antd/src/views/system/post/index.vue
+++ b/apps/web-antd/src/views/system/post/index.vue
@@ -1,50 +1,22 @@
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/apps/web-antd/src/views/system/post/post.data.ts b/apps/web-antd/src/views/system/post/post.data.ts
new file mode 100644
index 000000000..f8851cc01
--- /dev/null
+++ b/apps/web-antd/src/views/system/post/post.data.ts
@@ -0,0 +1,103 @@
+import type { VxeGridProps } from '#/adapter/vxe-table';
+
+import { $t } from '@vben/locales';
+
+import { type VbenFormSchema } from '#/adapter/form';
+
+export const formSchema: VbenFormSchema[] = [
+ {
+ component: 'Input',
+ fieldName: 'name',
+ label: '岗位名称',
+ },
+ {
+ component: 'Input',
+ fieldName: 'code',
+ label: '岗位编码',
+ },
+ // TODO: dict
+ {
+ component: 'Select',
+ componentProps: {
+ allowClear: true,
+ options: [
+ {
+ label: 'Color1',
+ value: '1',
+ },
+ {
+ label: 'Color2',
+ value: '2',
+ },
+ ],
+ placeholder: '请选择',
+ },
+ fieldName: 'status',
+ label: '状态',
+ },
+];
+
+export const columns: VxeGridProps['columns'] = [
+ { title: '序号', type: 'seq', width: 50 },
+ { field: 'id', title: '岗位编号' },
+ { field: 'name', title: '岗位名称' },
+ { field: 'code', title: '岗位编码' },
+ { field: 'sort', title: '岗位顺序' },
+ { field: 'remark', title: '岗位备注' },
+ { field: 'status', title: '状态' },
+ { field: 'createTime', formatter: 'formatDateTime', title: '创建时间' },
+ {
+ field: 'action',
+ fixed: 'right',
+ slots: { default: 'action' },
+ title: $t('page.action.action'),
+ width: 160,
+ },
+];
+
+export const modalSchema: VbenFormSchema[] = [
+ {
+ component: 'Input',
+ fieldName: 'id',
+ label: 'id',
+ dependencies: {
+ triggerFields: [''],
+ show: () => false,
+ },
+ },
+ {
+ component: 'Input',
+ fieldName: 'name',
+ label: '岗位标题',
+ rules: 'required',
+ },
+ {
+ component: 'Input',
+ fieldName: 'code',
+ label: '岗位编码',
+ rules: 'required',
+ },
+ {
+ component: 'Input',
+ fieldName: 'sort',
+ label: '岗位顺序',
+ rules: 'required',
+ },
+ {
+ component: 'Select',
+ componentProps: {
+ options: [
+ { label: '选项1', value: '1' },
+ { label: '选项2', value: '2' },
+ ],
+ },
+ fieldName: 'status',
+ label: '状态',
+ rules: 'required',
+ },
+ {
+ component: 'Textarea',
+ fieldName: 'remark',
+ label: '备注',
+ },
+];
diff --git a/apps/web-antd/src/views/system/post/postModal.vue b/apps/web-antd/src/views/system/post/postModal.vue
new file mode 100644
index 000000000..64ce6a2de
--- /dev/null
+++ b/apps/web-antd/src/views/system/post/postModal.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+