|
@@ -13,20 +13,12 @@
|
|
|
ref="searchFrom"
|
|
|
:model="searchForm"
|
|
|
>
|
|
|
- <el-form-item prop="musicGroupSearch">
|
|
|
+ <el-form-item prop="search">
|
|
|
<el-input
|
|
|
- v-model.trim="searchForm.musicGroupSearch"
|
|
|
+ v-model.trim="searchForm.search"
|
|
|
clearable
|
|
|
@keyup.enter.native="search"
|
|
|
- placeholder="乐团名称/编号"
|
|
|
- ></el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item prop="studentSearch">
|
|
|
- <el-input
|
|
|
- v-model.trim="searchForm.studentSearch"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="search"
|
|
|
- placeholder="学员姓名/编号"
|
|
|
+ placeholder="学员编号/姓名/手机号"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="organIds">
|
|
@@ -61,7 +53,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="学员编号">
|
|
|
<template slot-scope="scope">
|
|
|
- <copy-text>{{ scope.row.studentId }}</copy-text>
|
|
|
+ <copy-text>{{ scope.row.userId }}</copy-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="学员姓名">
|
|
@@ -69,11 +61,11 @@
|
|
|
<copy-text>{{ scope.row.studentName }}</copy-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="手机号" prop="subjectName">
|
|
|
+ <el-table-column align="center" label="手机号" prop="phone">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="近两个月请假次数" prop="subjectName">
|
|
|
+ <el-table-column align="center" label="近两个月请假次数" prop="totalNum">
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="本月请假次数" prop="subjectName">
|
|
|
+ <el-table-column align="center" label="本月请假次数" prop="currentNum">
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
<template slot-scope="scope">
|
|
@@ -96,6 +88,14 @@
|
|
|
</div>
|
|
|
|
|
|
<el-dialog
|
|
|
+ title="查看"
|
|
|
+ width="1000px"
|
|
|
+ :visible.sync="leaveVisible"
|
|
|
+ append-to-body>
|
|
|
+ <student-leave-detail v-if="leaveVisible" :studentId="studentId" />
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ <el-dialog
|
|
|
title="新增回访"
|
|
|
width="500px"
|
|
|
:visible.sync="visitVisible"
|
|
@@ -116,13 +116,14 @@
|
|
|
<script>
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import visit from "@/views/withdrawal-application/modals/visit";
|
|
|
-import { queryNoClassMusicStudentInfo } from './api.js'
|
|
|
+import studentLeaveDetail from './modals/studentLeaveDetail'
|
|
|
+import { queryStudentErrorLeaveList } from './api.js'
|
|
|
export default {
|
|
|
- components: { pagination, visit },
|
|
|
+ components: { pagination, visit, studentLeaveDetail },
|
|
|
data() {
|
|
|
return {
|
|
|
searchForm: {
|
|
|
- musicGroupSearch: null,
|
|
|
+ search: null,
|
|
|
studentSearch: null,
|
|
|
organIds: null,
|
|
|
},
|
|
@@ -135,7 +136,9 @@ export default {
|
|
|
total: 0, // 总条数
|
|
|
page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
},
|
|
|
- tableList: []
|
|
|
+ tableList: [],
|
|
|
+ leaveVisible: false,
|
|
|
+ studentId: null,
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
@@ -169,7 +172,7 @@ export default {
|
|
|
page: this.pageInfo.page,
|
|
|
rows: this.pageInfo.limit
|
|
|
}
|
|
|
- let res = await queryNoClassMusicStudentInfo(params)
|
|
|
+ let res = await queryStudentErrorLeaveList(params)
|
|
|
this.tableList = res.data.rows;
|
|
|
this.pageInfo.total = res.data.total;
|
|
|
} catch (err) {
|
|
@@ -177,19 +180,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
showDetail(item) {
|
|
|
- // ?status=PROGRESS&id=21040114171500001&name=0401莫莫2&organId=1&type=resetTeam&team_status=PROGRESS&tabrouter=5
|
|
|
- this.$router.push({
|
|
|
- path: '/business/resetTeaming',
|
|
|
- query: {
|
|
|
- type: 'resetTeam',
|
|
|
- status: 'PROGRESS',
|
|
|
- team_status: 'PROGRESS',
|
|
|
- id: item.groupId,
|
|
|
- name: item.groupName,
|
|
|
- organId: item.organId,
|
|
|
- tabrouter: 5
|
|
|
- }
|
|
|
- })
|
|
|
+ this.leaveVisible = true
|
|
|
+ this.studentId = item.userId
|
|
|
}
|
|
|
},
|
|
|
};
|