修改bug
This commit is contained in:
parent
9fb2baf73b
commit
3c70182a85
|
@ -4,6 +4,11 @@
|
||||||
<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 :span="8">
|
||||||
|
<a-form-item label="学年学期">
|
||||||
|
<j-dict-select-tag ref="xqDictTag" 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-dict-select-tag placeholder="请选择单位名称" v-model:value="queryParam.tklx" dictCode="tpkwcqkjzglx"/> -->
|
<!-- <j-dict-select-tag placeholder="请选择单位名称" v-model:value="queryParam.tklx" dictCode="tpkwcqkjzglx"/> -->
|
||||||
|
@ -102,6 +107,7 @@
|
||||||
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 { JInput } from '/@/components/Form';
|
import { JInput } from '/@/components/Form';
|
||||||
|
import { getSysConfig } from '/@/views/site/utils/index';
|
||||||
|
|
||||||
const queryParam = ref<any>({});
|
const queryParam = ref<any>({});
|
||||||
const toggleSearchStatus = ref<boolean>(false);
|
const toggleSearchStatus = ref<boolean>(false);
|
||||||
|
@ -137,6 +143,7 @@
|
||||||
success: handleSuccess
|
success: handleSuccess
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
||||||
const labelCol = reactive({
|
const labelCol = reactive({
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
|
<a-form-item label="">
|
||||||
|
<j-dict-select-tag ref="xqDictTag" placeholder="请选择学期" v-model:value="queryParam.xnxq" dictCode="kc_xqxn_history,title,title,true order by start_time desc"/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<!-- <a-col :span="6">
|
||||||
<a-form-item label="">
|
<a-form-item label="">
|
||||||
<a-date-picker
|
<a-date-picker
|
||||||
:showTime="false"
|
:showTime="false"
|
||||||
|
@ -49,7 +54,7 @@
|
||||||
style="width:100%;"
|
style="width:100%;"
|
||||||
></a-date-picker>
|
></a-date-picker>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col> -->
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
<a-form-item label="">
|
<a-form-item label="">
|
||||||
<a-input placeholder="填写教师名称" v-model:value="queryParam.username"/>
|
<a-input placeholder="填写教师名称" v-model:value="queryParam.username"/>
|
||||||
|
@ -146,9 +151,10 @@ const roleListApi = (params) => defHttp.get({ url: Api.roleList, params });
|
||||||
|
|
||||||
//进入就加载
|
//进入就加载
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
const format = 'yyyy-MM-dd';
|
// const format = 'yyyy-MM-dd';
|
||||||
queryParam.value.startTime = dateFormat(getSysConfig().bxqkssj, format)
|
// queryParam.value.startTime = dateFormat(getSysConfig().bxqkssj, format)
|
||||||
queryParam.value.endTime = dateFormat(new Date(), format)
|
// queryParam.value.endTime = dateFormat(new Date(), format)
|
||||||
|
queryParam.value.xnxq = getSysConfig().flag1
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue