修改搜索中心中英文切换
This commit is contained in:
@@ -565,4 +565,7 @@ module.exports = {
|
|||||||
StandardBreakdown:"Standard breakdown",
|
StandardBreakdown:"Standard breakdown",
|
||||||
OnlyWord: 'only word files can be imported',
|
OnlyWord: 'only word files can be imported',
|
||||||
labelAreaDeleted:'If it is deleted, all label items under the display area will be deleted',
|
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',
|
||||||
}
|
}
|
||||||
@@ -570,4 +570,7 @@ module.exports = {
|
|||||||
labelAreaDeleted:'若进行删除,则该展示区域下标签项都将被删除',
|
labelAreaDeleted:'若进行删除,则该展示区域下标签项都将被删除',
|
||||||
|
|
||||||
StandardBreakdown:'标准分解单',
|
StandardBreakdown:'标准分解单',
|
||||||
|
searchInResults:'结果中检索',
|
||||||
|
searchContent:'搜索内容',
|
||||||
|
seeFile:'查看文件',
|
||||||
}
|
}
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<span slot="file_name" slot-scope="text,record">
|
<span slot="file_name" slot-scope="text,record">
|
||||||
<a style="color:#21c9cc" @click="fileNameClick(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>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
file_name
|
file_name
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
ref="libraryPushRef"
|
ref="libraryPushRef"
|
||||||
/>
|
/>
|
||||||
<a-modal
|
<a-modal
|
||||||
title="查看文件"
|
:title="$t('seeFile')"
|
||||||
:width="500"
|
:width="500"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
@ok="visible=false"
|
@ok="visible=false"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:maxLength="100"
|
:maxLength="100"
|
||||||
v-model="selectValueTwo"
|
v-model="selectValueTwo"
|
||||||
style="width: calc(100% - 128px)"
|
style="width: calc(100% - 128px)"
|
||||||
placeholder="请输入搜索内容"
|
:placeholder="$t('pleaseEnter')+$t('searchContent')"
|
||||||
@search="onSearch"
|
@search="onSearch"
|
||||||
></a-input-search>
|
></a-input-search>
|
||||||
</a-input-group>
|
</a-input-group>
|
||||||
@@ -26,13 +26,13 @@
|
|||||||
v-else-if="active === $t('whole')"
|
v-else-if="active === $t('whole')"
|
||||||
class="inputSearch"
|
class="inputSearch"
|
||||||
allow-clear
|
allow-clear
|
||||||
placeholder="请输入搜索内容"
|
:placeholder="$t('pleaseEnter')+$t('searchContent')"
|
||||||
@search="wholeOnSearch"
|
@search="wholeOnSearch"
|
||||||
></a-input-search>
|
></a-input-search>
|
||||||
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
|
<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"
|
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
|
||||||
@click="ResetSearch()">重置</span>
|
@click="ResetSearch()">{{$t('reset')}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-center-content">
|
<div class="search-center-content">
|
||||||
|
|||||||
Reference in New Issue
Block a user