mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 02:02:55 +08:00
讲师管理bug
This commit is contained in:
@@ -74,12 +74,12 @@
|
||||
</a-form-item> -->
|
||||
<a-form-item class="select" v-if="moreid == 2">
|
||||
<a-select style="width: 235px ;margin-bottom:20px" placeholder="请选择讲师体系" v-model:value="searchParam.tsystemId" allowClear
|
||||
:options="lecturerSystemList" @change="changetlevel"
|
||||
:options="lecturerSystemList"
|
||||
v-on:keydown.enter="enterPressHadlerSearch">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item class="select" v-if="moreid == 2">
|
||||
<a-select style="width: 235px ;margin-bottom:20px" v-model:value="searchParam.levelId" placeholder="请选择讲师级别" allowClear :disabled="getLevelList.length!==0 ? false:true"
|
||||
<a-select style="width: 235px ;margin-bottom:20px" v-model:value="searchParam.levelId" placeholder="请选择讲师级别" allowClear
|
||||
:options="getLevelList"
|
||||
v-on:keydown.enter="enterPressHadlerSearch">
|
||||
</a-select>
|
||||
@@ -228,7 +228,7 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="课程名称" name="courseName ">
|
||||
<a-form-item label="课程名称" name="courseName">
|
||||
<!-- <a-radio-group v-model:value="formParam.courseName">
|
||||
<a-radio :value="0">面授课</a-radio>
|
||||
<a-radio :value="1">在线课</a-radio>
|
||||
@@ -236,7 +236,7 @@
|
||||
<!-- <a-select class="draitem" v-model:value="formParam.courseName" placeholder="请选择输入或选择面授课" style="width:63%" allowClear
|
||||
:options="getLevelList">
|
||||
</a-select> -->
|
||||
<a-input v-model:value="formParam.courseName" placeholder="请输入面授课名称" class="draitem">
|
||||
<a-input :maxlength="20" show-count v-model:value="formParam.courseName" placeholder="请输入面授课名称" class="draitem">
|
||||
</a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -438,7 +438,7 @@
|
||||
import ImportWork from "../../components/project/ImportWork.vue";
|
||||
import SearchTeacher from "@/components/project/SearchTeacher";
|
||||
import {getTeacherFeeList,getTeacherFeeDetail,addTeacherFee ,getListByIds,updateTeacherFee,updateStatusSubmit,approveTeacherFee,getTeacherLevel,deleteInTeacher,confirm} from "../../api/lecturerFeeManagement";
|
||||
import {getTeacherSystemList, getLevel,getPayRollPlace,fileUp,teacherExpenseConfirm } from "../../api/Lecturer";
|
||||
import {getTeacherSystemList, getAllLevelList,getPayRollPlace,fileUp,teacherExpenseConfirm } from "../../api/Lecturer";
|
||||
// lecturerFeeManagement
|
||||
// import {getProjSt} from "../../api/indexProjStu";
|
||||
// import AddTeacher from "../../components/drawers/project/AddTeacher"
|
||||
@@ -599,9 +599,8 @@
|
||||
const getLevelList = ref([
|
||||
// { value: 0, label: "未定级" },
|
||||
])
|
||||
const changetlevel = (val) => {
|
||||
console.log( "讲师体系id" +val);
|
||||
getLevel( {id:val}).then((res) => {
|
||||
const changetlevel = () => {
|
||||
getAllLevelList().then((res) => {
|
||||
console.log(res,'rssssss')
|
||||
if (res.data.code === 200) {
|
||||
let arr = res.data.data;
|
||||
@@ -617,6 +616,7 @@ console.log( "讲师体系id" +val);
|
||||
}
|
||||
})
|
||||
}
|
||||
changetlevel()
|
||||
LecturerSystemLista()
|
||||
|
||||
// //获取讲师发薪地列表
|
||||
@@ -1213,7 +1213,7 @@ console.log( "讲师体系id" +val);
|
||||
userNo: [{ required: true, message: '',log:'讲师工号不能为空' }],
|
||||
orgName: [{ required: true, message: '',log:'讲师组织不能为空' }],
|
||||
tsystemName: [{ required: true, message:'',log: '讲师体系不能为空' }],
|
||||
tlevelName: [{ required: true, message:'',log: ' 讲师级别 不能为空' }],
|
||||
tlevelName: [{ required: true, message:'',log: ' 讲师级别不能为空' }],
|
||||
payrollPlace: [{ required: true, message:'',log: '讲师发薪地不能为空' }],
|
||||
courseType: [{ required: true, message: '',log:'费用类型不能为空' }],
|
||||
courseName: [{ required: true, message:'',log: '课程名称不能为空' }],
|
||||
|
||||
Reference in New Issue
Block a user