|
@@ -7,6 +7,22 @@
|
|
|
@submit="getList"
|
|
|
:model="searchForm"
|
|
|
>
|
|
|
+
|
|
|
+ <el-form-item>
|
|
|
+ <el-select
|
|
|
+ placeholder="缴费种类"
|
|
|
+ v-model="searchForm.payUserType"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in payUserTypeList"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ :key="index"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-select
|
|
|
placeholder="缴费类型"
|
|
@@ -37,6 +53,14 @@
|
|
|
>
|
|
|
新建学员缴费
|
|
|
</div>
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ @click="newSchoolPay"
|
|
|
+ v-if="teamStatus"
|
|
|
+ v-permission="'musicGroupPaymentCalender/createCalender/4359'"
|
|
|
+ >
|
|
|
+ 新建学校缴费
|
|
|
+ </div>
|
|
|
<!-- <div class="newBand"
|
|
|
v-if="teamStatus"
|
|
|
v-permission="'/studentPayBase'"
|
|
@@ -63,6 +87,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" prop="paymentType" label="缴费种类">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.payUserType | payUserTypeFormat }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column align="center" prop="paymentType" label="缴费类型">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
@@ -175,7 +206,6 @@
|
|
|
(team_status == 'FEE_AUDIT' || team_status == 'PROGRESS') &&
|
|
|
scope.row.status === 'AUDITING' &&
|
|
|
scope.row.paymentType != 'ADD_STUDENT'
|
|
|
-
|
|
|
"
|
|
|
>
|
|
|
<el-button type="text" @click="revoke(scope.row)"
|
|
@@ -188,9 +218,7 @@
|
|
|
v-if="
|
|
|
teamStatus &&
|
|
|
scope.row.paymentType != 'ADD_STUDENT' &&
|
|
|
-
|
|
|
- (scope.row.status == 'DRAFT' ||
|
|
|
- scope.row.status == 'REJECT')
|
|
|
+ (scope.row.status == 'DRAFT' || scope.row.status == 'REJECT')
|
|
|
"
|
|
|
>
|
|
|
<el-button type="text" @click="removeBatchNo(scope.row)"
|
|
@@ -202,8 +230,7 @@
|
|
|
v-if="
|
|
|
teamStatus &&
|
|
|
scope.row.paymentType == 'ADD_STUDENT' &&
|
|
|
- (scope.row.status == 'DRAFT' ||
|
|
|
- scope.row.status == 'REJECT')
|
|
|
+ (scope.row.status == 'DRAFT' || scope.row.status == 'REJECT')
|
|
|
"
|
|
|
>
|
|
|
<el-button type="text" @click="removeBatchNo(scope.row)"
|
|
@@ -217,7 +244,7 @@
|
|
|
!isNewGropu &&
|
|
|
teamStatus &&
|
|
|
scope.row.paymentType != 'MUSIC_APPLY' &&
|
|
|
- (scope.row.status == 'OPEN'||scope.row.status == 'OVER')
|
|
|
+ (scope.row.status == 'OPEN' || scope.row.status == 'OVER')
|
|
|
"
|
|
|
@click="onCreateQRCode(scope.row)"
|
|
|
>续费二维码</el-button
|
|
@@ -544,7 +571,7 @@ import reviewDetail from "../modals/review-detail";
|
|
|
import subjectPreview from "@/views/resetTeaming/modals/subject-preview";
|
|
|
import { userPaymentType } from "@/constant";
|
|
|
import { objectToOptions } from "@/utils";
|
|
|
-import { payOrderTypeList } from "@/utils/searchArray";
|
|
|
+import { payOrderTypeList,payUserTypeList } from "@/utils/searchArray";
|
|
|
export default {
|
|
|
props: ["isNewGropu"],
|
|
|
components: {
|
|
@@ -571,6 +598,7 @@ export default {
|
|
|
organizationCourseUnitPriceSettings: [],
|
|
|
searchForm: {
|
|
|
paymentType: null,
|
|
|
+ payUserType:null
|
|
|
},
|
|
|
viewDetail: null,
|
|
|
tableList: [],
|
|
@@ -615,7 +643,8 @@ export default {
|
|
|
activeName: null,
|
|
|
dialogCalenderId: null, // 选择编号
|
|
|
baseInfo: null,
|
|
|
- memberVisible: false, // 会员缴费
|
|
|
+ memberVisible: false, // 会员缴费,
|
|
|
+ payUserTypeList:payUserTypeList
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
@@ -717,10 +746,16 @@ export default {
|
|
|
// }
|
|
|
},
|
|
|
newSchoolPay() {
|
|
|
- this.payFormType = "school";
|
|
|
- this.isNew = true;
|
|
|
- this.activeRow = null;
|
|
|
- this.userVisible = true;
|
|
|
+ let query = this.$route.query;
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/studentPaySet",
|
|
|
+ query: { ...query, payUserType: "SCHOOL" },
|
|
|
+ },
|
|
|
+ (route) => {
|
|
|
+ route.meta.title = "学校缴费设置";
|
|
|
+ }
|
|
|
+ );
|
|
|
},
|
|
|
getList() {
|
|
|
let musicGroupId = this.$route.query.id;
|
|
@@ -728,7 +763,7 @@ export default {
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
musicGroupId: musicGroupId,
|
|
|
- payUserType: "STUDENT",
|
|
|
+ payUserType:this.searchForm.payUserType,
|
|
|
paymentType: this.searchForm.paymentType,
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|