wang_xy 4 روز پیش
والد
کامیت
ad70a7e2c0
3فایلهای تغییر یافته به همراه0 افزوده شده و 36 حذف شده
  1. 0 8
      src/api/sentinel.js
  2. 0 14
      src/views/SenEquipmentCenter.vue
  3. 0 14
      src/views/SentryEmergencyCenter.vue

+ 0 - 8
src/api/sentinel.js

@@ -8,14 +8,6 @@ export function brandPageList(params) {
   })
 }
 
-// 查询哨兵所有品牌(根据品牌去重)
-export function selectBrandList() {
-  return request({
-    url: `/sooka-digital-construction/deviceInfo/selectBrandList`,
-    method: 'get'
-  })
-}
-
 // 查询哨兵设备统计详情
 export function selectDailyThreshold(deviceCode) {
   return request({

+ 0 - 14
src/views/SenEquipmentCenter.vue

@@ -60,7 +60,6 @@
 	import {getUserProfile} from "@/api/system/user";
 	import {
 		brandPageList,
-		selectBrandList,
 		selectByDeviceId,
 		selectDailyThreshold,
     countByBrand,
@@ -96,19 +95,6 @@
 		},
 		created() {
       this.getListDeviceAll()
-			// 查询品牌
-			selectBrandList().then(res => {
-				if(res.data){
-					let brandoptions = []
-					res.data.forEach(e => {
-						brandoptions.push({
-							value:e,
-							label:e
-						})
-					})
-					this.options = brandoptions
-				}
-			})
 		},
 		mounted() {
       this.equipmentEcharts();

+ 0 - 14
src/views/SentryEmergencyCenter.vue

@@ -141,7 +141,6 @@
 	import {getUserProfile} from "@/api/system/user";
 	import {
 		listDeviceAll,
-		selectBrandList,
 		selectByDeviceId,
 		selectDailyThreshold
 	} from "@/api/sentinel"
@@ -172,19 +171,6 @@
 		},
 		created() {
 			this.getListDeviceAll()
-			// 查询品牌
-			selectBrandList().then(res => {
-				if(res.data){
-					let brandoptions = []
-					res.data.forEach(e => {
-						brandoptions.push({
-							value:e,
-							label:e
-						})
-					})
-					this.options = brandoptions
-				}
-			})
 		},
 		mounted() {
 			// 初始化地图数据