|
@@ -4,25 +4,25 @@
|
|
<el-page-header @back="onCancel" :content="teamName"></el-page-header>
|
|
<el-page-header @back="onCancel" :content="teamName"></el-page-header>
|
|
</h2>
|
|
</h2>
|
|
|
|
|
|
- <p style="margin-bottom: 15px; font-size: 18px; font-weight: 400">
|
|
|
|
|
|
+ <!-- <p style="margin-bottom: 15px; font-size: 18px; font-weight: 400">
|
|
缴费截止时间:{{ '2020-12-12' | formatTimer }}
|
|
缴费截止时间:{{ '2020-12-12' | formatTimer }}
|
|
- </p>
|
|
|
|
|
|
+ </p> -->
|
|
|
|
|
|
<div class="btnList">
|
|
<div class="btnList">
|
|
<auth :auths="['/main']">
|
|
<auth :auths="['/main']">
|
|
<el-button type="primary" @click="codeStatus = true">预报名链接</el-button>
|
|
<el-button type="primary" @click="codeStatus = true">预报名链接</el-button>
|
|
</auth>
|
|
</auth>
|
|
- <auth>
|
|
|
|
|
|
+ <!-- <auth>
|
|
<el-button type="primary" @click="extendPaymentStatus = true">预报名时间延长</el-button>
|
|
<el-button type="primary" @click="extendPaymentStatus = true">预报名时间延长</el-button>
|
|
- </auth>
|
|
|
|
|
|
+ </auth> -->
|
|
<auth>
|
|
<auth>
|
|
- <el-button type="primary">家长会通知</el-button></el-button>
|
|
|
|
|
|
+ <el-button type="primary">家长会通知</el-button>
|
|
</auth>
|
|
</auth>
|
|
- <auth>
|
|
|
|
- <el-button type="primary">乐团缴费</el-button>
|
|
|
|
|
|
+ <auth :auths="['musicGroup/finishPreApply']">
|
|
|
|
+ <el-button type="primary" @click="onPaymentGroup">乐团缴费</el-button>
|
|
</auth>
|
|
</auth>
|
|
- <auth>
|
|
|
|
- <el-button type="primary">特色乐团缴费</el-button>
|
|
|
|
|
|
+ <auth :auths="['musicGroup/finishPreApply/item']">
|
|
|
|
+ <el-button type="primary" @click="onPaymentGroup(1)">特色乐团缴费</el-button>
|
|
</auth>
|
|
</auth>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -36,47 +36,25 @@
|
|
>
|
|
>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-input
|
|
<el-input
|
|
- v-model.trim="searchForm.search"
|
|
|
|
|
|
+ v-model.trim="searchForm.name"
|
|
clearable
|
|
clearable
|
|
@keyup.enter.native="search"
|
|
@keyup.enter.native="search"
|
|
placeholder="学生编号/姓名/手机号"
|
|
placeholder="学生编号/姓名/手机号"
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item prop="organId">
|
|
|
|
|
|
+ <el-form-item prop="isAllowAdjust">
|
|
<el-select
|
|
<el-select
|
|
- class="multiple"
|
|
|
|
- v-model.trim="searchForm.organId"
|
|
|
|
- filterable
|
|
|
|
|
|
+ v-model.trim="searchForm.isAllowAdjust"
|
|
clearable
|
|
clearable
|
|
- placeholder="学员状态"
|
|
|
|
|
|
+ placeholder="是否允许调剂"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="(item, index) in selects.branchs"
|
|
|
|
- :key="index"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-option label="是" :value="1"></el-option>
|
|
|
|
+ <el-option label="否" :value="0"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
- <el-input
|
|
|
|
- v-model.trim="searchForm.search"
|
|
|
|
- clearable
|
|
|
|
- @keyup.enter.native="search"
|
|
|
|
- placeholder="学生编号/姓名/手机号"
|
|
|
|
- ></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item>
|
|
|
|
- <el-select
|
|
|
|
- placeholder="所选专业"
|
|
|
|
- v-model="searchForm.statusEnum"
|
|
|
|
- clearable
|
|
|
|
- >
|
|
|
|
- <el-option label="待处理" value="PENDING"></el-option>
|
|
|
|
- <el-option label="已完成" value="DONE"></el-option>
|
|
|
|
- <el-option label="已同意" value="AGREED"></el-option>
|
|
|
|
- <el-option label="已拒绝" value="DENIED"></el-option>
|
|
|
|
- <el-option label="已撤回" value="WITHDRAWN"></el-option>
|
|
|
|
|
|
+ <el-select clearable v-model="searchForm.subjectId" placeholder="所选专业">
|
|
|
|
+ <el-option v-for="item in selects.subjects" :value="item.id" :label="item.name" :key="item.id"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
@@ -92,54 +70,72 @@
|
|
>
|
|
>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="organName"
|
|
|
|
|
|
+ prop="userId"
|
|
label="学员编号"
|
|
label="学员编号"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <copy-text>{{ scope.row.userId }}</copy-text>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="teacherId"
|
|
|
|
|
|
+ prop="userName"
|
|
label="学员姓名"
|
|
label="学员姓名"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
|
|
+ prop="gender"
|
|
label="性别"
|
|
label="性别"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.gender ? '男' : '女' }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
|
|
+ prop="phone"
|
|
label="联系电话"
|
|
label="联系电话"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <copy-text>{{ scope.row.phone }}</copy-text>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
label="年级班级"
|
|
label="年级班级"
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- prop="realName"
|
|
|
|
- label="乐团意向"
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.currentGrade }}{{ scope.row.currentClass }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
|
|
+ prop="subjectFirstName"
|
|
label="选报声部1"
|
|
label="选报声部1"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
|
|
+ prop="subjectSecondName"
|
|
label="选报声部2"
|
|
label="选报声部2"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
- prop="realName"
|
|
|
|
|
|
+ prop="isAllowAdjust"
|
|
label="是否服从调剂"
|
|
label="是否服从调剂"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.isAllowAdjust ? '是' : '否' }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
prop="realName"
|
|
prop="realName"
|
|
label="乐器准备方式"
|
|
label="乐器准备方式"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ {{ scope.row.kitPurchaseMethod == 1 ? '参与团购' : '自行准备' }}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
prop="courseScheduleId"
|
|
prop="courseScheduleId"
|
|
@@ -147,11 +143,12 @@
|
|
label="操作"
|
|
label="操作"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button
|
|
|
|
|
|
+ <auth :auths="['visit/add']" :router="['/business/forecastName']">
|
|
|
|
+ <el-button
|
|
type="text"
|
|
type="text"
|
|
@click="addVisited(scope.row)"
|
|
@click="addVisited(scope.row)"
|
|
- v-if="permission('teacherSalaryComplaints/complaintsDispose')"
|
|
|
|
>新增回访</el-button>
|
|
>新增回访</el-button>
|
|
|
|
+ </auth>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -169,7 +166,7 @@
|
|
<!-- 预报名连接 -->
|
|
<!-- 预报名连接 -->
|
|
<qr-code v-model="codeStatus" title="预报名二维码" :codeUrl="codeUrl" />
|
|
<qr-code v-model="codeStatus" title="预报名二维码" :codeUrl="codeUrl" />
|
|
<!-- 预报名时间延长 -->
|
|
<!-- 预报名时间延长 -->
|
|
- <el-dialog
|
|
|
|
|
|
+ <!-- <el-dialog
|
|
title="预报名时间延长"
|
|
title="预报名时间延长"
|
|
:visible.sync="extendPaymentStatus"
|
|
:visible.sync="extendPaymentStatus"
|
|
destroy-on-close
|
|
destroy-on-close
|
|
@@ -194,7 +191,7 @@
|
|
@click="onExtendPayment('extendForm')"
|
|
@click="onExtendPayment('extendForm')"
|
|
>确 定</el-button>
|
|
>确 定</el-button>
|
|
</div>
|
|
</div>
|
|
- </el-dialog>
|
|
|
|
|
|
+ </el-dialog> -->
|
|
<!-- 回访记录 -->
|
|
<!-- 回访记录 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
title="新增回访"
|
|
title="新增回访"
|
|
@@ -203,7 +200,7 @@
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
:visible.sync="visitVisible"
|
|
:visible.sync="visitVisible"
|
|
>
|
|
>
|
|
- <visit-model v-if="visitVisible" :visitDetail="visitDetail" />
|
|
|
|
|
|
+ <visit-model v-if="visitVisible" @close="visitVisible = false" :visitDetail="visitDetail" />
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -212,22 +209,23 @@
|
|
import pagination from "@/components/Pagination/index";
|
|
import pagination from "@/components/Pagination/index";
|
|
import qrCode from '@/components/QrCode/index';
|
|
import qrCode from '@/components/QrCode/index';
|
|
import { permission } from "@/utils/directivePage";
|
|
import { permission } from "@/utils/directivePage";
|
|
|
|
+import { vaildStudentUrl } from '@/utils/validate'
|
|
import visitModel from './modals/visit'
|
|
import visitModel from './modals/visit'
|
|
|
|
+import { queryPreApplyList, finishPreApply } from './api'
|
|
export default {
|
|
export default {
|
|
name: 'forecastName',
|
|
name: 'forecastName',
|
|
- components: { pagination, qrCode },
|
|
|
|
|
|
+ components: { pagination, qrCode, visitModel },
|
|
data() {
|
|
data() {
|
|
const query = this.$route.query
|
|
const query = this.$route.query
|
|
return {
|
|
return {
|
|
teamName: query.name || null,
|
|
teamName: query.name || null,
|
|
codeStatus: false,
|
|
codeStatus: false,
|
|
- codeUrl: null,
|
|
|
|
|
|
+ musicGroupId: query.id,
|
|
|
|
+ codeUrl: vaildStudentUrl() + '/project/forecastName/index.html?musicGroupId=' + query.id,
|
|
searchForm: {
|
|
searchForm: {
|
|
- search: null,
|
|
|
|
- salarySettlementMonth: null,
|
|
|
|
- statusEnum: null,
|
|
|
|
- teacherId: null,
|
|
|
|
- organId: null,
|
|
|
|
|
|
+ name: null,
|
|
|
|
+ subjectId: null,
|
|
|
|
+ isAllowAdjust: null,
|
|
},
|
|
},
|
|
tableList: [],
|
|
tableList: [],
|
|
pageInfo: {
|
|
pageInfo: {
|
|
@@ -251,7 +249,8 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.codeUrl = 'http://www.baidu.com'
|
|
|
|
|
|
+ this.$store.dispatch('setSubjects')
|
|
|
|
+ this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
permission,
|
|
permission,
|
|
@@ -266,13 +265,43 @@ export default {
|
|
onCancel() {
|
|
onCancel() {
|
|
this.$router.push({ path: "/business/teamDetail" });
|
|
this.$router.push({ path: "/business/teamDetail" });
|
|
},
|
|
},
|
|
- getList() {
|
|
|
|
-
|
|
|
|
|
|
+ async getList() {
|
|
|
|
+ try {
|
|
|
|
+ const result = await queryPreApplyList({
|
|
|
|
+ ...this.searchForm,
|
|
|
|
+ page: this.pageInfo.page,
|
|
|
|
+ rows: this.pageInfo.limit
|
|
|
|
+ })
|
|
|
|
+ this.tableList = result.data.rows
|
|
|
|
+ this.pageInfo.total = result.data.total
|
|
|
|
+ } catch (error) {}
|
|
|
|
+ },
|
|
|
|
+ async onPaymentGroup(type) {
|
|
|
|
+ try {
|
|
|
|
+ const result = await finishPreApply({
|
|
|
|
+ isCheckStudentNum: type == 1 ? false : true,
|
|
|
|
+ musicGroupId: this.musicGroupId
|
|
|
|
+ })
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: '/business/teamDetail'
|
|
|
|
+ })
|
|
|
|
+ } catch(error) {}
|
|
},
|
|
},
|
|
addVisited(rows) {
|
|
addVisited(rows) {
|
|
// 新增回访
|
|
// 新增回访
|
|
this.visitVisible = true
|
|
this.visitVisible = true
|
|
- this.visitDetail = rows
|
|
|
|
|
|
+ this.visitDetail = {
|
|
|
|
+ musicGroupId: rows.musicGroupId,
|
|
|
|
+ overview: "",
|
|
|
|
+ purpose: "",
|
|
|
|
+ studentId: rows.userId,
|
|
|
|
+ type: "",
|
|
|
|
+ visitTime: "",
|
|
|
|
+ visitType: "",
|
|
|
|
+ feedback: "",
|
|
|
|
+ studentName: rows.userName,
|
|
|
|
+ }
|
|
|
|
+ // this.visitDetail = rows
|
|
},
|
|
},
|
|
onExtendPayment(formName) {
|
|
onExtendPayment(formName) {
|
|
this.$refs[formName].validate(valid => {
|
|
this.$refs[formName].validate(valid => {
|