Commit 8080042c by Cat

zd 教师电子档案

parent 8dcae6f5
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column align="center" type="selection"> </el-table-column> <el-table-column align="center" type="selection"> </el-table-column>
<el-table-column align="center" label="级部" prop="gid"> <el-table-column align="center" label="级部" prop="gruoName">
</el-table-column> </el-table-column>
<el-table-column align="center" prop="userName" label="姓名"> <el-table-column align="center" prop="userName" label="姓名">
</el-table-column> </el-table-column>
...@@ -193,7 +193,6 @@ export default { ...@@ -193,7 +193,6 @@ export default {
single: true, single: true,
// 非多个禁用 // 非多个禁用
multiple: true, multiple: true,
selectedRows: [],
}; };
}, },
mounted() { mounted() {
...@@ -204,12 +203,14 @@ export default { ...@@ -204,12 +203,14 @@ export default {
handleSecher() { handleSecher() {
const tid = this.$route.query.noticeId; const tid = this.$route.query.noticeId;
getTeaList(tid).then((res) => { getTeaList(tid).then((res) => {
console.log(res, 333333333333);
this.dialogTableData = res.data; this.dialogTableData = res.data;
}); });
}, },
//弹窗确定按钮 //弹窗确定按钮
confirmDialog() { confirmDialog() {
// const ids = this.selectedRows.map((row) => parseInt(row.id));
const ids = this.selectedRows.map((row) => parseInt(row.id)); const ids = this.selectedRows.map((row) => parseInt(row.id));
// dialogVisible = false // dialogVisible = false
addTeachaer(ids).then((res) => { addTeachaer(ids).then((res) => {
......
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