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