From 50c6034ba1a0644a398e73ee52641ca0d8e755a5 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Mon, 29 Jan 2024 17:35:09 +0800 Subject: [PATCH] 1 --- .env.production | 4 + src/mixin/drawMixin.js | 6 +- .../bigScreen/component/detailTransfer.vue | 4 +- .../bigScreen/component/transferBoard.vue | 4 +- src/views/bigScreen1/component/doing.vue | 17 + src/views/bigScreen1/component/title.vue | 59 +++ src/views/bigScreen1/component/toDo.vue | 348 ++++++++++++++++++ .../bigScreen1/component/topBackground.vue | 85 +++++ src/views/bigScreen1/index.vue | 178 +++++++++ src/views/order/component/createDispatch.vue | 1 + src/views/order/handle.vue | 47 ++- src/views/order/orderSummary.vue | 2 +- vue.config.js | 2 +- 13 files changed, 738 insertions(+), 19 deletions(-) create mode 100644 src/views/bigScreen1/component/doing.vue create mode 100644 src/views/bigScreen1/component/title.vue create mode 100644 src/views/bigScreen1/component/toDo.vue create mode 100644 src/views/bigScreen1/component/topBackground.vue create mode 100644 src/views/bigScreen1/index.vue diff --git a/.env.production b/.env.production index 746b4bc..9d574b8 100644 --- a/.env.production +++ b/.env.production @@ -2,6 +2,10 @@ ENV = 'production' # base api +#VUE_APP_BASE_API=http://192.168.60.99:9005/ +#VUE_APP_UPLOAD_API=http://192.168.60.99:9005/api/admin/upload-file +#VUE_APP_OA_URL=http://192.168.60.18:2021 + VUE_APP_BASE_API=http://diaoling-test.ali251.langye.net/ VUE_APP_UPLOAD_API=http://diaoling-test.ali251.langye.net/api/admin/upload-file VUE_APP_OA_URL=http://suzhouhedaooa.langye.net diff --git a/src/mixin/drawMixin.js b/src/mixin/drawMixin.js index 93e1236..feeb92a 100644 --- a/src/mixin/drawMixin.js +++ b/src/mixin/drawMixin.js @@ -8,7 +8,7 @@ const scale = { // * 设计稿尺寸(px) const baseWidth = 1920 -const baseHeight = 1080 +const baseHeight = 1440 // * 需保持的比例(默认1.77778) const baseProportion = parseFloat((baseWidth / baseHeight).toFixed(5)) @@ -30,7 +30,7 @@ export default { methods: { calcRate () { const appRef = this.$refs["appRef"] - if (!appRef) return + if (!appRef) return // 当前宽高比 const currentRate = parseFloat((window.innerWidth / window.innerHeight).toFixed(5)) if (appRef) { @@ -54,4 +54,4 @@ export default { }, 200) } }, -} \ No newline at end of file +} diff --git a/src/views/bigScreen/component/detailTransfer.vue b/src/views/bigScreen/component/detailTransfer.vue index c5d6471..965b727 100644 --- a/src/views/bigScreen/component/detailTransfer.vue +++ b/src/views/bigScreen/component/detailTransfer.vue @@ -9,7 +9,7 @@
{{ data.equipment_id_equipments_id_relation ? data.equipment_id_equipments_id_relation.name : '' }}
+{{ (data && data.equipment_id_equipments_id_relation) ? data.equipment_id_equipments_id_relation.name : '' }}
代执行
+ +{{ item.label }}
+【存在执行中指令】
+ + + +【倒计时{{ $moment(item.start_time).diff($moment(time),'minutes') }}分钟】
+ + + +【超时未执行】
+ + + + +