修改bug
This commit is contained in:
parent
fe08956f97
commit
33e6864358
|
@ -5,6 +5,11 @@ import { render } from '/@/utils/common/renderUtils';
|
||||||
import { log } from 'console';
|
import { log } from 'console';
|
||||||
//列表数据
|
//列表数据
|
||||||
export const columns: BasicColumn[] = [
|
export const columns: BasicColumn[] = [
|
||||||
|
{
|
||||||
|
title: '学期学年',
|
||||||
|
align: "center",
|
||||||
|
dataIndex: 'xqxn'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '姓名',
|
title: '姓名',
|
||||||
align: "center",
|
align: "center",
|
||||||
|
@ -147,6 +152,12 @@ export const columns: BasicColumn[] = [
|
||||||
|
|
||||||
//查询数据
|
//查询数据
|
||||||
export const searchFormSchema: FormSchema[] = [
|
export const searchFormSchema: FormSchema[] = [
|
||||||
|
{
|
||||||
|
label: "学期学年",
|
||||||
|
field: 'xqxn',
|
||||||
|
component: 'Input',
|
||||||
|
colProps: {span: 6},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "姓名",
|
label: "姓名",
|
||||||
field: 'xm',
|
field: 'xm',
|
||||||
|
|
|
@ -4,11 +4,17 @@
|
||||||
<div class="jeecg-basic-table-form-container">
|
<div class="jeecg-basic-table-form-container">
|
||||||
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
|
<a-col :lg="8">
|
||||||
|
<a-form-item label="学期学年">
|
||||||
|
<j-dict-select-tag placeholder="请选择学期学年" v-model:value="queryParam.xqxn" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="姓名">
|
<a-form-item label="姓名">
|
||||||
<j-input placeholder="请输入姓名" v-model:value="queryParam.xm"></j-input>
|
<j-input placeholder="请输入姓名" v-model:value="queryParam.xm"></j-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<a-col :lg="8">
|
<a-col :lg="8">
|
||||||
<a-form-item label="创建人">
|
<a-form-item label="创建人">
|
||||||
<j-input placeholder="请输入创建人" v-model:value="queryParam.cjr"></j-input>
|
<j-input placeholder="请输入创建人" v-model:value="queryParam.cjr"></j-input>
|
||||||
|
@ -221,7 +227,7 @@
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
},
|
},
|
||||||
beforeFetch: (params) => {
|
beforeFetch: (params) => {
|
||||||
params.column = '',params.order = '';//新生成的默认不带排序
|
params.column = 'skrq',params.order = 'desc';//新生成的默认不带排序
|
||||||
return Object.assign(params, queryParam.value);
|
return Object.assign(params, queryParam.value);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<a-col :xs="{ span: 24 }" :sm="{ span: 24 }" :lg="{ span: 24 }" style="padding: 0 2px 0 0;">
|
<a-col :xs="{ span: 24 }" :sm="{ span: 24 }" :lg="{ span: 24 }" style="padding: 0 2px 0 0;">
|
||||||
<a-card style="min-height: 222px;">
|
<a-card style="min-height: 222px;">
|
||||||
<template #title>
|
<template #title>
|
||||||
<span style="font-size: 24px;font-weight: bold;">评课结果</span>
|
<span style="font-size: 24px;font-weight: bold;">评价结果</span>
|
||||||
</template>
|
</template>
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<!-- <RouterLink target='_blank' to="/site/tingKeZuJiMore">查看更多</RouterLink> -->
|
<!-- <RouterLink target='_blank' to="/site/tingKeZuJiMore">查看更多</RouterLink> -->
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
<!-- <a-list item-layout="horizontal" :data-source="list" :loading="loadingList" :grid="{ column: }"> -->
|
<!-- <a-list item-layout="horizontal" :data-source="list" :loading="loadingList" :grid="{ column: }"> -->
|
||||||
<template #renderItem="{ item }">
|
<template #renderItem="{ item }">
|
||||||
<a-list-item>
|
<a-list-item>
|
||||||
|
<div class="itemDate">
|
||||||
|
{{ item.skrq }} {{ formatTime(item.hhks) }}-{{ formatTime(item.hhjs) }}
|
||||||
|
</div>
|
||||||
<div style="border: 2px #eef1f2 solid;">
|
<div style="border: 2px #eef1f2 solid;">
|
||||||
<div>
|
<div>
|
||||||
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
|
<div style="width: 100%;height: 20px;background-color: #1c84c6;"></div>
|
||||||
|
@ -166,7 +169,15 @@ function handlePageChange(record){
|
||||||
emit('changeParam',record);
|
emit('changeParam',record);
|
||||||
// loadData();
|
// loadData();
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 转换时间由【0012】转成【00:12】
|
||||||
|
* @param time 四个字符,时分,无分隔
|
||||||
|
*/
|
||||||
|
function formatTime(time: string) {
|
||||||
|
if(!time) return '';
|
||||||
|
let t_i_m_e = time.split('');
|
||||||
|
return [t_i_m_e[0],t_i_m_e[1],':',t_i_m_e[2],t_i_m_e[3]].join('');
|
||||||
|
}
|
||||||
function onSearch() {
|
function onSearch() {
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
@ -214,4 +225,15 @@ defineExpose({
|
||||||
background-color: #1c84c6;font-weight: 600;border-radius: 5px;line-height: 23px;
|
background-color: #1c84c6;font-weight: 600;border-radius: 5px;line-height: 23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.itemDate {
|
||||||
|
border-radius: 25px;
|
||||||
|
background: #cccccc8c;
|
||||||
|
width: 90%;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 auto .5rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue