|
@@ -19,127 +19,175 @@
|
|
|
<span>{{ studentListInfo.courseRate }}</span>
|
|
|
</statistic-item>
|
|
|
</statistic> -->
|
|
|
- <div class="topFunction">
|
|
|
+
|
|
|
+ <!-- style="margin-bottom: 15px" -->
|
|
|
+ <div class="studentListWrap" v-if="team_status == 'PROGRESS'">
|
|
|
<div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- "
|
|
|
- v-if="
|
|
|
- team_status == 'PAY' ||
|
|
|
- team_status == 'APPLY' ||
|
|
|
- team_status == 'PROGRESS' ||
|
|
|
- team_status == 'PREPARE'
|
|
|
- "
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'studentRegistration/insertStudent'"
|
|
|
+ @click="createStudentFrom"
|
|
|
>
|
|
|
- <!-- <h2> -->
|
|
|
- <!-- + '报名详情' -->
|
|
|
- <!-- <el-page-header @back="onCancel" :content="teamName">
|
|
|
+ 新增学员
|
|
|
+ </div>
|
|
|
+ <!-- 可以直接去学生考勤查看 -->
|
|
|
+ <!-- <el-button type="primary" v-permission="'/studentSignin'"
|
|
|
+ @click="gotoSignin">点名总览</el-button> -->
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'studentManage/queryStudentSubTotalCourseTimes'"
|
|
|
+ @click="viewTimer"
|
|
|
+ style="margin-right: 15px"
|
|
|
+ >
|
|
|
+ 剩余时长明细
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="display: flex; justify-content: space-between; align-items: center"
|
|
|
+ v-if="
|
|
|
+ team_status == 'PAY' ||
|
|
|
+ team_status == 'APPLY' ||
|
|
|
+ team_status == 'PROGRESS' ||
|
|
|
+ team_status == 'PREPARE'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <!-- <h2> -->
|
|
|
+ <!-- + '报名详情' -->
|
|
|
+ <!-- <el-page-header @back="onCancel" :content="teamName">
|
|
|
</el-page-header> -->
|
|
|
- <!-- </h2> -->
|
|
|
+ <!-- </h2> -->
|
|
|
|
|
|
- <div
|
|
|
- class="btnList"
|
|
|
- style="margin-bottom: 15px; font-size: 18px; font-weight: 400"
|
|
|
- >
|
|
|
- <!-- <div class='newBand close'
|
|
|
+ <div
|
|
|
+ class="btnList"
|
|
|
+ style="margin-bottom: 15px; font-size: 18px; font-weight: 400"
|
|
|
+ >
|
|
|
+ <!-- <div class='newBand close'
|
|
|
v-permission="'musicGroup/cancelMusicGroup'"
|
|
|
@click="onClose">停止乐团</div> v-show="status == 'APPLY'"-->
|
|
|
- <div
|
|
|
- class="newBand"
|
|
|
- @click="payStart"
|
|
|
- v-permission="'musicGroup/openPay'"
|
|
|
- v-if="team_status == 'APPLY'"
|
|
|
- >
|
|
|
- 开始缴费
|
|
|
- </div>
|
|
|
- <!-- v-show="status=='PAY'" -->
|
|
|
- <div
|
|
|
- class="newBand"
|
|
|
- v-permission="'musicGroup/found'"
|
|
|
- @click="onGoHome"
|
|
|
- v-if="team_status == 'APPLY' || team_status == 'PAY'"
|
|
|
- >
|
|
|
- 确认开团
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="newBand"
|
|
|
- v-permission="'musicGroup/extensionPayment'"
|
|
|
- @click="extendTime(true)"
|
|
|
- v-show="
|
|
|
- team_status == 'PAY' ||
|
|
|
- team_status == 'PROGRESS' ||
|
|
|
- team_status == 'PREPARE'
|
|
|
- "
|
|
|
- >
|
|
|
- 延长缴费
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="newBand"
|
|
|
- v-permission="'musicGroup/extensionApplyExpireDate'"
|
|
|
- @click="extendTime(false)"
|
|
|
- v-show="
|
|
|
- team_status == 'PAY' ||
|
|
|
- team_status == 'APPLY' ||
|
|
|
- team_status == 'PROGRESS' ||
|
|
|
- team_status == 'PREPARE'
|
|
|
- "
|
|
|
- >
|
|
|
- 延长报名
|
|
|
- </div>
|
|
|
- <div class="newBand" @click="onCreateQRCode('payment')">报名链接</div>
|
|
|
- <div class="newBand" @click="onCreateQRCode('rePayment')">
|
|
|
- 报名链接(无乐器)
|
|
|
- </div>
|
|
|
- <div class="newBand" @click="onCreateQRCode('detail')">
|
|
|
- 报名缴费详情
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="newBand"
|
|
|
- v-permission="'musicGroup/addMusicGroupRegs'"
|
|
|
- @click="mergeVisible = true"
|
|
|
- v-show="team_status == 'PAY' || team_status == 'APPLY'"
|
|
|
- >
|
|
|
- 合并学员
|
|
|
- </div>
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ @click="payStart"
|
|
|
+ v-permission="'musicGroup/openPay'"
|
|
|
+ v-if="team_status == 'APPLY'"
|
|
|
+ >
|
|
|
+ 开始缴费
|
|
|
</div>
|
|
|
- <p
|
|
|
- style="margin-bottom: 15px; font-size: 18px; font-weight: 400"
|
|
|
- v-if="
|
|
|
+ <!-- v-show="status=='PAY'" -->
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'musicGroup/found'"
|
|
|
+ @click="onGoHome"
|
|
|
+ v-if="team_status == 'APPLY' || team_status == 'PAY'"
|
|
|
+ >
|
|
|
+ 确认开团
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'musicGroup/extensionPayment'"
|
|
|
+ @click="extendTime(true)"
|
|
|
+ v-show="
|
|
|
+ team_status == 'PAY' ||
|
|
|
+ team_status == 'PROGRESS' ||
|
|
|
+ team_status == 'PREPARE'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 延长缴费
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'musicGroup/extensionApplyExpireDate'"
|
|
|
+ @click="extendTime(false)"
|
|
|
+ v-show="
|
|
|
team_status == 'PAY' ||
|
|
|
+ team_status == 'APPLY' ||
|
|
|
team_status == 'PROGRESS' ||
|
|
|
team_status == 'PREPARE'
|
|
|
"
|
|
|
>
|
|
|
- 报名截止时间:{{ applyExpireDate | formatTimer }} 缴费截止时间:{{
|
|
|
- paymentExpireDate | formatTimer
|
|
|
- }}
|
|
|
- </p>
|
|
|
+ 延长报名
|
|
|
+ </div>
|
|
|
+ <div class="newBand" @click="onCreateQRCode('payment')">报名链接</div>
|
|
|
+ <div class="newBand" @click="onCreateQRCode('rePayment')">
|
|
|
+ 报名链接(无乐器)
|
|
|
+ </div>
|
|
|
+ <div class="newBand" @click="onCreateQRCode('detail')">
|
|
|
+ 报名缴费详情
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ v-permission="'musicGroup/addMusicGroupRegs'"
|
|
|
+ @click="mergeVisible = true"
|
|
|
+ v-show="team_status == 'PAY' || team_status == 'APPLY'"
|
|
|
+ >
|
|
|
+ 合并学员
|
|
|
+ </div>
|
|
|
+ <el-popover placement="bottom" width="800" trigger="hover">
|
|
|
+ <div>
|
|
|
+ <el-table
|
|
|
+ style="width: 100% !important"
|
|
|
+ :data="leftList"
|
|
|
+ :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
+ >
|
|
|
+ <el-table-column
|
|
|
+ label="乐团声部"
|
|
|
+ prop="subjectName"
|
|
|
+ align="center"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="计划招生"
|
|
|
+ prop="expectedStudentNum"
|
|
|
+ align="center"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ <p v-show="!isEdit">{{ scope.row.expectedStudentNum }}</p>
|
|
|
+
|
|
|
+ <el-input
|
|
|
+ v-show="isEdit"
|
|
|
+ v-model.trim="scope.row.expectedStudentNum"
|
|
|
+ ></el-input>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="已报名"
|
|
|
+ prop="applyStudentNum"
|
|
|
+ align="center"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="已缴费" prop="payNum" align="center">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div
|
|
|
+ class="btnWrap"
|
|
|
+ v-permission="'musicGroup/updateExpectedStudentNum'"
|
|
|
+ style="margin-right: 20px; margin-top: 20px"
|
|
|
+ >
|
|
|
+ <el-button v-show="!isEdit" @click="isEdit = true"
|
|
|
+ >编辑</el-button
|
|
|
+ >
|
|
|
+ <el-button v-show="isEdit" @click="saveIsEdit">保存</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="newBand" style="margin-bottom: 10px" slot="reference">
|
|
|
+ 声部报名计划
|
|
|
+ </div>
|
|
|
+ </el-popover>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style="margin-bottom: 15px"
|
|
|
- class="studentListWrap"
|
|
|
- v-if="team_status == 'PROGRESS'"
|
|
|
- >
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- v-permission="'studentRegistration/insertStudent'"
|
|
|
- @click="createStudentFrom"
|
|
|
- >新增学员</el-button
|
|
|
- >
|
|
|
- <!-- 可以直接去学生考勤查看 -->
|
|
|
- <!-- <el-button type="primary" v-permission="'/studentSignin'"
|
|
|
- @click="gotoSignin">点名总览</el-button> -->
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- v-permission="'studentManage/queryStudentSubTotalCourseTimes'"
|
|
|
- @click="viewTimer"
|
|
|
- style="margin-right: 15px"
|
|
|
- >剩余时长明细</el-button
|
|
|
+ <p
|
|
|
+ style="margin-bottom: 15px; font-size: 18px; font-weight: 400"
|
|
|
+ v-if="
|
|
|
+ team_status == 'PAY' ||
|
|
|
+ team_status == 'PROGRESS' ||
|
|
|
+ team_status == 'PREPARE'
|
|
|
+ "
|
|
|
>
|
|
|
+ 报名截止时间:{{ applyExpireDate | formatTimer }} 缴费截止时间:{{
|
|
|
+ paymentExpireDate | formatTimer
|
|
|
+ }}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
+ <!-- -->
|
|
|
<!-- 搜索类型 -->
|
|
|
<save-form
|
|
|
ref="searchForm"
|
|
@@ -308,7 +356,14 @@
|
|
|
>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
-
|
|
|
+ <div style="font-size: 14px; color: #f85043; padding-bottom: 10px">
|
|
|
+ 在读人数:{{ studentListInfo.studying
|
|
|
+ }}<i style="width: 10px; display: inline-block"></i> 退团人数:{{
|
|
|
+ studentListInfo.quit
|
|
|
+ }}<i style="width: 10px; display: inline-block"></i> VIP&网管转化率:{{
|
|
|
+ studentListInfo.courseRate
|
|
|
+ }}<i style="width: 10px; display: inline-block"></i>
|
|
|
+ </div>
|
|
|
<!-- 列表 -->
|
|
|
<div class="tableWrap">
|
|
|
<el-table
|
|
@@ -356,7 +411,14 @@
|
|
|
<div>{{ scope.row.currentGrade + scope.row.currentClass }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" label="专业" prop="subjectName">
|
|
|
+ <el-table-column align="center" label="报名专业" prop="subjectName">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <copy-text>
|
|
|
+ {{ scope.row.regSubjectName }}
|
|
|
+ </copy-text>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center" label="入团专业" prop="subjectName">
|
|
|
<template slot-scope="scope">
|
|
|
<copy-text>
|
|
|
{{ scope.row.subjectName }}
|
|
@@ -923,6 +985,81 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<qr-code v-model="codeStatus" :title="codeTitle" :codeUrl="qrCodeUrl" />
|
|
|
+ <el-dialog
|
|
|
+ title="更改声部"
|
|
|
+ :visible.sync="changeVoiceVisible"
|
|
|
+ @close="closeChangeVoice"
|
|
|
+ :destroy-on-close="true"
|
|
|
+ width="600px"
|
|
|
+ >
|
|
|
+ <changeVoice
|
|
|
+ @close="closeChangeVoice"
|
|
|
+ @submited="getList"
|
|
|
+ :detail.sync="rowDetail"
|
|
|
+ :musicGroupId="teamid"
|
|
|
+ :voiceList="leftList"
|
|
|
+ />
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="订单详情" :visible.sync="orderVisible" width="600px" v-if="orderVisible">
|
|
|
+ <el-form :model="orderForm" :inline="true">
|
|
|
+ <!-- name: '',
|
|
|
+ totalAmount: '',
|
|
|
+ subject: '',
|
|
|
+ subjectFee: '',
|
|
|
+ axe: '',
|
|
|
+ axePrice: '',
|
|
|
+ others: '',
|
|
|
+ othersPrice: '' -->
|
|
|
+ <el-form-item label="学员姓名">
|
|
|
+ <el-input v-model.trim="orderForm.name" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="实缴金额">
|
|
|
+ <el-input v-model.trim="orderForm.totalAmount" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="实际专业">
|
|
|
+ <el-input v-model.trim="orderForm.subject" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="课程费用">
|
|
|
+ <el-input v-model.trim="orderForm.subjectFee" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="选择乐器">
|
|
|
+ <el-input v-model.trim="orderForm.axe" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="乐器价格">
|
|
|
+ <el-input v-model.trim="orderForm.axePrice" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="教辅组合">
|
|
|
+ <el-input v-model.trim="orderForm.others" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="组合价格">
|
|
|
+ <el-input v-model.trim="orderForm.othersPrice" disabled=""></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <!-- <el-button>取 消</el-button> -->
|
|
|
+ <el-button type="primary" @click="orderVisible = false"
|
|
|
+ >确 定</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="修改专业" :visible.sync="subjectVisible" width="400px">
|
|
|
+ <el-form :model="maskSoundForm">
|
|
|
+ <el-form-item label="选择专业">
|
|
|
+ <el-select v-model.trim="maskSoundForm.subject" filterable clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in soundList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="subjectVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="okReset">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -946,11 +1083,16 @@ import {
|
|
|
extensionApplyExpire,
|
|
|
getTeamBaseInfo,
|
|
|
findUserByRole,
|
|
|
+ getintoClass,
|
|
|
+ resetPlanNum,
|
|
|
+
|
|
|
} from "@/api/buildTeam";
|
|
|
import {
|
|
|
addStudent,
|
|
|
getStudentClass,
|
|
|
getStudentInfoByPhone,
|
|
|
+ getStudentFeeDetail,
|
|
|
+ resetStudentSubject
|
|
|
} from "@/api/studentManager";
|
|
|
import qrCode from "@/components/QrCode/index";
|
|
|
import { getOrganizationCourseUnitPriceSettings } from "@/api/specialSetting";
|
|
@@ -968,6 +1110,8 @@ import TimesView from "./modals/course-time-detail";
|
|
|
import paymentCycle from "../../resetTeaming/modals/payment-cycle";
|
|
|
import paymentList from "./modals/payment-list";
|
|
|
import Tooltip from "@/components/Tooltip/index";
|
|
|
+import changeVoice from "@/views/teamBuild/modals/change-voice";
|
|
|
+//import changeVoice from "./modals/change-voice";
|
|
|
import visit from "@/views/withdrawal-application/modals/visit";
|
|
|
export default {
|
|
|
name: "tstudentList",
|
|
@@ -1173,6 +1317,25 @@ export default {
|
|
|
codeStatus: false,
|
|
|
qrCodeUrl: null,
|
|
|
codeTitle: null,
|
|
|
+ isEdit: false,
|
|
|
+ leftList: [],
|
|
|
+ changeVoiceVisible: false,
|
|
|
+ rowDetail: null,
|
|
|
+ orderVisible: false,
|
|
|
+ orderForm: {
|
|
|
+ name: "",
|
|
|
+ totalAmount: "",
|
|
|
+ subject: "",
|
|
|
+ subjectFee: "",
|
|
|
+ axe: "",
|
|
|
+ axePrice: "",
|
|
|
+ others: "",
|
|
|
+ othersPrice: "",
|
|
|
+ },
|
|
|
+ maskSoundForm:{
|
|
|
+ subject: "",
|
|
|
+ },
|
|
|
+ subjectVisible:false
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -1184,6 +1347,7 @@ export default {
|
|
|
paymentList,
|
|
|
visit,
|
|
|
qrCode,
|
|
|
+ changeVoice,
|
|
|
},
|
|
|
created() {},
|
|
|
filters: {
|
|
@@ -1256,6 +1420,12 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ getintoClass({ musicGroupId: this.teamid }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.leftList = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
// getSubject().then(res => {
|
|
|
// if (res.code == 200) {
|
|
|
// this.soundList = res.data;
|
|
@@ -2011,6 +2181,98 @@ export default {
|
|
|
vaildStudentUrl() + "/#/login?musicGroupId=" + id + "&instrument=1";
|
|
|
}
|
|
|
},
|
|
|
+ saveIsEdit() {
|
|
|
+ // 提交数据
|
|
|
+ this.isEdit = false;
|
|
|
+ resetPlanNum(this.leftList).then((res) => {});
|
|
|
+ },
|
|
|
+ openChangeVoice(row) {
|
|
|
+ console.log(row);
|
|
|
+ // this.getList().then((res) => {
|
|
|
+ // for (const item of res.data.rows) {
|
|
|
+ // if (item.id === row.id) {
|
|
|
+ // this.rowDetail = { ...item };
|
|
|
+ // this.changeVoiceVisible = true;
|
|
|
+ // console.log( this.rowDetail)
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ this.rowDetail = { ...row, studentId: row.userId };
|
|
|
+ this.changeVoiceVisible = true;
|
|
|
+ },
|
|
|
+ closeChangeVoice() {
|
|
|
+ this.changeVoiceVisible = false;
|
|
|
+ // this.rowDetail = null
|
|
|
+ },
|
|
|
+ lookdetail(row) {
|
|
|
+ this.orderVisible = true;
|
|
|
+ this.activeId = row.userId;
|
|
|
+ this.orderForm.name = row.realName;
|
|
|
+ this.orderForm.subject = row.subjectName;
|
|
|
+ getStudentFeeDetail({
|
|
|
+ musicGroupId: this.teamid,
|
|
|
+ studentId: row.userId,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ if (res.data) {
|
|
|
+ this.orderForm.totalAmount = res.data.totalAmount;
|
|
|
+ // this.orderForm.subjectFee = res.data.courseFee;
|
|
|
+ let goodStr = "";
|
|
|
+ let goodPrice = 0;
|
|
|
+ let otherStr = "";
|
|
|
+ let othersPrice = 0;
|
|
|
+ for (let i in res.data.goods) {
|
|
|
+ if (res.data.goods[i].goodsType == "INSTRUMENT") {
|
|
|
+ goodStr += res.data.goods[i].goodsName + ",";
|
|
|
+ goodPrice += parseFloat(res.data.goods[i].musicalFee);
|
|
|
+ // this.orderForm.axe = res.data.goods[i].goodsName;
|
|
|
+ // this.orderForm.axePrice = res.data.goods[i].musicalFee;
|
|
|
+ } else if (res.data.goods[i].goodsType == "ACCESSORIES") {
|
|
|
+ otherStr += res.data.goods[i].goodsName + ",";
|
|
|
+ othersPrice += parseFloat(res.data.goods[i].musicalFee);
|
|
|
+ // this.orderForm.others = res.data.goods[i].goodsName;
|
|
|
+ // this.orderForm.othersPrice = res.data.goods[i].musicalFee;
|
|
|
+ } else if (res.data.goods[i].goodsType == "COURSE") {
|
|
|
+ this.orderForm.subjectFee = res.data.goods[i].musicalFee;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.orderForm.others = otherStr.substring(0, otherStr.length - 1);
|
|
|
+ this.orderForm.othersPrice = othersPrice;
|
|
|
+ this.orderForm.axe = goodStr.substring(0, goodStr.length - 1);
|
|
|
+ this.orderForm.axePrice = goodPrice;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 修改专业
|
|
|
+ resetSubject(row) {
|
|
|
+ this.activeId = row.userId;
|
|
|
+ this.subjectVisible = true;
|
|
|
+ // resetStudentSubject().then(res=>{]})
|
|
|
+ },
|
|
|
+ okReset() {
|
|
|
+ if (!this.maskSoundForm.subject) {
|
|
|
+ this.$message.error("请选择调剂专业");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ resetStudentSubject({
|
|
|
+ musicGroupId: this.teamid,
|
|
|
+ userId: this.activeId,
|
|
|
+ subId: this.maskSoundForm.subject,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("修改成功");
|
|
|
+ this.subjectVisible = false;
|
|
|
+ this.maskForm.subject = "";
|
|
|
+ getintoClass({ musicGroupId: this.id }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.leftList = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
quitVisible(val) {
|
|
@@ -2178,8 +2440,10 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-start;
|
|
|
- height: 36px;
|
|
|
align-items: center;
|
|
|
+ div {
|
|
|
+ margin-right: 15px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.btnList {
|