From 064a2e2639b020b9cb756d695ced3d8b7d00aa99 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 8 Sep 2022 10:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/reset.css | 8 +- src/assets/images/dot_1.png | Bin 0 -> 2290 bytes src/assets/js/getData2.js | 16 ++ src/pages/DeviceManage.vue | 429 +++++++++++++++++++++++++++--------- src/pages/Setup.vue | 38 +++- 5 files changed, 383 insertions(+), 108 deletions(-) create mode 100644 src/assets/images/dot_1.png diff --git a/src/assets/css/reset.css b/src/assets/css/reset.css index a84ff34..0e9f155 100644 --- a/src/assets/css/reset.css +++ b/src/assets/css/reset.css @@ -79,12 +79,12 @@ li { } html, body { - /* width: 1920px; - height: 1080px; */ - width: 100%; + width: 1920px; + height: 1080px; + /* width: 100%; height: 100%; min-width: 1440px; - min-height: 784px; + min-height: 784px; */ } body { diff --git a/src/assets/images/dot_1.png b/src/assets/images/dot_1.png new file mode 100644 index 0000000000000000000000000000000000000000..c7b8815250868413743aa1d5edeae5b7654a8598 GIT binary patch literal 2290 zcmVPx#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91CZGcV1ONa40RR91CIA2c0EF@&TL1tETuDShR9Fekm`#sdM-_(O``JA+ z9uFR?9fpWS5@m#9u!Jnu1AhRqgEcE8engTV!8Yr#L;L~aHCRFkW6%VLl`+l`oB8aI z`^EcIclC6)dvIWpa7TCQ-nvz%o;v5$sZ*Wkf4sV`OTJ9kBuTn2({8oRD}}EEc>jI9 zvftuB@4l;-;9doM?Es5Fiy(*ZOree+t-u}3P#!EINrQK$P%6lEZ@b{eTkr)ApHxXtvqKi1zi$75HMh zRiwI$c8rjuxh_5QaZ~DfeWr2Q(+IA~Sp9rky=bSE`qW3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jZ z^fgW|H1hS(hms3BFvqujGS7>~4qN#6#s*!^j&IRB@OtmIK2L_@+qm-T8!sH+GJU$U za(r9#Em#|fye1(;BY;dm9rwoCl*!w5~Dls(b?m- zSk9e4R;-qbfbrWRXsr8B post('api/screen/pdm/queryInfo3', { export const queryInfo4 = (id) => post('api/screen/pdm/queryInfo4', { device_id: id }) + +/** 设备管理综合查询 */ +/** 1.1设备每日开机时长 */ +export const getDeviceTime = (id) => post('api/deviceBigScreen/getDeviceTime', {}) +/** 2.1设备数量 */ +export const getDeviceNumber = (id) => post('api/deviceBigScreen/getDeviceNumber', {}) +/** 3.1年故障类别TOP10 */ +export const getDeviceFault = (id) => post('api/deviceBigScreen/getDeviceFault', {}) +/** 4.1设备运行状态 */ +export const getDeviceRunStatus = (id) => post('api/deviceBigScreen/getDeviceRunStatus', {}) +/** 5.1设备年计划保养状态 */ +export const getDeviceYearStatus = (id) => post('api/deviceBigScreen/getDeviceYearStatus', {}) +/** 6.1年保养计划监控 */ +export const getDeviceYearMainPlan = (id) => post('api/deviceBigScreen/getDeviceYearMainPlan', {}) +/** 7.1近30天班组情况 */ +export const getDeviceGroupStatus = (id) => post('api/deviceBigScreen/getDeviceGroupStatus', {}) diff --git a/src/pages/DeviceManage.vue b/src/pages/DeviceManage.vue index e3bc6a7..537cb62 100644 --- a/src/pages/DeviceManage.vue +++ b/src/pages/DeviceManage.vue @@ -27,14 +27,14 @@
  • 保养台数
  • - +
      -
    • -
      {{e.id}}
      -
      {{e.material_code}}
      -
      {{e.pcsn}}
      -
      {{e.workorder_qty}}
      -
      {{e.product_qty}}
      +
    • +
      {{e.dept_name}}
      +
      {{e.normal_num}}
      +
      {{e.fault_num}}
      +
      {{e.out_num}}
      +
      {{e.main_num}}
    @@ -56,15 +56,22 @@
  • 完成率(%)
  • - +
      -
    • -
      {{e.id}}
      -
      {{e.material_code}}
      -
      {{e.pcsn}}
      -
      {{e.workorder_qty}}
      -
      {{e.product_qty}}
      -
      {{e.ee}}
      +
    • +
      {{e.dept_name}}
      +
      {{e.need_num}}
      +
      {{e.end_num}}
      +
      {{e.begin_num}}
      +
      {{e.not_num}}
      + +
      +
      +
      +
      +
      +
      +
    @@ -85,11 +92,11 @@

    总设备台数

    -

    100

    +

    {{num1}}

    在用台数

    -

    100

    +

    {{num2}}

    @@ -97,13 +104,13 @@
    -
    +
    - {{e.material_spec}} + {{e.dept_name}}
    - {{e.real_qty}} + {{e.device_num}}
    @@ -117,22 +124,32 @@
    -
      +
      • 事业部
      • -
      • 正常台数
      • -
      • 故障台数
      • -
      • 委外台数
      • -
      • 保养台数
      • +
      • 设备名称
      • +
      • 设备号
      • +
      • 计划内容
      • +
      • 计划时期
      • +
      • 实施人
      • +
      • 实际操作时间
      • +
      • 保养倒计时
      • +
      • 延期时间
      • +
      • 评价
      - -
        -
      • -
        {{e.id}}
        -
        {{e.material_code}}
        -
        {{e.pcsn}}
        -
        {{e.workorder_qty}}
        -
        {{e.product_qty}}
        + +
          +
        • +
          {{e.dept_name}}
          +
          {{e.device_name}}
          +
          {{e.device_code}}
          +
          {{e.plan_content}}
          +
          {{e.plan_time}}
          +
          {{e.impl_name}}
          +
          {{e.impl_time}}
          +
          {{e.main_time}}
          +
          {{e.putoff_time}}
          +
          {{e.remark}}
        @@ -158,21 +175,21 @@
        -
      • 事业部
      • -
      • 正常台数
      • -
      • 故障台数
      • -
      • 委外台数
      • -
      • 保养台数
      • +
      • 班组
      • +
      • MTBF(h)
      • +
      • MTTR(h)
      • +
      • 平均OEE(%)
      • +
      • 总维修时间(h)
      - +
        -
      • -
        {{e.id}}
        -
        {{e.material_code}}
        -
        {{e.pcsn}}
        -
        {{e.workorder_qty}}
        -
        {{e.product_qty}}
        +
      • +
        {{e.group_name}}
        +
        {{e.device_mtbf}}
        +
        {{e.device_mttr}}
        +
        {{e.device_oee}}
        +
        {{e.device_time}}
      @@ -187,6 +204,7 @@