feat:学习路径直播外链弹窗

This commit is contained in:
songwc
2022-11-04 11:50:26 +08:00
parent 25c1ef1cde
commit a93892d640
2 changed files with 22 additions and 49 deletions

View File

@@ -303,50 +303,7 @@ const options1 = ref([
label: "请选择状态",
},
]);
// const columns1 = [
// {
// title: "课程编号",
// width: "20%",
// dataIndex: "num",
// key: "num",
// align: "center",
// },
// {
// title: "名称",
// width: "20%",
// dataIndex: "name",
// key: "name",
// align: "center",
// },
// {
// title: "内容分类",
// width: "13%",
// dataIndex: "content",
// key: "content",
// align: "center",
// },
// {
// title: "授课教师",
// width: "13%",
// dataIndex: "teacher",
// key: "teacher",
// align: "center",
// },
// {
// title: "创建人",
// width: "13%",
// dataIndex: "creator",
// key: "creator",
// align: "center",
// },
// {
// title: "完成时间",
// width: "20%",
// dataIndex: "time",
// key: "time",
// align: "center",
// },
// ];
const rowSelection = ref({
checkStrictly: false,
onChange: (selectedRowKeys, selectedRows) => {
@@ -583,6 +540,7 @@ export default {
new Date(state.time[1].$d).getTime() / 1000,
"Y-M-D"
);
state.obj = {
afterSignIn: state.inputV6,
beforeSignIn: state.inputV7,
@@ -607,6 +565,7 @@ export default {
updateTime: "",
updateUser: 0,
};
api
.createLiveBroadcast(state.obj)
.then((res) => {
@@ -614,7 +573,6 @@ export default {
// console.log(state, 2222);
message.success("提交成功");
closeDrawer();
apiTask
.addTask({
courseId: 0,
@@ -637,8 +595,6 @@ export default {
.catch((err) => {
console.log(err);
});
// state = {}
})
.catch((err) => {
console.log(err, 2222);