单店处理了
This commit is contained in:
@@ -85,17 +85,16 @@ export default {
|
|||||||
},
|
},
|
||||||
getCameras() {
|
getCameras() {
|
||||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", {
|
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", {
|
||||||
// ...this.search,
|
type: "1", ...this.search,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.cameras = res.data?.records?.filter(e => e.storeCameraVOList?.length > 0) || []
|
this.cameras = res.data?.records?.filter(e => e.storeCameraVOList?.length > 0) || []
|
||||||
console.log(this.cameras.map(e=>e.storeName))
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getStoreKeyGoods() {
|
getStoreKeyGoods() {
|
||||||
return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreKeyGoodsSale", {
|
return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreKeyGoodsSale", {
|
||||||
...this.search,
|
type: "1", ...this.search,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.storeKeyGoods = res.data
|
this.storeKeyGoods = res.data
|
||||||
@@ -105,7 +104,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getCategorySales() {
|
getCategorySales() {
|
||||||
return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreCategorySale", {
|
return $http.post("/data-boot/la/screen/singleStoreBoard/singStoreCategorySale", {
|
||||||
...this.search,
|
type: "1", ...this.search,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.categorySales = res.data
|
this.categorySales = res.data
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getCameras() {
|
getCameras() {
|
||||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", {
|
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeCamera", {
|
||||||
...this.search, limit: 999
|
type: "1", ...this.search, limit: 999
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.cameras = res.data?.records || []
|
this.cameras = res.data?.records || []
|
||||||
@@ -121,7 +121,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getStoreKeyGoods() {
|
getStoreKeyGoods() {
|
||||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeKeyGoods", {
|
return $http.post("/data-boot/la/screen/multipleStoreBoard/storeKeyGoods", {
|
||||||
...this.search,
|
type: "1", ...this.search,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.storeKeyGoods = res.data
|
this.storeKeyGoods = res.data
|
||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getCategorySales() {
|
getCategorySales() {
|
||||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/categorySale", {
|
return $http.post("/data-boot/la/screen/multipleStoreBoard/categorySale", {
|
||||||
...this.search,
|
type: "1", ...this.search,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.categorySales = res.data
|
this.categorySales = res.data
|
||||||
|
|||||||
Reference in New Issue
Block a user