Commit 464f6574 by LJM

app

parent dcd21fc7
Showing with 7 additions and 6 deletions
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
}; };
}, },
onShow() { onShow() {
this.getAskNum();
this.getData(); this.getData();
}, },
methods: { methods: {
...@@ -154,6 +155,12 @@ ...@@ -154,6 +155,12 @@
}); });
} }
}); });
},
/**
* 问客数量
*/
getAskNum() {
this.request(API.getAskNum, 'GET', {}, false).then(res => { this.request(API.getAskNum, 'GET', {}, false).then(res => {
if (res.err_code === 0) { if (res.err_code === 0) {
this.ask_customer_status_one_num = res.data.ask_customer_status_one_num; this.ask_customer_status_one_num = res.data.ask_customer_status_one_num;
...@@ -167,12 +174,6 @@ ...@@ -167,12 +174,6 @@
}); });
}, },
/** /**
*
*/
getAskNum() {
},
/**
* @param {Object} index * @param {Object} index
* tab切换 * tab切换
*/ */
......
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 sign in to comment