Commit 412d26a0 authored by Mac's avatar Mac

1

parent 3219af56
...@@ -65,9 +65,9 @@ ...@@ -65,9 +65,9 @@
<template v-slot:body-cell-MakeUpStatusStr="props"> <template v-slot:body-cell-MakeUpStatusStr="props">
<q-td> <q-td>
<span>{{props.row.MakeUpStatusStr}}</span>&nbsp; <span>{{props.row.MakeUpStatusStr}}</span>&nbsp;
<template v-if="props.row.MakeUpStatus==2"> <template v-if="props.row.MakeUpStatus!=1">
<br /> <span>操作人:{{props.row.DealByName}}</span> <br /> <span v-if="props.row.DealByName && props.row.DealByName!=''">操作人:{{props.row.DealByName}}</span>
<br /><span>操作时间{{props.row.DealTime}}</span> <br /><span v-if="props.row.DealTime && props.row.DealTime!=''">操作时间{{props.row.DealTime}}</span>
</template> </template>
</q-td> </q-td>
</template> </template>
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
pageIndex: 1, pageIndex: 1,
pageSize: 12, pageSize: 12,
rowsPerPage: 12, rowsPerPage: 12,
MakeUpStatus: 1, //(2-已处理,3-未处理) MakeUpStatus: -1, //(2-已处理,3-未处理)
GuestName: "", //学员名称 GuestName: "", //学员名称
ClassName: "", //班级名称 ClassName: "", //班级名称
CourseName: "", //课程名称 CourseName: "", //课程名称
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
}, },
pageCount: 0, pageCount: 0,
isShowEdit: false, //是否显示修改 isShowEdit: false, //是否显示修改
statusList: [{Id: 1,Name: '未处理'}, { Id: 2,Name: '可补课'},{Id: 3,Name: "不可补课"}], statusList: [{Id: -1,Name: '不限'},{Id: 1,Name: '未处理'}, { Id: 2,Name: '可补课'},{Id: 3,Name: "不可补课"}],
statusList2: [ { Id: 2,Name: '可补课'},{Id: 3,Name: "不可补课"}], statusList2: [ { Id: 2,Name: '可补课'},{Id: 3,Name: "不可补课"}],
statusMsg: { statusMsg: {
Id: 0, Id: 0,
...@@ -242,7 +242,10 @@ ...@@ -242,7 +242,10 @@
this.statusMsg.ClassCheckId = item.ClassCheckId; this.statusMsg.ClassCheckId = item.ClassCheckId;
this.statusMsg.GuestId = item.OrderGuestId; this.statusMsg.GuestId = item.OrderGuestId;
this.statusMsg.Id = item.Id; this.statusMsg.Id = item.Id;
this.statusMsg.MakeUpStatus = item.MakeUpStatus if(item.MakeUpStatus!=1){
this.statusMsg.MakeUpStatus = item.MakeUpStatus
}
}, },
clearMsg() { clearMsg() {
this.statusMsg.Id = 0; this.statusMsg.Id = 0;
......
...@@ -64,7 +64,9 @@ ...@@ -64,7 +64,9 @@
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">学员管理</div> <div class="col-2 q-table__title">学员管理</div>
<q-space /> <q-space />
<div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" label="导出" @click="getexport()" />
</div>
</template> </template>
<template v-slot:body-cell-GuestName="props"> <template v-slot:body-cell-GuestName="props">
<q-td :props="props" style="padding-right:0px"> <q-td :props="props" style="padding-right:0px">
...@@ -163,7 +165,9 @@ ...@@ -163,7 +165,9 @@
} from "../../api/stuMan/index" } from "../../api/stuMan/index"
import selectTree from "../../components/common/select-tree"; import selectTree from "../../components/common/select-tree";
import { openURL } from "quasar"; import { openURL } from "quasar";
import {
EduDownLoad,
} from '../../api/common/common';
export default { export default {
meta: { meta: {
title: "学员管理" title: "学员管理"
...@@ -445,6 +449,12 @@ ...@@ -445,6 +449,12 @@
} }
}) })
}, },
getexport(){//导出
var msg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad("/stu/GetStudentAttendanceDayStatisticsToExcel", msg, '学员出勤管理')
},
} }
}; };
......
This diff is collapsed.
...@@ -1056,7 +1056,11 @@ const routes = [{ ...@@ -1056,7 +1056,11 @@ const routes = [{
component: () => component: () =>
import("pages/stuMan/visitorRecord") import("pages/stuMan/visitorRecord")
}, },
{
path: "/stuMan/todaysOrder",//学管 今日订单
component: () =>
import("pages/stuMan/todaysOrder")
},
], ],
}, },
......
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