diff --git a/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue new file mode 100644 index 0000000..45c2f01 --- /dev/null +++ b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue @@ -0,0 +1,1305 @@ + + + + + diff --git a/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue new file mode 100644 index 0000000..45c2f01 --- /dev/null +++ b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue @@ -0,0 +1,1305 @@ + + + + + diff --git a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue index 6f1cdc3..51becf8 100644 --- a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue +++ b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue @@ -559,22 +559,13 @@ }; MonitorAPI.lineGrade(params).then((res) => { if (res && res.code == 200) { - // 默认设置基础的分区 - if (AllData.TypeID == "sewage") { - // 污水 - AllData.TitleName[0].abbreviation = "一级分区"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } else { - // 雨水 - AllData.TitleName[0].abbreviation = "一级流域"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } + // 雨水 + AllData.TitleName[0].abbreviation = "一级流域"; + AllData.TitleName[0].id = ""; //分区信息-动态 + AllData.TitleName[0].grade = "one"; //分区层级-静态 + AllData.TitleName[0].sort = 0; //面包屑的顺序 + AllData.TitleName[0].Name = ""; //全称 + // 设置1 2 3 4 级分区 clearMianBaoData(); res.data.forEach((element) => { diff --git a/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue new file mode 100644 index 0000000..45c2f01 --- /dev/null +++ b/src/views/pictureOnMap/page/DrainageSystem/WSIndex.vue @@ -0,0 +1,1305 @@ + + + + + diff --git a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue index 6f1cdc3..51becf8 100644 --- a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue +++ b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue @@ -559,22 +559,13 @@ }; MonitorAPI.lineGrade(params).then((res) => { if (res && res.code == 200) { - // 默认设置基础的分区 - if (AllData.TypeID == "sewage") { - // 污水 - AllData.TitleName[0].abbreviation = "一级分区"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } else { - // 雨水 - AllData.TitleName[0].abbreviation = "一级流域"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } + // 雨水 + AllData.TitleName[0].abbreviation = "一级流域"; + AllData.TitleName[0].id = ""; //分区信息-动态 + AllData.TitleName[0].grade = "one"; //分区层级-静态 + AllData.TitleName[0].sort = 0; //面包屑的顺序 + AllData.TitleName[0].Name = ""; //全称 + // 设置1 2 3 4 级分区 clearMianBaoData(); res.data.forEach((element) => { diff --git a/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue b/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue index 662d24f..e8e520d 100644 --- a/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue +++ b/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue @@ -1,5 +1,5 @@ + + diff --git a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue index 6f1cdc3..51becf8 100644 --- a/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue +++ b/src/views/pictureOnMap/page/DrainageSystem/YSIndex.vue @@ -559,22 +559,13 @@ }; MonitorAPI.lineGrade(params).then((res) => { if (res && res.code == 200) { - // 默认设置基础的分区 - if (AllData.TypeID == "sewage") { - // 污水 - AllData.TitleName[0].abbreviation = "一级分区"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } else { - // 雨水 - AllData.TitleName[0].abbreviation = "一级流域"; - AllData.TitleName[0].id = ""; //分区信息-动态 - AllData.TitleName[0].grade = "one"; //分区层级-静态 - AllData.TitleName[0].sort = 0; //面包屑的顺序 - AllData.TitleName[0].Name = ""; //全称 - } + // 雨水 + AllData.TitleName[0].abbreviation = "一级流域"; + AllData.TitleName[0].id = ""; //分区信息-动态 + AllData.TitleName[0].grade = "one"; //分区层级-静态 + AllData.TitleName[0].sort = 0; //面包屑的顺序 + AllData.TitleName[0].Name = ""; //全称 + // 设置1 2 3 4 级分区 clearMianBaoData(); res.data.forEach((element) => { diff --git a/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue b/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue index 662d24f..e8e520d 100644 --- a/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue +++ b/src/views/pictureOnMap/page/DrainageSystem/YSIndex_right.vue @@ -1,5 +1,5 @@