讲师费管理统计 --页面调整

This commit is contained in:
wangxuemei
2024-07-05 14:30:10 +08:00
parent 944aaffccb
commit fd3ef9de10
10 changed files with 2844 additions and 27 deletions

View File

@@ -414,7 +414,7 @@ export default {
state.teacherdialog = true;
state.teacherdialogtitle = '修改信息'
state.lookTeacherId = record.id
TeacherSystem()
TeacherSystem(record)
}
//保存
const createTeacherDialog = () => {
@@ -497,7 +497,8 @@ export default {
mobile: null,
email: null,
teacherIntrofuce: null,
remark: null
remark: null,
id:null
}
console.log(state.formParam);
}
@@ -509,17 +510,27 @@ export default {
state.userNoid = record.userNo
state.lookTeacherId = record.id
// alert(record.grade)
TeacherSystem()
TeacherSystem(record)
}
//外部讲师详情
const TeacherSystem = () => {
getOuterTeacherById(state.lookTeacherId).then((res) => {
console.log("外部讲师详情", res.data);
state.formParam = res.data.data
})
.catch((err) => {
console.log("外部讲师详情", err);
});
const TeacherSystem = (record) => {
// getOuterTeacherById(state.lookTeacherId).then((res) => {
// console.log("外部讲师详情", res.data);
// state.formParam = res.data.data
// })
// .catch((err) => {
// console.log("外部讲师详情", err);
// });
state.formParam={
name:record.name,
mobile:record.mobile,
email:record.email,
teacherIntrofuce:record.teacherIntrofuce,
remark:record.remark,
}
if(record.id!=null ){
state.formParam.id = record.id
}
}
// tab 标签切换
const particulars = () => {