diff --git a/src/views/lsxmsb/TaskForm.vue b/src/views/lsxmsb/TaskForm.vue index e4dc957..bc3e58b 100644 --- a/src/views/lsxmsb/TaskForm.vue +++ b/src/views/lsxmsb/TaskForm.vue @@ -96,7 +96,10 @@ projectCode: String, }); const { proxy } = getCurrentInstance(); - +const emits = defineEmits(['closeFormTransition']); +const closeDaKa = () => { + emits('closeFormTransition', 'AnJianUpdatas'); +}; const route = useRoute(); const AllData = reactive({ ShowHedao: false, diff --git a/src/views/lsxmsb/TaskForm.vue b/src/views/lsxmsb/TaskForm.vue index e4dc957..bc3e58b 100644 --- a/src/views/lsxmsb/TaskForm.vue +++ b/src/views/lsxmsb/TaskForm.vue @@ -96,7 +96,10 @@ projectCode: String, }); const { proxy } = getCurrentInstance(); - +const emits = defineEmits(['closeFormTransition']); +const closeDaKa = () => { + emits('closeFormTransition', 'AnJianUpdatas'); +}; const route = useRoute(); const AllData = reactive({ ShowHedao: false, diff --git a/src/views/lsxmsb/TemporaryProject.vue b/src/views/lsxmsb/TemporaryProject.vue index 20686bf..287b559 100644 --- a/src/views/lsxmsb/TemporaryProject.vue +++ b/src/views/lsxmsb/TemporaryProject.vue @@ -34,6 +34,7 @@ v-if="showForm" :projectName="AllData.projectName" :projectCode="AllData.projectCode" + @closeFormTransition="closeFormTransition" /> @@ -163,6 +164,11 @@ AllData.projectCode = item.projectNo; }; +// 关闭 +const closeFormTransition = (msg) => { + showForm.value = false; +}; + // 获取项目检查项字典 function getJCX() { jcxList.value = [];