Commit 3dba94d2 authored by 小费同学阿's avatar 小费同学阿 💬

项目库,报表中心的计划完成情况的开工竣工筛选,列表,详情

parent b94ee9cb
...@@ -90,8 +90,14 @@ export const formSchema: FormSchema[] = [ ...@@ -90,8 +90,14 @@ export const formSchema: FormSchema[] = [
}, },
}, },
{ {
field: 'time', field: 'beginTime',
label: '开竣工时间', label: '开工时间',
labelWidth: '140px',
component: 'Input',
},
{
field: 'endTime',
label: '竣工时间',
labelWidth: '140px', labelWidth: '140px',
component: 'Input', component: 'Input',
}, },
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
:title="getTitle" :title="getTitle"
width="700px" width="700px"
> >
<BasicForm ref="formElRef" @register="registerForm"> </BasicForm> <BasicForm ref="formElRef" @register="registerForm" />
</BasicDrawer> </BasicDrawer>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
import { addItem, updateItem } from '@/api/project/project'; import { addItem, updateItem } from '@/api/project/project';
import { isArray } from '@/utils/is'; import { isArray } from '@/utils/is';
import { useUserStore } from '@/store/modules/user'; import { useUserStore } from '@/store/modules/user';
const userStore = useUserStore(); const userStore = useUserStore();
const emit = defineEmits(['success', 'register']); const emit = defineEmits(['success', 'register']);
const isUpdate = ref(true); const isUpdate = ref(true);
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
baseColProps: { span: 24 }, baseColProps: { span: 24 },
schemas: formSchema, schemas: formSchema,
showActionButtonGroup: false, showActionButtonGroup: false,
disabled: true disabled: true,
}); });
const [registerDrawer, { setDrawerProps, closeDrawer }] = useDrawerInner(async (data) => { const [registerDrawer, { setDrawerProps, closeDrawer }] = useDrawerInner(async (data) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment