[bug] 布局修改

This commit is contained in:
zhaoxiao
2021-11-02 14:09:40 +08:00
parent b4e0580f21
commit 3e1182294a
3 changed files with 17 additions and 10 deletions
+6
View File
@@ -99,8 +99,14 @@
}
}
/*重置按钮*/
.reset-button {
color: #08B6AF;
background: rgba(8,182,175,0.10);
border: 1px solid #08b6af;
}
/*表格滚动条*/
.ant-table-body {
overflow-x: auto!important;
}
+5 -5
View File
@@ -7,27 +7,27 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :xl="5" :lg="8" :md="8" :sm="24">
<a-col :xxl="4" :xl="8" :lg="8" :md="8" :sm="24">
<a-form-item label="合同编号">
<a-input placeholder="请输入合同编号" v-model="queryParam.contractNum" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="5" :lg="8" :md="8" :sm="24">
<a-col :xxl="4" :xl="8" :lg="8" :md="8" :sm="24">
<a-form-item label="合同名称">
<a-input placeholder="请输入合同名称" v-model="queryParam.contractName" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="5" :lg="12" :md="16" :sm="24">
<a-col :xxl="4" :xl="8" :lg="8" :md="8" :sm="24">
<a-form-item label="签订单位">
<a-input placeholder="请输入签订单位" v-model="queryParam.signedCompanyTemporaryName" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="5" :lg="8" :md="8" :sm="24">
<a-col :xxl="4" :xl="8" :lg="8" :md="8" :sm="24">
<a-form-item label="负责人">
<select-principal v-model="queryParam.principalId" placeholder="请选择负责人"></select-principal>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="24">
<a-col :xxl="6" :xl="8" :lg="8" :md="8" :sm="24">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search" v-has="'contractMail:search'">查询</a-button>
<a-button @click="searchReset" icon="reload" class="reset-button" style="margin-left: 8px">重置</a-button>
+6 -5
View File
@@ -88,7 +88,7 @@
bordered
size="middle"
rowKey="id"
:scroll="{x:true}"
:scroll="{x: 1600}"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
@@ -163,13 +163,13 @@ export default {
title: '用户账号',
align: 'center',
dataIndex: 'username',
width: 120,
width: 280,
scopedSlots: { customRender: 'text' }
},
{
title: '用户姓名',
align: 'center',
width: 160,
width: 280,
dataIndex: 'realname',
scopedSlots: { customRender: 'text' }
},
@@ -190,14 +190,14 @@ export default {
{
title: '角色类型',
align: 'center',
width: 100,
width: 280,
dataIndex: 'roleName',
scopedSlots: { customRender: 'text' }
},
{
title: '组织机构',
align: 'center',
width: 180,
width: 280,
dataIndex: 'departIds_dictText',
scopedSlots: { customRender: 'text' }
},
@@ -230,6 +230,7 @@ export default {
{
title: '操作',
dataIndex: 'action',
fixed: 'right',
scopedSlots: { customRender: 'action' },
align: 'center'
}