fix(forceNotice): 修复文件名属性不一致和数据覆盖问题

- 统一文件名属性从 fileName 改为 filename,确保属性名一致性
- 修改数据赋值方式,使用展开运算符保留原有数据,避免完全覆盖
- 在 force、inclusion、liccan、recovery、remove 模块中应用相同修复
This commit is contained in:
chenxf 2026-01-06 20:25:46 +08:00
parent 4095b7f183
commit 97cf733ae1
5 changed files with 25 additions and 10 deletions

View File

@ -598,7 +598,7 @@ export default {
this.data.fileList = data.map((item) => {
return {
...item,
name: item.fileName
name: item.filename
}
})
}),
@ -608,7 +608,10 @@ export default {
}).then((busInfo) => {
const busName = this.data.busName
this.data.status = busInfo[0].status
this.data = busInfo[0]
this.data = {
...this.data,
...busInfo[0]
}
if (busName) {
this.data.busName = busName
}

View File

@ -582,7 +582,7 @@ export default {
this.data.fileList = data.map((item) => {
return {
...item,
name: item.fileName
name: item.filename
}
})
}),
@ -592,7 +592,10 @@ export default {
}).then((busInfo) => {
const busName = this.data.busName
this.data.status = busInfo[0].status
this.data = busInfo[0]
this.data = {
...this.data,
...busInfo[0]
}
if (busName) {
this.data.busName = busName
}

View File

@ -454,7 +454,7 @@ export default {
this.data.fileList = data.map((item) => {
return {
...item,
name: item.fileName
name: item.filename
}
})
}),
@ -462,7 +462,10 @@ export default {
bizSeqNo: this.$route.query.bizSeqNo
}).then((busInfo) => {
this.data.status = busInfo.status
this.data = busInfo
this.data = {
...this.data,
...busInfo
}
const permission = ({
'0': 'xrExamine',
'1': 'xrApprove'

View File

@ -508,7 +508,7 @@ export default {
this.data.fileList = data.map((item) => {
return {
...item,
name: item.fileName
name: item.filename
}
})
}),
@ -516,7 +516,10 @@ export default {
bizSeqNo: this.$route.query.bizSeqNo
}).then((busInfo) => {
this.data.status = busInfo.status
this.data = busInfo
this.data = {
...this.data,
...busInfo
}
const permission = ({
'0': 'xrExamine',
'1': 'xrApprove'

View File

@ -513,7 +513,7 @@ export default {
this.data.fileList = data.map((item) => {
return {
...item,
name: item.fileName
name: item.filename
}
})
}),
@ -521,7 +521,10 @@ export default {
bizSeqNo: this.$route.query.bizSeqNo
}).then((busInfo) => {
this.data.status = busInfo.status
this.data = busInfo
this.data = {
...this.data,
...busInfo
}
const permission = ({
'0': 'xrExamine',
'1': 'xrApprove'