修改禅道已知bug
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
if (this.isTrue) {
|
if (this.isTrue) {
|
||||||
this.$emit('getList',info.file.response.result)
|
this.$emit('getList',info.file.response.result)
|
||||||
} else {
|
} else {
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
}
|
}
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
postAction(url, this.formInline).then((res) => {
|
postAction(url, this.formInline).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')
|
||||||
this.$emit('addFormClick')
|
this.$emit('addFormClick')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t(res.message))
|
this.$message.warning(this.$t(res.message))
|
||||||
|
|||||||
@@ -147,6 +147,7 @@
|
|||||||
beforeDestroy(){
|
beforeDestroy(){
|
||||||
eventBUs.$off('searchQuery')
|
eventBUs.$off('searchQuery')
|
||||||
eventBUs.$off('searchReset')
|
eventBUs.$off('searchReset')
|
||||||
|
eventBUs.$off('searchGetData')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|||||||
@@ -141,6 +141,7 @@
|
|||||||
beforeDestroy(){
|
beforeDestroy(){
|
||||||
eventBUs.$off('searchQuery')
|
eventBUs.$off('searchQuery')
|
||||||
eventBUs.$off('searchReset')
|
eventBUs.$off('searchReset')
|
||||||
|
eventBUs.$off('searchGetData')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
|
|||||||
@@ -335,7 +335,7 @@
|
|||||||
if (this.formInline.id) {
|
if (this.formInline.id) {
|
||||||
eventBUs.$emit('searchGetData')
|
eventBUs.$emit('searchGetData')
|
||||||
} else {
|
} else {
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchGetData')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('addFormClick')
|
this.$emit('addFormClick')
|
||||||
|
|||||||
@@ -132,6 +132,7 @@
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
eventBUs.$off('searchQuery')
|
eventBUs.$off('searchQuery')
|
||||||
eventBUs.$off('searchReset')
|
eventBUs.$off('searchReset')
|
||||||
|
eventBUs.$off('searchGetData')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
rowClassName(record) {
|
rowClassName(record) {
|
||||||
|
|||||||
@@ -225,7 +225,7 @@
|
|||||||
postAction(`ocr/OcrRestful/addOcrRecord`, params).then(res => {
|
postAction(`ocr/OcrRestful/addOcrRecord`, 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')
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.$emit('visible',false)
|
this.$emit('visible',false)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -302,7 +302,7 @@
|
|||||||
// console.log('res,res',res)
|
// console.log('res,res',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(res.data.message)
|
this.$message.warning(res.data.message)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,7 +283,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')
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.$emit('visible',false)
|
this.$emit('visible',false)
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -775,7 +775,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.$emit('sumber')
|
this.$emit('sumber')
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -723,7 +723,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'))
|
||||||
@@ -771,7 +771,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
this.loadMenuData()
|
this.loadMenuData()
|
||||||
eventBUs.$emit('searchQuery', JSON.parse(JSON.stringify(queryParam)))
|
eventBUs.$emit('searchGetData', JSON.parse(JSON.stringify(queryParam)))
|
||||||
}
|
}
|
||||||
let attIdList = []
|
let attIdList = []
|
||||||
if (data && data.length > 0) {
|
if (data && data.length > 0) {
|
||||||
|
|||||||
@@ -238,7 +238,7 @@
|
|||||||
postAction(`split/sarFileSplitInfo/add`, params).then(res => {
|
postAction(`split/sarFileSplitInfo/add`, 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')
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.$emit('visible', false)
|
this.$emit('visible', false)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user