ef9037a3cb1e7da98e89f6a61da5f25d83ddc0d1..282fee22c7be2c995d19c9e0b377e653f529e735
2021-05-13 jyk
修改
282fee diff | tree
2021-05-13 jyk
修改缴费新增手机号录入
466d7f diff | tree
2021-05-13 jyk
修改学员缴费订单
194751 diff | tree
3 files modified
178 ■■■■ changed files
src/views/finance/financeList/Curriculum/CurriculumAdd.vue 5 ●●●●● patch | view | raw | blame | history
src/views/myStudents/studentsList/StudentsList.vue 1 ●●●● patch | view | raw | blame | history
src/views/myStudents/studentsList/ViewStudents.vue 172 ●●●● patch | view | raw | blame | history
src/views/finance/financeList/Curriculum/CurriculumAdd.vue
@@ -973,6 +973,11 @@
                if (this.form.classification == 8) {
                    newclassis = '3';
                }
                this.studarrst.forEach(item=>{
                    if(this.form.stuname==item.username){
                        this.form.phone=item.phoneNumber;
                    }
                })
                let params = {
                    id: -1, //新建
                    orgId: this.orgId, //馆id
src/views/myStudents/studentsList/StudentsList.vue
@@ -895,6 +895,7 @@
        query: {
          id: row.id,
          username: row.username,
          phoneNumber:row.phoneNumber
        },
      });
    },
src/views/myStudents/studentsList/ViewStudents.vue
@@ -239,42 +239,58 @@
        <el-tab-pane label="缴费信息" name="payInformation">
            <div class="table-wrap mt-20">
                <el-table :data="tableData" style="width: 100%" border>
                    <el-table-column prop="startTime" label="序号" align="center">
                    </el-table-column>
                    <el-table-column prop="title" label="订单号" align="center">
                    </el-table-column>
                    <el-table-column prop="typename" label="订单类型" align="center" width="180">
                    </el-table-column>
                    <el-table-column prop="startTime" label="商品名称" align="center">
                    </el-table-column>
                    <el-table-column prop="upperlimit" label="支付金额(元)" align="center">
                    </el-table-column>
                    <el-table-column prop="createTime" label="支付日期" align="center">
                    </el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <span class="el-dropdown-link prohibitCopy">
                                <span class="ff8c cp mr-20">查看订单</span>
                                <span class="ff8c cp">退费</span>
                            </span>
                        </template>
                    </el-table-column>
                </el-table>
            </div>
                <el-table :data="tableDatast" style="width: 100%" border>
                    <el-table-column type="index" label="序号" align="center">
                    </el-table-column>
                    <el-table-column prop="serialNumber" label="订单号" align="center">
                    </el-table-column>
                    <el-table-column prop="paymentClass" label="订单类型" align="center" width="180">
                        <template slot-scope="scope">
                            <div v-if="scope.row.paymentClass==1">课程缴费</div>
                            <div v-if="scope.row.paymentClass==2">会员缴费</div>
                            <div v-if="scope.row.paymentClass==3">活动缴费</div>
                            <div v-if="scope.row.paymentClass==99">其他缴费</div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="courseName" label="商品名称" align="center">
                        <template slot-scope="scope">
                            <div>{{scope.row.courseName||'------'}}</div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="actualReceive" label="支付金额(元)" align="center">
                    </el-table-column>
                    <el-table-column prop="paymentTime" label="支付日期" align="center">
                    </el-table-column>
                    <el-table-column label="操作" align="center">
                        <template slot-scope="scope">
                            <span class="el-dropdown-link prohibitCopy">
                                <span class="ff8c cp mr-20" @click="godinfo(scope.row)">查看订单</span>
                                <!-- <span class="ff8c cp">退费</span> -->
                            </span>
                        </template>
                    </el-table-column>
                </el-table>
            </div>
            <div class="page" v-show="pageInfos.total > 0">
                <el-pagination class="fr" background @current-change="handleCurrentChanges"
                    :current-page.sync="pageInfos.page" :page-size="pageInfos.pageSize"
                    layout="prev, pager, next, jumper" :total="pageInfos.total"></el-pagination>
                <div class="fr page-other">
                    共
                    <span>{{ pageInfos.totalPage }}页</span>/
                    <span>{{ pageInfos.total }}条数据</span>
                </div>
            </div>
        </el-tab-pane>
    </el-tabs>
    </div>
@@ -290,6 +306,10 @@
        appointmentpeopleList,//查询
        appointmentList//聊天
    } from '@/apis/ccCustomerManage/clientList/index';
    import {
        paymentList
    } from '@/apis/finance/financeList/index';
export default {
    name: 'ViewInvalidCustomer',
@@ -308,6 +328,13 @@
                }
            ],
            tableData: [],
            tableDatast:[],
            pageInfos:{
                page: 1,
                pageSize: 10,
                total: 0,
                totalPage: 0
            },
            activeName: 'basis',  //切换标签
            user: {}, //用户信息
            recordList: {}, //沟通事件
@@ -436,17 +463,88 @@
        labelClick(item) {
            // console.log(item)
            this.communicateList(item.tmkccId)
        }
        },
        handleCurrentChanges(val) {
            this.pageInfos.page = val;
            this.paymentList();
        },
        godinfo(row){
            if (row.paymentClass == 1) { //课件缴费
                this.$router.push({
                    path: '/finance/finances/curriculumView',
                    query: {
                        id: row.id
                    }
                })
            }
            if (row.paymentClass == 2) { //会员缴费
                this.$router.push({
                    path: '/finance/finances/memberView',
                    query: {
                        id: row.id
                    }
                })
            }
            if (row.paymentClass == 3) { //活动费用缴费
                this.$router.push({
                    path: '/finance/finances/ActivityView',
                    query: {
                        id: row.id
                    }
                })
            }
            if (row.paymentClass == 99) { //其他缴费
                this.$router.push({
                    path: '/finance/finances/OtherView',
                    query: {
                        id: row.id
                    }
                })
            }
        },
        //订单
        async paymentList(){
            let params={
                page:this.pageInfos.page,
                pageSize:this.pageInfos.pageSize,
                phone:this.$route.query.phoneNumber
            };
            let res = await paymentList(params);
            if(res.code==1){
                this.tableDatast=res.data.list;
                this.pageInfos.total=res.data.total;
                this.pageInfos.totalPage=Math.ceil(res.data.total/res.data.pageSize);
            }
        }
    },
    created() {
        this.userclueInfo()
        this.communicatepeopleList()
        this.appointmentpeopleList();
        this.paymentList();
    },
}
</script>
<style lang="less" scoped>
.page {
    height: 32px;
    margin-top: 20px;
    text-align: right;
}
.page .page-other {
    line-height: 32px;
    color: #303133;
    font-size: 14px;
    margin-right: 18px;
}
.el-pagination__editor.el-input {
    width: 50px;
}
/deep/.el-pagination__editor.el-input .el-input__inner{
    width: 50px !important;
}
.return{
    font-size: 14px;
    color: #999;