mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
讲师费时间筛选调整
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item class="select">
|
||||
<a-select style="width: 276px" v-model:value="searchParam.tlevelId" placeholder="请选择讲师级别" allowClear
|
||||
<a-select style="width: 276px" v-model:value="searchParam.levelId" placeholder="请选择讲师级别" allowClear
|
||||
:options="getLevelList" :disabled="getLevelList.length !== 0 ? false : true">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
@@ -171,16 +171,16 @@
|
||||
</a-row>
|
||||
<a-row :gutter="16">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="讲师体系" name="tsystemId">
|
||||
<a-select class="draitem" v-model:value="formParam.tsystemId" placeholder="请选择讲师体系" allowClear
|
||||
<a-form-item label="讲师体系" name="systemId">
|
||||
<a-select class="draitem" v-model:value="formParam.systemId" placeholder="请选择讲师体系" allowClear
|
||||
@change="changetlevel" :options="LecturerSystemList">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="讲师级别" name="tlevelId">
|
||||
<a-form-item label="讲师级别" name="levelId">
|
||||
<div @click="handlesel">
|
||||
<a-select class="draitem" v-model:value="formParam.tlevelId" placeholder="请选择讲师级别" allowClear
|
||||
<a-select class="draitem" v-model:value="formParam.levelId" placeholder="请选择讲师级别" allowClear
|
||||
:disabled="getLevelList.length !== 0 ? false : true" :options="getLevelList">
|
||||
</a-select>
|
||||
</div>
|
||||
@@ -347,15 +347,15 @@
|
||||
</a-row>
|
||||
<a-row :gutter="16">
|
||||
<a-col :span="24">
|
||||
<a-form-item label="讲师体系" name="tsystemId">
|
||||
<a-select class="draitem" v-model:value="formParam.tsystemId" placeholder="请选择讲师体系" allowClear
|
||||
<a-form-item label="讲师体系" name="systemId">
|
||||
<a-select class="draitem" v-model:value="formParam.systemId" placeholder="请选择讲师体系" allowClear
|
||||
@change="changetlevel" :options="LecturerSystemList">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="讲师级别" name="tlevelId">
|
||||
<a-select class="draitem" v-model:value="formParam.tlevelId" placeholder="请选择讲师级别" allowClear
|
||||
<a-form-item label="讲师级别" name="levelId">
|
||||
<a-select class="draitem" v-model:value="formParam.levelId" placeholder="请选择讲师级别" allowClear
|
||||
:disabled="getLevelList.length !== 0 ? false : true" :options="getLevelList">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
@@ -483,7 +483,7 @@
|
||||
<span>您确定要删除此讲师吗</span>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" @click="cancelTeacherDialog" style="margin-right: 32px">
|
||||
<div class="del_btn btn2" @click="cancelTeacherDialog1" style="margin-right: 32px">
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="closeDeleteTeacher">
|
||||
@@ -510,7 +510,7 @@
|
||||
<span v-if="handleOperate1 == 1">确定要将该讲师停用吗<div></div>停用后讲师不可登录教师端</span>
|
||||
</div>
|
||||
<div class="del_btnbox">
|
||||
<div class="del_btn btn2" @click="cancelTeacherDialog" style="margin-right: 32px">
|
||||
<div class="del_btn btn2" @click="cancelTeacherDialog1" style="margin-right: 32px">
|
||||
<div class="btnText">取消</div>
|
||||
</div>
|
||||
<div class="del_btn btn2" @click="closehandleOperate">
|
||||
@@ -600,7 +600,7 @@ export default {
|
||||
pageSize1: 10,
|
||||
teacherNameOrUserNo: null,
|
||||
systemId: null,
|
||||
tlevelId: null,
|
||||
levelId: null,
|
||||
waitStatus: null,
|
||||
certStatus: null,
|
||||
courses: null,
|
||||
@@ -961,7 +961,7 @@ export default {
|
||||
])
|
||||
// 搜索
|
||||
const searchSubmit = () => {
|
||||
store.commit("setShouInclude", ['lecturerlist']);
|
||||
// store.commit("setShouInclude", ['lecturerlist']);
|
||||
getTableDate();
|
||||
};
|
||||
//重置
|
||||
@@ -972,7 +972,7 @@ export default {
|
||||
userNo: null,
|
||||
newdepartId: null,
|
||||
systemid: null,
|
||||
tlevelId: null,
|
||||
levelId: null,
|
||||
waitStatus: null,
|
||||
certStatus: null,
|
||||
salaryName: null,
|
||||
@@ -981,7 +981,7 @@ export default {
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
};
|
||||
store.commit("setShouInclude", []);
|
||||
// store.commit("setShouInclude", []);
|
||||
getTableDate();
|
||||
};
|
||||
// List接口数据
|
||||
@@ -1148,11 +1148,15 @@ export default {
|
||||
state.teacherdialog = false
|
||||
cancel()
|
||||
}
|
||||
// state.deleteInTeacherdialog = false
|
||||
// state.editTeacher = false
|
||||
// state.tagsshow = 1
|
||||
};
|
||||
const cancelTeacherDialog1 = () => {
|
||||
state.deleteInTeacherdialog = false
|
||||
state.editTeacher = false
|
||||
state.tagsshow = 1
|
||||
};
|
||||
|
||||
//清空数据
|
||||
const cancel = () => {
|
||||
state.formParam = {
|
||||
@@ -1162,9 +1166,9 @@ export default {
|
||||
photo: null,
|
||||
teacherNameOrUserNo: null,
|
||||
newdepartId: null,
|
||||
tlevelId: null,
|
||||
levelId: null,
|
||||
defaultteachingTime: 0,
|
||||
tsystemId: null,
|
||||
systemId: null,
|
||||
certStatus: 0,
|
||||
description: '',
|
||||
workExperience: '',
|
||||
@@ -1177,8 +1181,8 @@ export default {
|
||||
const rules = {
|
||||
name: [{ required: true, message: '讲师不能为空' }],
|
||||
newdepartId: [{ required: true, message: '组织不能为空' }],
|
||||
tlevelId: [{ required: true, message: '讲师级别不能为空' }],
|
||||
tsystemId: [{ required: true, message: '讲师体系不能为空' }],
|
||||
levelId: [{ required: true, message: '讲师级别不能为空' }],
|
||||
systemId: [{ required: true, message: '讲师体系不能为空' }],
|
||||
defaultteachingTime: [{ required: true, message: '' }],
|
||||
certStatus: [{ required: true, message: '认证状态不能为空' }],
|
||||
|
||||
@@ -1195,12 +1199,12 @@ export default {
|
||||
message.warning('组织不能为空')
|
||||
return
|
||||
}
|
||||
if (state.formParam.tlevelId == null) {
|
||||
if (state.formParam.levelId == null) {
|
||||
state.log = true
|
||||
message.warning('讲师级别不能为空')
|
||||
return
|
||||
}
|
||||
if (state.formParam.tsystemId == null) {
|
||||
if (state.formParam.systemId == null) {
|
||||
state.log = true
|
||||
message.warning('讲师体系不能为空')
|
||||
return
|
||||
@@ -1257,7 +1261,7 @@ export default {
|
||||
// }
|
||||
const handlesel = () => {
|
||||
console.log('请下选择讲师体系')
|
||||
if (state.formParam.tsystemId == undefimed) {
|
||||
if (state.formParam.systemId == undefimed) {
|
||||
message.warning('请下选择讲师体系')
|
||||
}
|
||||
}
|
||||
@@ -1268,7 +1272,7 @@ export default {
|
||||
}&pageSize=${state.searchParam.pageSize}
|
||||
&teacherNameOrUserNo=${state.searchParam.teacherNameOrUserNo ? state.searchParam.teacherNameOrUserNo : ""}
|
||||
&systemId=${state.searchParam.systemId ? state.searchParam.systemId : ""}
|
||||
&tlevelId=${state.searchParam.tlevelId ? state.searchParam.tlevelId : ""
|
||||
&levelId=${state.searchParam.levelId ? state.searchParam.levelId : ""
|
||||
}&waitStatus=${state.searchParam.waitStatus ? state.searchParam.waitStatus : ""}
|
||||
&certStatus=${state.searchParam.certStatus ? state.searchParam.certStatus : ""
|
||||
}&courses=${state.searchParam.courses ? state.searchParam.courses : ""}`
|
||||
@@ -1305,6 +1309,7 @@ export default {
|
||||
changePagination,
|
||||
addTeacher,
|
||||
cancelTeacherDialog,
|
||||
cancelTeacherDialog1,
|
||||
handleLook,
|
||||
cancel,
|
||||
deleteModal,
|
||||
|
||||
Reference in New Issue
Block a user