|
@@ -159,7 +159,7 @@
|
|
|
background
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
- :current-page="projectParam.content.pageNumber"
|
|
|
+ :current-page="siteid == 'HY' || siteid == 'YOSTEST1'?transactionParam.content.pageNumber:projectParam.content.pageNumber"
|
|
|
:page-sizes="[20,50,100,150]"
|
|
|
:page-size="20"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
@@ -263,6 +263,8 @@ export default {
|
|
|
"dataid": "0",
|
|
|
"stagename":[],
|
|
|
"signdate_due":'',
|
|
|
+ "pageNumber": 1,
|
|
|
+ "pageSize": 20,
|
|
|
"where": {
|
|
|
"tradefield": "",
|
|
|
"isleave":"",
|
|
@@ -848,13 +850,25 @@ export default {
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
- this.projectParam.content.pageSize = val
|
|
|
- this.getProjectList()
|
|
|
+ if (this.siteid == 'HY' || this.siteid == 'YOSTEST1'){
|
|
|
+ this.transactionParam.content.pageSize = val
|
|
|
+ this.queryProject(this.transactionParam.content.signdate_due)
|
|
|
+ }else {
|
|
|
+ this.projectParam.content.pageSize = val
|
|
|
+ this.getProjectList()
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
- this.projectParam.content.pageNumber = val
|
|
|
- this.getProjectList()
|
|
|
+ if (this.siteid == 'HY' || this.siteid == 'YOSTEST1'){
|
|
|
+ this.transactionParam.content.pageNumber = val
|
|
|
+ this.queryProject(this.transactionParam.content.signdate_due)
|
|
|
+ }else {
|
|
|
+ this.projectParam.content.pageNumber = val
|
|
|
+ this.getProjectList()
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
/*获取领域*/
|
|
|
async queryTradeField(){
|
|
@@ -971,6 +985,7 @@ export default {
|
|
|
},
|
|
|
clickChart(date){
|
|
|
this.transactionParam.content.signdate_due = date
|
|
|
+ this.transactionParam.content.pageNumber = 1
|
|
|
this.queryProject(date)
|
|
|
},
|
|
|
async queryProject(date){
|