Commit 42222754 authored by 纪泽龙's avatar 纪泽龙

Merge branch 'jzl'

parents 36ae861c 4880be16
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- <title><%= webpackConfig.name %></title> --> <!-- <title><%= webpackConfig.name %></title> -->
<title>.</title> <title>...</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<script> <script>
window._AMapSecurityConfig = { window._AMapSecurityConfig = {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 纪泽龙 jizelong@qq.com * @Author: 纪泽龙 jizelong@qq.com
* @Date: 2024-07-30 15:09:53 * @Date: 2024-07-30 15:09:53
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @LastEditTime: 2024-07-31 17:28:44 * @LastEditTime: 2024-08-02 14:08:42
* @FilePath: /zh-baseversion-web/src/utils/mapClass/mapLoca.js * @FilePath: /zh-baseversion-web/src/utils/mapClass/mapLoca.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -69,7 +69,7 @@ export class LocalLine { ...@@ -69,7 +69,7 @@ export class LocalLine {
// console.log('this.loca.add', this.layer) // console.log('this.loca.add', this.layer)
this.loca.add(layer); this.loca.add(layer);
this.star(); this.start();
}); });
} }
show() { show() {
...@@ -98,7 +98,7 @@ export class LocalLine { ...@@ -98,7 +98,7 @@ export class LocalLine {
this.loca.animate.stop(); this.loca.animate.stop();
} }
star() { start() {
this.loca.animate.start(); this.loca.animate.start();
} }
} }
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2022-01-11 13:44:17 * @Date: 2022-01-11 13:44:17
* @LastEditTime: 2024-08-02 09:45:26 * @LastEditTime: 2024-08-02 14:09:08
* @LastEditors: 纪泽龙 jizelong@qq.com * @LastEditors: 纪泽龙 jizelong@qq.com
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue * @FilePath: /test/hello-world/src/views/Home.vue
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
alt="" alt=""
/> />
<img v-else src="../../assets/images/20230805152711.png" alt="" /> --> <img v-else src="../../assets/images/20230805152711.png" alt="" /> -->
{{$store.state.user.systemSetting.large_screen_header_city_name}} {{ $store.state.user.systemSetting.large_screen_header_city_name }}
</div> </div>
<!-- 左边 --> <!-- 左边 -->
...@@ -65,7 +65,11 @@ ...@@ -65,7 +65,11 @@
<!-- 右边 --> <!-- 右边 -->
<div class="rightbar" :style="changeRightBarStyle"> <div class="rightbar" :style="changeRightBarStyle">
<div class="goSystem" @click="$router.push('/index')">进入管理系统</div> <div class="goSystem" @click="$router.push('/index')">进入管理系统</div>
<PipeColor :b="true" @showAnimate="showAnimate" /> <PipeColor
v-if="lineData.length > 0"
:b="true"
@showAnimate="showAnimate"
/>
<rightBar ref="mychild"></rightBar> <rightBar ref="mychild"></rightBar>
</div> </div>
...@@ -278,6 +282,8 @@ export default { ...@@ -278,6 +282,8 @@ export default {
// 报警轮询timer // 报警轮询timer
alarmTimer: null, alarmTimer: null,
geoJsonArr: [], geoJsonArr: [],
// 管道数据
lineData: [],
}; };
}, },
...@@ -544,8 +550,10 @@ export default { ...@@ -544,8 +550,10 @@ export default {
let num = 1; let num = 1;
if (!bool) { if (!bool) {
num = 1; num = 1;
this.LocalLine.stop();
} else { } else {
num = 0.1; num = 0.1;
this.LocalLine.start();
} }
this.map.piprOpacityChange(num); this.map.piprOpacityChange(num);
}, },
...@@ -589,6 +597,7 @@ export default { ...@@ -589,6 +597,7 @@ export default {
return httpFunc().then((res) => { return httpFunc().then((res) => {
// 给用户加icontype // 给用户加icontype
console.log("管道", res.data); console.log("管道", res.data);
this.lineData = res.data;
// if (res.data && !res.data[0].iconType) { // if (res.data && !res.data[0].iconType) {
res.data.forEach((item) => { res.data.forEach((item) => {
item.iconType = 1; item.iconType = 1;
......
This diff is collapsed.
...@@ -132,6 +132,8 @@ export default { ...@@ -132,6 +132,8 @@ export default {
this.loginForm.uuid = res.uuid; this.loginForm.uuid = res.uuid;
this.cityName = res.cityName; this.cityName = res.cityName;
document.title = this.cityName; document.title = this.cityName;
}); });
}, },
getCookie() { getCookie() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment