修改查询条件

This commit is contained in:
yangjun 2023-06-13 17:23:29 +08:00
parent 14be1db0f2
commit e420d6b04f
1 changed files with 8 additions and 28 deletions

View File

@ -6,24 +6,24 @@
<a-row :gutter="24">
<a-col :lg="8">
<a-form-item label="学期学年">
<a-input placeholder="请输入学期学年" v-model:value="queryParam.title"></a-input>
<j-input placeholder="请输入学期学年" v-model:value="queryParam.title"></j-input>
</a-form-item>
</a-col>
<a-col :lg="8">
<!-- <a-col :lg="8">
<a-form-item label="开始时间">
<a-date-picker value-format="YYYY-MM-DD" placeholder="请选择开始时间" v-model:value="queryParam.startTime_begin" class="query-group-cust"/>
<span class="query-group-split-cust">~</span>
<a-date-picker value-format="YYYY-MM-DD" placeholder="请选择结束日期" v-model:value="queryParam.startTime_end" class="query-group-cust"/>
</a-form-item>
</a-col>
</a-col> -->
<!--<template v-if="toggleSearchStatus">-->
<a-col :lg="8">
<!-- <a-col :lg="8">
<a-form-item label="结束时间">
<a-date-picker value-format="YYYY-MM-DD" placeholder="请选择开始时间" v-model:value="queryParam.endTime_begin" class="query-group-cust"/>
<span class="query-group-split-cust">~</span>
<a-date-picker value-format="YYYY-MM-DD" placeholder="请选择结束日期" v-model:value="queryParam.endTime_end" class="query-group-cust"/>
</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">
@ -41,29 +41,14 @@
</a-form>
</div>
<!--引用表格-->
<BasicTable @register="registerTable" :rowSelection="rowSelection">
<BasicTable @register="registerTable" >
<!--插槽:table标题-->
<template #tableTitle>
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
<a-dropdown v-if="selectedRowKeys.length > 0">
<template #overlay>
<a-menu>
<a-menu-item key="1" @click="batchHandleDelete">
<Icon icon="ant-design:delete-outlined"></Icon>
删除
</a-menu-item>
</a-menu>
</template>
<a-button>批量操作
<Icon icon="mdi:chevron-down"></Icon>
</a-button>
</a-dropdown>
</template>
<!--操作栏-->
<template #action="{ record }">
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/>
<TableAction :actions="getTableAction(record)" />
</template>
<!--字段回显插槽-->
<template #htmlSlot="{text}">
@ -91,6 +76,7 @@
import { list, deleteOne, batchDelete, getImportUrl, getExportUrl } from './KcXqxnHistory.api';
import { downloadFile } from '/@/utils/common/renderUtils';
import KcXqxnHistoryModal from './components/KcXqxnHistoryModal.vue'
import { JInput } from '/@/components/Form';
const queryParam = ref<any>({});
const toggleSearchStatus = ref<boolean>(false);
@ -196,12 +182,6 @@
{
label: '详情',
onClick: handleDetail.bind(null, record),
}, {
label: '删除',
popConfirm: {
title: '是否确认删除',
confirm: handleDelete.bind(null, record),
}
}
]
}