mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
讲师费管理统计 --页面调整
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user