Commit 63ccff78 authored by 黄奎's avatar 黄奎

页面修改

parent 3806dba8
......@@ -24,6 +24,12 @@
{{ props.row.StudentName }}
</q-td>
</template>
<template v-slot:body-cell-ReceiptId="props">
<q-td auto-width :props="props">
<span style="color: blue;text-decoration:underline;cursor:pointer;"
@click="showBackBill(props.row)">{{props.row.ReceiptId}}</span>
</q-td>
</template>
<template v-slot:body-cell-AuditStatus="props">
<q-td auto-width :props="props">
<span v-if="props.row.AuditStatus == 1||props.row.AuditStatus == 0" style="color: #409eff">审核中</span>
......@@ -38,7 +44,6 @@
</q-td>
</template>
<template v-slot:bottom>
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
......@@ -58,12 +63,20 @@
</q-td>
</template>
</q-table>
<backbill-form v-if="isShowBillForm" :seting-obj="billObj" :showType="showType" @close="refreshPage"
@success="refreshPage">
</backbill-form>
</div>
</template>
<script>
import backbillForm from "../../components/sale/backbill-form";
import {
SetBackClassProtocolSure,
} from "../../api/sale/contract";
import {
GetEducationReceiptPage,
} from "../../api/teacher/index";
export default {
props: {
dataList: {
......@@ -79,6 +92,9 @@
type: Object,
},
},
components: {
backbillForm,
},
data() {
return {
columns: [{
......@@ -140,16 +156,42 @@
isShowCopyLink: false, //是否显示复制链接
isShowSure: false, //是否显示确认按钮
},
isShowBillForm: false, //是否显示退课详情
showType: 1, //1-查看,2-审核
pageMsg: {
rowsPerPage: 12,
},
billObj: {},
}
},
created() {
this.initAuth();
},
mounted() {},
mounted() {
},
methods: {
//显示退课详情
showBackBill(item) {
var qMsg = {
pageIndex: 1,
pageSize: 12,
rowsPerPage: 12,
Id: item.ReceiptId,
}
GetEducationReceiptPage(qMsg).then(res => {
if (res.Code == 1) {
this.billObj = res.Data.PageData[0];
this.isShowBillForm = true;
}
})
},
//刷新页面
refreshPage() {
this.isShowBillForm = false;
this.billObj = {};
this.$emit("success");
},
//初始化权限信息
initAuth() {
if (this.authObj) {
......
......@@ -332,6 +332,7 @@
}
this.showType = type;
this.billObj = item;
console.log(this.billObj);
},
//重新查询
resetSearch() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment