mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 04:16:47 +08:00
fix:添加面授课面授课列表接口更换
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, defineEmits, defineProps, ref, watch } from "vue";
|
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 CourseModal from "../../views/courselibrary/courseModal.vue";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
|
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
const columns = ref([
|
const columns = ref([
|
||||||
{
|
{
|
||||||
title: "课程编号",
|
title: "课程编号",
|
||||||
dataIndex: "id",
|
dataIndex: "offcourseNumber",
|
||||||
key: "id",
|
key: "offcourseNumber",
|
||||||
width: "40%",
|
width: "40%",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
},
|
},
|
||||||
@@ -155,14 +155,14 @@
|
|||||||
const getList = () => {
|
const getList = () => {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
let objn = {
|
let objn = {
|
||||||
auditStatus: 0,
|
auditStatus: 2,
|
||||||
sysTypeId: valueproj.value,
|
sysTypeId: valueproj.value,
|
||||||
name: params.value.courseName,
|
name: params.value.courseName,
|
||||||
pageNo: params.value.pageNo,
|
pageNo: params.value.pageNo,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
};
|
};
|
||||||
console.log(objn);
|
console.log(objn);
|
||||||
courseListView(objn)
|
list(objn)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("获取已审核课程成功", res.data.data);
|
console.log("获取已审核课程成功", res.data.data);
|
||||||
data.value = res.data.data.rows;
|
data.value = res.data.data.rows;
|
||||||
|
|||||||
Reference in New Issue
Block a user