yxk-20260812

5个页面的查询区域样式优化
This commit is contained in:
ye1023
2026-08-12 20:46:51 +08:00
parent ddccff0dee
commit 07335a2039
4 changed files with 43 additions and 37 deletions
+9 -7
View File
@@ -36,11 +36,13 @@
<a-tooltip title="按协办部门筛选"><sz-select-dept placeholder="请选择协办部门" v-model:value="selectedAssistDept" :checkable="false" checkStrictly allow-clear @change="handleAssistDeptChange" /></a-tooltip>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="6" :md="8" :sm="12">
<span class="table-page-search-submitButtons">
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<div class="table-page-search-submitButtons">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button preIcon="ant-design:reload-outlined" style="margin-left: 8px" @click="searchReset">重置</a-button>
</span>
<a-button preIcon="ant-design:reload-outlined" @click="searchReset">重置</a-button>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
</div>
</a-col>
</a-row>
</a-form>
@@ -67,8 +69,6 @@
<Icon icon="mdi:chevron-down"></Icon>
</a-button>
</a-dropdown>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
<a-space style="float: right; font-size: 14px; font-weight: bold">
<a-tag color="warning" style="color: #8c6900">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="error">督办中 {{ statsData.inProgress }}已逾期 {{ statsData.overdue }}</a-tag>
@@ -754,7 +754,9 @@
.jeecg-basic-table-form-container {
padding: 0;
.table-page-search-submitButtons {
display: block;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 24px;
white-space: nowrap;
}
+10 -8
View File
@@ -12,7 +12,7 @@
<a-tooltip title="支持模糊查询,输入重要讲话指示批示情况关键词"><JInput v-model:value="queryParam.speakStatus" type="like" placeholder="请输入重要讲话指示批示情况" allow-clear trim @change="debouncedSearchQuery" /></a-tooltip>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<a-col :xl="5" :lg="6" :md="8" :sm="12">
<a-form-item name="implDept">
<template #label>
<a-tooltip title="按牵头部门筛选">牵头部门</a-tooltip>
@@ -45,11 +45,13 @@
</a-select></a-tooltip>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="6" :md="8" :sm="12">
<span class="table-page-search-submitButtons">
<a-col :xl="5" :lg="6" :md="8" :sm="12">
<div class="table-page-search-submitButtons">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button preIcon="ant-design:reload-outlined" style="margin-left: 8px" @click="searchReset">重置</a-button>
</span>
<a-button preIcon="ant-design:reload-outlined" @click="searchReset">重置</a-button>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
</div>
</a-col>
</a-row>
</a-form>
@@ -93,8 +95,6 @@
<Icon icon="ant-design:down-outlined"></Icon>
</a-button>
</a-dropdown>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
<a-space style="float: right; font-size: 14px; font-weight: bold">
<a-tag color="warning" style="color: #8c6900">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="error">督办中 {{ statsData.inProgress }}已逾期 {{ statsData.overdue }}</a-tag>
@@ -1001,7 +1001,9 @@ import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervi
.jeecg-basic-table-form-container {
padding: 0;
.table-page-search-submitButtons {
display: block;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 24px;
white-space: nowrap;
}
@@ -4,24 +4,24 @@
<div class="jeecg-basic-table-form-container">
<a-form @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24">
<a-col :lg="4" :md="6" :sm="8">
<a-col :lg="8" :md="6" :sm="8">
<a-form-item label="年份" name="year">
<JDictSelectTag v-model:value="queryParam.year" dictCode="super_year" placeholder="请选择年份" allow-clear @change="searchQuery" />
</a-form-item>
</a-col>
<a-col :lg="6">
<a-col :lg="8">
<a-form-item name="problemName">
<template #label><span title="问题名称">问题名称</span></template>
<JInput v-model:value="queryParam.problemName"/>
</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">
<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>
</a-col>
</span>
<a-col :xl="8" :lg="7" :md="8" :sm="24">
<div 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">重置</a-button>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
</div>
</a-col>
</a-row>
</a-form>
@@ -45,8 +45,6 @@
<Icon icon="ant-design:down-outlined"></Icon>
</a-button>
</a-dropdown>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
</template>
<!--操作栏-->
<template #action="{ record }">
@@ -479,7 +477,9 @@
.jeecg-basic-table-form-container {
padding: 0;
.table-page-search-submitButtons {
display: block;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 24px;
white-space: nowrap;
}
+12 -10
View File
@@ -4,22 +4,22 @@
<div class="jeecg-basic-table-form-container">
<a-form ref="formRef" @keyup.enter="reload" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24">
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<a-col :xl="5" :lg="6" :md="8" :sm="12">
<a-form-item label="整改措施" name="improveMeasure">
<a-input v-model:value="queryParam.improveMeasure" placeholder="请输入整改措施" allow-clear @pressEnter="reload" @change="reload" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<a-col :xl="5" :lg="6" :md="8" :sm="12">
<a-form-item label="分管所领导" name="chargeLeaderId">
<DeptRoleUserSelectDropDown v-model:value="queryParam.chargeLeaderId" :deptId="PARTY_COMMITTEE_DEPT_ID" :roleId="CHARGE_LEADER_ROLE_ID" placeholder="请选择分管所领导" allow-clear style="width: 100%" @change="reload" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<a-col :xl="5" :lg="6" :md="8" :sm="12">
<a-form-item label="措施责任部门" name="measureResDept">
<SzSelectDept v-model:value="queryParam.measureResDept" :multiple="true" checkStrictly allow-clear @change="reload" />
</a-form-item>
</a-col>
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<a-col :xl="3" :lg="6" :md="8" :sm="12">
<a-form-item name="bpmStatus" label="督办状态">
<a-select v-model:value="bpmStatusFilter" placeholder="请选择" allow-clear @change="handleBpmStatusChange">
<a-select-option value="1">未开始</a-select-option>
@@ -29,10 +29,12 @@
</a-form-item>
</a-col>
<a-col :xl="6" :lg="6" :md="8" :sm="12">
<span class="table-page-search-submitButtons">
<div class="table-page-search-submitButtons">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="reload">查询</a-button>
<a-button preIcon="ant-design:reload-outlined" style="margin-left: 8px" @click="searchReset">重置</a-button>
</span>
<a-button preIcon="ant-design:reload-outlined" @click="searchReset">重置</a-button>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
</div>
</a-col>
</a-row>
</a-form>
@@ -88,8 +90,6 @@
<Icon icon="mdi:chevron-down"></Icon>
</a-button>
</a-dropdown>
<!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
<a-space style="float: right; font-size: 14px; font-weight: bold">
<a-tag color="warning" style="color: #8c6900">未开始 {{ statsData.notStarted }}</a-tag>
<a-tag color="error">督办中 {{ statsData.inProgress }}已逾期 {{ statsData.overdue }}</a-tag>
@@ -615,7 +615,9 @@
.jeecg-basic-table-form-container {
padding: 0;
.table-page-search-submitButtons {
display: block;
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 24px;
white-space: nowrap;
}