-- 面授课列表

This commit is contained in:
yuping
2022-12-06 20:12:19 +08:00
parent 04005c693b
commit 19d110d910

View File

@@ -25,7 +25,7 @@
<a-input <a-input
v-model:value="name" v-model:value="name"
style="width: 240px; height: 40px; border-radius: 8px" style="width: 240px; height: 40px; border-radius: 8px"
placeholder="请输入项目名称" placeholder="请输入课程名称"
/> />
</div> </div>
</div> </div>
@@ -136,7 +136,7 @@
</template> </template>
<script> <script>
//import { ApiFilled } from "@ant-design/icons-vue"; //import { ApiFilled } from "@ant-design/icons-vue";
import {reactive, toRefs, computed} from "vue"; import {reactive, toRefs, computed} from "vue";
// import { planList } from "../../api/indexTaskadd"; // import { planList } from "../../api/indexTaskadd";
//import {detail} from "../../api/indexCourse"; //import {detail} from "../../api/indexCourse";
import {list} from "../../api/indexTaskadd"; import {list} from "../../api/indexTaskadd";
@@ -231,7 +231,7 @@ export default {
offcourse: null, offcourse: null,
auditStatus: null, auditStatus: null,
name: null, name: null,
courseInfo:[] courseInfo: []
}); });
@@ -281,7 +281,8 @@ export default {
//获取面授课列表 //获取面授课列表
const getClassList = (obj) => { const getClassList = (obj) => {
let objn = obj || { let objn = obj || {
auditStatus:2, auditStatus: 2,
status: 1,
name: state.name, name: state.name,
pageNo: state.currentPage, pageNo: state.currentPage,
pageSize: state.pageSize pageSize: state.pageSize
@@ -316,22 +317,22 @@ export default {
}); });
state.classTableData = array; state.classTableData = array;
}; };
/** /**
const options1 = ref([ const options1 = ref([
{ {
value: 0, value: 0,
label: "未提交", label: "未提交",
}, },
{ {
value: 1, value: 1,
label: "待审核", label: "待审核",
}, },
{ {
value: 2, value: 2,
label: "已审核", label: "已审核",
}, },
]);*/ ]);*/
const handleChange = (value, option) => { const handleChange = (value, option) => {
console.log("改变了", value, option); console.log("改变了", value, option);
console.log(state.valueContent); console.log(state.valueContent);
@@ -358,7 +359,7 @@ export default {
// showDrawerSelFacet, // showDrawerSelFacet,
afterVisibleChange, afterVisibleChange,
closeDrawer, closeDrawer,
columns1, columns1,
getClassData, getClassData,
handleChange, handleChange,