| | |
| | | <script setup> |
| | | import {onBeforeUnmount, onMounted, onUnmounted, ref} from "vue"; |
| | | import {useRouter} from "vue-router" |
| | | import {host, WebSocketHost} from '@/utils/constants' |
| | | import { onBeforeUnmount, onMounted, onUnmounted, ref, computed } from "vue"; |
| | | import { useRouter } from "vue-router" |
| | | import { host, WebSocketHost } from '@/utils/constants' |
| | | import request from "@/utils/request" |
| | | import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService'; |
| | | import { closeWebSocket, initializeWebSocket } from '@/utils/WebSocketService'; |
| | | import dayjs from 'dayjs'; |
| | | import {ElMessage} from 'element-plus' |
| | | import {useI18n} from 'vue-i18n' |
| | | import { ElMessage } from 'element-plus' |
| | | import { useI18n } from 'vue-i18n' |
| | | |
| | | const router = useRouter() |
| | | const blinda = ref(false) |
| | | const blindb = ref(false) |
| | | const {t} = useI18n() |
| | | const blindc = ref(false) |
| | | const { t } = useI18n() |
| | | let language = ref(localStorage.getItem('lang') || 'zh') |
| | | let socket = null; |
| | | const rawGlassStorageDetailList = ref([]) |
| | |
| | | let socket2 = null; |
| | | const temperingTaskType = ref([]) |
| | | const temperingGlassInfoList = ref([]) |
| | | const temperingGlassInfoOutList = ref([]) |
| | | const temperingGlassInfoInList = ref([]) |
| | | const socketUrl2 = `ws://${WebSocketHost}:${host}/api/temperingGlass/api/talk/largenScreen`; |
| | | const handleMessage2 = (data) => { |
| | | temperingTaskType.value = data.temperingTaskType[0]; |
| | |
| | | numBoxes3.value = temperingTaskType.value; |
| | | boxStart3(); |
| | | } |
| | | temperingGlassInfoOutList.value = data.temperingGlassInfoOutList[0]; |
| | | if (numBoxes4.value != temperingGlassInfoOutList.value) { |
| | | numBoxes4.value = temperingGlassInfoOutList.value; |
| | | boxStart3(); |
| | | if (temperingGlassInfoList.value > 1) { |
| | | numBoxes4.value = 1; |
| | | } else { |
| | | numBoxes4.value = 0; |
| | | } |
| | | temperingGlassInfoInList.value = data.temperingGlassInfoInList[0]; |
| | | // if (numBoxes4.value != temperingGlassInfoOutList.value) { |
| | | // numBoxes4.value = temperingGlassInfoOutList.value; |
| | | // boxStart3(); |
| | | // } |
| | | }; |
| | | let socket3 = null; |
| | | const bigStorageCageUsage = ref([]) |
| | |
| | | const tableData = ref([]); |
| | | const dynamicColumns = ref([]); |
| | | const flowCardDetail = async (orderId) => { |
| | | blinda.value= true; |
| | | blinda.value = true; |
| | | try { |
| | | const response = await request.post('/glassStorage/flow_card/flowCardReportForms?orderId=' + orderId ); |
| | | const response = await request.post('/glassStorage/flow_card/flowCardReportForms?orderId=' + orderId); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | tableData.value = response.data; |
| | |
| | | const numBoxes3 = ref(5); |
| | | const numBoxes4 = ref(1); |
| | | const speed = 0.1; |
| | | const maxX = 200; // 终点X坐标 |
| | | const maxY = -73; // 终点Y坐标 |
| | | const maxX2 = 250; // 终点X坐标 |
| | | const maxY2 = -165; // 终点Y坐标 |
| | | const maxX3 = 100; // 终点X坐标 |
| | | const maxY3 = -75; // 终点Y坐标 |
| | | const maxX4 = 60; // 终点X坐标 |
| | | const maxX = 250; // 终点X坐标 |
| | | const maxY = -90; // 终点Y坐标 |
| | | const maxX2 = 313; // 终点X坐标 |
| | | const maxY2 = -204; // 终点Y坐标 |
| | | const maxX3 = 125; // 终点X坐标 |
| | | const maxY3 = -105; // 终点Y坐标 |
| | | const maxX4 = 80; // 终点X坐标 |
| | | const maxY4 = 0; // 终点Y坐标 |
| | | const delayFrames = 600; // 每个 div 的延迟帧数 |
| | | const boxes = ref([]); |
| | |
| | | const iframe2 = ref(false); |
| | | const handlehistorical2 = () => { |
| | | iframe2.value = true; |
| | | iframeUrl2.value =`${window.location.origin}/#/Returns/upreturnhistory`;; |
| | | iframeUrl2.value = `${window.location.origin}/#/Returns/upreturnhistory`;; |
| | | }; |
| | | const iframeUrl3 = ref(''); |
| | | const iframe3 = ref(false); |
| | |
| | | const iframe4 = ref(false); |
| | | const handlehistorical4 = () => { |
| | | iframe4.value = true; |
| | | iframeUrl4.value =`${window.location.origin}/#/Caching/cachingbeforehistory`; |
| | | iframeUrl4.value = `${window.location.origin}/#/Caching/cachingbeforehistory`; |
| | | }; |
| | | const iframeUrl5 = ref(''); |
| | | const iframe5 = ref(false); |
| | |
| | | iframe10.value = true; |
| | | iframeUrl10.value = `${window.location.origin}/#/largescreendisplay/statistics`; |
| | | }; |
| | | const transposedData = computed(() => { |
| | | const keys = Object.keys(productionVO.value[0] || {}); |
| | | return keys.map(key => { |
| | | const row = { name: fieldNames[key] || key }; |
| | | productionVO.value.forEach((item, index) => { |
| | | row[`value${index}`] = item[key]; |
| | | }); |
| | | return row; |
| | | }); |
| | | }); |
| | | const fieldNames = { |
| | | date: t('large.date'), |
| | | countOutOne: t('large.countOutOne'), |
| | | totalAreaOutOne: t('large.totalAreaOutOne'), |
| | | countOutTwo: t('large.countOutTwo'), |
| | | totalAreaOutTwo: t('large.totalAreaOutTwo'), |
| | | countIn: t('large.countIn'), |
| | | totalAreaIn: t('large.totalAreaIn'), |
| | | countOut: t('large.countOut'), |
| | | totalAreaOut: t('large.totalAreaOut'), |
| | | hollowCountOutOne: t('large.hollowCountOutOne'), |
| | | hollowTotalAreaOutOne: t('large.hollowTotalAreaOutOne'), |
| | | hollowCountOutTwo: t('large.hollowCountOutTwo'), |
| | | hollowTotalAreaOutTwo: t('large.hollowTotalAreaOutTwo'), |
| | | }; |
| | | |
| | | </script> |
| | | <template> |
| | | <div style="height: 500px;"> |
| | | <el-dialog v-model="iframe1" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl1" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl1" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe2" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl2" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl2" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe3" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl3" marginwidth="2000px" marginheight="2000px" width="100%" height="700" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl3" marginwidth="2000px" marginheight="2000px" width="100%" height="700" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe4" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl4" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl4" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe5" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl5" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl5" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe6" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl6" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl6" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe7" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl7" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl7" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe8" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl8" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl8" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe9" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl9" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl9" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <el-dialog v-model="iframe10" top="10vh" width="95%"> |
| | | <iframe :src="iframeUrl10" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" frameborder="0"></iframe> |
| | | <iframe :src="iframeUrl10" marginwidth="2000px" marginheight="2000px" width="100%" height="750px" |
| | | frameborder="0"></iframe> |
| | | </el-dialog> |
| | | <!-- 生产统计 --> |
| | | <div style="height: 100px;width: 88%;float: right;position: absolute;" @click="handlehistorical10"> |
| | | <el-table height="100" ref="table" :data="productionVO" |
| | | :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> |
| | | <el-table-column prop="date" align="center" :label="$t('large.date')" min-width="70" /> |
| | | <el-table-column prop="countOutOne" align="center" :label="$t('large.countOutOne')" min-width="40" /> |
| | | <el-table-column prop="totalAreaOutOne" align="center" :label="$t('large.totalAreaOutOne')" min-width="40" /> |
| | | <el-table-column prop="countOutTwo" align="center" :label="$t('large.countOutTwo')" min-width="50" /> |
| | | <el-table-column prop="totalAreaOutTwo" align="center" :label="$t('large.totalAreaOutTwo')" min-width="50" /> |
| | | <el-table-column prop="countIn" align="center" :label="$t('large.countIn')" min-width="50" /> |
| | | <el-table-column prop="totalAreaIn" align="center" :label="$t('large.totalAreaIn')" min-width="50" /> |
| | | <el-table-column prop="countOut" align="center" :label="$t('large.countOut')" min-width="40" /> |
| | | <el-table-column prop="totalAreaOut" align="center" :label="$t('large.totalAreaOut')" min-width="40" /> |
| | | <el-table-column prop="hollowCountOutOne" align="center" :label="$t('large.hollowCountOutOne')" min-width="40" /> |
| | | <el-table-column prop="hollowTotalAreaOutOne" align="center" :label="$t('large.hollowTotalAreaOutOne')" min-width="40" /> |
| | | <el-table-column prop="hollowCountOutTwo" align="center" :label="$t('large.hollowCountOutTwo')" min-width="40" /> |
| | | <el-table-column prop="hollowTotalAreaOutTwo" align="center" :label="$t('large.hollowTotalAreaOutTwo')" |
| | | min-width="40"/> |
| | | <!-- <el-table-column align="center" :label="$t('large.operate')" min-width="50"> |
| | | <template #default="scope"> |
| | | <el-button type="primary" style="margin-left: 10px;margin-bottom: 10px;" |
| | | @click="flowCardDetail(scope.row.orderId)">{{ $t('large.mes') }}</el-button> |
| | | </template> |
| | | </el-table-column> --> |
| | | </el-table> |
| | | </div> |
| | | <div class="awatch"> |
| | | |
| | | <div class="awatch" style="display: flex;"> |
| | | <!-- 生产统计 --> |
| | | <div style="height: 100px;width: 15%;float: right;"> |
| | | <el-table height="540" ref="table" :data="transposedData" @click="handlehistorical10" |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }"> |
| | | <el-table-column prop="name" align="center" min-width="100" /> |
| | | <el-table-column v-for="(item, index) in productionVO" :key="index" :prop="'value' + index" align="center" |
| | | min-width="80" /> |
| | | </el-table> |
| | | <div> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical1">{{ |
| | | $t('large.historicaltasks1') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical2">{{ |
| | | $t('large.historicaltasks2') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical3">{{ |
| | | $t('large.historicaltasks3') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical4">{{ |
| | | $t('large.historicaltasks4') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical5">{{ |
| | | $t('large.historicaltasks5') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical6">{{ |
| | | $t('large.historicaltasks6') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical7">{{ |
| | | $t('large.historicaltasks7') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical8">{{ |
| | | $t('large.historicaltasks8') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="handlehistorical9">{{ |
| | | $t('large.historicaltasks9') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" |
| | | @click="blindc=true">{{ |
| | | $t('large.order') }}</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="img-screen" alt="Screen"> |
| | | <!-- 钢化色块 --> |
| | | <div v-if="temperingGlassInfoInList > 0" class="tempering" |
| | | style="width: 55px;height: 25px;top: 359px;left: 162px;position: absolute;background-color: #911005;"></div> |
| | | <div v-if="temperingGlassInfoList > 0" class="tempering" |
| | | style="width: 50px;height: 22px;top: 354px;left: 228px;position: absolute;background-color: #911005;"></div> |
| | | style="width: 66px;height: 28px;top: 355px;left: 284px;position: absolute;background-color: #911005;"></div> |
| | | <div v-if="temperingGlassInfoList > 1" class="tempering" |
| | | style="width: 50px;height: 22px;top: 354px;left: 284px;position: absolute;background-color: #911005;"></div> |
| | | style="width: 66px;height: 28px;top: 355px;left: 358px;position: absolute;background-color: #911005;"></div> |
| | | <!-- 切割台色块 --> |
| | | <div v-if="engineeringOne.length > 1" class="slicing" |
| | | style="width: 50px;height: 22px;top: 575px;left: 453px;position: absolute;background-color: #911005;"></div> |
| | | style="width: 59px;height: 29px;top: 629px;left: 562px;position: absolute;background-color: #911005;"></div> |
| | | <div v-if="engineeringTwo.length > 1" class="slicing" |
| | | style="width: 50px;height: 22px;top: 625px;left: 453px;position: absolute;background-color: #911005;"></div> |
| | | style="width: 59px;height: 29px;top: 692px;left: 562px;position: absolute;background-color: #911005;"></div> |
| | | <!-- 原片仓储色块 --> |
| | | <div class="raw" style="width: 31px;height: 32px;top: 571px;left: 300px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 40px;top: 624px;left: 372px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(0, 7)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <div class="raw" style="width: 31px;height: 47px;top: 610px;left: 300px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 58px;top: 673px;left: 372px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(8, 17)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <div class="raw" style="width: 31px;height: 13px;top: 675px;left: 300px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 20px;top: 751px;left: 372px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(18, 20)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <div class="raw" style="width: 31px;height: 22px;top: 657px;left: 370px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 27px;top: 732px;left: 459px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(21, 25)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <div class="raw" style="width: 31px;height: 9px;top: 561px;left: 370px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 12px;top: 611px;left: 459px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(26, 27)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <div class="raw" style="width: 31px;height: 9px;top: 612px;left: 370px;position: absolute;"> |
| | | <div class="raw" style="width: 35px;height: 12px;top: 6676px;left: 459px;position: absolute;"> |
| | | <div v-for="(item, index) in rawGlassStorageDetailList.slice(28, 29)" :key="index" |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5px;background-color: #911005;"'></div> |
| | | :style='"width: " + (item.remainQuantity / 5) + "px;height: 5.6px;background-color: #911005;"'></div> |
| | | </div> |
| | | <!-- 磨边色块 --> |
| | | <div class="container" |
| | | style="position: relative;width: 20px;height: 20px;top: 572px;left: 648px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes" :key="index" class="box" :style="box.style" ></div> |
| | | style="position: relative;width: 20px;height: 20px;top: 628px;left: 804px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes" :key="index" class="box" :style="box.style"></div> |
| | | </div> |
| | | <div class="container" |
| | | style="position: relative;width: 20px;height: 20px;top: 625px;left: 700px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes2" :key="index" class="box" :style="box.style" ></div> |
| | | style="position: relative;width: 20px;height: 20px;top: 690px;left: 867px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes2" :key="index" class="box" :style="box.style"></div> |
| | | </div> |
| | | <!-- 钢化运动色块 --> |
| | | <div class="container" |
| | | style="position: relative;width: 20px;height: 20px;top: 438px;left: 196px;position: absolute;"> |
| | | style="position: relative;width: 20px;height: 20px;top: 468px;left: 250px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes3" :key="index" class="box" :style="box.style"></div> |
| | | </div> |
| | | <div class="container" |
| | | style="position: relative;width: 20px;height: 20px;top: 355px;left: 496px;position: absolute;"> |
| | | style="position: relative;width: 20px;height: 20px;top: 357px;left: 618px;position: absolute;"> |
| | | <div v-for="(box, index) in boxes4" :key="index" class="box" :style="box.style"></div> |
| | | </div> |
| | | <!-- 钢化前大理片色块 --> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(0, 1)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 447px;left: 314px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(0, 1)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 471px;left: 389px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(1, 2)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 463px;left: 314px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(1, 2)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 491px;left: 389px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(2, 3)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 478px;left: 314px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(2, 3)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 510px;left: 389px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(3, 4)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 493px;left: 314px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in bigStorageCageUsage.slice(3, 4)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 530px;left: 389px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <!-- 中空前大理片色块 --> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(0, 1)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 337px;left: 671px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(0, 1)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 334px;left: 832px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(1, 2)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 353px;left: 671px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(1, 2)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 354px;left: 832px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(2, 3)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 369px;left: 671px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(2, 3)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 374px;left: 832px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(3, 4)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 385px;left: 671px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(3, 4)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 394px;left: 832px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(4, 5)" :key="index" |
| | | :style='"position: relative;width: " + (38 * item.percentage / 100) + "px;height: 13px;top: 401px;left: 671px;position: absolute;background-color: #911005;"'> |
| | | <div class="container" v-for="(item, index) in hollowBigStorageCageUsage.slice(4, 5)" :key="index" |
| | | :style='"position: relative;width: " + (46 * item.percentage / 100) + "px;height: 17px;top: 414px;left: 832px;position: absolute;background-color: #911005;"'> |
| | | </div> |
| | | <div class="clickable-area" @click="handlehistorical" |
| | | style="position: relative;width: 140px;height: 170px;top: 603px;left: 364px;"></div> |
| | | </div> |
| | | |
| | | <div class="clickable-area" @click="handlehistorical" |
| | | style="position: relative;width: 110px;height: 100px;top: 603px;left: 297px;"></div> |
| | | </div> |
| | | <!-- 订单情况 --> |
| | | <div style="height: 190px;width: 52%;float: right;"> |
| | | <div> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical1">{{ $t('large.historicaltasks1') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical2">{{ $t('large.historicaltasks2') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical3">{{ $t('large.historicaltasks3') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical4">{{ $t('large.historicaltasks4') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical5">{{ $t('large.historicaltasks5') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical6">{{ $t('large.historicaltasks6') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical7">{{ $t('large.historicaltasks7') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical8">{{ $t('large.historicaltasks8') }}</el-button> |
| | | <el-button style="margin-top: 5px;margin-left: 5px;" id="searchButton" type="info" @click="handlehistorical9">{{ $t('large.historicaltasks9') }}</el-button> |
| | | |
| | | </div> |
| | | <el-table height="700" ref="table" :data="orderDTOS" |
| | | :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> |
| | | <el-table-column prop="orderId" align="center" :label="$t('large.orderId')" min-width="50" /> |
| | | <el-table-column prop="customerName" align="center" :show-overflow-tooltip="true" |
| | | :label="$t('large.customerName')" min-width="90" /> |
| | | <el-table-column prop="project" align="center" :label="$t('large.project')" min-width="50" /> |
| | | <el-table-column prop="area" align="center" :label="$t('large.are')" min-width="50" /> |
| | | <el-table-column prop="quantity" align="center" :label="$t('large.quantity')" min-width="50" /> |
| | | <el-table-column prop="percent" align="center" :label="$t('large.percent')" min-width="50" /> |
| | | <el-table-column align="center" :label="$t('large.operate')" min-width="50"> |
| | | <template #default="scope"> |
| | | <el-button type="text" style="margin-left: 10px;margin-bottom: 10px;" |
| | | @click="flowCardDetail(scope.row.orderId)">{{ $t('large.mes') }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | <el-dialog v-model="blindc" top="10vh" width="90%"> |
| | | <el-table height="700" ref="table" :data="orderDTOS" |
| | | :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> |
| | | <el-table-column prop="orderId" align="center" :label="$t('large.orderId')" min-width="50" /> |
| | | <el-table-column prop="customerName" align="center" :show-overflow-tooltip="true" |
| | | :label="$t('large.customerName')" min-width="90" /> |
| | | <el-table-column prop="project" align="center" :label="$t('large.project')" min-width="50" /> |
| | | <el-table-column prop="area" align="center" :label="$t('large.are')" min-width="50" /> |
| | | <el-table-column prop="quantity" align="center" :label="$t('large.quantity')" min-width="50" /> |
| | | <el-table-column prop="percent" align="center" :label="$t('large.percent')" min-width="50" /> |
| | | <el-table-column align="center" :label="$t('large.operate')" min-width="50"> |
| | | <template #default="scope"> |
| | | <el-button type="text" style="margin-left: 10px;margin-bottom: 10px;" |
| | | @click="flowCardDetail(scope.row.orderId)">{{ $t('large.mes') }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-dialog> |
| | | <!-- 原片使用详情 --> |
| | | <el-dialog v-model="blindb" top="10vh" width="90%"> |
| | | <div style="display: flex;"> |
| | |
| | | <!-- <el-table-column prop="reportWorkQuantity" align="center" :label="$t('large.reportWorkQuantity')" min-width="110" /> |
| | | <el-table-column prop="reportWorkQuantityCount" align="center" :label="$t('large.reportWorkQuantityCount')" min-width="110" /> --> |
| | | <!-- 动态生成的 reportWorkQuantity 列 --> |
| | | <el-table-column |
| | | v-for="column in dynamicColumns" |
| | | :key="column.prop" |
| | | :prop="column.prop" |
| | | :label="column.label" |
| | | align="center" |
| | | min-width="110" |
| | | /> |
| | | <el-table-column v-for="column in dynamicColumns" :key="column.prop" :prop="column.prop" :label="column.label" |
| | | align="center" min-width="110" /> |
| | | </el-table> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | } |
| | | |
| | | .img-screen { |
| | | max-width: 48%; |
| | | max-height: 100%; |
| | | margin-top: 50px; |
| | | float: left; |
| | | /* max-width: 48%; |
| | | max-height: 100%; */ |
| | | /* margin-top: 50px; */ |
| | | /* float: left; */ |
| | | position: relative; |
| | | background-image: url('../../assets/screen.png'); |
| | | width: 808px; |
| | | height: 841px; |
| | | width: 1002px; |
| | | height: 878px; |
| | | background-size: contain; |
| | | background-repeat: no-repeat; |
| | | background-position: center; |
| | | /* background-position: center; */ |
| | | /* width: 100%; |
| | | height: 0; |
| | | padding-bottom: 50%; */ |