Commit 4e48a4e0 authored by 胡's avatar

fix: 融资合同 提交时自动已读文件

parent bdf989bc
......@@ -427,7 +427,7 @@ export default {
return false
}
},
async goContent(item, index) {
async goContent(item, index, isJump = true) {
// 详情
// 合同状态更新保存
let vm = this
......@@ -448,10 +448,12 @@ export default {
let temp = vm.attachArray[index]
// let item = temp
temp.read_status = 'Y'
vm.$router.push({
name: 'previewPdf',
params: { attachUrl: vm.attachUrl },
})
if(isJump){
vm.$router.push({
name: 'previewPdf',
params: { attachUrl: vm.attachUrl },
})
}
vm.attachArray.splice(index, 1, temp)
// debugger
} else {
......@@ -591,7 +593,9 @@ export default {
onConfirm: async data => {
if (data) {
// 需要先校验是否认证通过
await vm.confirm()
await vm.attachArray.forEach(async (ele, i) => {
await goContent(ele, i, false);
});
vm.doConfirm(status)
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment