Commit 0fb89043 by Cat

zd 教师电子档案

parent 28069916
...@@ -75,6 +75,14 @@ export function getteacherNotice(query) { ...@@ -75,6 +75,14 @@ export function getteacherNotice(query) {
params: query params: query
}) })
} }
// 级部列表
export function getGradeTnfo(query) {
return request({
url: '/teacherFiles/files/gradeList',
method: 'get',
params: query
})
}
//老师查看详情 //老师查看详情
export function getNoticeInfo(query) { export function getNoticeInfo(query) {
return request({ return request({
...@@ -85,10 +93,11 @@ export function getNoticeInfo(query) { ...@@ -85,10 +93,11 @@ export function getNoticeInfo(query) {
} }
//老师查看列表 //老师查看列表
export function getTeacherTnfo(userId) { export function getTeacherTnfo(query) {
return request({ return request({
url: '/teacherFiles/files/getTeachList/'+userId, url: '/teacherFiles/files/getTeachList',
method: 'get', method: 'get',
params: query
}) })
} }
...@@ -141,14 +150,14 @@ export function fileSubReview(id) { ...@@ -141,14 +150,14 @@ export function fileSubReview(id) {
}) })
} }
// 教师档案提交通过 // 教师档案驳回
export function fileSubApproved(id) { export function fileSubApproved(id) {
return request({ return request({
url: `/teacherFiles/files/reject/${id}`, url: `/teacherFiles/files/reject/${id}`,
method: 'put' method: 'put'
}) })
} }
// 教师档案提交驳回 // 教师档案提交
export function fileSubRejected(id) { export function fileSubRejected(id) {
return request({ return request({
url: `/teacherFiles/files/passThrough/${id}`, url: `/teacherFiles/files/passThrough/${id}`,
......
...@@ -254,6 +254,7 @@ export default { ...@@ -254,6 +254,7 @@ export default {
}, },
// 同意 // 同意
handleAgree(row) { handleAgree(row) {
console.log(row, "同意row");
this.$confirm("确定同意吗?", "提示", { this.$confirm("确定同意吗?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
......
...@@ -594,7 +594,7 @@ export default { ...@@ -594,7 +594,7 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
// const userName = this.$store.state.user; // const userName = this.$store.state.user;
const userId = this.$store.state.user.userId; // const userId = this.$store.state.user.userId;
// queryForm.noticeName // queryForm.noticeName
const params = { const params = {
userId: this.$store.state.user.userId, userId: this.$store.state.user.userId,
...@@ -607,9 +607,9 @@ export default { ...@@ -607,9 +607,9 @@ export default {
// }; // };
getTeacherTnfo(params).then((res) => { getTeacherTnfo(params).then((res) => {
this.tableData = res.rows; this.tableData = res.rows;
// console.log(params, "params"); console.log(params, "params");
console.log(res, "res"); 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