mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
讲师管理
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-drawer>
|
||||
<a-button @click="openDrawer" type="link">
|
||||
<a-button @click="openDrawer" type="link" style="width:100%">
|
||||
<slot></slot>
|
||||
</a-button>
|
||||
</div>
|
||||
@@ -149,16 +149,16 @@ watch(stuSelectRows,(val)=>{
|
||||
teaunm.value = []
|
||||
return
|
||||
}
|
||||
console.log(stuSelectRowKeys.value,'xixixixi')
|
||||
teaunm.value = val.map((res,index)=>{
|
||||
return {
|
||||
userName:res.realName,
|
||||
userNo:res.userNo,
|
||||
type: props.type,
|
||||
userId: res.id,
|
||||
label: res.realName + res.userNo,
|
||||
...res
|
||||
}
|
||||
})
|
||||
console.log(teaunm.value);
|
||||
},{deep:true})
|
||||
const person = ref(false);
|
||||
const visiable = ref(false);
|
||||
@@ -238,6 +238,8 @@ function onLoadData(treeNode) {
|
||||
|
||||
const openDrawer = () => {
|
||||
visiable.value = true;
|
||||
stuSelectRows.value = props.arrayList
|
||||
stuSelectRowKeys.value = props.arrayList.map(item=>item.userId)
|
||||
};
|
||||
|
||||
function onSearchStu() {
|
||||
|
||||
Reference in New Issue
Block a user