mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-23 17:55:39 +08:00
讲师管理bug
This commit is contained in:
@@ -114,15 +114,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 弹窗组件 -->
|
<!-- 弹窗组件 -->
|
||||||
<a-drawer v-model:visible="teacherdialog" placement="right" :closable="false" :maskClosable="false"
|
<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="headers" style="margin-top:-24px;">
|
||||||
<div class="headerTitle">{{ teacherdialogtitle }}</div>
|
<div class="headerTitle" style="margin-left: 30px;">{{ teacherdialogtitle }}</div>
|
||||||
<img
|
<img
|
||||||
style="width: 29px; height: 29px; cursor: pointer"
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
src="@/assets/images/basicinfo/close.png"
|
src="@/assets/images/basicinfo/close.png"
|
||||||
@click="cancelTeacherDialog"
|
@click="cancelTeacherDialog"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="padding-left: 40px;padding-right: 158px;">
|
||||||
<a-form :model="formParam" :rules="rules" layout="vertical" ref="formRef">
|
<a-form :model="formParam" :rules="rules" layout="vertical" ref="formRef">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
@@ -221,7 +222,7 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<span class="line"></span><span>其他信息</span>
|
<span class="line" style="margin-bottom:10px;"></span><span>其他信息</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
@@ -310,11 +311,14 @@
|
|||||||
background: '#fff',
|
background: '#fff',
|
||||||
textAlign: 'right',
|
textAlign: 'right',
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'center',
|
||||||
}">
|
}">
|
||||||
<a-button class="drabtn" @click="cancelTeacherDialog">取消</a-button>
|
<a-button class="drabtn" @click="cancelTeacherDialog">取消</a-button>
|
||||||
<a-button class="drabtn" type="primary" @click="createTeacherDialog" :loading="buttonLoading">保存
|
<a-button class="drabtn" type="primary" @click="createTeacherDialog" :loading="buttonLoading">保存
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
|
||||||
<!-- 删除功能弹窗 -->
|
<!-- 删除功能弹窗 -->
|
||||||
@@ -1730,14 +1734,16 @@ export default {
|
|||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
}
|
}
|
||||||
.add_list{
|
.add_list{
|
||||||
|
width: 150%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
overflow: auto;
|
// overflow: auto;
|
||||||
& div{
|
& div{
|
||||||
// padding: 10px;
|
padding: 0 10px;
|
||||||
background: aliceblue;
|
background: aliceblue;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
min-width: 140px;
|
width: 140px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -1988,10 +1994,14 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.drabtn {
|
.drabtn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: 80px;
|
background: #4ea6ff;
|
||||||
border-radius: 8px;
|
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 {
|
::v-deep .ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
||||||
|
|||||||
@@ -26,42 +26,24 @@
|
|||||||
<!-- @change="searchTimeChange" -->
|
<!-- @change="searchTimeChange" -->
|
||||||
</div>
|
</div>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<div style="display: flex; margin-bottom: 20px">
|
<!-- <div style="width:100%"></div> -->
|
||||||
<a-button @click="searchSubmit()" type="primary" class="resetbtn">查询 </a-button>
|
<a-form-item class="select">
|
||||||
<!-- <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">
|
|
||||||
<a-select style="width: 230px ;margin-bottom:20px" v-model:value="searchParam.createFrom" placeholder="录入类型"
|
<a-select style="width: 230px ;margin-bottom:20px" v-model:value="searchParam.createFrom" placeholder="录入类型"
|
||||||
:options="entryTypeList" allowClear v-on:keydown.enter="enterPressHadlerSearch">
|
:options="entryTypeList" allowClear v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</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="开课状态"
|
<a-select style="width: 230px" v-model:value="searchParam.courseStatus" placeholder="开课状态"
|
||||||
:options="AuthenticationStatusList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
:options="AuthenticationStatusList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</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"
|
<a-select style="width: 230px" placeholder="请选择讲师体系" v-model:value="searchParam.tSystemId"
|
||||||
:options="LecturerSystemList" allowClear showSearch @change="changetlevel"
|
:options="LecturerSystemList" allowClear showSearch @change="changetlevel"
|
||||||
v-on:keydown.enter="enterPressHadlerSearch">
|
v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</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"
|
<!-- <a-select style="width: 230px" placeholder="请选择所属组织" v-model:value="searchParam.sourceBelongId"
|
||||||
:options="getOrganizationList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
:options="getOrganizationList" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select> -->
|
</a-select> -->
|
||||||
@@ -69,7 +51,7 @@
|
|||||||
style="width: 230px"
|
style="width: 230px"
|
||||||
></OrgClass>
|
></OrgClass>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item class="select" v-if="moreid == 2">
|
<a-form-item class="select">
|
||||||
|
|
||||||
|
|
||||||
<a-tree-select style="width: 230px" :fieldNames="{
|
<a-tree-select style="width: 230px" :fieldNames="{
|
||||||
@@ -82,14 +64,14 @@
|
|||||||
:tree-data="sysTypeOptions" v-on:keydown.enter="enterPressHadlerSearch">
|
:tree-data="sysTypeOptions" v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-tree-select>
|
</a-tree-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<div style="width: 100%;"></div>
|
<!-- <div style="width: 100%;"></div> -->
|
||||||
<a-form-item class="select" v-if="moreid == 2">
|
<a-form-item class="select">
|
||||||
<a-select style="min-width: 230px ; height: auto ;margin-bottom:20px" v-model:value="score" placeholder="请选择评分"
|
<a-select style="min-width: 230px ; height: auto ;margin-bottom:20px" v-model:value="score" placeholder="请选择评分"
|
||||||
:options="scoreList" allowClear showSearch mode="multiple" @change="scoreChange"
|
:options="scoreList" allowClear showSearch mode="multiple" @change="scoreChange"
|
||||||
v-on:keydown.enter="enterPressHadlerSearch">
|
v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</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"
|
<a-select style="width: 230px" v-model:value="searchParam.studys" placeholder="授课人数" :options="studysList"
|
||||||
allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -97,6 +79,24 @@
|
|||||||
placeholder="授课人数" allowClear showSearch>
|
placeholder="授课人数" allowClear showSearch>
|
||||||
</a-input> -->
|
</a-input> -->
|
||||||
</a-form-item>
|
</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>
|
</a-form>
|
||||||
<div style="width: 100%;"></div>
|
<div style="width: 100%;"></div>
|
||||||
<div style="display: flex; margin-bottom: 20px">
|
<div style="display: flex; margin-bottom: 20px">
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ export default{
|
|||||||
if(res.data.code == 200){
|
if(res.data.code == 200){
|
||||||
PlaceOfPayListTwo.value = res.data.data.map(item=>{
|
PlaceOfPayListTwo.value = res.data.data.map(item=>{
|
||||||
return {
|
return {
|
||||||
value: item.code,
|
value: item.affiliationCode,
|
||||||
label: item.affiliationName
|
label: item.affiliationName
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user