|
@@ -218,7 +218,7 @@ export default {
|
|
|
handleCurrentChange:function(currentPage){
|
|
|
this.currentPage=currentPage;
|
|
|
if(!this.input){
|
|
|
- businessList(this.currentPage,this.pagesize,this.businessType).then(
|
|
|
+ businessList(this.currentPage,this.pagesize,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.businessData=res.data.business_list.list;
|
|
@@ -228,7 +228,7 @@ export default {
|
|
|
)
|
|
|
}
|
|
|
else {
|
|
|
- selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
|
|
|
+ selectBusiness(this.currentPage,this.pagesize,this.input,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.selectBusinessData=res.data.select_business_list.list;
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
handleSizeChange:function(size){
|
|
|
this.pagesize=size;
|
|
|
if(!this.input){
|
|
|
- businessList(this.currentPage,this.pagesize,this.businessType).then(
|
|
|
+ businessList(this.currentPage,this.pagesize,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.businessData=res.data.business_list.list;
|
|
@@ -249,7 +249,7 @@ export default {
|
|
|
)
|
|
|
}
|
|
|
else {
|
|
|
- selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
|
|
|
+ selectBusiness(this.currentPage,this.pagesize,this.input,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.selectBusinessData=res.data.select_business_list.list;
|
|
@@ -343,7 +343,7 @@ export default {
|
|
|
filterTable(){
|
|
|
|
|
|
if (this.input.trim() === '') {
|
|
|
- businessList(this.currentPage,this.pagesize,this.businessType).then(
|
|
|
+ businessList(this.currentPage,this.pagesize,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.businessData=res.data.business_list.list;
|
|
@@ -354,7 +354,7 @@ export default {
|
|
|
// 如果输入框为空,显示所有数据
|
|
|
} else {
|
|
|
// 否则,只显示与输入文本匹配的数据
|
|
|
- selectBusiness(this.currentPage,this.pagesize,this.input,this.businessType).then(
|
|
|
+ selectBusiness(this.currentPage,this.pagesize,this.input,this.activeIndex).then(
|
|
|
res=>
|
|
|
{
|
|
|
this.selectBusinessData=res.data.select_business_list.list;
|