This commit is contained in:
bai 2023-04-02 16:37:42 +08:00
commit 296c7c9574
1 changed files with 86 additions and 43 deletions

View File

@ -159,50 +159,83 @@
<template #title>
<span style="font-size: 24px;font-weight: bold;">今日课程列表</span>
</template>
<a-row class="rowGutter" :gutter="[16,16]">
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 6 }" v-for="(item,index) in [{},{},{},{},{},{}]" :key="index" style="margin-bottom: 40px;">
<div style="border: 2px #eef1f2 solid;">
<div>
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
<div style="width:100%;white-space:normal; word-break:break-all;overflow:hidden;padding: 10px;height: 70px;font-weight: 600;font-size: 16px;">
灾害风险防范{{index}}
<a-tabs v-model:activeKey="activeKey" type="card">
<a-tab-pane key="1" tab="正在上课">Content of Tab Pane 1</a-tab-pane>
<a-tab-pane key="2" tab="下一节课">Content of Tab Pane 2</a-tab-pane>
<a-tab-pane key="3" tab="日课表">
<div>以下是 <span>2023-04-02</span>全天 的课表</div>
<a-row>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="听课身份" v-model:value="rkbqueryParam.tksf" dictCode="kc_tksf"/>
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="听课人所在单位" v-model:value="rkbqueryParam.szdw" :dictCode="`tkrszdw_view,college,college`"/>
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="课程性质" v-model:value="rkbqueryParam.kcxz" dictCode="kc_kcxz"/>
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item label="" style="padding: 10px;">
<JDictSelectTag placeholder="开课单位" v-model:value="rkbqueryParam.kkdw" :dictCode="`kc_kkdw_view,kkdw,kkdw`" />
</a-form-item>
</a-col>
<a-col :span="6">
<a-button type="primary" @click="rkbLoadData">查询</a-button>>
</a-col>
</a-row>
<a-row class="rowGutter" :gutter="[16,16]">
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 6 }" v-for="(item,index) in [{},{},{},{},{},{}]" :key="index" style="margin-bottom: 40px;">
<div style="border: 2px #eef1f2 solid;">
<div>
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
<div style="width:100%;white-space:normal; word-break:break-all;overflow:hidden;padding: 10px;height: 70px;font-weight: 600;font-size: 16px;">
灾害风险防范{{index}}
</div>
</div>
<a-divider style="margin: 0px;color: #eef1f2;"/>
<div style="padding: 20px;font-weight: 600;">
<a-row>
<a-col :span="16">
<div style="height: 30px;font-size: 16px;">张继权</div>
<div style="height: 30px;font-size: 14px;">环境学院环境</div>
</a-col>
<a-col :span="8" style="text-align: center;height: 70px;">
<div style="color: #1c84c6;font-size: 24px;font-weight: 600;">30</div>
<div style="font-size: 14px;">选课人数</div>
</a-col>
<a-col :span="24" style="margin-top:20px;">
<div>
<span>0102</span>
</div>
</a-col>
<a-col :span="24">
<div style="width:100%;text-align: center;">
线下上课地点
</div>
</a-col>
<a-col :span="24">
<div style="height: 60px;">
环境学院107室
</div>
</a-col>
<a-col :span="24">
<a-button type="primary" style="background-color: #1c84c6;float: left;font-weight: 600;">预约</a-button>
<a-button type="primary" style="background-color: #1c84c6;float: right;font-weight: 600;">报错</a-button>
</a-col>
</a-row>
</div>
</div>
</div>
<a-divider style="margin: 0px;color: #eef1f2;"/>
<div style="padding: 20px;font-weight: 600;">
<a-row>
<a-col :span="16">
<div style="height: 30px;font-size: 16px;">张继权</div>
<div style="height: 30px;font-size: 14px;">环境学院环境</div>
</a-col>
<a-col :span="8" style="text-align: center;height: 70px;">
<div style="color: #1c84c6;font-size: 24px;font-weight: 600;">30</div>
<div style="font-size: 14px;">选课人数</div>
</a-col>
<a-col :span="24" style="margin-top:20px;">
<div>
<span>0102</span>
</div>
</a-col>
<a-col :span="24">
<div style="width:100%;text-align: center;">
线下上课地点
</div>
</a-col>
<a-col :span="24">
<div style="height: 60px;">
环境学院107室
</div>
</a-col>
<a-col :span="24">
<a-button type="primary" style="background-color: #1c84c6;float: left;font-weight: 600;">预约</a-button>
<a-button type="primary" style="background-color: #1c84c6;float: right;font-weight: 600;">报错</a-button>
</a-col>
</a-row>
</div>
</div>
</a-col>
</a-row>
</a-col>
</a-row>
</a-tab-pane>
</a-tabs>
</a-card>
</a-layout-content>
<a-layout-footer>
@ -219,11 +252,14 @@
import { DownOutlined, PlusOutlined } from '@ant-design/icons-vue';
import { BackTop, Statistic } from 'ant-design-vue';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { useUserStore } from '/@/store/modules/user';
//
const userStore = useUserStore();
const activeKey = ref('1');
const rkbqueryParam = ref<any>({});
console.log(`🚀 -----------------------------------------------🚀`);
console.log(`🚀 ~ file: index.vue:66 ~ userStore:`, userStore);
@ -250,6 +286,13 @@
i.value++;
// list.list.push({ key: i.value });
}
//-----------------------------yangjun-----------------------
function rkbLoadData(){
}
//-----------------------------yangjun-----------------------
</script>
<style lang="less" scoped>
#siteMain {