|
@@ -52,26 +52,6 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
- prop="startPaymentDate"
|
|
|
- width="200"
|
|
|
- label="缴费日期">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- {{ scope.row.startPaymentDate | formatTimer }} ~ {{ scope.row.deadlinePaymentDate | formatTimer }}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center"
|
|
|
- prop="expectNum"
|
|
|
- width="200"
|
|
|
- label="缴费人数(预计/实际)">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- {{scope.row.expectNum}}/{{scope.row.actualNum}}
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center"
|
|
|
prop="paymentPattern"
|
|
|
label="缴费方式">
|
|
|
<template slot-scope="scope">
|
|
@@ -81,16 +61,21 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
- prop="paymentValidStartDate"
|
|
|
- width="200"
|
|
|
- label="缴费有效期">
|
|
|
+ prop="addCourseTotalTime"
|
|
|
+ width="150px"
|
|
|
+ label="加课总时长">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center"
|
|
|
+ width="150px"
|
|
|
+ prop="courseCurrentPrice"
|
|
|
+ label="现价">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.paymentValidStartDate | formatTimer }} ~ {{ scope.row.paymentValidEndDate | formatTimer }}
|
|
|
+ {{ scope.row.courseCurrentPrice | moneyFormat }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center"
|
|
|
+ <!-- <el-table-column align="center"
|
|
|
prop="status"
|
|
|
label="缴费状态">
|
|
|
<template slot-scope="scope">
|
|
@@ -98,19 +83,31 @@
|
|
|
{{ scope.row.status | payTypeStatus }}
|
|
|
</div>
|
|
|
</template>
|
|
|
+ </el-table-column> -->
|
|
|
+ <el-table-column align="center"
|
|
|
+ prop="operatorName"
|
|
|
+ label="责任人">
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
prop="memo"
|
|
|
- label="备注"></el-table-column>
|
|
|
+ width="200px"
|
|
|
+ label="备注">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <overflow-text width="200px" :text="scope.row.memo"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作"
|
|
|
fixed="right"
|
|
|
- min-width="260px">
|
|
|
+ min-width="60px">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button type="text"
|
|
|
+ @click="lookList(scope.row)"
|
|
|
+ v-permission="'musicGroupPaymentCalender/queryPage'">查看</el-button>
|
|
|
+ <!-- <el-button type="text"
|
|
|
@click="lookDetail(scope.row)"
|
|
|
- v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button>
|
|
|
- <el-button type="text"
|
|
|
+ v-permission="'musicGroupPaymentCalender/auditListDetail'">查看</el-button> -->
|
|
|
+ <!-- <el-button type="text"
|
|
|
@click="openChioseStudent(scope.row)"
|
|
|
v-if="scope.row.status != 'REJECT' && scope.row.status != 'AUDITING'&&teamStatus && scope.row.paymentType != 'MUSIC_APPLY' && scope.row.paymentType != 'ADD_STUDENT'"
|
|
|
v-permission="'musicGroupPaymentCalenderDetail/batchAdd'">添加学员</el-button>
|
|
@@ -125,7 +122,7 @@
|
|
|
<el-button type="text"
|
|
|
v-if="isNewGropu"
|
|
|
v-permission="'musicGroup/findMusicGroupSubjectInfo/966'"
|
|
|
- @click="onPreview(scope.row)">预览</el-button>
|
|
|
+ @click="onPreview(scope.row)">预览</el-button> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -136,6 +133,26 @@
|
|
|
:page-sizes="rules.page_size"
|
|
|
@pagination="getList" />
|
|
|
</div>
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="itemsVisible"
|
|
|
+ title="查看缴费计划"
|
|
|
+ width="1000px"
|
|
|
+ >
|
|
|
+ <pay-items
|
|
|
+ v-if="itemsVisible"
|
|
|
+ ref="payItems"
|
|
|
+ :batchNo="viewDetail && viewDetail.batchNo"
|
|
|
+ payUserType="STUDENT"
|
|
|
+ :teamStatus="teamStatus"
|
|
|
+ :teamType="teamType"
|
|
|
+ :isNewGropu="isNewGropu"
|
|
|
+ @lookDetail="lookDetail"
|
|
|
+ @openChioseStudent="openChioseStudent"
|
|
|
+ @resetPay="resetPay"
|
|
|
+ @close="itemsVisible = false"
|
|
|
+ @onCreateQRCode="onCreateQRCode"
|
|
|
+ />
|
|
|
+ </el-dialog>
|
|
|
<el-dialog :visible.sync="payVisible"
|
|
|
:close-on-click-modal="false"
|
|
|
width="500px"
|
|
@@ -285,6 +302,7 @@
|
|
|
width='800px'>
|
|
|
<setStudentFee @chioseStudent='chioseStudent'
|
|
|
ref='setStudentFee'
|
|
|
+ :batchNo="batchNo"
|
|
|
:musicGroupPaymentCalenderId="musicGroupPaymentCalenderId"
|
|
|
@submited="chioseStudentSubmited"
|
|
|
:clearTale="clearStduent"></setStudentFee>
|
|
@@ -343,12 +361,14 @@ import dayjs from 'dayjs'
|
|
|
import QrCode from "@/components/QrCode/index";
|
|
|
import { vaildStudentUrl } from '@/utils/validate'
|
|
|
import { addMusicGroupPaymentCalender, getMusicGroupPaymentCalender, resetMusicGroupPaymentCalender, delMusicGroupPaymentCalender, findMusicGroupSubjectInfo } from "@/api/buildTeam";
|
|
|
+import { getAuditList } from '@/api/auditManager'
|
|
|
import {
|
|
|
getOrganizationCourseUnitPriceSettings
|
|
|
} from '@/api/specialSetting'
|
|
|
import { musicGroupPaymentCalenderQueryPage, getMusicGroupStu, musicGroupPaymentCalenderDetailBatchAdd } from '../api'
|
|
|
import setStudentFee from './studentPayBase'
|
|
|
import userPayForm from '../modals/user-pay-form'
|
|
|
+import payItems from '../modals/pay-items'
|
|
|
import schoolPayForm from '../modals/school-pay-form'
|
|
|
import review from '../modals/review'
|
|
|
import reviewDetail from '../modals/review-detail'
|
|
@@ -366,6 +386,7 @@ export default {
|
|
|
QrCode,
|
|
|
review,
|
|
|
reviewDetail,
|
|
|
+ 'pay-items': payItems,
|
|
|
subjectPreview
|
|
|
},
|
|
|
data () {
|
|
@@ -374,6 +395,7 @@ export default {
|
|
|
payFormType: "user",
|
|
|
userVisible: false,
|
|
|
schoolVisible: false,
|
|
|
+ itemsVisible: false,
|
|
|
reviewVisible: false,
|
|
|
organizationCourseUnitPriceSettings: [],
|
|
|
searchForm: {
|
|
@@ -413,7 +435,9 @@ export default {
|
|
|
chioseStudentVisible: false,
|
|
|
chioseStudentList: [],
|
|
|
clearStduent: true,
|
|
|
+ batchNo: "",
|
|
|
musicGroupPaymentCalenderId: "",
|
|
|
+ teamType: this.$route.query.type,
|
|
|
payOrderTypeLists: payOrderTypeList,
|
|
|
dialogSubjectVisible: false, // 预览声部
|
|
|
dialogSubjectList: [],
|
|
@@ -478,10 +502,10 @@ export default {
|
|
|
},
|
|
|
getList () {
|
|
|
let musicGroupId = this.$route.query.id
|
|
|
- return musicGroupPaymentCalenderQueryPage({
|
|
|
+ return getAuditList({
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit,
|
|
|
- musicGroupId,
|
|
|
+ search: musicGroupId,
|
|
|
payUserType: 'STUDENT',
|
|
|
paymentType: this.searchForm.paymentType,
|
|
|
}).then(res => {
|
|
@@ -546,6 +570,10 @@ export default {
|
|
|
})
|
|
|
.catch(() => { });
|
|
|
},
|
|
|
+ lookList(row) {
|
|
|
+ this.viewDetail = row
|
|
|
+ this.itemsVisible = true
|
|
|
+ },
|
|
|
lookDetail (row) {
|
|
|
let query = this.$route.query;
|
|
|
this.$route.query.paymentId = row.id;
|
|
@@ -588,13 +616,15 @@ export default {
|
|
|
return stu.userId;
|
|
|
});
|
|
|
obj.musicGroupPaymentCalenderId = this.musicGroupPaymentCalenderId;
|
|
|
+ this.$refs.payItems?.getList()
|
|
|
musicGroupPaymentCalenderDetailBatchAdd(obj).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("添加成功");
|
|
|
this.$refs.setStudentFee.clearTable();
|
|
|
this.payVisible = false;
|
|
|
this.chioseStudentVisible = false;
|
|
|
- this.getList();
|
|
|
+ // this.getList();
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -658,7 +688,8 @@ export default {
|
|
|
},
|
|
|
openChioseStudent (row) {
|
|
|
this.chioseStudentVisible = true;
|
|
|
- this.musicGroupPaymentCalenderId = row.id;
|
|
|
+ this.batchNo = row.batchNo;
|
|
|
+ this.musicGroupPaymentCalenderId = row.id
|
|
|
},
|
|
|
async payedSubmited (data) {
|
|
|
try {
|