From 2592dc279ec82bf3649a4dbe644c6416263a10ef Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 07 三月 2025 17:10:25 +0800 Subject: [PATCH] 各模块功能新增 --- src/views/dataproduct/ProductManage.vue | 75 ++++++++++++++++++++----------------- 1 files changed, 41 insertions(+), 34 deletions(-) diff --git a/src/views/dataproduct/ProductManage.vue b/src/views/dataproduct/ProductManage.vue index 112fa90..85872e2 100644 --- a/src/views/dataproduct/ProductManage.vue +++ b/src/views/dataproduct/ProductManage.vue @@ -1,46 +1,45 @@ <template> <div> <el-button - @click="satelliteImportVisible = !satelliteImportVisible" + @click="dialogVisible = !dialogVisible" type="primary" - class="el-button-custom satellite-right-top p-events-auto" - >AOD鏁版嵁瀵煎叆</el-button + class="el-button-custom p-events-auto" + >鏁版嵁浜у搧</el-button > - </div> - <el-table - :data="gridDataList" - table-layout="fixed" - size="small" - :show-overflow-tooltip="true" - border - height="50vh" - row-class-name="t-row-normal" - cell-class-name="t-cell" - header-row-class-name="t-header-row" - header-cell-class-name="t-header-cell" - :highlight-current-row="true" - @row-click="handleRowClick" - > - <el-table-column type="index" label="搴忓彿" align="center" width="50" /> - <el-table-column - prop="dataTime" - label="鏃堕棿" - align="center" - :formatter="timeFormatter" - width="150" - /> - <el-table-column - prop="type" - label="鏁版嵁绫诲瀷" - align="center" - :formatter="dataTypeFormatter" - width="150" - /> - </el-table> + <CardDialog + draggable + :modal="false" + title="鏁版嵁浜у搧绠$悊" + v-model="dialogVisible" + width="600px" + > + <el-tabs v-model="activeName" @tab-click="handleClick"> + <el-tab-pane label="鍒濈骇浜у搧鍒朵綔" name="first"> + <ProductMake></ProductMake> + </el-tab-pane> + <el-tab-pane label="璧拌埅铻嶅悎浜у搧鍒朵綔" name="fourth"> + <ProductSecondaryMake></ProductSecondaryMake> + </el-tab-pane> + <el-tab-pane label="AOD鏁版嵁瀵煎叆" name="second"> + <AODImport></AODImport> + </el-tab-pane> + <el-tab-pane label="鍒濈骇浜у搧瀵煎叆" name="third"> + <SatelliteImport></SatelliteImport> + </el-tab-pane> + </el-tabs> + </CardDialog> + </div> </template> <script setup> +import SatelliteImport from '@/views/satellitetelemetry/component/SatelliteImport.vue'; +import AODImport from '@/views/satellitetelemetry/component/AODImport.vue'; +import ProductMake from '@/views/dataproduct/component/ProductMake.vue'; +import ProductSecondaryMake from '@/views/dataproduct/component/ProductSecondaryMake.vue'; import { ref, onMounted } from 'vue'; + +const dialogVisible = ref(false); +const activeName = ref('first'); // AOD鏁版嵁鎷熷悎锛岀敓鎴愬垵绾ф暟鎹骇鍝� // 1. 鍙嚜鍔ㄩ�氳繃鍏紡鎷熷悎涓篜M2.5鏁版嵁锛岀敤鎴峰彲淇敼鐩稿叧鍙傛暟锛� @@ -50,3 +49,11 @@ // 1. AOD鏁版嵁瀵煎叆 // 2. AOD鏁版嵁鎷熷悎锛岄�夋嫨AOD鏁版嵁缁勩�佸睍绀哄凡鏈夌粨鏋溿�佽皟鏁村弬鏁般�佹樉绀哄搴旀椂闂寸殑鑳屾櫙鏁版嵁銆佹彁渚涚粨鏋滅敓鎴愪簩娆$‘璁ゅ厑璁歌皟鏁村弬鏁伴噸澶嶇敓鎴愩�佸瓨鍌ㄦ垨鏇存柊缁撴灉 </script> +<style scoped> +::v-deep .el-tabs__item { + color: white; +} +::v-deep .is-active { + color: #f0ff1d; +} +</style> -- Gitblit v1.9.3