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:
@@ -630,7 +630,27 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//大型抽屉
|
//大型抽屉
|
||||||
|
.largeDrawerInside {
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 700px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//弹窗--------------------------------------------------------
|
//弹窗--------------------------------------------------------
|
||||||
.modalStyle {
|
.modalStyle {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:closable="false"
|
:closable="false"
|
||||||
class="largeDrawerStyle"
|
class="largeDrawerInside"
|
||||||
placement="right"
|
placement="right"
|
||||||
width="70%"
|
width="70%"
|
||||||
>
|
>
|
||||||
@@ -301,7 +301,7 @@ const queryDrawer = () => {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
|
||||||
.largeDrawerStyle {
|
.largeDrawerInside {
|
||||||
.drawerMains {
|
.drawerMains {
|
||||||
min-width: 600px;
|
min-width: 600px;
|
||||||
// margin: 0px 32px 0px 32px;
|
// margin: 0px 32px 0px 32px;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:closable="false"
|
:closable="false"
|
||||||
class="largeDrawerStyle"
|
class="largeDrawerInside"
|
||||||
placement="right"
|
placement="right"
|
||||||
width="64%"
|
width="64%"
|
||||||
:zIndex="1001"
|
:zIndex="1001"
|
||||||
@@ -533,7 +533,7 @@ const config = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.largeDrawerStyle {
|
.largeDrawerInside {
|
||||||
.drawerMains {
|
.drawerMains {
|
||||||
min-width: 600px;
|
min-width: 600px;
|
||||||
// margin: 0px 32px 0px 32px;
|
// margin: 0px 32px 0px 32px;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<template>
|
<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">
|
width="80%" :title="false">
|
||||||
<!-- 外部讲师查看详情 -->
|
<!-- 外部讲师查看详情 -->
|
||||||
<div class="LookExternalLecturer">
|
<div class="LookExternalLecturer">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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">
|
width="80%" :title="false">
|
||||||
<!-- 内部讲师查看详情 -->
|
<!-- 内部讲师查看详情 -->
|
||||||
<div class="LookInsideLecturer">
|
<div class="LookInsideLecturer">
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
|
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:labelInValue="true"
|
:labelInValue="true"
|
||||||
|
allow-clear
|
||||||
v-model:treeExpandedKeys="stuTreeExpandedKeys"
|
v-model:treeExpandedKeys="stuTreeExpandedKeys"
|
||||||
:loading="orgLoading"
|
:loading="orgLoading"
|
||||||
:load-data="onLoadData"
|
:load-data="onLoadData"
|
||||||
@@ -65,10 +66,10 @@ const keydownEnter = (e) => {
|
|||||||
}
|
}
|
||||||
watch(props, () => {
|
watch(props, () => {
|
||||||
stuTreeExpandedKeys.value = [];
|
stuTreeExpandedKeys.value = [];
|
||||||
if (labelValue.value.value !== props.value) {
|
if (labelValue.value?.value !== props.value) {
|
||||||
labelValue.value = { value: props.value, label: props.name };
|
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 };
|
labelValue.value = { value: props.value, label: props.name };
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -83,16 +84,17 @@ function onLoadData(treeNode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function change(
|
function change(
|
||||||
{ label, value },
|
values,
|
||||||
obj,
|
obj,
|
||||||
{
|
// {
|
||||||
triggerNode: {
|
// triggerNode: {
|
||||||
props: { namePath },
|
// props: { namePath },
|
||||||
},
|
// },
|
||||||
}
|
// }
|
||||||
|
node
|
||||||
) {
|
) {
|
||||||
emit("update:name", label);
|
emit("update:name", values?.label);
|
||||||
emit("update:fullName", namePath);
|
emit("update:fullName", node?.triggerNode?.props?.namePath);
|
||||||
emit("update:value", value);
|
emit("update:value", values?.value);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -4089,8 +4089,9 @@ function onFocusEnd(){
|
|||||||
state.addLoading = false;
|
state.addLoading = false;
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
message.destroy()
|
||||||
message.error(err.data.msg)
|
message.error(err.data.msg)
|
||||||
state.loading = false;
|
state.addLoading = false;
|
||||||
console.log(err);
|
console.log(err);
|
||||||
});
|
});
|
||||||
state.cstm_hs = false;
|
state.cstm_hs = false;
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
|
||||||
width="700px" :title="false">
|
width="700px" :title="false">
|
||||||
<div style="padding:24px">
|
<div style="padding:24px">
|
||||||
<div class="headers" style="margin-top:-24px;width: 110%;margin-left: -24px;">
|
<div class="headers" style="margin-top:-24px;width: 110%;margin-left: -24px;">
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" placement="right" :maskClosable="false" :closable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" placement="right" :maskClosable="false" :closable="false"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
@@ -312,7 +312,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<!-- 查看授课记录 -->
|
<!-- 查看授课记录 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teachingdialog" placement="right" :maskClosable="false" :closable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teachingdialog" placement="right" :maskClosable="false" :closable="false"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
|
||||||
width="700" :title="false">
|
width="700" :title="false">
|
||||||
<div style="padding:24px">
|
<div style="padding:24px">
|
||||||
<div class="headers" style="margin-top:-24px;margin-left: -25px;width: 110%;">
|
<div class="headers" style="margin-top:-24px;margin-left: -25px;width: 110%;">
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" :closable="false" placement="right" :maskClosable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" :closable="false" placement="right" :maskClosable="false"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
@@ -389,7 +389,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
<!--查看授课详情 -->
|
<!--查看授课详情 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teachingdialog" :closable="false" placement="right" :maskClosable="false"
|
<a-drawer class="largeDrawerInside" v-model:visible="teachingdialog" :closable="false" placement="right" :maskClosable="false"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<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="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div class="appedit">
|
<div class="appedit">
|
||||||
<div class="header" style="margin-top: -24px;">
|
<div class="header" style="margin-top: -24px;">
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
<button class="btn2" @click="paramsDrawer">提交</button>
|
<button class="btn2" @click="paramsDrawer">提交</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false" dropdown-style="drawaer"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false" dropdown-style="drawaer"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
|||||||
@@ -120,7 +120,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<!--查看讲师费详情 -->
|
<!--查看讲师费详情 -->
|
||||||
<a-drawer class="largeDrawerStyle" :closable="false" v-model:visible="teachingdialog" placement="right"
|
<a-drawer class="largeDrawerInside" :closable="false" v-model:visible="teachingdialog" placement="right"
|
||||||
@closa="cancelTeachingDialog" width="60%" :title="false">
|
@closa="cancelTeachingDialog" width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false" dropdown-style="drawaer"
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false" dropdown-style="drawaer"
|
||||||
width="60%" :title="false">
|
width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
@@ -501,7 +501,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div> <Upload/> </div> -->
|
<!-- <div> <Upload/> </div> -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teachingdialog" placement="right"
|
<a-drawer class="largeDrawerInside" v-model:visible="teachingdialog" placement="right"
|
||||||
:closable="false" width="60%" :title="false">
|
:closable="false" width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top:-24px;">
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
|||||||
@@ -99,12 +99,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 抽屉 -->
|
<!-- 抽屉 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="opendrawer" placement="right"
|
<a-drawer class="largeDrawerInside" v-model:visible="opendrawer" placement="right"
|
||||||
@closa="cancelTeachingDialog" :maskClosable="true" width="60%" title="查看详情">
|
@closa="cancelTeachingDialog" :maskClosable="true" width="60%" :title="false">
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
|
<div class="headers" style="margin-top:-24px;">
|
||||||
|
<div class="headerTitle">查看详情</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="@/assets/images/basicinfo/close.png"
|
||||||
|
@click="cancelTeachingDialog"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<a-form layout="inline">
|
<a-form layout="inline">
|
||||||
<a-form-item class="select">
|
<a-form-item class="select">
|
||||||
<a-input v-model:value="drawer.name" style="width: 260px; height: 40px; border-radius: 8px"
|
<a-input @pressEnter="searchSubmitdrawer" v-model:value="drawer.name" style="width: 260px; height: 40px; border-radius: 8px"
|
||||||
placeholder="请输入课程名称进行搜索" allowClear showSearch>
|
placeholder="请输入课程名称进行搜索" allowClear showSearch>
|
||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -221,7 +229,7 @@ export default {
|
|||||||
key: 'name',
|
key: 'name',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '讲师工号',
|
title: '讲师工号',
|
||||||
@@ -229,7 +237,7 @@ export default {
|
|||||||
key: 'userNo',
|
key: 'userNo',
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所属组织 ',
|
title: '所属组织 ',
|
||||||
@@ -248,7 +256,7 @@ export default {
|
|||||||
key: 'payrollPlace',
|
key: 'payrollPlace',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '授课时长(系统 ) ',
|
title: '授课时长(系统 ) ',
|
||||||
@@ -256,7 +264,7 @@ export default {
|
|||||||
key: 'teachingSystem',
|
key: 'teachingSystem',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '授课时长(录入) ',
|
title: '授课时长(录入) ',
|
||||||
@@ -264,7 +272,7 @@ export default {
|
|||||||
key: 'teachingEnter',
|
key: 'teachingEnter',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '开发课程时长 ',
|
title: '开发课程时长 ',
|
||||||
@@ -272,7 +280,7 @@ export default {
|
|||||||
key: 'expense',
|
key: 'expense',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '计划费用 ',
|
title: '计划费用 ',
|
||||||
@@ -280,7 +288,7 @@ export default {
|
|||||||
key: 'expense',
|
key: 'expense',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '应发费用 ',
|
title: '应发费用 ',
|
||||||
@@ -288,16 +296,16 @@ export default {
|
|||||||
key: 'payableExpense',
|
key: 'payableExpense',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
width: 200,
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作 ',
|
title: '操作 ',
|
||||||
dataIndex: 'operation',
|
dataIndex: 'operation',
|
||||||
key: 'operation',
|
key: 'operation',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
align: "right",
|
align: "center",
|
||||||
fixed: "right",
|
fixed: "right",
|
||||||
width: 120,
|
width: 160,
|
||||||
scopedSlots: { customRender: "action" },
|
scopedSlots: { customRender: "action" },
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
@@ -652,7 +660,24 @@ export default {
|
|||||||
.select .ant-picker {
|
.select .ant-picker {
|
||||||
width: 410px !important;
|
width: 410px !important;
|
||||||
}
|
}
|
||||||
|
.headers {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.addTimeBox {
|
.addTimeBox {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- 抽屉 -->
|
<!-- 抽屉 -->
|
||||||
<a-drawer class="largeDrawerStyle" v-model:visible="teacherdialog" :closable="false" :title="false" placement="right" width="60%" :maskClosable="false" >
|
<a-drawer class="largeDrawerInside" v-model:visible="teacherdialog" :closable="false" :title="false" placement="right" width="60%" :maskClosable="false" >
|
||||||
<div style="padding:24px;">
|
<div style="padding:24px;">
|
||||||
<div class="headers" style="margin-top: -24px">
|
<div class="headers" style="margin-top: -24px">
|
||||||
<div class="headerTitle">{{ teacherdialogtitle }}</div>
|
<div class="headerTitle">{{ teacherdialogtitle }}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user