修改bug
This commit is contained in:
parent
652b47d5d0
commit
48291ccbee
|
@ -51,12 +51,30 @@ const site: AppRouteModule = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'qaAddPage',
|
path: 'qaAddPageXsktpjb',
|
||||||
name: 'qaAddPage',
|
name: 'qaAddPageXsktpjb',
|
||||||
component: () => import('/@/views/site/tingKeZuJi/page/qaAddPage.vue'),
|
component: () => import('/@/views/site/tingKeZuJi/page/qaAddPage.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
// affix: true,
|
// affix: true,
|
||||||
title: '',
|
title: '线上教学课堂看课、听课评价表',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'qaAddPageTkjlb',
|
||||||
|
name: 'qaAddPageTkjlb',
|
||||||
|
component: () => import('/@/views/site/tingKeZuJi/page/qaAddPage.vue'),
|
||||||
|
meta: {
|
||||||
|
// affix: true,
|
||||||
|
title: '东北师范大学听课记录表',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'qaAddPageThpjb',
|
||||||
|
name: 'qaAddPageThpjb',
|
||||||
|
component: () => import('/@/views/site/tingKeZuJi/page/qaAddPage.vue'),
|
||||||
|
meta: {
|
||||||
|
// affix: true,
|
||||||
|
title: '东北师范大学本科课堂教学质量评价表',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -12,24 +12,37 @@
|
||||||
<j-dict-select-tag type='radio' v-model:value="formData.edittype" dictCode="edittype" placeholder="请选择修改类型" :disabled="disabled"/>
|
<j-dict-select-tag type='radio' v-model:value="formData.edittype" dictCode="edittype" placeholder="请选择修改类型" :disabled="disabled"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24" v-show="formData.optionsradios=='errohyhmm'">
|
||||||
<div style="color:red;margin-left: 90px;margin-bottom: 30px;">如果您知道正确的信息请在下方填写</div>
|
<div style="color:red;margin-left: 90px;margin-bottom: 30px;">如果您知道正确的信息请在下方填写</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24" v-show="formData.optionsradios=='errohyhmm'">
|
||||||
<a-form-item label="会议号" v-bind="validateInfos.meetingnum">
|
<a-form-item label="会议号" v-bind="validateInfos.meetingnum">
|
||||||
<a-input v-model:value="formData.meetingnum" placeholder="请输入会议号" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.meetingnum" placeholder="请输入会议号" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24" v-show="formData.optionsradios=='errohyhmm'">
|
||||||
<a-form-item label="会议密码" v-bind="validateInfos.meetingpsw">
|
<a-form-item label="会议密码" v-bind="validateInfos.meetingpsw">
|
||||||
<a-input v-model:value="formData.meetingpsw" placeholder="请输入会议密码" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.meetingpsw" placeholder="请输入会议密码" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24" v-show="formData.optionsradios=='errohyhmm'">
|
||||||
<a-form-item label="会议邀请链接" v-bind="validateInfos.meetinglink">
|
<a-form-item label="会议邀请链接" v-bind="validateInfos.meetinglink">
|
||||||
<a-input v-model:value="formData.meetinglink" placeholder="请输入会议邀请链接" :disabled="disabled"></a-input>
|
<a-input v-model:value="formData.meetinglink" placeholder="请输入会议邀请链接" :disabled="disabled"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<a-col :span="24" v-show="formData.optionsradios=='errokcxx'">
|
||||||
|
<a-form-item label="错误信息描述" v-bind="validateInfos.errortext">
|
||||||
|
<a-textarea v-model:value="formData.errortext" placeholder="请输入错误信息描述" style="height: 100px;" :disabled="disabled"></a-textarea>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
|
<a-col :span="24" v-show="formData.optionsradios=='errosfcj'">
|
||||||
|
<a-form-item label="教师是否出镜" v-bind="validateInfos.sfcj">
|
||||||
|
<j-dict-select-tag type='radio' v-model:value="formData.sfcj" dictCode="indexsfcj" placeholder="请选择修改类型" :disabled="disabled"/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
@ -65,7 +78,7 @@
|
||||||
edittype: '0',
|
edittype: '0',
|
||||||
ismodified: undefined,
|
ismodified: undefined,
|
||||||
skrq: '',
|
skrq: '',
|
||||||
sfcj: undefined,
|
sfcj: '0',
|
||||||
});
|
});
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="学院" v-bind="validateInfos.xy">
|
<a-form-item label="学院" v-bind="validateInfos.xy">
|
||||||
<a-input v-model:value="formData.xy" placeholder="请输入学院" :disabled="disabled"></a-input>
|
<JDictSelectTag placeholder="请选择院系" v-model:value="formData.xy" :disabled="disabled" :dictCode="`kc_kkdw_view,kkdw,kkdw`" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="职称" v-bind="validateInfos.zc">
|
<a-form-item label="职称" v-bind="validateInfos.zc">
|
||||||
<a-input v-model:value="formData.zc" placeholder="请输入职称" :disabled="disabled"></a-input>
|
<JDictSelectTag placeholder="请选择职称系" v-model:value="formData.zc" :disabled="disabled" dictCode="zhicheng" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
|
@ -29,17 +29,23 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="上课日期" v-bind="validateInfos.rq">
|
<a-form-item label="上课日期" v-bind="validateInfos.rq">
|
||||||
<a-input v-model:value="formData.rq" placeholder="请输入日期" :disabled="disabled"></a-input>
|
<a-date-picker :showTime="false" valueFormat="YYYY-MM-DD" :placeholder="'请选择上课日期'" style="width:100%;"
|
||||||
|
v-model:value="formData.rq" :disabled="disabled"></a-date-picker>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="上课开始时间" v-bind="validateInfos.kssj">
|
<a-form-item label="上课开始时间" v-bind="validateInfos.kssj">
|
||||||
<a-input v-model:value="formData.kssj" placeholder="请输入开始时间" :disabled="disabled"></a-input>
|
<!-- <a-input v-model:value="formData.kssj" placeholder="请输入开始时间" :disabled="disabled"></a-input> -->
|
||||||
|
|
||||||
|
<a-time-picker format="HH:mm" :placeholder="'请选择开始时间'" style="width:100%;"
|
||||||
|
v-model:value="formData.kssj" valueFormat="HH:mm" :disabled="disabled"></a-time-picker>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="上课结束时间" v-bind="validateInfos.jssj">
|
<a-form-item label="上课结束时间" v-bind="validateInfos.jssj">
|
||||||
<a-input v-model:value="formData.jssj" placeholder="请输入结束时间" :disabled="disabled"></a-input>
|
<!-- <a-input v-model:value="formData.jssj" placeholder="请输入结束时间" :disabled="disabled"></a-input> -->
|
||||||
|
<a-time-picker format="HH:mm" :placeholder="'请选择结束时间'" style="width:100%;"
|
||||||
|
v-model:value="formData.jssj" valueFormat="HH:mm" :disabled="disabled"></a-time-picker>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
|
@ -130,8 +136,8 @@ import { filterDictTextByCache } from '/@/utils/dict/JDictSelectUtil.js';
|
||||||
tpmc3: '',
|
tpmc3: '',
|
||||||
jslj: '',
|
jslj: '',
|
||||||
dqzt: '',
|
dqzt: '',
|
||||||
dqztpx: '',
|
dqztpx: '2',
|
||||||
sfxs: '',
|
sfxs: '1',
|
||||||
hxrlb: '',
|
hxrlb: '',
|
||||||
});
|
});
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
|
@ -148,9 +154,8 @@ import { filterDictTextByCache } from '/@/utils/dict/JDictSelectUtil.js';
|
||||||
jssj: [{ required: true, message: '请输入结束时间!'},],
|
jssj: [{ required: true, message: '请输入结束时间!'},],
|
||||||
kcmc: [{ required: true, message: '请输入课程名称!'},],
|
kcmc: [{ required: true, message: '请输入课程名称!'},],
|
||||||
ktzt: [{ required: true, message: '请输入课堂主题!'},],
|
ktzt: [{ required: true, message: '请输入课堂主题!'},],
|
||||||
kclj: [{ required: true, message: '请输入课程链接!'},],
|
dqztpx: [{ required: true, message: '请输入当前状态排序 '},],
|
||||||
dqztpx: [{ required: true, message: '请输入当前状态排序 1 正在上课 2公开课预告 3 已下课!'},],
|
sfxs: [{ required: true, message: '请输入是否显示'},],
|
||||||
sfxs: [{ required: true, message: '请输入是否显示 1 显示 0 不显示!'},],
|
|
||||||
};
|
};
|
||||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ import { dateFormat } from '/@/utils/common/compUtils';
|
||||||
id: '',
|
id: '',
|
||||||
ntitle: '',
|
ntitle: '',
|
||||||
ntype: '0',
|
ntype: '0',
|
||||||
nstatus: '0',
|
nstatus: '1',
|
||||||
ncontentString: '',
|
ncontentString: '',
|
||||||
nlink: '',
|
nlink: '',
|
||||||
ndate: dateFormat(new Date(), 'yyyy-MM-dd'),
|
ndate: dateFormat(new Date(), 'yyyy-MM-dd'),
|
||||||
|
|
|
@ -10,7 +10,7 @@ enum Api {
|
||||||
deleteOne = '/kcTingke/kcTingke/delete',
|
deleteOne = '/kcTingke/kcTingke/delete',
|
||||||
deleteBatch = '/kcTingke/kcTingke/deleteBatch',
|
deleteBatch = '/kcTingke/kcTingke/deleteBatch',
|
||||||
importExcel = '/kcTingke/kcTingke/importExcel',
|
importExcel = '/kcTingke/kcTingke/importExcel',
|
||||||
exportXls = '/kcTingke/kcTingke/exportXls',
|
exportXls = '/kcTingke/kcTingke/exportTkmxXls',
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -39,11 +39,10 @@
|
||||||
<a-input placeholder="填写教师名称" v-model:value="queryParam.jsxm" dictCode="is_open"/>
|
<a-input placeholder="填写教师名称" v-model:value="queryParam.jsxm" dictCode="is_open"/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="3">
|
<a-col :span="4">
|
||||||
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
<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:search-outlined" @click="searchQuery">查询</a-button>
|
||||||
</a-col>
|
<a-button type="primary" preIcon="ant-design:export-outlined" style="margin-left: 10px;" @click="onExportXls"> 导出</a-button>
|
||||||
</span>
|
</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
@ -86,8 +85,9 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
exportConfig: {
|
exportConfig: {
|
||||||
name: "开课单位统计",
|
name: "听课明细报表",
|
||||||
url: getExportUrl,
|
url: getExportUrl,
|
||||||
|
params: queryParam.value,
|
||||||
},
|
},
|
||||||
importConfig: {
|
importConfig: {
|
||||||
url: getImportUrl,
|
url: getImportUrl,
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-card>
|
<a-card >
|
||||||
1.选择订阅类型
|
<div style="font-size: 18px;font-weight: 600;">1.选择订阅类型</div>
|
||||||
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<a-row>
|
<a-row style="line-height: 50px;font-size: 16px;font-weight: 600;">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<!-- <a-form-item label="课前15分钟提醒"> -->
|
<!-- <a-form-item label="课前15分钟提醒"> -->
|
||||||
<a-checkbox-group v-model:value="formData.kqtx">
|
<a-checkbox-group v-model:value="formData.kqtx">
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted, watch } from 'vue';
|
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted, watch, createVNode,h } from 'vue';
|
||||||
import { defHttp } from '/@/utils/http/axios';
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
import { useMessage } from '/@/hooks/web/useMessage';
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
// import JCheckbox from "/@/components/Form/src/jeecg/components/JCheckbox.vue";
|
// import JCheckbox from "/@/components/Form/src/jeecg/components/JCheckbox.vue";
|
||||||
|
@ -37,6 +37,8 @@
|
||||||
import { Form } from 'ant-design-vue';
|
import { Form } from 'ant-design-vue';
|
||||||
|
|
||||||
import { getUserId } from '/@/views/site/utils/index';
|
import { getUserId } from '/@/views/site/utils/index';
|
||||||
|
import { Modal } from 'ant-design-vue';
|
||||||
|
import { ExclamationCircleOutlined,CheckOutlined } from '@ant-design/icons-vue';
|
||||||
|
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
const useForm = Form.useForm;
|
const useForm = Form.useForm;
|
||||||
|
@ -122,7 +124,17 @@
|
||||||
|
|
||||||
await defHttp.post({ url: url, params: model }, { isTransformResponse: false }).then((res) => {
|
await defHttp.post({ url: url, params: model }, { isTransformResponse: false }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
createMessage.success(res.message);
|
|
||||||
|
Modal.success({
|
||||||
|
icon: createVNode({}),
|
||||||
|
content: h('div', {style:'height:200px;text-align:center;'}, [
|
||||||
|
h('icon', {style:'font-size:100px;font-weight:600;color:green;'}, createVNode(CheckOutlined)),
|
||||||
|
h('p',{style:'font-size:36px;font-weight:600;color:black;'}, '操作成功'),
|
||||||
|
]),
|
||||||
|
okText: 'OK',
|
||||||
|
width:'500px',
|
||||||
|
});
|
||||||
|
|
||||||
emit('ok');
|
emit('ok');
|
||||||
} else {
|
} else {
|
||||||
createMessage.warning(res.message);
|
createMessage.warning(res.message);
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
您可根据实际情况选择下面三个评价表中的一个或者两个给予评价:
|
您可根据实际情况选择下面三个评价表中的一个或者两个给予评价:
|
||||||
<div class="p15">
|
<div class="p15">
|
||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="8">
|
<a-col :span="9">
|
||||||
<a-button type="primary" class="wenZiJiaCu"><RouterLink target='_blank' :to="{path:'/site/qaAddPage',query:{ type: 2, ktId }}">线上课堂评价表</RouterLink></a-button>
|
<a-button type="primary" class="wenZiJiaCu" style="font-size: 18px;height: 45px;"><RouterLink target='_blank' :to="{path:'/site/qaAddPageXsktpjb',query:{ type: 2, ktId }}">线上课堂评价表</RouterLink></a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :span="7">
|
||||||
<a-button type="primary" class="wenZiJiaCu"><RouterLink target='_blank' :to="{path:'/site/qaAddPage',query:{ type: 3, ktId }}">听课记录表</RouterLink></a-button>
|
<a-button type="primary" class="wenZiJiaCu" style="font-size: 18px;height: 45px;"><RouterLink target='_blank' :to="{path:'/site/qaAddPageTkjlb',query:{ type: 3, ktId }}">听课记录表</RouterLink></a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="8">
|
<a-col :span="7">
|
||||||
<a-button type="primary" class="wenZiJiaCu"><RouterLink target='_blank' :to="{path:'/site/qaAddPage',query:{ type: 4, ktId }}">同行评价表</RouterLink></a-button>
|
<a-button type="primary" class="wenZiJiaCu" style="font-size: 18px;height: 45px;"><RouterLink target='_blank' :to="{path:'/site/qaAddPageThpjb',query:{ type: 4, ktId }}">同行评价表</RouterLink></a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,8 +6,9 @@
|
||||||
<headerPage/>
|
<headerPage/>
|
||||||
<!-- 主体部分 -->
|
<!-- 主体部分 -->
|
||||||
<a-layout-content>
|
<a-layout-content>
|
||||||
<span style="font-size: 24px;font-weight: bold;">听课足迹</span>
|
|
||||||
<a-card>
|
<a-card>
|
||||||
|
<div style="font-size: 24px;font-weight: bold;height: 70px;">听课足迹</div>
|
||||||
<a-row :gutter="[16,16]">
|
<a-row :gutter="[16,16]">
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||||
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.startDate" style="width: 100%" />
|
<a-date-picker placeholder="请选择开始日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.startDate" style="width: 100%" />
|
||||||
|
@ -16,10 +17,10 @@
|
||||||
<a-date-picker placeholder="请选择结束日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.endDate" style="width: 100%" />
|
<a-date-picker placeholder="请选择结束日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.endDate" style="width: 100%" />
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
||||||
<j-dict-select-tag v-model:value="queryParam.kkdw" dictCode="kc_kkdw_view,kkdw,id" placeholder="请选择院系" style="width: 100%;"/>
|
<j-dict-select-tag v-model:value="queryParam.kkdw" dictCode="kc_kkdw_view,kkdw,kkdw" placeholder="请选择院系" style="width: 100%;"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }" class="dictBox">
|
||||||
<j-dict-select-tag v-model:value="queryParam.hh" dictCode="skjc" placeholder="请选择节次" style="width: 100%;"/>
|
<j-dict-select-tag v-model:value="queryParam.hh" :dictCode="`kc_jieci_view,jieciname,jieci`" placeholder="请选择节次" style="width: 100%;"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 4 }">
|
||||||
<a-select style="width: 100%;" v-model:value="queryParam.pj">
|
<a-select style="width: 100%;" v-model:value="queryParam.pj">
|
||||||
|
@ -49,15 +50,22 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref, reactive, watch } from 'vue';
|
import { ref, reactive, watch,onMounted } from 'vue';
|
||||||
import headerPage from '/@/views/site/common/header.vue';
|
import headerPage from '/@/views/site/common/header.vue';
|
||||||
import footerPage from '/@/views/site/common/footer.vue';
|
import footerPage from '/@/views/site/common/footer.vue';
|
||||||
import listPage from '/@/views/site/tingKeZuJi/list.vue';
|
import listPage from '/@/views/site/tingKeZuJi/list.vue';
|
||||||
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
|
||||||
import { getSysConfig } from '/@/views/site/utils/index';
|
import { getSysConfig } from '/@/views/site/utils/index';
|
||||||
|
import { dateFormat } from '/@/utils/common/compUtils';
|
||||||
|
|
||||||
const queryParam = ref<any>({ startDate: getSysConfig().bxqkssj, endDate: getSysConfig().bxqjssj, pj: '', pageSize: -1 });
|
const queryParam = ref<any>({ startDate: getSysConfig().bxqkssj, endDate: '', pj: '', pageSize: -1 });
|
||||||
|
|
||||||
|
//进入就加载
|
||||||
|
onMounted(() => {
|
||||||
|
const format = 'yyyy-MM-dd';
|
||||||
|
queryParam.value.endDate = dateFormat(new Date(), format)
|
||||||
|
onSearch()
|
||||||
|
});
|
||||||
const listRef = ref();
|
const listRef = ref();
|
||||||
|
|
||||||
function onSearch(){
|
function onSearch(){
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
<!-- kcmc,kkdw,skjs -->
|
<!-- kcmc,kkdw,skjs -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div style="text-align: center;font-size: 1rem;font-weight: 700;margin: 1rem;">
|
<div style="text-align: left;font-size: 1rem;font-weight: 700;margin: 1rem;">
|
||||||
<span v-if="$route.query.type == '4'">该评价表是专门为该课程方面的专家/教师听课研制的评价表,更能反映该课堂的教学质量。</span>
|
<span v-if="$route.query.type == '4'">该评价表是专门为该课程方面的专家/教师听课研制的评价表,更能反映该课堂的教学质量。</span>
|
||||||
<span v-else-if="$route.query.type == '3'">该评价表是方便行政人员和非该课程所属学科的教师听课使用的评价表,主要用来反映课堂教学的整体情况。</span>
|
<span v-else-if="$route.query.type == '3'">该评价表是方便行政人员和非该课程所属学科的教师听课使用的评价表,主要用来反映课堂教学的整体情况。</span>
|
||||||
<span v-else-if="$route.query.type == '2'">该评价表是根据线上课堂的特点研制的,如果您听的是线上课堂,请您填写该评价表;如果您同时是该课程所属学科的专家/教师,也欢迎您同时填写《同行评价表》。</span>
|
<span v-else-if="$route.query.type == '2'"> 该评价表是根据线上课堂的特点研制的,如果您听的是线上课堂,请您填写该评价表;如果您同时是该课程所属学科的专家/教师,也欢迎您同时填写《同行评价表》。</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 0 15rem;font-weight: 700;">
|
<div style="padding: 0 15rem;font-weight: 700;">
|
||||||
<a-row :gutter="[16,16]">
|
<a-row :gutter="[16,16]">
|
||||||
|
|
|
@ -51,13 +51,13 @@
|
||||||
<a-row class="" :gutter="gutter">
|
<a-row class="" :gutter="gutter">
|
||||||
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div class="numSpan">{{ tjData?.jinRiTingKe?.jcktnum??0 }}</div>
|
<div class="numSpan">{{ tjData?.yiKaiKeTang?.num??0 }}</div>
|
||||||
<div class="numberName">总数</div>
|
<div class="numberName">总数</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div class="numSpan blue">{{ tjData?.jinRiTingKe?.btkktnum??0 }}</div>
|
<div class="numSpan blue">{{ tjData?.yiKaiKeTang?.btkktnum??0 }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <StockOutlined class="blue"/> -->
|
<!-- <StockOutlined class="blue"/> -->
|
||||||
<i class="fa fa-bolt blue"></i>
|
<i class="fa fa-bolt blue"></i>
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
<a-col :xs="{ span: 8 }" :sm="{ span: 8 }" :lg="{ span: 8 }">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div class="numSpan orange">{{ tjData?.jinRiTingKe?.tkrcnum??0 }}</div>
|
<div class="numSpan orange">{{ tjData?.yiKaiKeTang?.tkrcnum??0 }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
<i class="fa fa-level-up orange"></i>
|
<i class="fa fa-level-up orange"></i>
|
||||||
|
@ -80,13 +80,15 @@
|
||||||
<div class="buttomDiv"></div>
|
<div class="buttomDiv"></div>
|
||||||
</a-card>
|
</a-card>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<!-- -- yiKaiKeTang jinRiTingKe -->
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 9 }" :lg="{ span: 5 }">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 9 }" :lg="{ span: 5 }">
|
||||||
<a-card class="cardDiv" title="今日听课">
|
<a-card class="cardDiv" title="今日听课">
|
||||||
<!-- -<i class="fa-sharp fa-solid fa-user"></i>- -->
|
<!-- -<i class="fa-sharp fa-solid fa-user"></i>- -->
|
||||||
<a-row class="" :gutter="gutter">
|
<a-row class="" :gutter="gutter">
|
||||||
<a-col :xs="{ span: 12 }" :sm="{ span: 12 }" :lg="{ span: 12 }">
|
<a-col :xs="{ span: 12 }" :sm="{ span: 12 }" :lg="{ span: 12 }">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div class="numSpan blue">{{ tjData?.yiKaiKeTang?.num??0 }}</div>
|
<div class="numSpan blue">{{ tjData?.jinRiTingKe?.btkktnum??0 }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <StockOutlined class="blue"/> -->
|
<!-- <StockOutlined class="blue"/> -->
|
||||||
<i class="fa fa-bolt blue"></i>
|
<i class="fa fa-bolt blue"></i>
|
||||||
|
@ -96,7 +98,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xs="{ span: 12 }" :sm="{ span: 12 }" :lg="{ span: 12 }">
|
<a-col :xs="{ span: 12 }" :sm="{ span: 12 }" :lg="{ span: 12 }">
|
||||||
<div class="numberBlob">
|
<div class="numberBlob">
|
||||||
<div class="numSpan orange">{{ tjData?.yiKaiKeTang?.zzsknum??0 }}</div>
|
<div class="numSpan orange">{{ tjData?.jinRiTingKe?.tkrcnum??0 }}</div>
|
||||||
<div class="numberName">
|
<div class="numberName">
|
||||||
<!-- <RiseOutlined class="orange"/> -->
|
<!-- <RiseOutlined class="orange"/> -->
|
||||||
<i class="fa fa-level-up orange"></i>
|
<i class="fa fa-level-up orange"></i>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted } from 'vue';
|
import { ref, reactive, defineExpose, nextTick, defineProps, computed, onMounted, createVNode,h } from 'vue';
|
||||||
import { defHttp } from '/@/utils/http/axios';
|
import { defHttp } from '/@/utils/http/axios';
|
||||||
import { useMessage } from '/@/hooks/web/useMessage';
|
import { useMessage } from '/@/hooks/web/useMessage';
|
||||||
import { getValueType } from '/@/utils';
|
import { getValueType } from '/@/utils';
|
||||||
|
@ -28,6 +28,8 @@
|
||||||
//用户相关
|
//用户相关
|
||||||
import { getUserId } from '/@/views/site/utils/index';
|
import { getUserId } from '/@/views/site/utils/index';
|
||||||
import { useUserStore } from '/@/store/modules/user';
|
import { useUserStore } from '/@/store/modules/user';
|
||||||
|
import { Modal } from 'ant-design-vue';
|
||||||
|
import { ExclamationCircleOutlined,CheckOutlined } from '@ant-design/icons-vue';
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
@ -113,7 +115,15 @@
|
||||||
await saveOrUpdate(model, isUpdate.value)
|
await saveOrUpdate(model, isUpdate.value)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
createMessage.success(res.message);
|
Modal.success({
|
||||||
|
icon: createVNode({}),
|
||||||
|
content: h('div', {style:'height:200px;text-align:center;'}, [
|
||||||
|
h('icon', {style:'font-size:100px;font-weight:600;color:green;'}, createVNode(CheckOutlined)),
|
||||||
|
h('p',{style:'font-size:36px;font-weight:600;color:black;'}, '操作成功'),
|
||||||
|
]),
|
||||||
|
okText: 'OK',
|
||||||
|
width:'500px',
|
||||||
|
});
|
||||||
emit('ok');
|
emit('ok');
|
||||||
} else {
|
} else {
|
||||||
createMessage.warning(res.message);
|
createMessage.warning(res.message);
|
||||||
|
|
Loading…
Reference in New Issue