Commit 6e920ee6 authored by chenfenglei's avatar chenfenglei

请求优化

parent 6347d242
...@@ -475,7 +475,7 @@ ...@@ -475,7 +475,7 @@
addShow:false, addShow:false,
userList: [], userList: [],
nowPage: 1, nowPage: 1,
limit: 500, limit: 200,
total:0, total:0,
timeLang:[], timeLang:[],
searchFrom: { searchFrom: {
...@@ -641,7 +641,7 @@ ...@@ -641,7 +641,7 @@
}, },
searchList(){ searchList(){
let json = { let json = {
limit:500 limit:200
}; };
let json2 = {}; let json2 = {};
if(this.timeLang && this.timeLang.length > 1){ if(this.timeLang && this.timeLang.length > 1){
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
initPage(){ initPage(){
let json = { let json = {
order_coupon_id:this.dialogObj.order_coupon_id, order_coupon_id:this.dialogObj.order_coupon_id,
limit:10000 limit:200
}; };
getCouponListApi(json).then(res=>{ getCouponListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -208,7 +208,7 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA ...@@ -208,7 +208,7 @@ import {getGoodsListApi,setOrderApi,getPeriodsApi,getTeacherListApi,getUserListA
] ]
}, },
nowPage: 1, nowPage: 1,
limit: 500, limit: 200,
total:0, total:0,
form:{ form:{
periods_id:"", periods_id:"",
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
initPage(){ initPage(){
let json = { let json = {
out_trade_no:this.dialogObj.out_trade_no, out_trade_no:this.dialogObj.out_trade_no,
limit:10000 limit:200
}; };
getRefundListApi(json).then(res=>{ getRefundListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
initPage(){ initPage(){
let json = { let json = {
out_trade_no:this.dialogObj.out_trade_no, out_trade_no:this.dialogObj.out_trade_no,
limit:10000 limit:200
}; };
getWithdrawListApi(json).then(res=>{ getWithdrawListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
}, },
getGoodsList(){ getGoodsList(){
let json = { let json = {
limit: 2000, limit: 200,
page: 1 page: 1
} }
getGoodsListApi(json).then(res=>{ getGoodsListApi(json).then(res=>{
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
initPage(){ initPage(){
let json = { let json = {
order_coupon_id:this.dialogObj.order_coupon_id, order_coupon_id:this.dialogObj.order_coupon_id,
limit:10000 limit:200
}; };
getCouponListApi(json).then(res=>{ getCouponListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
initPage(){ initPage(){
let json = { let json = {
out_trade_no:this.dialogObj.out_trade_no, out_trade_no:this.dialogObj.out_trade_no,
limit:10000 limit:200
}; };
getRefundListApi(json).then(res=>{ getRefundListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
initPage(){ initPage(){
let json = { let json = {
out_trade_no:this.dialogObj.out_trade_no, out_trade_no:this.dialogObj.out_trade_no,
limit:10000 limit:200
}; };
getWithdrawListApi(json).then(res=>{ getWithdrawListApi(json).then(res=>{
this.detail = res.list this.detail = res.list
......
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
}) })
}, },
initDialog(){ initDialog(){
getGoodsListApi({limit:9999}).then(res=>{ getGoodsListApi({limit:200}).then(res=>{
this.goodsList = res.list this.goodsList = res.list
}); });
switch(this.dialogObj.type){ switch(this.dialogObj.type){
......
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
}, },
getClassList(){ getClassList(){
let json = { let json = {
limit: 2000, limit: 200,
page: 1 page: 1
} }
getLessonApi(json).then(res=>{ getLessonApi(json).then(res=>{
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
}, },
getClassList(){ getClassList(){
let json = { let json = {
limit: 2000, limit: 200,
page: 1 page: 1
} }
getLessonApi(json).then(res=>{ getLessonApi(json).then(res=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment