修改bug

This commit is contained in:
yangjun 2025-07-31 16:21:14 +08:00
parent 23d41237ed
commit ce0a28c298
3 changed files with 77 additions and 22 deletions

View File

@ -11,6 +11,12 @@ export const columns: BasicColumn[] = [
dataIndex: 'orgName',
width:260
},
{
title: '机构编码',
align: "center",
dataIndex: 'orgCode',
width:120
},
{
title: '平台类型',
align: "center",
@ -21,12 +27,12 @@ export const columns: BasicColumn[] = [
align: "center",
dataIndex: 'workType_dictText'
},
{
title: '标题',
align: "center",
dataIndex: 'title',
width:260
},
// {
// title: '标题',
// align: "center",
// dataIndex: 'title',
// width:260
// },
{
title: '工单状态',
align: "center",

View File

@ -5,17 +5,22 @@
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24">
<a-col :lg="6">
<a-form-item name="requestStatus">
<template #label><span title="请求状态">请求状态</span></template>
<j-select-multiple placeholder="请选择请求状态" v-model:value="queryParam.requestStatus" dictCode="dbsb_status" allow-clear />
<a-form-item name="paramStatus">
<template #label><span title="反馈状态">本次反馈状态</span></template>
<a-select placeholder="请选择反馈状态" v-model:value="queryParam.paramStatus" all-clear>
<a-select-option value="">全部</a-select-option>
<a-select-option value="0">成功</a-select-option>
<a-select-option value="1">失败</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :lg="6">
<a-form-item name="resolveStatus">
<template #label><span title="反馈状态">反馈状态</span></template>
<j-select-multiple placeholder="请选择反馈状态" v-model:value="queryParam.resolveStatus" dictCode="dbsb_status" allow-clear />
<a-form-item name="paramsRequestTime">
<template #label><span title="抄表时间">本次抄表时间</span></template>
<a-date-picker placeholder="请选择日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.paramsRequestTime" style="width: 100%" />
</a-form-item>
</a-col>
<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">

View File

@ -1,4 +1,25 @@
<template>
<div class="p-2">
<!--查询区域-->
<div class="jeecg-basic-table-form-container">
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24">
<a-col :lg="6">
<a-form-item name="paramsRequestTime">
<template #label><span title="抄表时间">操作时间</span></template>
<a-date-picker placeholder="请选择日期" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="queryParam.paramsRequestTime" style="width: 100%" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<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>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!--引用表格-->
<BasicTable @register="registerTable">
<!--插槽:table标题-->
@ -7,6 +28,7 @@
<template v-slot:bodyCell="{ column, record, index, text }">
</template>
</BasicTable>
</div>
</template>
<script lang="ts" name="yiweilian-apiLogList" setup>
@ -31,16 +53,15 @@
canResize:false,
showActionColumn: false,
// showTableSetting: false,
formConfig: {
//labelWidth: 120,
schemas: logQuerySchema,
autoSubmitOnEnter:false,
showAdvancedButton:false,
fieldMapToNumber: [
],
fieldMapToTime: [
],
},
// formConfig: {
// schemas: logQuerySchema,
// autoSubmitOnEnter:false,
// showAdvancedButton:false,
// fieldMapToNumber: [
// ],
// fieldMapToTime: [
// ],
// },
actionColumn: {
width: 120,
fixed: 'right',
@ -110,5 +131,28 @@
</script>
<style lang="less" scoped>
.jeecg-basic-table-form-container {
padding: 0;
.table-page-search-submitButtons {
display: block;
margin-bottom: 24px;
white-space: nowrap;
}
.query-group-cust{
min-width: 100px !important;
}
.query-group-split-cust{
width: 30px;
display: inline-block;
text-align: center
}
.ant-form-item:not(.ant-form-item-with-help){
margin-bottom: 16px;
height: 32px;
}
:deep(.ant-picker),:deep(.ant-input-number){
width: 100%;
}
}
</style>