From 5904bd3b4610ea3f237783c15281705e5e0c2c4e Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Tue, 15 Oct 2024 15:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=94=B3=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=B7=BB=E5=8A=A0=2010.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/projectApplication/PersonTable.vue | 137 ++++++++++++++++ .../src/views/projectApplication/data.ts | 149 ++++++++++++++++++ .../projectApplicationList.vue | 77 +++++++++ 3 files changed, 363 insertions(+) create mode 100644 jeecgboot-vue3/src/views/projectApplication/PersonTable.vue create mode 100644 jeecgboot-vue3/src/views/projectApplication/data.ts create mode 100644 jeecgboot-vue3/src/views/projectApplication/projectApplicationList.vue diff --git a/jeecgboot-vue3/src/views/projectApplication/PersonTable.vue b/jeecgboot-vue3/src/views/projectApplication/PersonTable.vue new file mode 100644 index 0000000..47d250d --- /dev/null +++ b/jeecgboot-vue3/src/views/projectApplication/PersonTable.vue @@ -0,0 +1,137 @@ + + diff --git a/jeecgboot-vue3/src/views/projectApplication/data.ts b/jeecgboot-vue3/src/views/projectApplication/data.ts new file mode 100644 index 0000000..73d17d8 --- /dev/null +++ b/jeecgboot-vue3/src/views/projectApplication/data.ts @@ -0,0 +1,149 @@ +import { FormSchema } from '/@/components/Form'; + +const basicOptions: LabelValueOptions = [ + { + label: '付晓晓', + value: '1', + }, + { + label: '周毛毛', + value: '2', + }, +]; + +const storeTypeOptions: LabelValueOptions = [ + { + label: '私密', + value: '1', + }, + { + label: '公开', + value: '2', + }, +]; + +export const schemas: FormSchema[] = [ + { + field: 'f1', + component: 'Input', + label: '仓库名', + required: true, + }, + { + field: 'f2', + component: 'Input', + label: '仓库域名', + required: true, + componentProps: { + addonBefore: 'http://', + addonAfter: 'com', + }, + colProps: { + offset: 2, + }, + }, + { + field: 'f3', + component: 'Select', + label: '仓库管理员', + componentProps: { + options: basicOptions, + }, + required: true, + colProps: { + offset: 2, + }, + }, + { + field: 'f4', + component: 'Select', + label: '审批人', + componentProps: { + options: basicOptions, + }, + required: true, + }, + { + field: 'f5', + component: 'RangePicker', + label: '生效日期', + required: true, + colProps: { + offset: 2, + }, + }, + { + field: 'f6', + component: 'Select', + label: '仓库类型', + componentProps: { + options: storeTypeOptions, + }, + required: true, + colProps: { + offset: 2, + }, + }, +]; +export const taskSchemas: FormSchema[] = [ + { + field: 't1', + component: 'Input', + label: '任务名', + required: true, + }, + { + field: 't2', + component: 'Input', + label: '任务描述', + required: true, + colProps: { + offset: 2, + }, + }, + { + field: 't3', + component: 'Select', + label: '执行人', + componentProps: { + options: basicOptions, + }, + required: true, + colProps: { + offset: 2, + }, + }, + { + field: 't4', + component: 'Select', + label: '责任人', + componentProps: { + options: basicOptions, + }, + required: true, + }, + { + field: 't5', + component: 'TimePicker', + label: '生效日期', + required: true, + componentProps: { + style: { width: '100%' }, + }, + colProps: { + offset: 2, + }, + }, + { + field: 't6', + component: 'Select', + label: '任务类型', + componentProps: { + options: storeTypeOptions, + }, + required: true, + colProps: { + offset: 2, + }, + }, +]; diff --git a/jeecgboot-vue3/src/views/projectApplication/projectApplicationList.vue b/jeecgboot-vue3/src/views/projectApplication/projectApplicationList.vue new file mode 100644 index 0000000..64b1624 --- /dev/null +++ b/jeecgboot-vue3/src/views/projectApplication/projectApplicationList.vue @@ -0,0 +1,77 @@ + + +