|
@ -379,6 +379,7 @@ const HeadButttondata = ref() |
|
|
const buttondata = ref() |
|
|
const buttondata = ref() |
|
|
|
|
|
|
|
|
/** 打开弹窗 */ |
|
|
/** 打开弹窗 */ |
|
|
|
|
|
const formRef = ref() |
|
|
const titleNameRef = ref() |
|
|
const titleNameRef = ref() |
|
|
const titleValueRef = ref() |
|
|
const titleValueRef = ref() |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any, tableName: any) => { |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any, tableName: any) => { |
|
@ -458,7 +459,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName: |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
defineExpose({ openDetail }) // 提供 open 方法,用于打开弹窗 |
|
|
defineExpose({ openDetail, formRef }) // 提供 open 方法,用于打开弹窗 |
|
|
|
|
|
|
|
|
// 获取备注列表 |
|
|
// 获取备注列表 |
|
|
const getRemarkList = async () => { |
|
|
const getRemarkList = async () => { |
|
@ -544,7 +545,6 @@ const buttonTableClick = async (val, row) => { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
/** 添加/修改操作 */ |
|
|
/** 添加/修改操作 */ |
|
|
const formRef = ref() |
|
|
|
|
|
const openForm = async (type: string, row?: number) => { |
|
|
const openForm = async (type: string, row?: number) => { |
|
|
emit('detailOpenForm', type, row) |
|
|
emit('detailOpenForm', type, row) |
|
|
formRef.value.open(type, row, masterParmas.value) |
|
|
formRef.value.open(type, row, masterParmas.value) |
|
|