fix:添加面授课面授课列表接口更换

This commit is contained in:
wyx
2023-03-20 13:55:05 +08:00
parent 9bf1312230
commit 81904356e4

View File

@@ -67,7 +67,7 @@
</template>
<script setup>
import { computed, defineEmits, defineProps, ref, watch } from "vue";
import { courseListView } from "../../api/indexAudit";
import { list } from "@/api/indexCourse";
import CourseModal from "../../views/courselibrary/courseModal.vue";
import {useStore} from "vuex";
@@ -82,8 +82,8 @@
const columns = ref([
{
title: "课程编号",
dataIndex: "id",
key: "id",
dataIndex: "offcourseNumber",
key: "offcourseNumber",
width: "40%",
ellipsis: true,
},
@@ -155,14 +155,14 @@
const getList = () => {
loading.value = true
let objn = {
auditStatus: 0,
auditStatus: 2,
sysTypeId: valueproj.value,
name: params.value.courseName,
pageNo: params.value.pageNo,
pageSize: 10,
};
console.log(objn);
courseListView(objn)
list(objn)
.then((res) => {
console.log("获取已审核课程成功", res.data.data);
data.value = res.data.data.rows;