mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 01:36:47 +08:00
feat:合并
This commit is contained in:
@@ -280,7 +280,7 @@
|
||||
</div>
|
||||
<div class="main_btns">
|
||||
<button class="btn1" @click="closeDrawer">取消</button>
|
||||
<button class="btn2" @click="done">确定</button>
|
||||
<button class="btn2" @click="createLiveBroadcast">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
</a-drawer>
|
||||
@@ -643,15 +643,6 @@ export default {
|
||||
});
|
||||
};
|
||||
|
||||
//添加任务到数据库
|
||||
const addTask = () => {};
|
||||
|
||||
const done = () => {
|
||||
createLiveBroadcast();
|
||||
addTask();
|
||||
// api.getLiveBroadcastInfor({});
|
||||
};
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
afterVisibleChange,
|
||||
@@ -664,7 +655,6 @@ export default {
|
||||
createLiveBroadcast,
|
||||
handleChange,
|
||||
beforeUpload,
|
||||
done,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
@@ -522,7 +522,14 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { reactive, toRefs, onMounted, onUnmounted, onUpdated } from "vue";
|
||||
import {
|
||||
reactive,
|
||||
toRefs,
|
||||
onMounted,
|
||||
onUnmounted,
|
||||
onUpdated,
|
||||
watch,
|
||||
} from "vue";
|
||||
import AddOnline from "../../components/drawers/AddOnline.vue";
|
||||
import EditOnline from "../../components/drawers/EditOnline.vue";
|
||||
import AddFaceteach from "../../components/drawers/AddFaceteach.vue";
|
||||
@@ -867,6 +874,7 @@ export default {
|
||||
deleteActivityID: null, //删除活动id
|
||||
deleteID: "", //删除任务的taskID
|
||||
});
|
||||
|
||||
const selectProjectName = (value, index) => {
|
||||
console.log("value", value, index);
|
||||
};
|
||||
@@ -1065,6 +1073,16 @@ export default {
|
||||
console.log("获取任务列表失败", err);
|
||||
});
|
||||
};
|
||||
|
||||
watch(
|
||||
state.tableData,
|
||||
() => {
|
||||
getTask();
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
}
|
||||
);
|
||||
//删除直播
|
||||
const deleteLiveBroadcast = () => {
|
||||
let obj = {
|
||||
@@ -1394,6 +1412,7 @@ export default {
|
||||
//关闭确认框
|
||||
state.deleteModal = false;
|
||||
deleteTask();
|
||||
message.success("删除成功");
|
||||
};
|
||||
const closeModal = () => {
|
||||
state.stage = false;
|
||||
|
||||
Reference in New Issue
Block a user