From 65827d27e404d34a9e7191fccfd892e5a6e3dbf4 Mon Sep 17 00:00:00 2001 From: hyx Date: Wed, 1 Nov 2023 16:05:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201.CN-1446=20=E5=AD=A6=E4=B9=A0IP?= =?UTF-8?q?=E8=B6=8B=E5=8A=BF=E5=9B=BE=E9=87=8C=E6=9C=AA=E6=8C=89=E7=85=A7?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=AF=B9=E5=BA=94=E6=97=B6=E9=97=B4=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=EF=BC=9B2.=E5=88=9D=E6=AC=A1=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=E7=9A=84=E5=AD=A6=E4=B9=A0=E5=BC=95?= =?UTF-8?q?=E6=93=8E=E6=97=A5=E5=BF=97tab=EF=BC=8C=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=BD=93=E5=89=8Dtab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/knowledgeBaseTableForCard.vue | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/components/table/setting/knowledgeBaseTableForCard.vue b/src/components/table/setting/knowledgeBaseTableForCard.vue index a9ce8b12..e11cc7ec 100644 --- a/src/components/table/setting/knowledgeBaseTableForCard.vue +++ b/src/components/table/setting/knowledgeBaseTableForCard.vue @@ -256,7 +256,7 @@ @@ -283,8 +283,8 @@
{{ confirmSwitchLearningTip }}
@@ -427,7 +427,6 @@ export default { }, xAxis: { type: 'time', - boundaryGap: ['1%', '3%'], axisLine: { show: false }, @@ -605,10 +604,19 @@ export default { }, submitConfirm () { this.showConfirmDialog = true + this.$nextTick(() => { + this.handleActiveBar() + }) }, submit () { this.$refs.knowledgeUpload.submit() }, + cancle(){ + this.showAddUpdateDialog = false + this.$nextTick(() => { + this.handleActiveBar() + }) + }, clickCard (data, event) { if (data.isSelected) { // 原来为选中,当前点击后未选中 const index = this.checkList.indexOf(data) @@ -704,6 +712,9 @@ export default { this.getCurTabData() if (tab.index === '1') { this.init() + this.$nextTick(() => { + this.handleActiveBar() + }) } }, clearSelect () { @@ -743,6 +754,9 @@ export default { this.switchKnowledgeId = id return false }, + cancleSwitch(){ + this.showConfirmSwitch = false + }, switchLearning () { const hint = this.aiTaggingList.find(d => d.knowledgeId === this.switchKnowledgeId) const toStatus = hint.status === 0 ? 1 : 0