|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <dv-full-screen-container>
|
|
|
|
|
|
+ <v-scale-screen height="100%" width="100%">
|
|
<div class="screen-container">
|
|
<div class="screen-container">
|
|
<common-header title="工位任务分布" />
|
|
<common-header title="工位任务分布" />
|
|
<div class="screen-content">
|
|
<div class="screen-content">
|
|
@@ -7,7 +7,14 @@
|
|
<title-header title="入库检料" />
|
|
<title-header title="入库检料" />
|
|
<div class="grid-bottom">
|
|
<div class="grid-bottom">
|
|
<div class="left-info">
|
|
<div class="left-info">
|
|
- <div class="box">
|
|
|
|
|
|
+ <div
|
|
|
|
+ class="box"
|
|
|
|
+ style="
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ "
|
|
|
|
+ >
|
|
<div class="title">工位名称</div>
|
|
<div class="title">工位名称</div>
|
|
<div class="code">工位代码</div>
|
|
<div class="code">工位代码</div>
|
|
</div>
|
|
</div>
|
|
@@ -24,19 +31,21 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </dv-full-screen-container>
|
|
|
|
|
|
+ </v-scale-screen>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
import CommonHeader from "@/views/report/statistics/screens/common-header.vue";
|
|
import CommonHeader from "@/views/report/statistics/screens/common-header.vue";
|
|
import TitleHeader from "@/views/report/statistics/screens/titleHeader.vue";
|
|
import TitleHeader from "@/views/report/statistics/screens/titleHeader.vue";
|
|
|
|
+import VScaleScreen from "v-scale-screen";
|
|
|
|
|
|
-const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
|
|
|
|
+const data = ref([{}, {}, {}, {}, {}, {}, {}, {}]);
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.screen-container {
|
|
.screen-container {
|
|
- width: 100vw;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ min-width: 1620px;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
background-image: url("@/assets/images/screen_bg_task.png");
|
|
background-image: url("@/assets/images/screen_bg_task.png");
|
|
background-size: cover;
|
|
background-size: cover;
|
|
@@ -44,21 +53,23 @@ const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
}
|
|
}
|
|
|
|
|
|
.screen-content {
|
|
.screen-content {
|
|
- width: 100vw;
|
|
|
|
- height: calc(100vh - $screen-header-height - 18px);
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ //height: 100%;
|
|
|
|
+ height: calc(100% - $screen-header-height - 18px);
|
|
margin-top: 18px;
|
|
margin-top: 18px;
|
|
padding: 0 32px;
|
|
padding: 0 32px;
|
|
|
|
|
|
display: grid;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
+ grid-template-rows: repeat(3, 1fr);
|
|
gap: 25px;
|
|
gap: 25px;
|
|
|
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
|
|
|
- border: 2px solid red;
|
|
|
|
-
|
|
|
|
.grid-item {
|
|
.grid-item {
|
|
- height: 300px;
|
|
|
|
|
|
+ height: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-radius: 8px 8px 8px 8px;
|
|
border-radius: 8px 8px 8px 8px;
|
|
padding: 16px;
|
|
padding: 16px;
|
|
@@ -67,7 +78,7 @@ const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
- height: 100%;
|
|
|
|
|
|
+ flex: 1; //当父组件为flex时候,子组件剩余空间可写100%或者flex:1;
|
|
|
|
|
|
.left-info {
|
|
.left-info {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -75,11 +86,11 @@ const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
align-items: start;
|
|
align-items: start;
|
|
padding: 0px 18px;
|
|
padding: 0px 18px;
|
|
- border: 2px solid white;
|
|
|
|
|
|
+ height: 100%;
|
|
|
|
+ width: 60%;
|
|
|
|
|
|
.box {
|
|
.box {
|
|
height: 50%;
|
|
height: 50%;
|
|
- border: 2px solid red;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.title {
|
|
.title {
|
|
@@ -94,23 +105,24 @@ const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
font-size: 17px;
|
|
font-size: 17px;
|
|
color: #fff8;
|
|
color: #fff8;
|
|
line-height: 17px;
|
|
line-height: 17px;
|
|
|
|
+ margin-top: 12px;
|
|
}
|
|
}
|
|
|
|
|
|
.com-num {
|
|
.com-num {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
- font-size: 48px;
|
|
|
|
|
|
+ font-size: 30px;
|
|
color: #55d1aa;
|
|
color: #55d1aa;
|
|
}
|
|
}
|
|
|
|
|
|
.plan-num {
|
|
.plan-num {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
- font-size: 48px;
|
|
|
|
|
|
+ font-size: 30px;
|
|
color: #fff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
|
|
.desc {
|
|
.desc {
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
- font-size: 17px;
|
|
|
|
|
|
+ font-size: 16px;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
line-height: 17px;
|
|
line-height: 17px;
|
|
}
|
|
}
|
|
@@ -121,6 +133,8 @@ const data = ref([{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]);
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-items: center;
|
|
padding-right: 28px;
|
|
padding-right: 28px;
|
|
|
|
+ height: 100%;
|
|
|
|
+ flex: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|