From 4a25bd9ba57cf9b9985d93e85fab1e065a0911bc Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 28 Sep 2023 14:22:21 +0800
Subject: [PATCH] fix:立行立改
---
src/views/toCarryOutLegislativeReforms/delay/index.vue | 79 ++++++++++++++++++++++++++-------------
1 files changed, 53 insertions(+), 26 deletions(-)
diff --git a/src/views/toCarryOutLegislativeReforms/delay/index.vue b/src/views/toCarryOutLegislativeReforms/delay/index.vue
index 20c511f..bee5f52 100644
--- a/src/views/toCarryOutLegislativeReforms/delay/index.vue
+++ b/src/views/toCarryOutLegislativeReforms/delay/index.vue
@@ -6,7 +6,8 @@
<el-table
:data="tableData"
border
- max-height=" 400px"
+ size="mini"
+ max-height="680"
style="width: 100%"
:header-cell-style="{
color: '#101111', fontSize: '16px'
@@ -15,7 +16,7 @@
<el-table-column
type="index"
label="������"
- width="100px"
+ width="60px"
align="center"
/>
<el-table-column
@@ -46,21 +47,23 @@
label="������������"
>
<template slot-scope="scope">
- <p> {{ dictObj.changeEnum[scope.row.changeType] }}</p>
+ <div> {{ dictObj.changeEnum[scope.row.changeType] }}</div>
</template>
</el-table-column>
<el-table-column
align="center"
prop="extensionNum"
+ width="60px"
label="������������"
>
<template slot-scope="scope">
- <p> {{ scope.row.extensionNum }}���</p>
+ <div> {{ scope.row.extensionNum }}���</div>
</template>
</el-table-column>
<el-table-column
align="center"
prop="address"
+ width="80px"
label="������"
>
<template slot-scope="scope">
@@ -86,34 +89,33 @@
</el-table-column>
<el-table-column
align="center"
- prop="address"
- label="���������������������"
>
- <template slot="header" slot-scope="scope">
- <p>������������</p>
- <p>���������</p>
+ <template slot="header">
+ <div>������������</div>
+ <div>���������</div>
</template>
<template slot-scope="scope">
- <p> {{ scope.row.escalationName }}</p>
- <p> {{ updatUnitIdFormatter(scope.row) }}</p>
+ <div> {{ scope.row.escalationName }}</div>
+ <div> {{ updatUnitIdFormatter(scope.row) }}</div>
</template>
</el-table-column>
<el-table-column
align="center"
>
- <template slot="header" slot-scope="scope">
- <p>���������</p>
- <p>������������</p>
+ <template slot="header">
+ <div>���������</div>
+ <div>������������</div>
</template>
<template slot-scope="scope">
- <p>{{ scope.row.updateName }}</p>
- <p>{{ scope.row.updateTime }}</p>
+ <div>{{ scope.row.updateName }}</div>
+ <div>{{ scope.row.updateTime }}</div>
</template>
</el-table-column>
<el-table-column
align="center"
prop="address"
+ width="100px"
label="������"
>
<template slot-scope="scope">
@@ -142,7 +144,7 @@
<script>
import workOrderInformation from '@/views/toCarryOutLegislativeReforms/components/workOrderInformation'
-import searchBar from '@/views/toCarryOutLegislativeReforms/components/queryForm'
+import searchBar from '@/views/toCarryOutLegislativeReforms/delay/componets/queryForm'
export default {
components: {
searchBar,
@@ -166,7 +168,8 @@
pageSizes: [10, 20, 30, 40],
// ������������������������������������������
pageSize: 10
- }
+ },
+ searchData: {}
}
},
created() {
@@ -179,6 +182,10 @@
this.handleSearch()
},
handleSearch(obj) {
+ this.searchData.isInvalid = 0
+ if (obj) {
+ this.searchData = obj
+ }
this.$request({
url: '/allocationExtension/page',
method: 'post',
@@ -198,11 +205,13 @@
this.pagination.PageSize = val
// ���������������������������������������������������������������������������
this.pagination.currentPage = 1
+ this.handleSearch()
},
// ���������������
handleCurrentChange(val) {
// ���������������������
this.pagination.currentPage = val
+ this.handleSearch()
// console.log(val)
},
openWorkOrdinDialog(row, type) {
@@ -280,18 +289,36 @@
<style scoped lang="scss">
.main{
padding: 20px;
+ padding-top: 0px;
+ height: 100%;
+ overflow: overlay;
}
.tab {
- margin-top: 10px;
+ margin-top: 0px;
+ /deep/ .el-tag{
+ font-size: 16px;
+ }
}
-/deep/ .el-table__body-wrapper {
- overflow: scroll;
- position: relative;
- overflow-x: hidden;
- max-height: 400px;
-}
+// /deep/ .el-table__body-wrapper {
+// overflow: scroll;
+// position: relative;
+// overflow-x: hidden;
+// max-height: 400px;
+// }
.pagina{
margin-top: 10px;
- text-align: right;
+}
+/deep/ .el-table__row{
+ font-size: 18px;
+}
+.el-pagination {
+ padding: 0;
+ .el-select{
+ /deep/.el-input{
+ margin:0;
+ }
+ }
+
}
</style>
+
--
Gitblit v1.8.0