CN-1062 fix:左侧filter,type有半选的category,点击disable 报错;内置数据选择框需要禁用;左侧去掉一些勾选的,右侧删除一个,勾选又自动勾上了,但是右侧列表没变化;

This commit is contained in:
hyx
2023-06-08 17:17:41 +08:00
parent 6b0bb332db
commit 0d10a06522
5 changed files with 28 additions and 5 deletions

View File

@@ -253,6 +253,8 @@ export default {
this.$refs.knowledgeFilter.reloadFilter()
this.secondBatchDeleteObjs = []
this.batchDeleteObjs = []
delete this.searchLabel.category
delete this.searchLabel.source
this.getTableData()
} else {
this.$message.error(response.data.message)
@@ -347,6 +349,8 @@ export default {
this.batchDeleteObjs = []
this.secondBatchDeleteObjs = []
this.listMode = mode
// this.$refs.dataTable.init()
// this.$refs.dataTableCard.init()
const { query } = this.$route
const newUrl = urlParamsHandler(window.location.href, query, { listMode: mode })
overwriteUrl(newUrl)
@@ -362,6 +366,8 @@ export default {
if (response.data.code === 200) {
this.delFlag = true
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.deleteSuccess') })
delete this.searchLabel.category
delete this.searchLabel.source
this.getTableData()
} else {
this.$message.error(response.data.message)