2023年6月16日 添加导出和部分数据
This commit is contained in:
parent
a902f5e710
commit
4a840fbd4e
|
@ -25,7 +25,7 @@
|
|||
</a-form>
|
||||
</div>
|
||||
|
||||
<a-table :loading="loading" :data-source="leftList" :pagination="false" bordered size="middle" class="ant-table-striped" :scroll="{ y: 750 }">
|
||||
<a-table :loading="loading" :data-source="leftList" :pagination="false" bordered size="middle" class="ant-table-striped" :scroll="{ y: 650 }">
|
||||
<a-table-column title="教室" data-index="jsmc"/>
|
||||
<a-table-column title="教师近景" align="center" data-index="child_教师全景">
|
||||
<template #default="{ record }">
|
||||
|
@ -83,7 +83,7 @@
|
|||
</span>
|
||||
</template>
|
||||
</a-table-column>
|
||||
<a-table-column title="操作" data-index="action">
|
||||
<a-table-column width="200px" title="操作" data-index="action">
|
||||
<template #default="{ record }">
|
||||
<a @click="ylLive(record)">预览</a> |
|
||||
<a v-if="!record?.child['录播主机']?.isOnLine" @click="changeLive(record,true)">开启推流 |</a>
|
||||
|
|
|
@ -9,25 +9,51 @@
|
|||
</a-form-item>
|
||||
</a-col>
|
||||
<!--<template v-if="toggleSearchStatus">-->
|
||||
<!-- <a-col :lg="8">
|
||||
<a-form-item label="开课单位">
|
||||
<j-dict-select-tag placeholder="请选择开课单位" v-model:value="queryParam.dwmc" dictCode="xxhbuser,DWMC,DWH,true group by DWH"/>
|
||||
</a-form-item>
|
||||
</a-col> -->
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="学院">
|
||||
<j-dict-select-tag placeholder="请选择学院" v-model:value="queryParam.dwmc" dictCode="xxhbuser,DWMC,DWH,true group by DWH"/>
|
||||
<a-form-item label="开课单位">
|
||||
<a-input placeholder="请输入开课单位" v-model:value="queryParam.kkdw"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="授课教师姓名">
|
||||
<a-input placeholder="请输入授课教师姓名" v-model:value="queryParam.skjs"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="授课教师工号">
|
||||
<a-input placeholder="请输入授课教师工号" v-model:value="queryParam.skjgh"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="听课教师姓名">
|
||||
<j-input placeholder="请输入听课教师姓名" v-model:value="queryParam.upuser"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8">
|
||||
<a-form-item label="听课教师工号">
|
||||
<a-input placeholder="请输入听课教师工号" v-model:value="queryParam.upuseridLike"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!-- <a-col :lg="8">
|
||||
<a-form-item label="数据来源">
|
||||
<j-dict-select-tag
|
||||
placeholder="请选择数据来源" v-model:value="queryParam.source"
|
||||
:options="[{ value: 0, label: '课程中心'}, { value: 1, label: '老系统'},{ value: 2, label: '政务大厅'},{ value: 3, label: '纸质评价'}]"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-col> -->
|
||||
<!--</template>-->
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
||||
<a-col :lg="6">
|
||||
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
|
||||
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset" style="margin-left: 8px">重置</a-button>
|
||||
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls()" style="margin-left: 8px"> 导出</a-button>
|
||||
<!--<a @click="toggleSearchStatus = !toggleSearchStatus" style="margin-left: 8px">
|
||||
{{ toggleSearchStatus ? '收起' : '展开' }}
|
||||
<Icon :icon="toggleSearchStatus ? 'ant-design:up-outlined' : 'ant-design:down-outlined'"/>
|
||||
|
@ -41,17 +67,24 @@
|
|||
|
||||
<a-table :loading="loading" :data-source="dataSource" :pagination="ipagination" @change="tableChange" bordered size="middle" class="ant-table-striped">
|
||||
<a-table-column title="学期" data-index="xqxn"/>
|
||||
<a-table-column title="学院" data-index="dwmc"/>
|
||||
<a-table-column title="教工号" data-index="upuserid"/>
|
||||
<a-table-column title="教师姓名" data-index="upuser"/>
|
||||
<a-table-column title="职称" data-index="tksf"/>
|
||||
<a-table-column title="课程名称" data-index="kcmc"/>
|
||||
<a-table-column title="评价日期" data-index="upDate"/>
|
||||
<a-table-column title="开课单位" data-index="kkdw"/>
|
||||
<a-table-column title="授课教师" data-index="skjs"/>
|
||||
<a-table-column title="授课教师工号" data-index="skjgh"/>
|
||||
<a-table-column title="授课日期" data-index="skrq"/>
|
||||
<a-table-column title="授课时间" data-index="sksj"/>
|
||||
<a-table-column title="授课节次" data-index="jieci"/>
|
||||
<a-table-column title="授课地点" data-index="skdd"/>
|
||||
<a-table-column title="听课教师单位" data-index="tkdwmc"/>
|
||||
<a-table-column title="听课教师工号" data-index="tkjgh"/>
|
||||
<a-table-column title="听课教师姓名" data-index="tkjsxm"/>
|
||||
<a-table-column title="听课身份" data-index="tksf"/>
|
||||
<a-table-column title="听课评价结果(5分制)" data-index="tkpjjg"/>
|
||||
<!-- <a-table-column title="评价量表" data-index="sourceName"/> -->
|
||||
<!-- 一般听课表、线上听课表、同行评价表
|
||||
evaluationver??? -->
|
||||
|
||||
<a-table-column title="评价量表" align="center" data-index="evaluationver">
|
||||
<a-table-column title="评价量表" align="center" data-index="pjlblx">
|
||||
<template #default="{ text }">
|
||||
<span v-if="text == '2'">线上课堂评价表</span>
|
||||
<span v-else-if="text == '3'">听课记录表</span>
|
||||
|
@ -72,6 +105,8 @@ import { nextTick } from 'vue';
|
|||
import { useMessage } from '/@/hooks/web/useMessage';
|
||||
import { execAvyApi, getAvyCtrlLiveOpenOrCloseUrl } from "/@/views/site/utils/index";
|
||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||
import { useMethods } from '/@/hooks/system/useMethods';
|
||||
import { JInput } from '/@/components/Form';
|
||||
|
||||
const showAllLiveRef = ref();
|
||||
|
||||
|
@ -169,6 +204,21 @@ function searchReset() {
|
|||
loadData();
|
||||
}
|
||||
|
||||
//导入导出方法
|
||||
const { handleExportXls } = useMethods();
|
||||
|
||||
// 导出 excel
|
||||
function onExportXls() {
|
||||
let url = '/statistics/exportEvaluationXls';
|
||||
if (url) {
|
||||
let title = '评价量表统计';
|
||||
return handleExportXls(title as string, url);
|
||||
} else {
|
||||
createMessage.warn('没有传递 export.url 参数');
|
||||
return Promise.reject();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
|
|
Loading…
Reference in New Issue