update 文档比对操作栏按钮显隐处理

This commit is contained in:
赵霄
2023-09-18 17:23:27 +08:00
parent ae01a27733
commit dfc32081bf
4 changed files with 91 additions and 70 deletions
@@ -1,12 +1,15 @@
<template>
<internal-detail-page :title="$t('docTool.comparison.documentComparison')" :content-padding="0" :loading="loading">
<template v-slot:titleRightCustom>
<!--查看比对结果-->
<a-button class="header-btn" type="primary" icon="eye" ghost @click="viewTheComparisonResultsClick">
{{ $t('docTool.comparison.viewTheComparisonResults') }}
</a-button>
<!--添加全文评论-->
<a-button class="header-btn" type="primary" icon="message" ghost @click="addFullTextCommentClick">
{{ $t('docTool.comparison.addFullTextComment') }}
</a-button>
<!--关闭/打开自动匹配-->
<a-button class="header-btn" type="primary" :icon="isMatching?'close-circle':'check-circle'" ghost @click="turnOffAutomaticMatchingClick">
{{ isMatching ? $t('docTool.comparison.turnOffAutomaticMatching') : $t('docTool.comparison.turnOnAutoMatch') }}
</a-button>
@@ -106,7 +109,7 @@
<script>
import { postAction, getAction } from '../../../api/manage.js'
// 添加全文评论弹框
import ComparisonAddFullComment from '../modules/ComparisonAddFullComment.vue'
import ComparisonAddFullComment from './modules/ComparisonAddFullComment.vue'
import InternalDetailPage from '../../../components/InternalDetailPage.vue'
export default {