+ :class="current == index ? 'active-item' : ''" @click="handleTabs(item, index)">
{{ item.content }}
{{ item.reportTime }}
@@ -219,7 +219,7 @@ export default {
}
.list-wr {
display: flex;
- padding: 0 32px;
+ // padding: 0 32px;
}
.list-left {
@@ -230,9 +230,13 @@ export default {
flex-shrink: 0;
border-right: 1px dashed #1257c9;
overflow: auto;
+ .active-item {
+ border: 1px solid #0063FE !important;
+ box-shadow: 0px 0px 10px #0063fe inset;
+ }
.left-item {
- padding: 10px 0;
- border-right: 1px dashed #1257c9;
+ padding: 10px 0px 10px 10px;
+ // border-right: 1px dashed #1257c9;
cursor: pointer;
.item-title {
font-size: 16px;
diff --git a/src/views/modules/visual/communityParty/options.js b/src/views/modules/visual/communityParty/options.js
index ba0ddd334..a22fd586d 100644
--- a/src/views/modules/visual/communityParty/options.js
+++ b/src/views/modules/visual/communityParty/options.js
@@ -88,7 +88,7 @@ export function pieOption (_charts) {
// formatter: '{a|{c}}\n\n{name|{b}}',
formatter: '{a|{c}}\n{r|}\n{name|{b}}',
minMargin: 5,
- edgeDistance: 1,
+ edgeDistance: '10%',
lineHeight: 15,
color: '#fff',
fontSize: 12,
diff --git a/src/views/modules/visual/components/screen-map/index.vue b/src/views/modules/visual/components/screen-map/index.vue
index 2924e5200..a0144d62f 100644
--- a/src/views/modules/visual/components/screen-map/index.vue
+++ b/src/views/modules/visual/components/screen-map/index.vue
@@ -370,7 +370,7 @@ const vueGis = {
id: oneIcon.id_,
},
});
- // console.log('oneIcon----', oneIcon)
+ console.log('oneIcon----ddd', oneIcon)
let polyIconStyle = new Style({
image: new Icon({
// anchor: [0.5, 0.5],
@@ -404,14 +404,14 @@ const vueGis = {
info: { ...oneIcon },
},
});
+ console.log('oneIcon----', oneIcon)
let iconStyle = new Style({
image: new Icon({
// anchor: [0.5, 0.5],
// imgSize: [32, 32],
// scale: 0.5,
- src:
- (oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex]) ||
- this.iconUrlArray[0],
+ // src: oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex] || this.iconUrlArray[0] || this.iconUrlArray[0]
+ src: (oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex]) || (oneIcon.index &&this.iconUrlArray[oneIcon.index]) || this.iconUrlArray[0]
}),
// text: createTextStyle(oneIcon)
});
@@ -603,14 +603,24 @@ const vueGis = {
return styles[feature.getGeometry().getType()];
};
})();
-
// select = new Select({
// style: overlayStyle
// });
// 有BUG 加入多边形选中样式时,如果同时存在icon层和多边形层,点击icon会使icon消失 ---zhaotongyao 2022.06.01
- map.addLayer(polygonLayer);
+ // map.addLayer(polygonLayer);
// map.addInteraction(select);
+ select = new Select({
+ style: overlayStyle
+ });
+
+
+ map.addLayer(polygonLayer)
+ if (this.$route.path == '/main-shuju/visual-communityParty-gridParty' || this.$route.path == '/main-shuju/visual-communityParty-community') { // 2022.6.9 网格党建平面图 联建单位分析页面 点位点击以后会消失,屏蔽这段代码以后可以解决
+ console.log('去掉默认点击')
+ } else {
+ map.addInteraction(select);
+ }
},
//初始化多边形icon图层
diff --git a/src/views/pages/login-sso.vue b/src/views/pages/login-sso.vue
new file mode 100644
index 000000000..5de5fd94d
--- /dev/null
+++ b/src/views/pages/login-sso.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue
index 6db09b136..80f8b987a 100644
--- a/src/views/pages/login.vue
+++ b/src/views/pages/login.vue
@@ -140,6 +140,10 @@ export default {
},
},
created() {
+ if (process.env.VUE_APP_SSO_LOGIN == "on") {
+ this.$router.replace({ name: "login-sso" });
+ }
+
//平阴联动平台 登陆
if (this.$route.query.platformToken) {
this.isShowLogin = false;