diff --git a/src/views/dashboard/search/AdvancedSearch.vue b/src/views/dashboard/search/AdvancedSearch.vue index 070c2ac..2a3c403 100644 --- a/src/views/dashboard/search/AdvancedSearch.vue +++ b/src/views/dashboard/search/AdvancedSearch.vue @@ -141,6 +141,25 @@ + + + + + + + +
@@ -255,10 +274,11 @@ import { previewPdf } from '../../../utils/previewPdf' import { kkFilePreview } from '../../../utils/kkFilePreview' import JDatePicker from '@comp/JDatePicker' import SplitClauseDetail from '@views/documentTool/documentSplit/modules/SplitClauseDetail' +import STreeSelect from '@comp/STreeSelect' export default { name: 'AdvancedSearch', - components: { SplitClauseDetail, JDatePicker, JTable }, + components: { STreeSelect, SplitClauseDetail, JDatePicker, JTable }, data () { return { FieldType, @@ -394,6 +414,13 @@ export default { dataIndex: 'item_title', scopedSlots: { customRender: 'text' } }, + { // 标题译文 + title: this.$t('clauseTitleTranslation'), + align: 'center', + width: 180, + dataIndex: 'title_translation', + scopedSlots: { customRender: 'text' } + }, { // 条款内容 title: this.$t('dashboard.advancedSearch.termContent'), align: 'center', @@ -522,7 +549,8 @@ export default { // 国标和外标的默认标准状态 defaultStandardStatus: ``, // 企标的默认标准状态 - defaultEnStandardStatus: `${EnterpriseStandardStatus.CURRENTLY_EFFECTIVE.value}` + defaultEnStandardStatus: `${EnterpriseStandardStatus.CURRENTLY_EFFECTIVE.value}`, + applicableMarketList: [] // 条款增加适用市场字段,前端写死 } }, computed: { @@ -570,9 +598,18 @@ export default { this.getQueryConditionFunc = getDomesticStandardQuery this.getSearch() this.getSysCategoryTree() + this.getCountryOption() this.queryParam.standard_state = this.defaultStandardStatus }, methods: { + // 获取适用市场下拉数据 + getCountryOption () { + getFormDictTreeList({ dictId: '1801130851452059649' }).then(res => { + if (res.success) { + this.applicableMarketList = res.result || [] + } + }) + }, // 显示条款内容弹框 showContent (val) { this.$refs.splitClauseDetail.open(val)