From cb3a40b47b5309fcb4d4b0d7e1ab94263bc415a7 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Fri, 08 Jul 2022 16:13:52 +0800
Subject: [PATCH] 添加作业申请页面组件
---
src/views/specialWorkSystem/workApplyManagement/workApplyForm/components/highWorkForm.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/views/specialWorkSystem/workApplyManagement/workApplyForm/components/highWorkForm.vue b/src/views/specialWorkSystem/workApplyManagement/workApplyForm/components/highWorkForm.vue
index 198b18b..009bf9d 100644
--- a/src/views/specialWorkSystem/workApplyManagement/workApplyForm/components/highWorkForm.vue
+++ b/src/views/specialWorkSystem/workApplyManagement/workApplyForm/components/highWorkForm.vue
@@ -72,16 +72,14 @@
}
export default defineComponent({
name: 'highWorkForm',
- setup() {
+ props:{
+ hwForm: Object
+ },
+ setup(props) {
const userInfo = useUserInfo()
const { userInfos } = storeToRefs(userInfo);
const state = reactive<stateType>({});
- const hwForm = reactive({
- hwDepartment: '',
- hwApplyName: '',
- hwLevel: '',
- hwHeight: ''
- })
+ const hwForm1 = reactive(props.hwForm)
const ruleFormRef = ref<FormInstance>()
const hwRules = reactive<FormRules>({
hwDepartment:[{required: true,message: '此处不可为空',trigger: 'blur'}],
@@ -97,7 +95,7 @@
};
return {
renderMenu,
- hwForm,
+ hwForm1,
ruleFormRef,
hwRules,
...toRefs(state),
--
Gitblit v1.9.2