From 9f986354ffff9af4fe858345501d33751cb01844 Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 11 Sep 2024 11:37:41 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E9=AB=98=E7=BA=A7=E6=90=9C=E7=B4=A2]?= =?UTF-8?q?=20=E6=9D=A1=E6=AC=BE=E5=A2=9E=E5=8A=A0=E9=80=82=E7=94=A8?= =?UTF-8?q?=E5=B8=82=E5=9C=BA=EF=BC=88=E5=89=8D=E7=AB=AF=E5=86=99=E6=AD=BB?= =?UTF-8?q?=EF=BC=89=EF=BC=8C=E6=9D=A1=E6=AC=BE=E5=A2=9E=E5=8A=A0=E8=AF=91?= =?UTF-8?q?=E6=96=87=E6=A0=87=E9=A2=98=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/search/AdvancedSearch.vue | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) 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)