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}`,
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
class="demo-form-inline" class="demo-form-inline"
> >
<el-form-item label="姓名"> <el-form-item label="姓名">
<el-input v-model="queryForm.name"></el-input> <el-input v-model="queryForm.teacherName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任务名称"> <el-form-item label="任务名称">
<el-select clearable v-model="queryForm.noticeName" style="width: 100%"> <el-select clearable v-model="queryForm.noticeName" style="width: 100%">
...@@ -40,15 +40,15 @@ ...@@ -40,15 +40,15 @@
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="1.5"> <el-col :span="1.5">
<span>总计:</span> <span>总计:</span>
<span style="font-size: 14px">120</span> <span style="font-size: 14px">{{ this.total }}</span>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<span>已填写:</span> <span>已填写:</span>
<span style="font-size: 14px">60</span> <span style="font-size: 14px">{{ completedCount }}</span>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<span>已确认:</span> <span>已确认:</span>
<span style="font-size: 14px">60</span> <span style="font-size: 14px">{{ confirmedCount }}</span>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
border border
:data="tableData" :data="tableData"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@cell-dblclick="handleCheck"
> >
<el-table-column type="selection" width="55" :selectable="selectable"> <el-table-column type="selection" width="55" :selectable="selectable">
<template> </template> <template> </template>
...@@ -66,74 +67,87 @@ ...@@ -66,74 +67,87 @@
<el-table-column <el-table-column
label="是否填写" label="是否填写"
align="center" align="center"
prop="schoolYear" prop="state"
min-width="200" min-width="200"
/> >
<el-table-column <template slot-scope="{ row }">
{{
row.state == 1
? "未发布"
: row.state == 2
? "已发布"
: row.state == 3
? "已填写"
: row.state == 4
? "已提交"
: row.state == 5
? "已确认"
: row.state == 9
? "驳回"
: ""
}}
</template>
</el-table-column>
<!-- <el-table-column
label="任务名称" label="任务名称"
align="center" align="center"
prop="noticeName" prop="noticeName"
min-width="150" min-width="150"
/> /> -->
<el-table-column <el-table-column
label="学年学期" label="学年学期"
align="center" align="center"
prop="level" prop="filesSemester"
min-width="150" min-width="150"
/> />
<el-table-column <el-table-column
label="级部" label="级部"
align="center" align="center"
min-width="150" min-width="150"
prop="name" prop="gradeName"
/> />
<el-table-column <el-table-column
label="姓名" label="姓名"
align="center" align="center"
min-width="200" min-width="200"
prop="IDNum" prop="teacherName"
/>
<el-table-column
label="年龄"
align="center"
min-width="150"
prop="schedule"
/> />
<el-table-column label="年龄" align="center" min-width="150" prop="age" />
<el-table-column <el-table-column
label="职称" label="职称"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="title"
/> />
<el-table-column <el-table-column
label="学历" label="学历"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="education"
/> />
<el-table-column <el-table-column
label="政治面貌" label="政治面貌"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="appearance"
/> />
<el-table-column <el-table-column
label="任教学科" label="任教学科"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="courseName"
/> />
<el-table-column <el-table-column
label="任教班级" label="任教班级"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="className"
/> />
<el-table-column <el-table-column
label="任正班主任班级" label="任正班主任班级"
align="center" align="center"
min-width="150" min-width="150"
prop="schedule" prop="bzrClassName"
/> />
<el-table-column <el-table-column
fixed="right" fixed="right"
...@@ -142,23 +156,38 @@ ...@@ -142,23 +156,38 @@
min-width="200" min-width="200"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!--已填写 未确认--> <!-- 已发布 -->
<div> <div>
<el-button size="mini" type="text" @click="handleSubmit(scope.row)" <el-button
v-if="scope.row.state <= 3"
size="mini"
type="text"
@click="handleSubmit(scope.row)"
>提交 >提交
</el-button> </el-button>
<el-button size="mini" type="text" @click="handleReject(scope.row)" <el-button
v-if="scope.row.state <= 3"
size="mini"
type="text"
@click="handleReject(scope.row)"
>驳回 >驳回
</el-button> </el-button>
<el-button size="mini" type="text" @click="handleEdit(scope.row)" <el-button
v-if="scope.row.state <= 3"
size="mini"
type="text"
@click="handleEdit(scope.row)"
>修改 >修改
</el-button> </el-button>
</div> </div>
<!--未填写,无按钮--> <!--已提交-->
<div></div>
<!--已确认 只查看-->
<div> <div>
<el-button size="mini" type="text" @click="handleCheck(scope.row)" <!-- v-if="scope.row.state == '5'" -->
<el-button
v-if="scope.row.state >= 3"
size="mini"
type="text"
@click="handleCheck(scope.row)"
>查看 >查看
</el-button> </el-button>
</div> </div>
...@@ -188,84 +217,99 @@ ...@@ -188,84 +217,99 @@
label-width="120px" label-width="120px"
> >
<el-form-item label="学年学期:" style="padding-right: 10px"> <el-form-item label="学年学期:" style="padding-right: 10px">
<el-input readonly v-model="dialogForm.name"></el-input> <el-input
:readonly="check == true ? true : false"
v-model="dialogForm.filesSemester"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="级部:" style="padding-right: 10px"> <el-form-item label="级部:" style="padding-right: 10px">
<el-input readonly v-model="dialogForm.name"></el-input> <el-input
:readonly="check == true ? true : false"
v-model="dialogForm.gradeName"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="姓名:" style="padding-right: 10px"> <el-form-item label="姓名:" style="padding-right: 10px">
<el-input readonly v-model="dialogForm.name"></el-input> <el-input
:readonly="check == true ? true : false"
v-model="dialogForm.teacherName"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="性别:" style="padding-right: 10px"> <el-form-item label="性别:" style="padding-right: 10px">
<el-input readonly v-model="dialogForm.name"></el-input> <el-input
:readonly="check == true ? true : false"
v-model="dialogForm.sex"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="年龄:" style="padding-right: 10px"> <el-form-item label="年龄:" style="padding-right: 10px">
<el-input readonly v-model="dialogForm.name"></el-input> <el-input
:readonly="check == true ? true : false"
v-model="dialogForm.age"
></el-input>
</el-form-item> </el-form-item>
<el-form-item label="职称:" style="padding-right: 10px"> <el-form-item label="职称:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.title"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="学历:" style="padding-right: 10px"> <el-form-item label="学历:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.education"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="政治面貌:" style="padding-right: 10px"> <el-form-item label="政治面貌:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.appearance"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任教学科:" style="padding-right: 10px"> <el-form-item label="任教学科:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.courseName"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任教班级:" style="padding-right: 10px"> <el-form-item label="任教班级:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.className"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任正班主任班级:" style="padding-right: 10px"> <el-form-item label="任正班主任班级:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.bzrClassName"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="任副班主任班级:" style="padding-right: 10px"> <el-form-item label="任副班主任班级:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.fbzrClassName"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="是否教学组长:" style="padding-right: 10px"> <el-form-item label="是否教学组长:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.isTeachingGroupLeader"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="是否教研组长:" style="padding-right: 10px"> <el-form-item label="是否教研组长:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.isResearchGroupLeader"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="设计课时量:" style="padding-right: 10px"> <el-form-item label="设计课时量:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.classHour"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="班主任情况:" style="padding-right: 10px"> <el-form-item label="班主任情况:" style="padding-right: 10px">
<el-input <el-input
:readonly="check == true ? true : false" :readonly="check == true ? true : false"
v-model="dialogForm.name" v-model="dialogForm.classTeacherDetails"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -299,6 +343,7 @@ ...@@ -299,6 +343,7 @@
type="success" type="success"
size="mini" size="mini"
style="float: right; margin-right: 50px; margin-top: 10px" style="float: right; margin-right: 50px; margin-top: 10px"
@click="handleExtract"
>提 取 >提 取
</el-button> </el-button>
</div> </div>
...@@ -311,13 +356,29 @@ ...@@ -311,13 +356,29 @@
<el-table :data="tableFirstData" border> <el-table :data="tableFirstData" border>
<el-table-column align="center" fixed type="index" label="序号"> <el-table-column align="center" fixed type="index" label="序号">
</el-table-column> </el-table-column>
<el-table-column align="center" prop="name" label="论文名称"> <el-table-column
align="center"
prop="thesisList.thesisName"
label="论文名称"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="province" label="级别"> <el-table-column
align="center"
prop="thesisList.level"
label="级别"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="city" label="等级"> <el-table-column
align="center"
prop="thesisList.grade"
label="等级"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="发表时间"> <el-table-column
align="center"
prop="thesisList.publishTime"
label="发表时间"
>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -336,9 +397,17 @@ ...@@ -336,9 +397,17 @@
<el-table :data="tableSecondData" border> <el-table :data="tableSecondData" border>
<el-table-column align="center" fixed type="index" label="序号"> <el-table-column align="center" fixed type="index" label="序号">
</el-table-column> </el-table-column>
<el-table-column align="center" prop="name" label="名称"> <el-table-column
align="center"
prop="materialList.name"
label="名称"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="发表时间"> <el-table-column
align="center"
prop="materialList.publishTime"
label="发表时间"
>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -350,16 +419,28 @@ ...@@ -350,16 +419,28 @@
<div class="tableThird"> <div class="tableThird">
<div class="tableTitle"> <div class="tableTitle">
<i class="el-icon-data-analysis"></i> <i class="el-icon-data-analysis"></i>
<span style="margin-left: 5px">发表成就奖论文情况</span> <span style="margin-left: 5px">培训情况</span>
</div> </div>
<el-table :data="tableThirdData" border> <el-table :data="tableThirdData" border>
<el-table-column align="center" fixed type="index" label="序号"> <el-table-column align="center" fixed type="index" label="序号">
</el-table-column> </el-table-column>
<el-table-column align="center" prop="name" label="培训时间"> <el-table-column
align="center"
prop="trainingList.trainingTime"
label="培训时间"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="培训名称"> <el-table-column
align="center"
prop="trainingList.trainingName"
label="培训名称"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="是否合格"> <el-table-column
align="center"
prop="trainingList.isQualified"
label="是否合格"
>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -371,18 +452,34 @@ ...@@ -371,18 +452,34 @@
<div class="tableForth"> <div class="tableForth">
<div class="tableTitle"> <div class="tableTitle">
<i class="el-icon-trophy"></i> <i class="el-icon-trophy"></i>
<span style="margin-left: 5px">发表成就奖论文情况</span> <span style="margin-left: 5px">业务获奖情况</span>
</div> </div>
<el-table :data="tableForthData" border> <el-table :data="tableForthData" border>
<el-table-column align="center" fixed type="index" label="序号"> <el-table-column align="center" fixed type="index" label="序号">
</el-table-column> </el-table-column>
<el-table-column align="center" prop="name" label="获奖名称"> <el-table-column
align="center"
prop="awardList.awardName"
label="获奖名称"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="获奖时间"> <el-table-column
align="center"
prop="awardList.awardTime"
label="获奖时间"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="获奖等级"> <el-table-column
align="center"
prop="awardList.gradeOfAward"
label="获奖等级"
>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="address" label="发证机关"> <el-table-column
align="center"
prop="awardList.licenseIssuingAuthority"
label="发证机关"
>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -418,11 +515,14 @@ import { ...@@ -418,11 +515,14 @@ import {
fileSubReview, //教师档案提交审核 fileSubReview, //教师档案提交审核
fileSubApproved, //教师档案提交通过 fileSubApproved, //教师档案提交通过
fileSubRejected, //教师档案提交驳回 fileSubRejected, //教师档案提交驳回
getGradeTnfo, //级部列表查询
} from "@/api/smartSchool/teacherFiles/teacherElectronicFile"; } from "@/api/smartSchool/teacherFiles/teacherElectronicFile";
export default { export default {
name: "gradeElectronicRecord", name: "gradeElectronicRecord",
data() { data() {
return { return {
completedCount: "", //填写
confirmedCount: "", //确认
listTeacherInfo: [], listTeacherInfo: [],
// 遮罩层 // 遮罩层
loading: true, loading: true,
...@@ -432,7 +532,7 @@ export default { ...@@ -432,7 +532,7 @@ export default {
pageSize: 10, pageSize: 10,
pageNum: 1, pageNum: 1,
noticeName: "", noticeName: "",
name: "", teacherName: "",
}, },
tableData: [], tableData: [],
dialogVisible: false, dialogVisible: false,
...@@ -457,8 +557,6 @@ export default { ...@@ -457,8 +557,6 @@ export default {
}; };
}, },
mounted() { mounted() {
// console.log("id", this.$route.query.id);
// console.log("status", this.status);
this.getList(); this.getList();
this.getListInfo(); this.getListInfo();
}, },
...@@ -468,31 +566,44 @@ export default { ...@@ -468,31 +566,44 @@ export default {
const params = { const params = {
pageNum: this.queryForm.pageNum, pageNum: this.queryForm.pageNum,
pageSize: this.queryForm.pageSize, pageSize: this.queryForm.pageSize,
noticeId: 2, noticeState: 2,
}; };
const codePromise = new Promise((resolve) => {
listTeacherNotice(params).then((res) => { listTeacherNotice(params).then((res) => {
console.log(res, "列表");
this.listTeacherInfo = res.rows; this.listTeacherInfo = res.rows;
console.log(this.listTeacherInfo, "this.listTeacherInfo"); resolve();
}); });
});
return codePromise;
}, },
/** 查询信息列表 */ /** 查询信息列表 */
getList() { async getList() {
this.loading = true; this.loading = true;
await this.getListInfo();
const params = { const params = {
pageNum: this.queryForm.pageNum, pageNum: this.queryForm.pageNum,
pageSize: this.queryForm.pageSize, pageSize: this.queryForm.pageSize,
gradeTeacherId: this.$store.state.user.userId, gradeTeacherId: this.$store.state.user.userId,
noticeId: 2, noticeId: this.queryForm.noticeName,
noticeName: this.queryForm.noticeName, noticeName: this.queryForm.noticeName,
name: this.queryForm.name, teacherName: this.queryForm.teacherName,
}; };
getNoticeInfo(params).then((res) => { getGradeTnfo(params).then((res) => {
console.log(params, "params"); this.tableData = res.rows;
console.log(res, "查询res"); this.total = res.total;
this.completedCount = res.rows.filter(
(item) => item.state === 3
).length;
this.confirmedCount = res.rows.filter(
(item) => item.state === 5
).length;
// console.log(this.completedCount, "this.completedCount");
// console.log(this.confirmedCount, "this.confirmedCount");
}); });
}, },
// 搜索按钮 // 搜索按钮
handleQuery() { handleQuery() {
this.queryForm.pageNum = 1; this.queryForm.pageNum = 1;
...@@ -503,45 +614,123 @@ export default { ...@@ -503,45 +614,123 @@ export default {
this.queryForm = { this.queryForm = {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
level: "", noticeName: "",
name: "", name: "",
region: "",
}; };
this.handleQuery(); this.handleQuery();
}, },
//多选 //多选
handleSelectionChange(row) { handleSelectionChange(row) {
console.log("row", row);
this.ids = row.map((item) => item.id); this.ids = row.map((item) => item.id);
console.log("this.ids", this.ids);
}, },
//是否可勾选 //是否可勾选
selectable(row, index) { selectable(row, index) {
if (row.schoolYear == "已填写,未确认") { if (row.state !== "5") {
return true; return true;
} }
}, },
//多选提交 //多选提交
handleMutiSubmit() {}, handleMutiSubmit(row) {
const ids = row.id || this.ids;
this.$modal
.confirm("是否提交该活动?")
.then(function () {
return fileSubApproved(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
this.$modal.msgSuccess("任务已提交");
})
.catch((err) => {
console.error(err);
});
},
//查看按钮 //查看按钮
handleCheck(row) { handleCheck(row, column, event) {
this.check = true; this.check = true;
this.title = "基本信息查看"; this.title = "基本信息查看";
this.dialogVisible = true; this.dialogVisible = true;
this.dialogForm = { ...row }; //Vue深拷贝
}, },
//修改按钮 //修改按钮
handleEdit(row) { handleEdit(row) {
this.check = false; this.check = false;
this.title = "基本信息修改"; this.title = "基本信息修改";
this.dialogVisible = true; this.dialogVisible = true;
// this.dialogForm = row;
this.dialogForm = JSON.parse(JSON.stringify(row));
}, },
//提交按钮 //提交按钮
handleSubmit(row) {}, handleSubmit(row) {
const ids = row.id || this.ids;
this.$modal
.confirm("是否提交该活动?")
.then(function () {
return fileSubRejected(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
this.$modal.msgSuccess("任务已提交");
})
.catch((err) => {
console.error(err);
});
},
//驳回按钮 //驳回按钮
handleReject(row) {}, handleReject(row) {
const ids = row.id || this.ids;
this.$modal
.confirm("是否提交该活动?")
.then(function () {
return fileSubApproved(ids);
console.log(row, "提交按钮");
})
.then(() => {
this.getList();
this.$modal.msgSuccess("任务已提交");
})
.catch((err) => {
console.error(err);
});
},
// 提取 `
handleExtract() {
const id = this.form.id;
syncNotice(id).then((res) => {
this.tableFirstData = res;
this.tableSecondData = res;
this.tableThirdData = res;
this.tableForthData = res;
});
},
//弹窗确定按钮 //弹窗确定按钮
confirmDialog() { confirmDialog() {
this.dialogVisible = false; this.dialogVisible = false;
const params = {
id: this.dialogForm.id,
sex: this.dialogForm.sex,
age: this.dialogForm.age,
title: this.dialogForm.title,
education: this.dialogForm.education,
appearance: this.dialogForm.appearance,
courseName: this.dialogForm.courseName,
className: this.dialogForm.className,
bzrClassName: this.dialogForm.bzrClassName,
fbzrClassName: this.dialogForm.fbzrClassName,
isTeachingGroupLeader: this.dialogForm.isTeachingGroupLeader,
isResearchGroupLeader: this.dialogForm.isResearchGroupLeader,
classHour: this.dialogForm.classHour,
classTeacherDetails: this.dialogForm.classTeacherDetails,
state: this.dialogForm.state,
};
updateInfo(params).then((res) => {
this.form = res;
this.getList();
});
}, },
}, },
}; };
......
...@@ -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