[update 标准解读组件] 搜索后清空选中数据
This commit is contained in:
@@ -298,6 +298,12 @@ export default {
|
|||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.initDetailInfo()
|
this.initDetailInfo()
|
||||||
},
|
},
|
||||||
|
// 清除选中状态
|
||||||
|
clearSelect () {
|
||||||
|
this.selectedTreeKeys = []
|
||||||
|
this.hightMenuId = null
|
||||||
|
this.clauseLabelInfo = {}
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 拖拽回调
|
* 拖拽回调
|
||||||
* @param min - 拖拽最小宽度
|
* @param min - 拖拽最小宽度
|
||||||
@@ -349,10 +355,14 @@ export default {
|
|||||||
}
|
}
|
||||||
previewDocSplit(params).then(res => {
|
previewDocSplit(params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
// 清除选中状态
|
||||||
|
this.clearSelect()
|
||||||
const data = res.result || {}
|
const data = res.result || {}
|
||||||
this.treeData = data.sarFileSplitMenuEO || []
|
this.treeData = data.sarFileSplitMenuEO || []
|
||||||
this.spiltInfo = data.documentSplitInfo || {}
|
this.spiltInfo = data.documentSplitInfo || {}
|
||||||
this.clauseContentList = data.documentSplitDetail || []
|
this.clauseContentList = data.documentSplitDetail || []
|
||||||
|
} else {
|
||||||
|
this.$message.warn(res.message)
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user