|
@@ -59,7 +59,7 @@
|
|
currentIndex: -1,
|
|
currentIndex: -1,
|
|
isindex: 0, //判断选中第几个标题
|
|
isindex: 0, //判断选中第几个标题
|
|
cityList: [{ //tab数组展示列表
|
|
cityList: [{ //tab数组展示列表
|
|
- label: '牟平',
|
|
|
|
|
|
+ label: '金海采油厂',
|
|
number: 0,
|
|
number: 0,
|
|
dj: 1
|
|
dj: 1
|
|
}],
|
|
}],
|
|
@@ -255,21 +255,53 @@
|
|
|
|
|
|
this.dj = 1
|
|
this.dj = 1
|
|
this.ALLlist = []
|
|
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
|
|
})
|
|
})
|
|
|
|
|
|
}
|
|
}
|