shish 3 年 前
コミット
5e595f09ff
2 ファイル変更7 行追加2 行削除
  1. 2 2
      ghsApp/src/admin/staff/achieve.vue
  2. 5 0
      ghsApp/src/api/stat/index.js

+ 2 - 2
ghsApp/src/admin/staff/achieve.vue

@@ -33,7 +33,7 @@
 <script>
 import AppWrapperEmpty from "@/components/app-wrapper-empty";
 import SelectList from "@/components/plugin/selectList";
-import { getStatYj } from "@/api/stat/index";
+import { getStatYjProfile } from "@/api/stat";
 import { list } from "@/mixins";
 import ShopSelect from "@/components/module/shopSelect";
 import DateSelect from "@/components/module/dateSelect";
@@ -109,7 +109,7 @@ export default {
 			this.yjList();
 		},
 		yjList() {
-			return getStatYj(this.params).then(res => {
+			return getStatYjProfile(this.params).then(res => {
 				this.completes(res);
 			});
 		}

+ 5 - 0
ghsApp/src/api/stat/index.js

@@ -17,6 +17,11 @@ export const getMainProfile = data => {
 export const getStatYj = data => {
 	return https.get('/stat-yj/list', data)
 }
+
+export const getStatYjProfile = data => {
+	return https.get('/stat-yj/profile', data)
+}
+
 //业绩
 export const getStatProfit = data => {
 	return https.get('/stat/profit', data)