|  | @@ -152,7 +152,10 @@
 | 
	
		
			
				|  |  |          :visible.sync="newForecastVisible"
 | 
	
		
			
				|  |  |          width="1100px"
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  | -        <newForecastList v-if="newForecastVisible" @close="newForecastVisible = false" />
 | 
	
		
			
				|  |  | +        <newForecastList
 | 
	
		
			
				|  |  | +          v-if="newForecastVisible"
 | 
	
		
			
				|  |  | +          @close="newForecastVisible = false"
 | 
	
		
			
				|  |  | +        />
 | 
	
		
			
				|  |  |        </el-dialog>
 | 
	
		
			
				|  |  |        <el-dialog
 | 
	
		
			
				|  |  |          title="预报名名单"
 | 
	
	
		
			
				|  | @@ -256,17 +259,17 @@
 | 
	
		
			
				|  |  |              <el-option label="否" :value="0"></el-option>
 | 
	
		
			
				|  |  |            </el-select>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  | -        <!-- <el-form-item>
 | 
	
		
			
				|  |  | +        <el-form-item>
 | 
	
		
			
				|  |  |            <el-select
 | 
	
		
			
				|  |  | -            v-model.trim="searchFrom.payingStatus"
 | 
	
		
			
				|  |  | +            v-model.trim="searchFrom.noneNeedCloudTeacher"
 | 
	
		
			
				|  |  |              clearable
 | 
	
		
			
				|  |  |              filterable
 | 
	
		
			
				|  |  | -            placeholder="交易状态"
 | 
	
		
			
				|  |  | +            placeholder="是否解除限制"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  | -            <el-option label="审核中" :value="2"></el-option>
 | 
	
		
			
				|  |  | -            <el-option label="缴费中" :value="1"></el-option>
 | 
	
		
			
				|  |  | +            <el-option label="是" :value="1"></el-option>
 | 
	
		
			
				|  |  | +            <el-option label="否" :value="0"></el-option>
 | 
	
		
			
				|  |  |            </el-select>
 | 
	
		
			
				|  |  | -        </el-form-item> -->
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  |          <!-- 专业actualSubjectId 调剂isAllowAdjust 手机号name -->
 | 
	
		
			
				|  |  |          <el-form-item>
 | 
	
		
			
				|  |  |            <el-button type="danger" native-type="search">搜索</el-button>
 | 
	
	
		
			
				|  | @@ -442,6 +445,30 @@
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
		
			
				|  |  | +          <el-table-column
 | 
	
		
			
				|  |  | +            label="解除限制"
 | 
	
		
			
				|  |  | +            fixed="right"
 | 
	
		
			
				|  |  | +            prop="noneNeedCloudTeacher"
 | 
	
		
			
				|  |  | +            align="center"
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +            <template slot="header">
 | 
	
		
			
				|  |  | +              <p style="position: relative; display: flex">
 | 
	
		
			
				|  |  | +                解除限制
 | 
	
		
			
				|  |  | +                <el-tooltip placement="top" popper-class="mTooltip">
 | 
	
		
			
				|  |  | +                  <div slot="content">学员是否受到不购买云教练的缴费限制</div>
 | 
	
		
			
				|  |  | +                  <i
 | 
	
		
			
				|  |  | +                    class="el-icon-question"
 | 
	
		
			
				|  |  | +                    style="font-size: 18px; color: #f56c6c"
 | 
	
		
			
				|  |  | +                  ></i>
 | 
	
		
			
				|  |  | +                </el-tooltip>
 | 
	
		
			
				|  |  | +              </p>
 | 
	
		
			
				|  |  | +            </template>
 | 
	
		
			
				|  |  | +            <template slot-scope="scope">
 | 
	
		
			
				|  |  | +              <div>
 | 
	
		
			
				|  |  | +                {{ scope.row.noneNeedCloudTeacher == 1 ? "是" : "否" }}
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  | +            </template>
 | 
	
		
			
				|  |  | +          </el-table-column>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <el-table-column
 | 
	
		
			
				|  |  |              label="操作"
 | 
	
	
		
			
				|  | @@ -522,6 +549,15 @@
 | 
	
		
			
				|  |  |                      >更改声部</el-button
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  |                  </auth>
 | 
	
		
			
				|  |  | +                <!--  -->
 | 
	
		
			
				|  |  | +                <auth
 | 
	
		
			
				|  |  | +                  v-show="scope.row.payingStatus == 2"
 | 
	
		
			
				|  |  | +                  :auths="'studentRegistration/setNoneCloudTeacher'"
 | 
	
		
			
				|  |  | +                >
 | 
	
		
			
				|  |  | +                  <el-button type="text" @click="relieve(scope.row)"
 | 
	
		
			
				|  |  | +                    >解除预约限制</el-button
 | 
	
		
			
				|  |  | +                  >
 | 
	
		
			
				|  |  | +                </auth>
 | 
	
		
			
				|  |  |                </div>
 | 
	
		
			
				|  |  |              </template>
 | 
	
		
			
				|  |  |            </el-table-column>
 | 
	
	
		
			
				|  | @@ -897,6 +933,8 @@ import {
 | 
	
		
			
				|  |  |    getMusicGroupGradeList,
 | 
	
		
			
				|  |  |    checkCanReg,
 | 
	
		
			
				|  |  |  } from "@/api/buildTeam";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +import { setNoneCloudTeacher } from "./api";
 | 
	
		
			
				|  |  |  import mergeMusic from "./components/merge-music";
 | 
	
		
			
				|  |  |  import forecastList from "./components/forecast-list";
 | 
	
		
			
				|  |  |  import newForecastList from "./components/newForecast-list";
 | 
	
	
		
			
				|  | @@ -922,13 +960,13 @@ export default {
 | 
	
		
			
				|  |  |      mergeMusic,
 | 
	
		
			
				|  |  |      forecastList,
 | 
	
		
			
				|  |  |      visit,
 | 
	
		
			
				|  |  | -    newForecastList
 | 
	
		
			
				|  |  | +    newForecastList,
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        multipleSelection: [], //
 | 
	
		
			
				|  |  |        forecastVisible: false, // 预报名状态
 | 
	
		
			
				|  |  | -      newForecastVisible:false,
 | 
	
		
			
				|  |  | +      newForecastVisible: false,
 | 
	
		
			
				|  |  |        isEdit: false,
 | 
	
		
			
				|  |  |        rowDetail: null,
 | 
	
		
			
				|  |  |        mergeVisible: false,
 | 
	
	
		
			
				|  | @@ -947,6 +985,7 @@ export default {
 | 
	
		
			
				|  |  |          visited: "",
 | 
	
		
			
				|  |  |          hasCloudTeacher: null, // 是否购买云教练
 | 
	
		
			
				|  |  |          payingStatus: null,
 | 
	
		
			
				|  |  | +        noneNeedCloudTeacher: null,
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        quitForm: {
 | 
	
		
			
				|  |  |          // 退团信息确认
 | 
	
	
		
			
				|  | @@ -1142,6 +1181,7 @@ export default {
 | 
	
		
			
				|  |  |          visited: null,
 | 
	
		
			
				|  |  |          hasCloudTeacher: null,
 | 
	
		
			
				|  |  |          payingStatus: null,
 | 
	
		
			
				|  |  | +        noneNeedCloudTeacher: null,
 | 
	
		
			
				|  |  |        };
 | 
	
		
			
				|  |  |        this.getList();
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -1169,6 +1209,7 @@ export default {
 | 
	
		
			
				|  |  |          visited: this.searchFrom.visited || null,
 | 
	
		
			
				|  |  |          hasCloudTeacher: this.searchFrom.hasCloudTeacher,
 | 
	
		
			
				|  |  |          payingStatus: this.searchFrom.payingStatus,
 | 
	
		
			
				|  |  | +        noneNeedCloudTeacher: this.searchFrom.noneNeedCloudTeacher,
 | 
	
		
			
				|  |  |          page: this.rules.page,
 | 
	
		
			
				|  |  |          rows: this.rules.limit,
 | 
	
		
			
				|  |  |        };
 | 
	
	
		
			
				|  | @@ -1730,6 +1771,21 @@ export default {
 | 
	
		
			
				|  |  |      checkboxSelect(row) {
 | 
	
		
			
				|  |  |        return row.paymentStatus == 0;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    relieve(row) {
 | 
	
		
			
				|  |  | +      this.$confirm("操作后该学员即可不购买云教练缴费入团", "提示", {
 | 
	
		
			
				|  |  | +        confirmButtonText: "确定",
 | 
	
		
			
				|  |  | +        cancelButtonText: "取消",
 | 
	
		
			
				|  |  | +        type: "warning",
 | 
	
		
			
				|  |  | +      }).then(async () => {
 | 
	
		
			
				|  |  | +        try {
 | 
	
		
			
				|  |  | +          const res = await setNoneCloudTeacher({ id: row.id });
 | 
	
		
			
				|  |  | +          this.$message.success("解除预约成功");
 | 
	
		
			
				|  |  | +          this.getList();
 | 
	
		
			
				|  |  | +        } catch (e) {
 | 
	
		
			
				|  |  | +          console.log(e);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    watch: {
 | 
	
		
			
				|  |  |      "quitForm.isMaintenanceFee"(val) {
 |