From 88a1f1f060e639a2d6cf5a3e4ee9d37187748893 Mon Sep 17 00:00:00 2001 From: yangyuanshuai Date: Fri, 8 Nov 2024 08:55:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataset/RepIndexSet/RepIndexSet.vue | 48 +++++++------------ .../dataset/RepIndexSet/components/Write.vue | 21 ++++---- 2 files changed, 30 insertions(+), 39 deletions(-) diff --git a/src/views/dataset/RepIndexSet/RepIndexSet.vue b/src/views/dataset/RepIndexSet/RepIndexSet.vue index e0785dc..bfac317 100644 --- a/src/views/dataset/RepIndexSet/RepIndexSet.vue +++ b/src/views/dataset/RepIndexSet/RepIndexSet.vue @@ -77,35 +77,10 @@ const tableColumns = reactive([ field: 'indexsetCode', label: '指标集编码' }, - { - field: 'beginDate', - label: '开始日期' - }, - { - field: 'endDate', - label: '结束日期' - }, { field: 'indexsetName', label: '指标集名称' }, - { - field: 'organCode', - label: '机构编码' - }, - { - field: 'frequency', - label: '频度', - slots:{ - default:(data)=>{ - return {data.row.frequency?frequency_param_LIST.value[data.row.frequency]?.label:''} - } - } - }, - { - field: 'description', - label: '描述' - }, { field: 'indexsetType', label: '指标集类型', @@ -123,17 +98,30 @@ const tableColumns = reactive([ label: '数据模型编码', slots:{ default:(data:any)=>{ - return turnToDataModule(data.row)}>{data.row.modelCode} + return turnToDataModule(data.row)}>{data.row.modelCode} } } }, { - field: 'createOrgan', - label: '创建机构' + field: 'beginDate', + label: '开始日期' + }, + { + field: 'endDate', + label: '结束日期' + }, + { + field: 'frequency', + label: '频度', + slots:{ + default:(data)=>{ + return {data.row.frequency?frequency_param_LIST.value[data.row.frequency]?.label:''} + } + } }, { - field: 'createUser', - label: '创建用户' + field: 'description', + label: '描述' }, { field: 'action', diff --git a/src/views/dataset/RepIndexSet/components/Write.vue b/src/views/dataset/RepIndexSet/components/Write.vue index 5ba9b96..dab1af8 100644 --- a/src/views/dataset/RepIndexSet/components/Write.vue +++ b/src/views/dataset/RepIndexSet/components/Write.vue @@ -63,6 +63,7 @@ const formSchema = reactive([ field: 'organCode', label: '机构编码', component: 'Input', + hidden:true, componentProps: { }, @@ -77,14 +78,6 @@ const formSchema = reactive([ value: '1', component: 'Select' }, - { - field: 'description', - label: '描述', - component: 'Input', - componentProps: { - - }, - }, { field: 'indexsetType', label: '指标集类型', @@ -120,6 +113,7 @@ const formSchema = reactive([ componentProps: { }, + hidden:true, }, { field: 'createUser', @@ -128,7 +122,16 @@ const formSchema = reactive([ componentProps: { }, - } + hidden:true, + }, + { + field: 'description', + label: '描述', + component: 'Input', + componentProps: { + + }, + }, ]) const rules = reactive({