This commit is contained in:
ljx
2025-08-22 15:32:55 +08:00
parent 58cbe1c902
commit 6c05e20e8d
5 changed files with 205 additions and 18 deletions

View File

@ -31,7 +31,6 @@
<script setup lang="ts">
import { useUserStoreHook } from '@/store/modules/user';
import { id } from 'element-plus/es/locale/index.mjs';
const userStore = useUserStoreHook();
const currentProject = computed(() => userStore.selectedProject);
const dialogVisible = ref(false);
@ -42,7 +41,12 @@ const ruleForm = ref<any>();
const rules = ref({
costEstimationFile: [{ required: true, message: '请上传招标文件', trigger: ['blur'] }]
});
const emit = defineProps({
success: {
type: Function
// required: true
}
});
const form = ref({
costEstimationFile: ''
});
@ -64,6 +68,7 @@ const submitForm = () => {
return;
}
dialogVisible.value = false;
emit.success();
});
};
defineExpose({