|
@@ -15,16 +15,21 @@
|
|
|
<span>{{ studentListInfo.add }}</span>
|
|
|
</statistic-item>
|
|
|
<statistic-item>
|
|
|
+ <span>VIP&网管转化率</span>
|
|
|
+ <span>{{ studentListInfo.courseRate }}</span>
|
|
|
+ </statistic-item>
|
|
|
+ </statistic>
|
|
|
+ <!-- <statistic-item>
|
|
|
<div style="display: flex;">
|
|
|
<div>
|
|
|
<div class="newStudent"
|
|
|
style="margin-bottom:10px;"
|
|
|
v-permission="'studentRegistration/insertStudent'"
|
|
|
@click="addStudentVisible = true">新增学员</div>
|
|
|
- <!-- <div class="newStudent"
|
|
|
+ <div class="newStudent"
|
|
|
style="margin-bottom:10px;"
|
|
|
v-permission="'teamDetails/studentList/QRCode/822'"
|
|
|
- @click="onCreateQRCode">报名连接</div> -->
|
|
|
+ @click="onCreateQRCode">报名连接</div>
|
|
|
<div class="newStudent"
|
|
|
v-permission="'/studentSignin'"
|
|
|
@click="gotoSignin">点名总览</div>
|
|
@@ -36,9 +41,15 @@
|
|
|
@click="viewTimer">剩余时长明细</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </statistic-item>
|
|
|
- </statistic>
|
|
|
-
|
|
|
+ </statistic-item> -->
|
|
|
+ <div style="margin-bottom: 15px;">
|
|
|
+ <el-button type="primary" v-permission="'studentRegistration/insertStudent'"
|
|
|
+ @click="addStudentVisible = true">新增学员</el-button>
|
|
|
+ <el-button type="primary" v-permission="'/studentSignin'"
|
|
|
+ @click="gotoSignin">点名总览</el-button>
|
|
|
+ <el-button type="primary" v-permission="'studentManage/queryStudentSubTotalCourseTimes'"
|
|
|
+ @click="viewTimer">剩余时长明细</el-button>
|
|
|
+ </div>
|
|
|
<!-- 搜索类型 -->
|
|
|
<save-form
|
|
|
ref='searchForm'
|
|
@@ -122,6 +133,16 @@
|
|
|
<el-option label="否" value="0"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item prop="hasCourse">
|
|
|
+ <el-select
|
|
|
+ v-model.trim="searchForm.hasCourse"
|
|
|
+ clearable
|
|
|
+ placeholder="VIP/网管是否有课"
|
|
|
+ >
|
|
|
+ <el-option label="是" value="true"></el-option>
|
|
|
+ <el-option label="否" value="false"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button native-type="submit" type="danger">搜索</el-button>
|
|
|
<el-button type="primary" native-type="reset">重置</el-button>
|
|
@@ -221,6 +242,11 @@
|
|
|
<div>{{ scope.row.isActive ? "是" : "否" }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="VIP/网管是否有课">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ scope.row.hasCourse ? "是" : "否" }}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column align="center" label="欠费金额(元)">
|
|
|
<template slot-scope="scope">
|
|
|
<div :class="[scope.row.noPaymentAmount > 0 ? 'error' : null]">{{ scope.row.noPaymentAmount | moneyFormat }}
|
|
@@ -684,6 +710,7 @@ export default {
|
|
|
search: "",
|
|
|
isActive: "",
|
|
|
classGroupId: null,
|
|
|
+ hasCourse: null
|
|
|
},
|
|
|
organizationCourseUnitPriceSettings: [],
|
|
|
quitForm: {
|
|
@@ -710,6 +737,7 @@ export default {
|
|
|
add: "",
|
|
|
quit: "",
|
|
|
studying: "",
|
|
|
+ courseRate: "",
|
|
|
},
|
|
|
signList: [],
|
|
|
mixList: [],
|
|
@@ -852,9 +880,9 @@ export default {
|
|
|
return template[val];
|
|
|
},
|
|
|
},
|
|
|
- activated() {
|
|
|
- this.init();
|
|
|
- },
|
|
|
+ // activated() {
|
|
|
+ // this.init();
|
|
|
+ // },
|
|
|
async mounted() {
|
|
|
try {
|
|
|
const res = await getOrganizationCourseUnitPriceSettings({
|
|
@@ -969,6 +997,7 @@ export default {
|
|
|
search: this.searchForm.search || null,
|
|
|
isActive: this.searchForm.isActive || null,
|
|
|
classGroupId: this.searchForm.classGroupId || null,
|
|
|
+ hasCourse: this.searchForm.hasCourse || null
|
|
|
};
|
|
|
const options = {
|
|
|
method: "get",
|
|
@@ -1043,6 +1072,7 @@ export default {
|
|
|
search: this.searchForm.search || null,
|
|
|
isActive: this.searchForm.isActive || null,
|
|
|
classGroupId: this.searchForm.classGroupId || null,
|
|
|
+ hasCourse: this.searchForm.hasCourse || null
|
|
|
};
|
|
|
getTeamStudentList(obj).then((res) => {
|
|
|
if (res.code == 200) {
|