DESKTOP-CRQ4N2U\jintian 1 rok pred
rodič
commit
519f8c7c77
1 zmenil súbory, kde vykonal 48 pridanie a 16 odobranie
  1. 48 16
      src/views/Map3d/components/mapNavigate.vue

+ 48 - 16
src/views/Map3d/components/mapNavigate.vue

@@ -59,7 +59,7 @@
 				currentIndex: -1,
 				isindex: 0, //判断选中第几个标题
 				cityList: [{ //tab数组展示列表
-					label: '牟平',
+					label: '金海采油厂',
 					number: 0,
 					dj: 1
 				}],
@@ -255,21 +255,53 @@
 
 				this.dj = 1
 				this.ALLlist = []
-				this.$http.get("/getTableList", {
-					tableName: "map_region",
-					sqlWhere: "dj = 1",
-					orderByField: ''
-				}).then(res => {
-					res.data.forEach(
-						item => {
-							console.log('街道信息', item)
-							this.ALLlist.push({
-								label: item.regionname,
-								regioncode: item.regioncode,
-								dj: 1
-							})
-						}
-					)
+				// this.$http.get("/getTableList", {
+				// 	tableName: "map_region",
+				// 	sqlWhere: "dj = 1",
+				// 	orderByField: ''
+				// }).then(res => {
+				// 	res.data.forEach(
+				// 		item => {
+				// 			console.log('街道信息', item)
+				// 			this.ALLlist.push({
+				// 				label: item.regionname,
+				// 				regioncode: item.regioncode,
+				// 				dj: 1
+				// 			})
+							
+				// 		}
+				// 	)
+				// })
+				
+				this.ALLlist.push({
+					label: "管理一区",
+					regioncode: "1",
+					dj: 1
+				})
+				this.ALLlist.push({
+					label: "管理二区",
+					regioncode: "1",
+					dj: 1
+				})
+				this.ALLlist.push({
+					label: "管理三区",
+					regioncode: "1",
+					dj: 1
+				})
+				this.ALLlist.push({
+					label: "管理四区",
+					regioncode: "1",
+					dj: 1
+				})
+				this.ALLlist.push({
+					label: "管理五区",
+					regioncode: "1",
+					dj: 1
+				})
+				this.ALLlist.push({
+					label: "管理六区",
+					regioncode: "1",
+					dj: 1
 				})
 
 			}