|
@@ -4,7 +4,7 @@
|
|
|
<el-tab-pane label="项目合同" name="项目">
|
|
|
<el-input style="width:200px;" placeholder="搜索" :suffix-icon="projectParam.content.where.condition?projectParam.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="projectParam.content.where.condition" @keyup.native.enter="queryProject(projectParam.content.pageNumber = 1)" @clear="queryProject(projectParam.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
- <table-new-layout style="margin-top: 10px" :layout="projectTableCols" :data="projectList" :width="true" :custom="true" @rowClick="rowClick">
|
|
|
+ <table-new-layout style="margin-top: 10px" :layout="projectTableCols" :data="projectList" :width="true" :custom="true" @rowClick="rowClick" height="500px">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<p>{{scope.column.data[scope.column.columnname]}}</p>
|
|
|
</template>
|
|
@@ -16,7 +16,8 @@
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
:page-sizes="[20, 50, 100, 200]"
|
|
|
- :page-size="100"
|
|
|
+ :pager-count="5"
|
|
|
+ :page-size="20"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
</el-pagination>
|
|
@@ -25,7 +26,7 @@
|
|
|
<el-tab-pane label="客户合同" name="客户">
|
|
|
<el-input style="width:200px;" placeholder="搜索" :suffix-icon="customerParam.content.where.condition?customerParam.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="customerParam.content.where.condition" @keyup.native.enter="queryCustomer(customerParam.content.pageNumber = 1)" @clear="queryCustomer(customerParam.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
- <table-new-layout style="margin-top: 10px" :layout="customerTableCols" :data="customerList" :width="true" :custom="true" @rowClick="rowClick">
|
|
|
+ <table-new-layout style="margin-top: 10px" :layout="customerTableCols" :data="customerList" :width="true" :custom="true" @rowClick="rowClick" height="500px">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<p>{{scope.column.data[scope.column.columnname]}}</p>
|
|
|
</template>
|
|
@@ -37,7 +38,8 @@
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
:page-sizes="[20, 50, 100, 200]"
|
|
|
- :page-size="100"
|
|
|
+ :pager-count="5"
|
|
|
+ :page-size="20"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
</el-pagination>
|
|
@@ -98,9 +100,11 @@ export default {
|
|
|
handleClick() {
|
|
|
if (this.activeName === '项目'){
|
|
|
this.projectParam.content.pageNumber = 1
|
|
|
+ this.projectParam.content.pageSize = 20
|
|
|
this.queryProject()
|
|
|
}else {
|
|
|
this.customerParam.content.pageNumber = 1
|
|
|
+ this.customerParam.content.pageSize = 20
|
|
|
this.queryCustomer()
|
|
|
}
|
|
|
},
|