修改搜索中心中英文切换

This commit is contained in:
qq787203167
2022-03-31 11:50:18 +08:00
parent fbd7b7109a
commit 3f050d33ec
4 changed files with 12 additions and 6 deletions
+3
View File
@@ -565,4 +565,7 @@ module.exports = {
StandardBreakdown:"Standard breakdown",
OnlyWord: 'only word files can be imported',
labelAreaDeleted:'If it is deleted, all label items under the display area will be deleted',
searchInResults:'Search in results',
searchContent:'Search content',
seeFile:'see file',
}
+3
View File
@@ -570,4 +570,7 @@ module.exports = {
labelAreaDeleted:'若进行删除则该展示区域下标签项都将被删除',
StandardBreakdown:'标准分解单',
searchInResults:'结果中检索',
searchContent:'搜索内容',
seeFile:'查看文件',
}
@@ -111,7 +111,7 @@
</span>
<span slot="file_name" slot-scope="text,record">
<a style="color:#21c9cc" @click="fileNameClick(record)">
{{record.file_name && record.file_name.length > 0 ? '查看文件' : '--'}}
{{record.file_name && record.file_name.length > 0 ? $t('seeFile') : '--'}}
</a>
</span>
file_name
@@ -208,7 +208,7 @@
ref="libraryPushRef"
/>
<a-modal
title="查看文件"
:title="$t('seeFile')"
:width="500"
:visible="visible"
@ok="visible=false"
@@ -16,7 +16,7 @@
:maxLength="100"
v-model="selectValueTwo"
style="width: calc(100% - 128px)"
placeholder="请输入搜索内容"
:placeholder="$t('pleaseEnter')+$t('searchContent')"
@search="onSearch"
></a-input-search>
</a-input-group>
@@ -26,13 +26,13 @@
v-else-if="active === $t('whole')"
class="inputSearch"
allow-clear
placeholder="请输入搜索内容"
:placeholder="$t('pleaseEnter')+$t('searchContent')"
@search="wholeOnSearch"
></a-input-search>
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
@click="wholeTextSearch(selectValueTwo)">结果中检索</span>
@click="wholeTextSearch(selectValueTwo)">{{$t('searchInResults')}}</span>
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
@click="ResetSearch()">重置</span>
@click="ResetSearch()">{{$t('reset')}}</span>
</div>
</div>
<div class="search-center-content">