fix(forceNotice): 修复文件名属性不一致和数据覆盖问题
- 统一文件名属性从 fileName 改为 filename,确保属性名一致性 - 修改数据赋值方式,使用展开运算符保留原有数据,避免完全覆盖 - 在 force、inclusion、liccan、recovery、remove 模块中应用相同修复
This commit is contained in:
parent
4095b7f183
commit
97cf733ae1
|
|
@ -598,7 +598,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -608,7 +608,10 @@ export default {
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo[0].status
|
||||||
this.data = busInfo[0]
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo[0]
|
||||||
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -582,7 +582,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -592,7 +592,10 @@ export default {
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo[0].status
|
||||||
this.data = busInfo[0]
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo[0]
|
||||||
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -454,7 +454,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -462,7 +462,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
|
||||||
|
|
@ -508,7 +508,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -516,7 +516,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
|
||||||
|
|
@ -513,7 +513,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -521,7 +521,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue