招标
This commit is contained in:
@ -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({
|
||||
|
Reference in New Issue
Block a user