|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div @click="HideWindow">
|
|
|
<!--这是印花模块的模块展示内容-->
|
|
|
- <div for="IN03" id="top" class="top top03" style="padding: 32px 0 0px 0;" @click="switchIndex">
|
|
|
+ <div for="IN03" id="top" class="top top03" style="padding: 32px 0 0px 0;" @click="switchIndex">
|
|
|
<div title="进入数据消费平台"
|
|
|
style="cursor: pointer;height: 38px;width: 38px;text-align: center;float: right;margin: 0px 49px 0px 10px;"
|
|
|
@click.stop="toAdmin"><img src="../../assets/image/toAdmin.png">
|
|
|
@@ -14,6 +14,7 @@
|
|
|
style="cursor: pointer;height: 38px;width: 38px;float: right;margin: 0 10px;" @click.stop="OpenAI">
|
|
|
<img src="../../assets/image/icon-ai1.png">
|
|
|
</div>
|
|
|
+ <div title="当前时间" id="timeDisplay" style="position: fixed; cursor: pointer; height: 38px; width: 300px; text-align: center; margin-top: 75px; line-height: 38px; top: 0; left: 50%; transform: translateX(-50%); z-index: 9999; color: #cccccc; font-weight: bold; font-size: 14px;"></div>
|
|
|
</div>
|
|
|
<div class="bg20"></div>
|
|
|
<div v-if="isShowAI" class="abs aiPanel" @click.stop="void(0)">
|
|
|
@@ -37,9 +38,9 @@
|
|
|
</div>
|
|
|
<template v-if="showIndexData=='index'">
|
|
|
<div class="abs" style="left:50%;top:10%;width: 210px;margin-left:-105px;text-align: center;">
|
|
|
- <div>请选择要查看的产线</div>
|
|
|
+<!-- <div>请选择要查看的产线</div>-->
|
|
|
<div class="cx">
|
|
|
- <span @click="switchCX(item.index)" :class="item.active?'btn active':'btn'" v-for="item in cxList" :style="{backgroundImage: item.active?`url(${btnFrontBg})`:''}">{{ item.name }}</span>
|
|
|
+ <span @click="switchCX(item.index)" :class="item. active?'btn active':'btn'" v-for="item in cxList" :style="{backgroundImage: item.active?`url(${btnFrontBg})`:''}">{{ item.name }}</span>
|
|
|
<div @click="switchCX(0)" :class="currentCXNo==0?'btn active':'btn'" :style="{width:'94%', backgroundImage: currentCXNo==0 ?`url(${btnFrontBg})`:''}">全部</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -230,6 +231,7 @@ import * as echarts from 'echarts';
|
|
|
import { ElDatePicker,ElMessage } from 'element-plus';
|
|
|
import 'element-plus/dist/index.css'; // 确保导入样式文件
|
|
|
import NumberAnimation from './NumberAnimation.vue';
|
|
|
+import { initTimeDisplay } from '@/utils/timeDisplay';
|
|
|
export default {
|
|
|
components: {
|
|
|
NumberAnimation
|
|
|
@@ -392,6 +394,8 @@ export default {
|
|
|
|
|
|
async function init(){
|
|
|
backMasterViewByFac();
|
|
|
+ // 初始化时间显示
|
|
|
+ initTimeDisplay('timeDisplay');
|
|
|
(async()=>{
|
|
|
let marklst = await player.Native.GisMarker.getMarkerList();
|
|
|
if(marklst!=null){
|