Commit 0fb89043 by Cat

zd 教师电子档案

parent 28069916
......@@ -75,6 +75,14 @@ export function getteacherNotice(query) {
params: query
})
}
// 级部列表
export function getGradeTnfo(query) {
return request({
url: '/teacherFiles/files/gradeList',
method: 'get',
params: query
})
}
//老师查看详情
export function getNoticeInfo(query) {
return request({
......@@ -85,10 +93,11 @@ export function getNoticeInfo(query) {
}
//老师查看列表
export function getTeacherTnfo(userId) {
export function getTeacherTnfo(query) {
return request({
url: '/teacherFiles/files/getTeachList/'+userId,
url: '/teacherFiles/files/getTeachList',
method: 'get',
params: query
})
}
......@@ -141,14 +150,14 @@ export function fileSubReview(id) {
})
}
// 教师档案提交通过
// 教师档案驳回
export function fileSubApproved(id) {
return request({
url: `/teacherFiles/files/reject/${id}`,
method: 'put'
})
}
// 教师档案提交驳回
// 教师档案提交
export function fileSubRejected(id) {
return request({
url: `/teacherFiles/files/passThrough/${id}`,
......
......@@ -254,6 +254,7 @@ export default {
},
// 同意
handleAgree(row) {
console.log(row, "同意row");
this.$confirm("确定同意吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......
......@@ -594,7 +594,7 @@ export default {
getList() {
this.loading = true;
// const userName = this.$store.state.user;
const userId = this.$store.state.user.userId;
// const userId = this.$store.state.user.userId;
// queryForm.noticeName
const params = {
userId: this.$store.state.user.userId,
......@@ -607,9 +607,9 @@ export default {
// };
getTeacherTnfo(params).then((res) => {
this.tableData = res.rows;
// console.log(params, "params");
console.log(params, "params");
console.log(res, "res");
// this.total = res.total;
this.total = res.total;
});
},
// 提取 `
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment