[update 拆分] 导入拆分结果、编辑导入增加参数

This commit is contained in:
danshihao
2024-08-13 16:30:51 +08:00
parent c521e62a38
commit 0250a70103
3 changed files with 4 additions and 1 deletions
@@ -294,6 +294,7 @@ export default {
query: {
infoId: record.id,
infoNumber: record.serialNumber,
standardClass: record.standardClass,
createBy: record.createBy,
standardName: record.title
}
@@ -367,7 +367,8 @@ export default {
this.menuId = this.selectedKeys[0]
this.uploadData = {
menuId: this.menuId,
infoId: this.infoId
infoId: this.infoId,
standardClass: this.$route.query.standardClass
}
this.filters.info_id = this.infoId
this.filters.menu_id = this.menuId
@@ -129,6 +129,7 @@ export default {
const formData = Object.assign({}, values)
const fileInfo = await getFileInfo({ id: formData.splitFileId })
formData.standardId = this.standardInfo.id
formData.standardClass = this.standardInfo.standardClass
if (fileInfo.success) {
formData.fileName = fileInfo.result.fileName
}