讲师管理bug

This commit is contained in:
zhangsir
2024-11-25 10:20:27 +08:00
parent ae63c22d3c
commit 777dec4020
3 changed files with 231 additions and 221 deletions

View File

@@ -114,15 +114,16 @@
</div>
<!-- 弹窗组件 -->
<a-drawer v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
width="40%" :title="false">
width="800" :title="false">
<div class="headers" style="margin-top:-24px;">
<div class="headerTitle">{{ teacherdialogtitle }}</div>
<div class="headerTitle" style="margin-left: 30px;">{{ teacherdialogtitle }}</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
src="@/assets/images/basicinfo/close.png"
@click="cancelTeacherDialog"
/>
</div>
<div style="padding-left: 40px;padding-right: 158px;">
<a-form :model="formParam" :rules="rules" layout="vertical" ref="formRef">
<a-row>
<a-col :span="24">
@@ -221,7 +222,7 @@
</a-row>
<a-row>
<a-col :span="24">
<span class="line"></span><span>其他信息</span>
<span class="line" style="margin-bottom:10px;"></span><span>其他信息</span>
</a-col>
</a-row>
<a-row :gutter="16">
@@ -310,11 +311,14 @@
background: '#fff',
textAlign: 'right',
zIndex: 1,
display: 'flex',
justifyContent: 'center',
}">
<a-button class="drabtn" @click="cancelTeacherDialog">取消</a-button>
<a-button class="drabtn" type="primary" @click="createTeacherDialog" :loading="buttonLoading">保存
</a-button>
</div>
</div>
</a-drawer>
<!-- 删除功能弹窗 -->
@@ -1730,14 +1734,16 @@ export default {
font-size: 26px;
}
.add_list{
width: 150%;
display: flex;
flex-wrap: wrap;
margin-top: 10px;
overflow: auto;
// overflow: auto;
& div{
// padding: 10px;
padding: 0 10px;
background: aliceblue;
margin-left: 10px;
min-width: 140px;
width: 140px;
height: 40px;
line-height: 40px;
text-align: center;
@@ -1988,10 +1994,14 @@ export default {
}
.drabtn {
cursor: pointer;
width: 100px;
height: 40px;
width: 80px;
background: #4ea6ff;
border-radius: 8px;
margin-right: 20px
border: 0;
margin-left: 15px;
color: #fff;
}
::v-deep .ant-select:not(.ant-select-customize-input) .ant-select-selector {

View File

@@ -26,42 +26,24 @@
<!-- @change="searchTimeChange" -->
</div>
</a-form-item>
<div style="display: flex; margin-bottom: 20px">
<a-button @click="searchSubmit()" type="primary" class="resetbtn">查询 </a-button>
<!-- <div class="btn btn1" @click="searchReset" style="background:rgba(64, 158, 255, 0);" > -->
<!-- <div class="search"></div> -->
<a-button class="resetbtn " @click="searchReset">重置</a-button>
<!-- 更多筛选-->
<div v-if="moreid == 1">
<a-button @click="handlemoreid()" class="moreidbtn" type="text"> 展开
<RightOutlined />
</a-button>
</div>
<div v-if="moreid == 2">
<a-button @click="handlemoreid()" class="moreidbtn"> 返回
<UpOutlined />
</a-button>
</div>
</div>
<div style="width:100%"></div>
<a-form-item class="select" v-if="moreid == 2">
<!-- <div style="width:100%"></div> -->
<a-form-item class="select">
<a-select style="width: 230px ;margin-bottom:20px" v-model:value="searchParam.createFrom" placeholder="录入类型"
:options="entryTypeList" allowClear v-on:keydown.enter="enterPressHadlerSearch">
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-form-item class="select">
<a-select style="width: 230px" v-model:value="searchParam.courseStatus" placeholder="开课状态"
:options="AuthenticationStatusList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-form-item class="select">
<a-select style="width: 230px" placeholder="请选择讲师体系" v-model:value="searchParam.tSystemId"
:options="LecturerSystemList" allowClear showSearch @change="changetlevel"
v-on:keydown.enter="enterPressHadlerSearch">
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-form-item class="select">
<!-- <a-select style="width: 230px" placeholder="请选择所属组织" v-model:value="searchParam.sourceBelongId"
:options="getOrganizationList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
</a-select> -->
@@ -69,7 +51,7 @@
style="width: 230px"
></OrgClass>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-form-item class="select">
<a-tree-select style="width: 230px" :fieldNames="{
@@ -82,14 +64,14 @@
:tree-data="sysTypeOptions" v-on:keydown.enter="enterPressHadlerSearch">
</a-tree-select>
</a-form-item>
<div style="width: 100%;"></div>
<a-form-item class="select" v-if="moreid == 2">
<!-- <div style="width: 100%;"></div> -->
<a-form-item class="select">
<a-select style="min-width: 230px ; height: auto ;margin-bottom:20px" v-model:value="score" placeholder="请选择评分"
:options="scoreList" allowClear showSearch mode="multiple" @change="scoreChange"
v-on:keydown.enter="enterPressHadlerSearch">
</a-select>
</a-form-item>
<a-form-item class="select" v-if="moreid == 2">
<a-form-item class="select">
<a-select style="width: 230px" v-model:value="searchParam.studys" placeholder="授课人数" :options="studysList"
allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
</a-select>
@@ -97,6 +79,24 @@
placeholder="授课人数" allowClear showSearch>
</a-input> -->
</a-form-item>
<div style="display: flex; margin-bottom: 20px">
<a-button @click="searchSubmit()" type="primary" class="resetbtn">查询 </a-button>
<!-- <div class="btn btn1" @click="searchReset" style="background:rgba(64, 158, 255, 0);" > -->
<!-- <div class="search"></div> -->
<a-button class="resetbtn " @click="searchReset">重置</a-button>
<!-- 更多筛选-->
<!-- <div v-if="moreid == 1">
<a-button @click="handlemoreid()" class="moreidbtn" type="text"> 展开
<RightOutlined />
</a-button>
</div>
<div v-if="moreid == 2">
<a-button @click="handlemoreid()" class="moreidbtn"> 返回
<UpOutlined />
</a-button>
</div> -->
</div>
</a-form>
<div style="width: 100%;"></div>
<div style="display: flex; margin-bottom: 20px">

View File

@@ -293,7 +293,7 @@ export default{
if(res.data.code == 200){
PlaceOfPayListTwo.value = res.data.data.map(item=>{
return {
value: item.code,
value: item.affiliationCode,
label: item.affiliationName
}
})