dbsd_kczx/src/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMain.vue

101 lines
2.6 KiB
Vue
Raw Normal View History

2024-05-06 19:41:47 +08:00
<template>
<div id="siteMain">
<div id="maxSite">
<a-layout style="height: calc(100vh - 30px)">
<headerPage/>
<a-row>
2024-05-10 20:01:34 +08:00
<a-col :span="24">
2024-06-18 19:48:24 +08:00
<a-row>
<a-col :lg="24" :xs="18">
<div style="width:100%;background: #fff;font-size: 18px;font-weight: bold;margin-top:10px;padding: 10px;">课程名称{{kcxxInfo.kcmc}}</div>
</a-col>
<a-col :lg="0" :xs="6">
<dqxqkcMenu/>
</a-col>
</a-row>
2024-05-10 20:01:34 +08:00
</a-col>
2024-06-18 19:48:24 +08:00
<a-col :lg="5" :xs="0">
2024-05-06 19:41:47 +08:00
<dqxqkcMenu/>
</a-col>
2024-06-18 19:48:24 +08:00
<a-col :lg="19" :xs="24">
2024-05-06 19:41:47 +08:00
<RouterView/>
</a-col>
</a-row>
<footerPage/>
</a-layout>
</div>
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted, unref } from 'vue';
import { getUserSf,getSysConfig } from '/@/views/site/utils/index';
import { defHttp } from '/@/utils/http/axios';
import { useRouter } from 'vue-router';
import headerPage from '/@/views/site/common/header.vue';
import footerPage from '/@/views/site/common/footer.vue';
import dqxqkcMenu from '/@/views/site/renKeJiaoCheng/checkKecheng/dqxqkcMenu.vue';
import dqxqkc from '/@/views/site/renKeJiaoCheng/checkKecheng/dqxqkc.vue';
2024-05-23 17:30:43 +08:00
2024-05-06 19:41:47 +08:00
const maxClassName = ref<any>({});
const selectedKeys = ref<string[]>([]);
//当前路由信息
const { currentRoute } = useRouter();
const { query } = unref(currentRoute);
2024-05-10 20:01:34 +08:00
const { rwbh,xqxn } = query;//获取传递参数
2024-05-06 19:41:47 +08:00
let router = useRouter();
2024-05-10 20:01:34 +08:00
const kcxxInfo = ref<string>('');
2024-05-23 17:30:43 +08:00
2024-05-06 19:41:47 +08:00
//进入就加载
onMounted(() => {
2024-05-27 19:41:21 +08:00
// console.log('rwbh:',rwbh);
2024-05-10 20:01:34 +08:00
defHttp.get({ url: '/ktgl/kcKechengbiao/getKcxxByRwbhXqxn', params: { rwbh: rwbh,xqxn:xqxn } }).then((res) => {
2024-05-27 19:41:21 +08:00
// console.log(`🚀 ~ 1111 defHttp.get ~ res:`, res)
2024-05-10 20:01:34 +08:00
kcxxInfo.value = res;
});
2024-05-06 19:41:47 +08:00
});
2024-05-23 17:30:43 +08:00
2024-05-06 19:41:47 +08:00
</script>
<style lang="less" scoped>
#siteMain {
// font-size: ;
// height: 100%;
background: #f3f3f4;
#maxSite {
//最大宽度
max-width: 1070px;
min-height: calc(100vh);
//居中
margin: 0 auto;
.rowGutter{
margin-top: 1rem;
margin-bottom: 1rem;
}
.ant-layout-header {
color: #fff;
background: #1ab394;
}
.ant-layout-footer {
line-height: 1.5;
background: #FFF;
}
.ant-layout-sider {
color: #fff;
line-height: 120px;
background: #3ba0e9;
}
.ant-layout-content {
min-height: 120px;
color: #000;
line-height: 120px;
background: #f3f3f4;
}
}
}
2024-05-23 17:30:43 +08:00
</style>