[update] 高级搜索查询结果增加译文列
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = {
|
||||
termNo: 'Article No.',
|
||||
termTitle: 'Article Title',
|
||||
termContent: 'Article Content',
|
||||
translation: 'Translation',
|
||||
applicableComponents: 'Applicable Components',
|
||||
newProduceVehiclesImplementationDate: 'New Certified Vehicle Implementation Date',
|
||||
newAuthVehiclesImplementationDate: 'New Production Vehicle Implementation Date',
|
||||
|
||||
@@ -52,6 +52,7 @@ module.exports = {
|
||||
termNo: '条款号',
|
||||
termTitle: '条款标题',
|
||||
termContent: '条款内容',
|
||||
translation: '译文',
|
||||
applicableComponents: '适用零部件',
|
||||
newProduceVehiclesImplementationDate: '新生产车实施日期',
|
||||
newAuthVehiclesImplementationDate: '新认证车实施日期',
|
||||
|
||||
@@ -211,6 +211,13 @@
|
||||
</div>
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
<!--译文-->
|
||||
<template slot="translation" slot-scope="{text, record}">
|
||||
<div style="cursor: pointer;" class="table-text" v-if="text || text === 0" @click="showContent(text,record)">
|
||||
{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
|
||||
</div>
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
</j-table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -394,6 +401,13 @@ export default {
|
||||
dataIndex: 'item_content',
|
||||
scopedSlots: { customRender: 'item_content' }
|
||||
},
|
||||
{ // 译文
|
||||
title: this.$t('dashboard.advancedSearch.translation'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'translation',
|
||||
scopedSlots: { customRender: 'translation' }
|
||||
},
|
||||
// { // 适用零部件
|
||||
// title: this.$t('dashboard.advancedSearch.applicableComponents'),
|
||||
// align: 'center',
|
||||
|
||||
Reference in New Issue
Block a user