From de6fd089b37613808e5a3bef38ecc0761f7456e0 Mon Sep 17 00:00:00 2001 From: Riku <risaku@163.com> Date: 星期日, 02 三月 2025 22:07:47 +0800 Subject: [PATCH] AOD数据产品 --- src/views/dataproduct/ProductManage.vue | 76 +++++++++++++++++++++----------------- 1 files changed, 42 insertions(+), 34 deletions(-) diff --git a/src/views/dataproduct/ProductManage.vue b/src/views/dataproduct/ProductManage.vue index 112fa90..e91ffff 100644 --- a/src/views/dataproduct/ProductManage.vue +++ b/src/views/dataproduct/ProductManage.vue @@ -1,46 +1,46 @@ <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="AOD鏁版嵁瀵煎叆" name="second"> + <AODImport></AODImport> + </el-tab-pane> + <el-tab-pane label="鍒濈骇浜у搧瀵煎叆" name="third"> + <SatelliteImport></SatelliteImport> + </el-tab-pane> + <el-tab-pane label="浜岀骇浜у搧鍒朵綔" name="fourth"> + + </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 { ref, onMounted } from 'vue'; + +const dialogVisible = ref(false); +const activeName = ref('first'); + + // AOD鏁版嵁鎷熷悎锛岀敓鎴愬垵绾ф暟鎹骇鍝� // 1. 鍙嚜鍔ㄩ�氳繃鍏紡鎷熷悎涓篜M2.5鏁版嵁锛岀敤鎴峰彲淇敼鐩稿叧鍙傛暟锛� @@ -50,3 +50,11 @@ // 1. AOD鏁版嵁瀵煎叆 // 2. AOD鏁版嵁鎷熷悎锛岄�夋嫨AOD鏁版嵁缁勩�佸睍绀哄凡鏈夌粨鏋溿�佽皟鏁村弬鏁般�佹樉绀哄搴旀椂闂寸殑鑳屾櫙鏁版嵁銆佹彁渚涚粨鏋滅敓鎴愪簩娆$‘璁ゅ厑璁歌皟鏁村弬鏁伴噸澶嶇敓鎴愩�佸瓨鍌ㄦ垨鏇存柊缁撴灉 </script> +<style scoped> +::v-deep .el-tabs__item { + color: white; +} +::v-deep .is-active { + color: #23dad0a2; +} +</style> \ No newline at end of file -- Gitblit v1.9.3