This commit is contained in:
zmj 2024-03-11 08:41:58 +08:00
parent 152681648f
commit fc55378f28
3 changed files with 5 additions and 11 deletions

View File

@ -108,7 +108,7 @@ const delFileFn = (index: number) => { formData.annex.splice(index, 1) }
const customEvent1 = (e) => {
formData.unit_qualification_id = e.id
formData.company_name = e.unit_name
formData.company_name = e.company_name
showDialog1.value = false
}
@ -181,12 +181,6 @@ const setFormData = async (data: Record<any, any>) => {
}
const getDetail = async (row: Record<string, any>) => {
const data = await apiSupervisionSpecialOperationPersonnelDetail({
id: row.id
})
setFormData(data)
}
//
@ -216,6 +210,6 @@ const handleClose = () => {
defineExpose({
open,
setFormData,
getDetail
})
</script>

View File

@ -118,8 +118,8 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiSupervisionWitnessSamplingAdd, apiSupervisionWitnessSamplingEdit, apiSupervisionWitnessSamplingDetail } from '@/api/supervision_witness_sampling'
import { supervision_project } from "@/components/dialogTable/dialogTableConfig"
import { apisupervision_material_entry_detail, supervision_material_entry } from '@/api/supervision_material_entry'
import { supervision_project, supervision_material_entry } from "@/components/dialogTable/dialogTableConfig"
import { apisupervision_material_entry_detail, } from '@/api/supervision_material_entry'
import type { PropType } from 'vue'
defineProps({

File diff suppressed because one or more lines are too long