@@ -158,6 +164,7 @@ import echarts from "echarts";
import {storeAmountIndex, storeTotalIndex} from "@/api/indexBanner";
import {selectChildByDeptId} from "@/api/system/Site/site";
import {parseTime} from "@/utils/fuint";
+import {getBannerListApi} from "@/api/sys/banner";
export default {
data(){
@@ -195,6 +202,8 @@ export default {
storeTotal:{},
// 店铺金额
storeAmount:{},
+ // banner图列表
+ bannerList:{},
}
},
created() {
@@ -204,11 +213,22 @@ export default {
this.getStoreTotal()
this.selectChildByDeptIdApi()
this.getStoreAmount()
+ this.selectBannerList()
},
mounted() {
this.initChart()
},
methods:{
+ selectBannerList(){
+ let queryParams = {
+ pageNo:1,
+ pageSize:10,
+ system_position:"系统首页"
+ }
+ getBannerListApi(queryParams).then(res=>{
+ this.bannerList = res.data.records
+ })
+ },
// 查询
selectChildByDeptIdApi() {
selectChildByDeptId().then(res => {
diff --git a/fuintAdmin_zt/src/views/homeComponents/manage.vue b/fuintAdmin_zt/src/views/homeComponents/manage.vue
index edf549339..48707f738 100644
--- a/fuintAdmin_zt/src/views/homeComponents/manage.vue
+++ b/fuintAdmin_zt/src/views/homeComponents/manage.vue
@@ -1,10 +1,11 @@
-
+
-

+
+
@@ -64,7 +65,7 @@
-
+
数据统计
-
+
{{item}}
+ end-placeholder="结束日期"
+ @change="getStoreList()">
@@ -161,9 +163,10 @@