修改禅道已知bug

This commit is contained in:
qq787203167
2022-06-28 14:11:46 +08:00
parent 757715e3a1
commit 735fd21788
3 changed files with 13 additions and 8 deletions
@@ -120,6 +120,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()
}, },
@@ -253,7 +253,7 @@
getAction(url, { id: val.id }).then((res) => { getAction(url, { id: val.id }).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'))
} }
@@ -276,7 +276,7 @@
getAction(url, { id: val.id }).then((res) => { getAction(url, { id: val.id }).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'))
} }
@@ -1,8 +1,8 @@
<template> <template>
<a-card :bordered="false"> <a-card :bordered="false">
<!-- <div class="header-text">--> <!-- <div class="header-text">-->
<!-- {{ $t('DocumentStandard') }}--> <!-- {{ $t('DocumentStandard') }}-->
<!-- </div>--> <!-- </div>-->
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
@@ -1317,7 +1317,7 @@
isTrue = true isTrue = true
} else { } else {
isTrue = false isTrue = false
this.$message.warning(this.$t('pleaseConformityVerification')) this.$message.warning(this.$t('The') + (i + 1) + this.$t('strip') + ',' + this.$t('pleaseConformityVerification'))
return return
} }
if ((this.dataSource[i].prehomoDueDate && this.dataSource[i].prehomoDutyId if ((this.dataSource[i].prehomoDueDate && this.dataSource[i].prehomoDutyId
@@ -1327,7 +1327,7 @@
isTrue = true isTrue = true
} else { } else {
isTrue = false isTrue = false
this.$message.warning(this.$t('pleaseConfirmedByPrehomo')) this.$message.warning(this.$t('The') + (i + 1) + this.$t('strip') + ',' + this.$t('pleaseConfirmedByPrehomo'))
return return
} }
if ((this.dataSource[i].designDueDate && this.dataSource[i].designDutyId if ((this.dataSource[i].designDueDate && this.dataSource[i].designDutyId
@@ -1337,7 +1337,7 @@
isTrue = true isTrue = true
} else { } else {
isTrue = false isTrue = false
this.$message.warning(this.$t('pleaseDesignConformityConfirmation')) this.$message.warning(this.$t('The') + (i + 1) + this.$t('strip') + ',' + this.$t('pleaseDesignConformityConfirmation'))
return return
} }
} else { } else {