修改禅道已知问题
This commit is contained in:
@@ -124,6 +124,10 @@
|
|||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
})
|
})
|
||||||
|
eventBUs.$on('searchGetData', target => {
|
||||||
|
this.getData()
|
||||||
|
this.getTableList()
|
||||||
|
})
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
this.userData = this.userInfo()
|
this.userData = this.userInfo()
|
||||||
|
|||||||
@@ -136,6 +136,11 @@
|
|||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
})
|
})
|
||||||
|
eventBUs.$on('searchGetData', target => {
|
||||||
|
this.selectedRowKeys = []
|
||||||
|
this.getData()
|
||||||
|
this.getTableList()
|
||||||
|
})
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -129,6 +129,11 @@
|
|||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
})
|
})
|
||||||
|
eventBUs.$on('searchGetData', target => {
|
||||||
|
this.selectedRowKeys = []
|
||||||
|
this.getData()
|
||||||
|
this.getTableList()
|
||||||
|
})
|
||||||
this.getData()
|
this.getData()
|
||||||
this.getTableList()
|
this.getTableList()
|
||||||
this.userData = this.userInfo()
|
this.userData = this.userInfo()
|
||||||
|
|||||||
@@ -285,7 +285,7 @@
|
|||||||
.then( (res) =>{
|
.then( (res) =>{
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
}else{
|
}else{
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
@@ -362,7 +362,7 @@
|
|||||||
getAction(`ocr/ocrRecord/delete`,params).then(res=> {
|
getAction(`ocr/ocrRecord/delete`,params).then(res=> {
|
||||||
if(res.success){
|
if(res.success){
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
}else{
|
}else{
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -152,6 +152,11 @@
|
|||||||
}
|
}
|
||||||
getAction(`split/sarFileSplitInfo/page`,params).then(res=>{
|
getAction(`split/sarFileSplitInfo/page`,params).then(res=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
|
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||||
|
this.queryParams.pageNo = res.result.current - 1
|
||||||
|
this.loadData()
|
||||||
|
return
|
||||||
|
}
|
||||||
this.tableData=[...res.result.records]
|
this.tableData=[...res.result.records]
|
||||||
this.loading=false
|
this.loading=false
|
||||||
this.total=res.result.total
|
this.total=res.result.total
|
||||||
@@ -206,7 +211,7 @@
|
|||||||
// this.queryParams.pageNo=this.queryParams.pageNo-1
|
// this.queryParams.pageNo=this.queryParams.pageNo-1
|
||||||
// }
|
// }
|
||||||
this.selectedRowKeys=[]
|
this.selectedRowKeys=[]
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
// this.loadData()
|
// this.loadData()
|
||||||
}else{
|
}else{
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
@@ -232,7 +237,7 @@
|
|||||||
// if (this.tableData && this.tableData.length == 1 && this.queryParams.pageNo != 1) {
|
// if (this.tableData && this.tableData.length == 1 && this.queryParams.pageNo != 1) {
|
||||||
// this.queryParams.pageNo = this.queryParams.pageNo - 1
|
// this.queryParams.pageNo = this.queryParams.pageNo - 1
|
||||||
// }
|
// }
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
// this.loadData()
|
// this.loadData()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
|||||||
@@ -853,7 +853,7 @@
|
|||||||
info_id: this.infoId
|
info_id: this.infoId
|
||||||
|
|
||||||
}
|
}
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
|
eventBUs.$emit('searchGetData', JSON.parse(JSON.stringify(queryParam)))
|
||||||
// eventBUs.$emit('searchReset')
|
// eventBUs.$emit('searchReset')
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
} else {
|
} else {
|
||||||
@@ -895,7 +895,7 @@
|
|||||||
info_id: this.infoId
|
info_id: this.infoId
|
||||||
|
|
||||||
}
|
}
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
|
eventBUs.$emit('searchGetData', JSON.parse(JSON.stringify(queryParam)))
|
||||||
},
|
},
|
||||||
//批量删除
|
//批量删除
|
||||||
handleBatCancel() {
|
handleBatCancel() {
|
||||||
@@ -934,7 +934,7 @@
|
|||||||
info_id: this.infoId
|
info_id: this.infoId
|
||||||
|
|
||||||
}
|
}
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
|
eventBUs.$emit('searchGetData', JSON.parse(JSON.stringify(queryParam)))
|
||||||
this.selectClear()
|
this.selectClear()
|
||||||
// eventBUs.$emit('searchReset')
|
// eventBUs.$emit('searchReset')
|
||||||
} else {
|
} else {
|
||||||
@@ -1004,7 +1004,7 @@
|
|||||||
info_id: this.infoId
|
info_id: this.infoId
|
||||||
|
|
||||||
}
|
}
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
|
eventBUs.$emit('searchGetData', JSON.parse(JSON.stringify(queryParam)))
|
||||||
// eventBUs.$emit('searchReset')
|
// eventBUs.$emit('searchReset')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
|||||||
Reference in New Issue
Block a user