|
@@ -192,6 +192,7 @@ export default {
|
|
|
// 初次加载当月数据(列表、图)
|
|
|
getThisMonthData() {
|
|
|
this.$nextTick(() => {
|
|
|
+ this.loading = true;
|
|
|
// let nowDate = new Date()
|
|
|
// let date = {
|
|
|
// year: nowDate.getFullYear(),
|
|
@@ -210,7 +211,7 @@ export default {
|
|
|
// 参数给 chart
|
|
|
this.$refs.departmentChart.queryParam = this.queryParam
|
|
|
this.$refs.customerChart.queryParam = this.queryParam
|
|
|
-
|
|
|
+ this.loading = false;
|
|
|
if (res.success) {
|
|
|
this.extStadata = res.result.records;
|
|
|
this.pagination = {
|
|
@@ -226,8 +227,10 @@ export default {
|
|
|
// 查询订单统计
|
|
|
getExternalData() {
|
|
|
this.$nextTick(() => {
|
|
|
+ this.loading = true;
|
|
|
this.queryParam.vendorType = '外部'
|
|
|
externalList(this.queryParam).then(res => {
|
|
|
+ this.loading = false;
|
|
|
// 参数给 chart
|
|
|
this.$refs.departmentChart.queryParam = this.queryParam
|
|
|
this.$refs.customerChart.queryParam = this.queryParam
|