|
|
@ -1588,11 +1588,8 @@ |
|
|
await updateBMProcess(this.sheetData).then(({data}) => { |
|
|
await updateBMProcess(this.sheetData).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
tsdBasicInformationSearch(this.searchData).then(({data}) => { |
|
|
tsdBasicInformationSearch(this.searchData).then(({data}) => { |
|
|
if(data.row){ |
|
|
|
|
|
this.sheetData=data.row |
|
|
|
|
|
window.location.reload(); |
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.row) { |
|
|
|
|
|
this.sheetData = data.row |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
@ -1609,7 +1606,9 @@ |
|
|
}) |
|
|
}) |
|
|
await submitChange(tempData).then(({data}) => { |
|
|
await submitChange(tempData).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
this.searchTable(); |
|
|
|
|
|
|
|
|
// this.searchTable(); |
|
|
|
|
|
// 2025-05-31 操作成功才刷新界面,如果报错了则不刷新界面 |
|
|
|
|
|
window.location.reload(); |
|
|
this.submitModalFlag = false |
|
|
this.submitModalFlag = false |
|
|
this.$message({message: '操作成功', type: 'success'}) |
|
|
this.$message({message: '操作成功', type: 'success'}) |
|
|
} else { |
|
|
} else { |
|
|
@ -1618,12 +1617,11 @@ |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
//关闭模态框后刷新下方预览 重新加载组件 |
|
|
|
|
|
closeItemModel(){ |
|
|
|
|
|
this.componentKey=Number( this.componentKey)+1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 关闭模态框后刷新下方预览 重新加载组件 |
|
|
|
|
|
closeItemModel () { |
|
|
|
|
|
this.componentKey = Number( this.componentKey) + 1 |
|
|
this.chooseRoute(this.nowRoute) |
|
|
this.chooseRoute(this.nowRoute) |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|