|
@ -361,7 +361,11 @@ const searchTableSuccess = (formField, searchField, val, type, row) => { |
|
|
/** 打开弹窗 */ |
|
|
/** 打开弹窗 */ |
|
|
const open = async (type: string, row?: any, masterParmas?: any, titleName?: any) => { |
|
|
const open = async (type: string, row?: any, masterParmas?: any, titleName?: any) => { |
|
|
dialogVisible.value = true |
|
|
dialogVisible.value = true |
|
|
dialogTitle.value = t('action.' + titleName) |
|
|
if (titleName) { |
|
|
|
|
|
dialogTitle.value = t('action.' + titleName) |
|
|
|
|
|
} else { |
|
|
|
|
|
dialogTitle.value = t('action.' + type) |
|
|
|
|
|
} |
|
|
formType.value = type |
|
|
formType.value = type |
|
|
resetForm() |
|
|
resetForm() |
|
|
// 修改时,设置数据 |
|
|
// 修改时,设置数据 |
|
|