mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<a-drawer
|
||||
:visible="visible"
|
||||
:closable="false"
|
||||
class="largeDrawerStyle"
|
||||
class="largeDrawerInside"
|
||||
placement="right"
|
||||
width="70%"
|
||||
>
|
||||
@@ -301,7 +301,7 @@ const queryDrawer = () => {
|
||||
<style lang="scss" scoped>
|
||||
|
||||
|
||||
.largeDrawerStyle {
|
||||
.largeDrawerInside {
|
||||
.drawerMains {
|
||||
min-width: 600px;
|
||||
// margin: 0px 32px 0px 32px;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<a-drawer
|
||||
:visible="visible"
|
||||
:closable="false"
|
||||
class="largeDrawerStyle"
|
||||
class="largeDrawerInside"
|
||||
placement="right"
|
||||
width="64%"
|
||||
:zIndex="1001"
|
||||
@@ -533,7 +533,7 @@ const config = () => {
|
||||
}
|
||||
}
|
||||
|
||||
.largeDrawerStyle {
|
||||
.largeDrawerInside {
|
||||
.drawerMains {
|
||||
min-width: 600px;
|
||||
// margin: 0px 32px 0px 32px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
<template>
|
||||
<a-drawer :visible="visible" class="largeDrawerStyle" placement="right" :closable="false" :maskClosable="false"
|
||||
<a-drawer :visible="visible" class="largeDrawerInside" placement="right" :closable="false" :maskClosable="false"
|
||||
width="80%" :title="false">
|
||||
<!-- 外部讲师查看详情 -->
|
||||
<div class="LookExternalLecturer">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<a-drawer class="largeDrawerStyle" :visible="visible" placement="right" :closable="false" :maskClosable="false"
|
||||
<a-drawer class="largeDrawerInside" :visible="visible" placement="right" :closable="false" :maskClosable="false"
|
||||
width="80%" :title="false">
|
||||
<!-- 内部讲师查看详情 -->
|
||||
<div class="LookInsideLecturer">
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
|
||||
:placeholder="placeholder"
|
||||
:labelInValue="true"
|
||||
allow-clear
|
||||
v-model:treeExpandedKeys="stuTreeExpandedKeys"
|
||||
:loading="orgLoading"
|
||||
:load-data="onLoadData"
|
||||
@@ -65,10 +66,10 @@ const keydownEnter = (e) => {
|
||||
}
|
||||
watch(props, () => {
|
||||
stuTreeExpandedKeys.value = [];
|
||||
if (labelValue.value.value !== props.value) {
|
||||
if (labelValue.value?.value !== props.value) {
|
||||
labelValue.value = { value: props.value, label: props.name };
|
||||
}
|
||||
if (labelValue.value.label !== props.name) {
|
||||
if (labelValue.value?.label !== props.name) {
|
||||
labelValue.value = { value: props.value, label: props.name };
|
||||
}
|
||||
});
|
||||
@@ -83,16 +84,17 @@ function onLoadData(treeNode) {
|
||||
}
|
||||
|
||||
function change(
|
||||
{ label, value },
|
||||
values,
|
||||
obj,
|
||||
{
|
||||
triggerNode: {
|
||||
props: { namePath },
|
||||
},
|
||||
}
|
||||
// {
|
||||
// triggerNode: {
|
||||
// props: { namePath },
|
||||
// },
|
||||
// }
|
||||
node
|
||||
) {
|
||||
emit("update:name", label);
|
||||
emit("update:fullName", namePath);
|
||||
emit("update:value", value);
|
||||
emit("update:name", values?.label);
|
||||
emit("update:fullName", node?.triggerNode?.props?.namePath);
|
||||
emit("update:value", values?.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user