|
@@ -9,9 +9,15 @@
|
|
|
prop="id"
|
|
|
width="120"
|
|
|
label="缴费单号"
|
|
|
- :rules="[{pattern:/^[0-9]*$/,message:'请输入正确的缴费单号',trigger: 'blur'}]"
|
|
|
+ :rules="[
|
|
|
+ {
|
|
|
+ pattern: /^[0-9]*$/,
|
|
|
+ message: '请输入正确的缴费单号',
|
|
|
+ trigger: 'blur',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<div>
|
|
|
<copy-text>{{ scope.row.id }}</copy-text>
|
|
|
</div>
|
|
@@ -23,7 +29,7 @@
|
|
|
width="200"
|
|
|
label="缴费批次"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<div>
|
|
|
<copy-text>{{ scope.row.batchNo }}</copy-text>
|
|
|
</div>
|
|
@@ -36,7 +42,12 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="status" width="120" label="缴费状态">
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="status"
|
|
|
+ width="120"
|
|
|
+ label="缴费状态"
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
{{ scope.row.status | payTypeStatus }}
|
|
@@ -73,7 +84,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="memo" label="备注" width="200" class-name="table-btns">
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="memo"
|
|
|
+ label="备注"
|
|
|
+ width="200"
|
|
|
+ class-name="table-btns"
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<overflow-text :text="scope.row.memo"></overflow-text>
|
|
|
</template>
|
|
@@ -82,9 +99,17 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button
|
|
|
+ v-if="payUserType === 'STUDENT'"
|
|
|
type="text"
|
|
|
@click="toDetail(scope.row)"
|
|
|
- v-permission="'musicGroupPaymentCalender/auditListDetail'"
|
|
|
+ v-permission="'/strudentPayInfo'"
|
|
|
+ >查看</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-else
|
|
|
+ type="text"
|
|
|
+ @click="toDetail(scope.row)"
|
|
|
+ v-permission="'musicGroupPaymentCalender/auditListDetail/3882'"
|
|
|
>查看</el-button
|
|
|
>
|
|
|
<!-- <el-button
|
|
@@ -107,10 +132,13 @@
|
|
|
@click="$listeners.resetPay(scope.row)"
|
|
|
>修改</el-button
|
|
|
> -->
|
|
|
- <el-button type="text"
|
|
|
- v-if="$listeners.lookUserList"
|
|
|
- @click="$listeners.lookUserList(scope.row)"
|
|
|
- v-permission="'musicGroupPaymentCalender/queryPage'">学员列表</el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ v-if="$listeners.lookUserList"
|
|
|
+ @click="$listeners.lookUserList(scope.row)"
|
|
|
+ v-permission="'musicGroupPaymentCalender/queryPage'"
|
|
|
+ >学员列表</el-button
|
|
|
+ >
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-permission="'musicGroupPaymentCalender/makesureSchoolePaid'"
|
|
@@ -132,7 +160,13 @@
|
|
|
<!-- studentRegistration/getSubjectGoodsAndInfo/967 -->
|
|
|
<el-button
|
|
|
type="text"
|
|
|
- v-if="$listeners.onPreview && payUserType === 'STUDENT' && scope.row.paymentType == 'MUSIC_APPLY' && (permission('musicGroup/findMusicGroupSubjectInfo/966') &&permission('studentRegistration/getSubjectGoodsAndInfo/967'))"
|
|
|
+ v-if="
|
|
|
+ $listeners.onPreview &&
|
|
|
+ payUserType === 'STUDENT' &&
|
|
|
+ scope.row.paymentType == 'MUSIC_APPLY' &&
|
|
|
+ permission('musicGroup/findMusicGroupSubjectInfo/966') &&
|
|
|
+ permission('studentRegistration/getSubjectGoodsAndInfo/967')
|
|
|
+ "
|
|
|
@click="$listeners.onPreview(scope.row)"
|
|
|
>预览</el-button
|
|
|
>
|
|
@@ -154,11 +188,17 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { addMusicGroupPaymentCalender, getMusicGroupPaymentCalender, resetMusicGroupPaymentCalender, delMusicGroupPaymentCalender, findMusicGroupSubjectInfo } from "@/api/buildTeam";
|
|
|
-import { musicGroupPaymentCalenderDetailDel } from '../api'
|
|
|
-import loading from '@/utils/loading'
|
|
|
+import {
|
|
|
+ addMusicGroupPaymentCalender,
|
|
|
+ getMusicGroupPaymentCalender,
|
|
|
+ resetMusicGroupPaymentCalender,
|
|
|
+ delMusicGroupPaymentCalender,
|
|
|
+ findMusicGroupSubjectInfo,
|
|
|
+} from "@/api/buildTeam";
|
|
|
+import { musicGroupPaymentCalenderDetailDel } from "../api";
|
|
|
+import loading from "@/utils/loading";
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
-import { permission } from '@/utils/directivePage'
|
|
|
+import { permission } from "@/utils/directivePage";
|
|
|
export default {
|
|
|
props: ["batchNo", "teamStatus", "teamType", "payUserType", "isNewGropu"],
|
|
|
components: {
|
|
@@ -192,14 +232,14 @@ export default {
|
|
|
} catch (error) {}
|
|
|
},
|
|
|
toDetail(row) {
|
|
|
- if (this.payUserType === 'STUDENT') {
|
|
|
+ if (this.payUserType === "STUDENT") {
|
|
|
this.$listeners.close();
|
|
|
}
|
|
|
this.$nextTick(() => {
|
|
|
- this.$listeners.lookDetail(row)
|
|
|
- })
|
|
|
+ this.$listeners.lookDetail(row);
|
|
|
+ });
|
|
|
},
|
|
|
- }
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|