Commit c1c31033 authored by 黄奎's avatar 黄奎

页面修改

parent 3a52b372
......@@ -10,7 +10,6 @@
}
</style>
<!--订单操作-->
<template>
<q-dialog v-model="IsShowEditOrder" maximized full-height seamless position="right">
......@@ -89,7 +88,6 @@
maxlength="50" v-model="OrderMsg.GeneralOccupation" class="col-12 q-pb-lg" label="一般同行" />
<q-input :disable="(modityOrderType==2)" v-if="OrderMsg.OrderSource==7" filled stack-label :dense="false"
maxlength="50" v-model="OrderMsg.EduOccupation" class="col-12 q-pb-lg" label="教育同行" />
<q-toggle :disable="(modityOrderType==2)" v-model="OrderMsg.IsLessPrice" :false-value="0" :true-value="1"
label="是否少价" class="q-mb-md" />
<q-input :disable="(modityOrderType==2)" v-if="OrderMsg.IsLessPrice==1"
......
......@@ -46,6 +46,7 @@
<q-btn color="accent" size="sm" class="q-mr-md" style="margin-top:2px;" @click="exchangeType"
:label="typeName" />
<q-btn color="negative" size="sm" label="调课申请" @click="openForm"></q-btn>
<q-btn color="accent" size="sm" class="q-mr-md" label="下载计划" @click="downLoadPlan()" />
</div>
</div>
<classmateForm :dataList="dataList" v-if="commonType==1"></classmateForm>
......@@ -64,12 +65,16 @@
GetClassPlanStatistical,
GetClassPlanStatisticalPage
} from '../../api/teacher/index';
import {
EduDownLoad,
} from '../../api/common/common';
import classmateForm from '../../components/course/classmate-form';
import teachTable from '../teacher/components/teachTable';
import changeClassForm from '../../components/teacher/changeClassForm.vue'
export default {
meta: {
title: "我的课表"
title: "教师课表"
},
components: {
classmateForm,
......@@ -146,6 +151,10 @@
this.getPlanList();
},
methods: {
downLoadPlan() { //导出
var newMsg = JSON.parse(JSON.stringify(this.msg));
EduDownLoad("/Class/DownLoadClassPlan", newMsg, "老师上课计划.xls")
},
refreshPage() {
this.getPlanList();
},
......@@ -161,8 +170,6 @@
if (res.Code == 1) {
this.dataList = res.Data;
}
}).catch(() => {
})
},
//获取教师下拉
......
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