From 0e45e6fe139832152ab721776f4aed98cc0880a7 Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期五, 19 十一月 2021 16:33:32 +0800 Subject: [PATCH] 应付检查 --- src/components/page/xueShuJiaoLiu.vue | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 3 deletions(-) diff --git a/src/components/page/xueShuJiaoLiu.vue b/src/components/page/xueShuJiaoLiu.vue index 38fe2f5..b13e877 100644 --- a/src/components/page/xueShuJiaoLiu.vue +++ b/src/components/page/xueShuJiaoLiu.vue @@ -1,17 +1,68 @@ <template> <div> <globalTitle /> + + <el-tabs :tab-position="tabPosition" style="height: 400px; width=500px"> + <el-tab-pane label="瀛︽湳淇℃伅"> + <template> + <el-table :data="xueshuData" style="width: 100%"> + <el-table-column prop="date" label="瀛︽湳淇℃伅" width=""> + </el-table-column> + </el-table> + </template> + </el-tab-pane> + <el-tab-pane label="绉戞妧绔炶禌"> + <template> + <el-table :data="kejiData" style="width: 100%"> + <el-table-column prop="date" label="绉戞妧绔炶禌" width=""> + </el-table-column> + </el-table> + </template> + </el-tab-pane> + </el-tabs> </div> </template> <script> import globalTitle from '../globalTitle.vue' export default { - components: { globalTitle}, - name: 'xueShuJiaoLiu' + components: { globalTitle }, + name: 'xueShuJiaoLiu', + data() { + return { + tabPosition: 'left', + xueshuData: [ + { + date: '甯傛斂鍗忓壇涓诲腑鐜嬭憲涓�琛屾潵鎴戞牎鑰冨療璋冪爺', + }, + { + date: '閮戝窞澶у鍗氬+鐢熷甯堝垬蹇椾紵鏁欐巿鏉ユ垜鏍¤瀛�', + }, + { + date: '鍗椾含澶у鍗氬+鐢熷甯堢繜鍥芥柟鏁欐巿鏉ユ垜鏍¤瀛�', + }, + { + date: '鍗庝腑绉戞妧澶у鍗氬+鐢熷甯堝緪鏅撴灄鍙楄仒鎴戞牎鐗硅仒鏁欐巿', + } + ], + kejiData: [ + { + date: '鎴戞牎椴查箯浜т笟瀛﹂櫌鍦ㄦ渤鍗楃渷椴查箯浜т笟瀛﹂櫌寤鸿鑰冩牳涓幏寰椾紭绉�', + }, + { + date: '2021绾т复搴婂尰瀛︽湰绉戠敓瀛︿笟瀵煎笀鍙婄彮涓讳换鑱樹换浠紡涓捐', + }, + { + date: '鎴戞牎绗崄涓�娆″鐢熶唬琛ㄥぇ浼氫妇琛�', + }, + { + date: '娌冲崡鐪侀珮绛夋暀鑲插浜嬪伐浣滀笟鍔″煿璁細鍦ㄦ垜鏍″彫寮�', + } + ] + } + } } </script> <style lang="less" scoped> - </style> \ No newline at end of file -- Gitblit v1.8.0