Commit cab1ac16 authored by 高宇's avatar 高宇

单位管理

parent 9650a346
import request from '@/utils/request'
import Qs from 'qs'
/** 分页查询开课管理**/
export function listClass(query) {
return request({
url: '/sysunitlesson/querySysUnitLessonByPagination',
method: 'get',
params: query
})
}
......@@ -295,6 +295,7 @@ import Coolbutton from '@/components/coolbutton'
import { getDataCache, setDataCache } from '@/assets/js/filterData'
import commonField from '@/utils/commonField'
import {queryDirectionsList} from "@/api/courseManagement/indexApi";
import { listClass } from '@/api/classManagement'
export default {
name: 'Role',
components: { Coolbutton },
......@@ -494,8 +495,12 @@ export default {
});
},
/** 查询角色列表 */
/** 查询开课列表 */
getList() {
listClass().then(res => {
console.log('res',res)
})
// this.loading = true
// listRole(this.queryParams).then(
// response => {
......
......@@ -91,7 +91,7 @@
</el-table-column>
<el-table-column :show-overflow-tooltip="true" label="创建时间" prop="createDate" width="160">
<template slot-scope="scope">
<span>{{ scope.row.createdDate }}</span>
<span>{{ scope.row.createDate }}</span>
</template>
</el-table-column>
<el-table-column width="120" label="状态" prop="flag">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment