mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
讲师管理bug
This commit is contained in:
@@ -182,7 +182,7 @@
|
||||
|
||||
function remove(i) {
|
||||
rowSelectKeys.value.splice(i, 1);
|
||||
selectsData.value.splice(i, 1);
|
||||
selectsData.value = selectsData.value.filter((_, index) => index !== i);
|
||||
emit("update:selectedRowKeys", rowSelectKeys.value);
|
||||
emit("update:selectedRows", selectsData.value);
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
});
|
||||
onMounted(()=>{
|
||||
// onlineLearningList()
|
||||
@@ -237,7 +237,6 @@ function onLoadData(treeNode) {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
const openDrawer = () => {
|
||||
visiable.value = true;
|
||||
stuSelectRows.value = props.arrayList
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
>
|
||||
<a-button class="drabtn" @click="cancelTeacherDialog" >取消</a-button>
|
||||
<a-button class="drabtn" type="primary" @click="createTeacherDialog(0)" :loading="buttonLoading">保存</a-button>
|
||||
<a-button class="drabtn" type="primary" @click="createTeacherDialog(1)" :loading="buttonLoading">提交</a-button>
|
||||
<a-button v-if="editParams||editIndex>1" class="drabtn" type="primary" @click="createTeacherDialog(1)" :loading="buttonLoading">提交</a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
<AddOrgContent :Addtitle="'选择组织'" v-model:showContent="showContent" v-model:AddContentList="formParam.affiliationOrgList" />
|
||||
@@ -630,7 +630,7 @@ const getTableDate = (obj) => {
|
||||
const handleModify = (record) => {
|
||||
lecturer.getAffiliationById(record.id).then(res=>{
|
||||
console.log(res,'resssss')
|
||||
state.editParams = false
|
||||
res.data.data.status==3 && (state.editParams = false)
|
||||
state.formParam = res.data.data
|
||||
const actArray = res.data.data.affiliationUserList.filter(item=>item.type == 0).reduce((accumulator, current) => {
|
||||
if (!accumulator.some(item => item.userId === current.userId)) {
|
||||
|
||||
Reference in New Issue
Block a user