From 1dd74bb741611e3882c781d79539be1600d98431 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 01 三月 2023 12:44:55 +0800
Subject: [PATCH] 1.新增采购订单、生产管理看板

---
 src/permission.js       |    2 
 src/icons/svg/cpdfh.svg |    1 
 src/views/kb/cgdd.vue   |  421 +++++++++++++++++++
 src/icons/svg/yqjh.svg  |    1 
 src/views/kb/ckgl.vue   |  517 +++++++++++++++++++++++
 src/icons/svg/ph.svg    |    1 
 src/icons/svg/cpdrk.svg |    1 
 src/router/index.js     |   10 
 src/utils/myEcharts.js  |  312 +++++++++++++-
 src/icons/svg/cggz.svg  |    1 
 10 files changed, 1,240 insertions(+), 27 deletions(-)

diff --git a/src/icons/svg/cggz.svg b/src/icons/svg/cggz.svg
new file mode 100644
index 0000000..7f9eecd
--- /dev/null
+++ b/src/icons/svg/cggz.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1677632519697" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4679" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M578.33 870.33H198c-20.57 0-37.31-15.16-37.31-33.8V185.86c0-18.63 16.74-33.79 37.31-33.79h534.23c20.58 0 37.32 15.16 37.32 33.79v230.59a24 24 0 1 0 48 0V185.86c0-45.1-38.27-81.79-85.32-81.79H198c-47 0-85.31 36.69-85.31 81.79v650.67c0 45.1 38.27 81.8 85.31 81.8h380.33a24 24 0 0 0 0-48z" fill="#09d8f2" p-id="4680"></path><path d="M553.47 488.45a24 24 0 0 0-24-24H252a24 24 0 1 0 0 48h277.5a24 24 0 0 0 23.97-24zM696.56 307.21a24 24 0 0 0-24-24H252a24 24 0 1 0 0 48h420.56a24 24 0 0 0 24-24zM257.45 638.94a24 24 0 0 0 0 48h203.94a24 24 0 0 0 0-48zM717.83 463.55c-106.66 0-193.43 86.82-193.43 193.52 0 35.86 13.82 74 42.25 116.63 26.82 40.22 66.06 83.57 119.94 132.51a46.34 46.34 0 0 0 62.67 0c53.84-49 93-92.34 119.86-132.56 28.42-42.62 42.23-80.75 42.23-116.56 0-106.72-86.81-193.54-193.52-193.54z m0.09 406.26C621.35 781.94 572.4 710.37 572.4 657.07c0-80.24 65.24-145.52 145.43-145.52s145.52 65.28 145.52 145.52c0 53.19-48.92 124.76-145.43 212.74z" fill="#09d8f2" p-id="4681"></path><path d="M713.72 588a77.7 77.7 0 1 0 77.7 77.7 77.79 77.79 0 0 0-77.7-77.7z m0 107.4a29.7 29.7 0 1 1 29.7-29.7 29.73 29.73 0 0 1-29.7 29.7z" fill="#09d8f2" p-id="4682"></path></svg>
\ No newline at end of file
diff --git a/src/icons/svg/cpdfh.svg b/src/icons/svg/cpdfh.svg
new file mode 100644
index 0000000..44cd3e4
--- /dev/null
+++ b/src/icons/svg/cpdfh.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1677640431200" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11139" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M765.696 967.1168c-132.7104 0-240.6912-107.9808-240.6912-240.6912s107.9808-240.6912 240.6912-240.6912 240.6912 107.9808 240.6912 240.6912-107.9296 240.6912-240.6912 240.6912z m0-442.0608c-111.0016 0-201.3184 90.3168-201.3184 201.3184s90.3168 201.3184 201.3184 201.3184 201.3184-90.3168 201.3184-201.3184-90.3168-201.3184-201.3184-201.3184z" p-id="11140" fill="#09d8f2"></path><path d="M964.0448 884.9408h-22.9888l1.1776 17.2544c-0.1024 5.5808-1.8432 9.7792-5.6832 13.568-19.3024 19.2512-79.4624 18.9952-115.3536 18.8928h-9.4208l-619.4688-0.0512H182.784c-37.4784 0.1024-107.3152 0.4096-128.3072-20.5312-3.4304-3.4304-5.0688-7.0656-5.2224-11.776L116.0192 169.3184l0.0512-1.4336c0-43.7248 35.584-79.3088 79.2576-79.3088h617.0112c43.7248 0 79.3088 35.584 79.3088 79.3088v0.5632l26.4192 383.2832h31.7952l-26.4704-384.4096c-0.3072-60.928-49.9712-110.4384-111.0016-110.4384H195.3792c-60.9792 0-110.592 49.408-111.0016 110.2336L17.6128 900.2496l-0.0512 1.4336c0 13.312 5.0176 25.3952 14.5408 34.8672 30.3616 30.208 102.8096 29.952 150.8352 29.7984h9.4208l619.4688 0.0512h9.2672c3.6352 0 7.3728 0.0512 11.1616 0.0512 44.6464 0 100.2496-1.8944 126.6688-28.16 9.8304-9.7792 15.0016-22.4256 15.0016-36.5568v-0.5632l-1.1776-17.2032c-2.816 0.6144-5.6832 0.9728-8.704 0.9728z" p-id="11141" fill="#09d8f2"></path><path d="M832.3072 971.52l-20.48-0.0512-619.4688-0.0512h-9.4208c-48.7424 0.2048-122.5728 0.512-154.4704-31.2832-10.496-10.4448-16.0256-23.7568-16.0256-38.5024l0.0512-1.6384L79.3088 166.656c0.4096-63.1808 52.48-114.8928 116.0704-114.8928h617.0112c63.6928 0 115.8144 51.8144 116.1216 115.5072l26.88 389.5808h-42.0352l-26.7776-388.9664c0-40.9088-33.28-74.1888-74.1888-74.1888H195.3792c-40.9088 0-74.1376 33.28-74.1376 74.1888l-0.0512 1.6896-66.7648 732.8768c0.1536 3.2256 1.2288 5.5296 3.6864 7.9872 19.4048 19.3536 90.2144 19.1488 124.2624 19.0464h9.984l628.8896 0.0512c33.024 0.1536 93.952 0.3072 111.7184-17.408 2.8672-2.8672 4.096-5.7856 4.1472-10.0352l-1.536-22.3232h28.5184c2.5088 0 5.0688-0.3072 7.6288-0.8704l5.7856-1.28 1.5872 24.0128c0 15.5136-5.6832 29.44-16.4864 40.192-26.2144 26.112-78.1312 29.696-130.304 29.696z m-639.9488-10.3424l639.9488 0.1024c50.0224 0 99.5328-3.2256 123.0336-26.6752 8.8064-8.8064 13.4656-20.1728 13.4656-32.9216V901.12l-0.768-11.3152c-1.3312 0.1024-2.6624 0.2048-3.9936 0.2048h-17.5104l0.8192 11.8272c-0.1024 7.3728-2.4064 12.8-7.168 17.5616-20.7872 20.6848-79.7696 20.5312-118.7328 20.3776h-9.6256l-619.4688-0.0512h-9.5232c-53.248 0.1536-111.2576-1.3824-131.9424-22.016-4.4032-4.4032-6.5536-9.216-6.7072-15.2576v-0.3072l0.0512-0.3072L110.9504 168.8576l0.0512-1.1776c0-46.2848 37.8368-84.1728 84.3776-84.1728h617.0112c46.5408 0 84.4288 37.888 84.4288 84.4288v0.5632l26.0608 378.1632h21.504l-26.112-378.9312c-0.3072-58.4192-47.7696-105.6768-105.8816-105.6768H195.3792c-58.0096 0-105.472 47.1552-105.8816 105.1648L22.7328 900.7104l-0.0512 1.1776c0 11.7248 4.5056 22.528 13.056 31.0272 28.8768 28.7744 100.0448 28.4672 147.2 28.2624h9.4208z" p-id="11142" fill="#09d8f2"></path><path d="M765.696 726.3744m-39.3216 0a39.3216 39.3216 0 1 0 78.6432 0 39.3216 39.3216 0 1 0-78.6432 0Z" p-id="11143" fill="#09d8f2"></path><path d="M766.3616 710.912c-9.3696 0-17.0496-7.68-17.0496-17.0496v-78.1312c0-9.3696 7.68-17.0496 17.0496-17.0496s17.0496 7.68 17.0496 17.0496v78.1312c0 9.3696-7.68 17.0496-17.0496 17.0496z" p-id="11144" fill="#09d8f2"></path><path d="M762.4704 718.848a17.09568 17.09568 0 0 1 14.5408-19.2l77.4144-10.6496c9.2672-1.28 17.92 5.2736 19.2 14.5408 1.28 9.2672-5.2736 17.92-14.5408 19.2l-77.4144 10.6496c-9.3184 1.28-17.92-5.2736-19.2-14.5408z" p-id="11145" fill="#09d8f2"></path><path d="M634.3168 533.0944c-25.2416 9.2672-35.6352 16.128-45.1584 29.2352-1.28 2.048-2.3552 3.1744-4.096 3.584-0.4096 1.2288-65.4336-5.2736-117.0432-54.9376-46.848 43.2128-102.6048 70.7584-176.4352 67.4816-1.2288-2.4576-2.4064-4.9664-3.6352-7.424 67.1744-6.8096 122.5216-33.536 165.7856-74.0352-30.208-34.304-50.5856-76.6976-61.0304-129.0752h-16.384C344.0128 448.8704 299.3664 521.8304 239.9232 552.96l-4.864-5.7856c57.9072-45.8752 108.1344-136.0896 144.5376-259.6864-31.9488 0.7168-63.9488 2.1504-95.8976 4.1984-4.5056 3.9936-8.96 7.9872-13.4656 11.9296-2.048 1.4848-3.584 2.5088-4.5568 2.56-0.9728 0.0512-1.9456-0.3584-2.8672-1.1776-7.8848-7.1168-15.616-13.9776-23.1424-20.5312 24.0128-8.5504 26.5216-10.9568 36.6592-30.2592 14.2336-26.7776 28.8256-54.3232 43.1616-82.2784 7.68 6.2464 15.6672 12.8 23.9616 19.6096 1.6896 1.28 2.4576 2.6112 2.4064 3.584-0.1024 0.9728-1.0752 2.048-3.0208 3.1744-5.888 2.9696-11.776 5.9904-17.7664 9.0112-13.568 25.344-27.2896 50.3296-40.704 74.6496 32.8192-2.4576 65.5872-4.0448 98.4064-4.864 11.6736-41.728 23.04-88.1664 31.9488-139.5712 10.7008 7.3216 21.76 14.9504 33.1776 22.8352 2.2528 1.536 3.584 2.56 3.6352 4.0448 0 0.9728-1.28 1.9456-3.4816 2.8672-7.936 3.2768-15.5648 13.7216-18.7904 27.648-6.9632 28.3648-13.9776 55.296-22.0672 81.664 62.6688-0.768 125.3376 1.4336 188.0576 6.6048 7.168-8.8064 14.08-17.3568 20.6848-25.5488 11.3152 10.8544 22.6816 21.4016 33.9968 31.6928 3.2256 2.8672 4.9152 5.1712 5.0688 6.4512 0.1536 1.28-1.7408 1.9456-6.144 1.536a2273.78176 2273.78176 0 0 0-244.6848-10.24c-7.1168 24.3712-15.3088 47.7696-23.808 69.9904 49.8688-0.1024 99.7376-0.0512 149.6064 0.1536 6.4512-6.4512 12.8512-12.8 19.2-19.0464 11.2128 8.1408 22.4256 16.1792 33.536 23.9104 1.9968 1.3824 3.4816 2.7648 3.4816 4.1984 0 1.3824-1.9968 2.304-5.9904 3.2768-11.4688 2.4064-17.408 7.5776-24.6272 21.504-21.1968 41.3184-45.312 76.288-72.8576 105.5232 46.1824 37.4272 95.8464 48.896 153.1904 30.976-0.6144 1.8432-1.0752 3.6864-1.5872 5.5296zM402.6368 367.9232c16.9984 48.5888 39.5776 89.2928 65.1776 114.8416 27.904-30.464 50.944-67.7376 67.5328-114.9952-44.2368 0.1024-88.4736 0.1536-132.7104 0.1536zM489.984 163.5328c36.096 14.2336 74.0864 37.12 85.3504 51.8144 2.7648 3.584 4.352 8.3456 4.9664 12.9536 1.1264 8.2944-2.2016 16.5888-9.3184 15.8208-6.1952-0.6656-10.8032-4.352-15.4624-13.7728-4.608-9.6256-26.112-37.12-67.7376-61.184 0.7168-1.8432 1.4336-3.7376 2.2016-5.632z" p-id="11146" fill="#09d8f2"></path><path d="M303.2576 588.9536c-3.9936 0-8.0384-0.1024-12.1344-0.256l-6.0928-0.256-12.7488-26.0608 14.592-1.4848c58.9312-5.9904 110.1824-27.7504 152.576-64.8192-26.6752-32.768-44.7488-71.4752-55.1424-117.9136h-1.1776c-38.4512 94.0544-85.0432 155.904-138.5472 183.9104l-7.3216 3.84-16.9472-20.1216 8.2944-6.5536c54.272-42.9568 101.5296-126.1568 137.0112-241.0496-25.9072 0.768-52.0192 1.9456-77.824 3.584l-10.8544 9.6256-0.7168 0.5632c-3.1744 2.3552-6.144 4.3008-9.984 4.5056-3.7888 0.256-7.4752-1.1776-10.4448-3.8912-7.7312-6.9632-15.4624-13.824-22.9376-20.3776l-13.1072-11.4688 16.4352-5.8368c21.76-7.7824 22.1184-8.448 31.0272-25.3952 14.592-27.4432 28.8768-54.3232 43.1104-82.176l5.7344-11.264 9.8304 7.9872c7.7312 6.2464 15.7184 12.8512 24.0128 19.712 4.1472 3.072 6.5024 7.68 6.0928 12.3904-0.3584 4.4032-3.072 8.1408-7.9872 11.0592l-0.6144 0.3584-14.848 7.5264c-9.8816 18.4832-19.7632 36.4544-30.208 55.4496 24.1152-1.5872 48.4352-2.7136 72.4992-3.3792 12.5952-45.8752 22.3232-88.8832 29.696-131.2768l2.7136-15.6672 13.1584 8.96a4223.488 4223.488 0 0 1 33.2288 22.8864c2.7136 1.8944 7.8848 5.4272 8.0384 12.2368 0.1024 3.7888-1.536 9.0624-9.728 12.544-4.4544 1.8432-10.24 9.472-12.8512 20.5824-5.0688 20.6848-11.1104 44.4928-18.2272 68.9664 56.4224-0.256 113.408 1.8432 169.728 6.3488 5.9392-7.3216 11.7248-14.4384 17.2544-21.3504l7.0144-8.704 8.0896 7.7312c11.3152 10.8544 22.6816 21.4528 33.792 31.488 5.3248 4.7616 7.936 8.7552 8.3968 12.9024 0.3584 3.3792-0.768 6.7072-3.1744 9.1648-3.9936 4.0448-9.6256 4.096-14.08 3.6864-78.2848-7.4752-157.696-11.008-236.032-10.2912-4.8128 15.872-10.2912 32.2048-16.64 49.5616 43.52-0.0512 87.3984 0 130.6112 0.1536 5.4272-5.4272 10.8544-10.752 16.2304-16.0768l6.1952-6.0928 7.0144 5.12c11.6224 8.448 22.8352 16.4352 33.3824 23.808 1.9456 1.3824 7.8848 5.5296 7.8336 12.5952-0.0512 9.8816-10.3936 12.3904-13.824 13.2096-7.3216 1.536-11.3664 3.6352-17.92 16.2816-19.8144 38.656-41.7792 71.3216-66.8672 99.5328 42.24 30.8736 85.4528 37.9904 135.0656 22.528l17.7152-5.5296-4.7616 17.92-1.536 5.632-1.3824 5.0688-4.9152 1.792c-25.1904 9.2672-32.8704 15.36-40.2432 25.3952-1.024 1.5872-2.304 3.328-4.096 4.7616l-0.5632 1.6896-5.5808 1.3824c-7.2704 1.792-68.5568-6.656-119.3984-51.1488-49.7152 42.9056-103.7824 64-164.9152 64z m172.544-84.6848c41.0112 39.0656 91.392 49.9712 105.5232 51.4048 2.6624-3.584 5.376-6.7072 8.3456-9.6256-40.192 1.3824-77.6704-12.3904-113.5616-41.472l-0.3072-0.3072z m-9.5232-8.6016l1.4336 1.6384 0.1024-0.1024-1.536-1.536z m83.5584-138.1376l-4.8128 13.6704c-14.5408 41.3696-34.2528 76.7488-60.1088 107.5712 22.8864-26.2656 43.0592-56.6272 61.44-92.416 5.376-10.3936 11.0592-18.2272 20.3264-22.9888-5.376-3.84-10.9568-7.7824-16.5888-11.8784-1.9968 1.9968-4.0448 3.9936-6.0416 6.0416h5.7856z m-132.5056 20.6336c14.1824 36.864 31.6416 67.8912 50.3296 89.3952 22.1184-26.0096 39.5776-55.4496 52.992-89.4464-34.4576 0-68.9152 0.0512-103.3216 0.0512z m-26.9312-91.0848l-0.9728 3.2768c-18.0736 61.2352-39.424 114.3808-63.488 158.208 13.9776-23.4496 27.1872-50.5856 39.5776-81.3056h-0.1024l5.3248-13.9264c9.0624-23.7568 16.4864-45.4656 22.6816-66.3552h-0.2048l4.096-13.4144c6.9632-22.7328 13.5168-47.0016 21.9136-81.1008 2.816-11.8784 8.4992-22.1184 15.6672-28.672-4.352-3.0208-8.6528-5.9904-12.9024-8.9088-7.5264 40.2432-17.152 81.2544-29.3376 124.928l-2.2528 7.2704z m-120.832 10.24l0.0512 0.0512c0-0.0512 0-0.0512-0.0512-0.0512z m-10.5984-9.5232c2.2528 1.9968 4.5056 4.0448 6.8096 6.0928 0.1536-0.1536 0.3584-0.3072 0.512-0.4608l9.0624-16.4352c1.5872-2.816 3.1232-5.632 4.6592-8.448-5.8368 9.6768-11.008 14.5408-21.0432 19.2512z m349.1328-4.3008c7.3728 0.5632 14.7968 1.1776 22.1696 1.8432-4.4544-4.1472-8.96-8.3456-13.4656-12.5952-2.816 3.5328-5.7344 7.1168-8.704 10.752zM322.816 187.8016c-11.9808 23.1936-23.9616 45.7728-36.1472 68.7104 10.1376-18.432 19.712-35.9936 29.3888-54.0672l1.536-2.816 12.1344-6.1952c-2.3552-1.8944-4.6592-3.7888-6.912-5.632z m14.4384 11.8272c0 0.0512 0.0512 0.0512 0 0 0.0512 0.0512 0 0.0512 0 0z m234.5984 54.8352c-0.6656 0-1.28-0.0512-1.9456-0.1024-13.056-1.3824-19.456-11.1104-23.552-19.4048-2.8672-5.9904-21.76-32.6144-63.6928-56.8832l-7.68-4.4544 9.3184-23.3984 9.5232 3.7376c32.9728 13.0048 75.6736 36.7616 89.7024 55.0912 4.608 5.9904 6.3488 13.056 6.9632 17.8688 1.1776 8.7552-1.1264 17.0496-6.0416 22.1184-3.4304 3.584-7.8336 5.4272-12.5952 5.4272z m-19.2-45.7728c5.9392 6.9632 9.9328 12.9536 12.032 17.3568 2.3552 4.7104 4.096 6.6048 5.376 7.3728 0.1536-0.9216 0.256-2.2016 0.0512-3.6864-0.4096-3.2768-1.4848-6.1952-2.9184-8.0384-2.6624-3.584-7.7312-8.0384-14.5408-13.0048z" p-id="11147" fill="#09d8f2"></path></svg>
\ No newline at end of file
diff --git a/src/icons/svg/cpdrk.svg b/src/icons/svg/cpdrk.svg
new file mode 100644
index 0000000..b3c4378
--- /dev/null
+++ b/src/icons/svg/cpdrk.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1677640256093" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9186" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M621.67 686.49a55.21 55.21 0 0 0-17 40.91c0.13 19.7 12.42 32.26 20.14 39.9l92.51 102.64q0.53 0.59 1.09 1.14l0.07 0.07c4.51 4.39 13.89 13.53 30.39 13.53 23.42 0 41.09-17.65 41.09-41v-39c38.78 4.11 68.62 25.32 94.67 66.6 7.82 14.71 19.41 22.16 34.47 22.16 19.41 0 41-16.86 41-41a24.21 24.21 0 0 0-0.16-2.75c-0.21-1.87-0.42-4.74-0.66-8.06-1.61-22.17-5-68.29-30.26-110.27a164.36 164.36 0 0 0-58.74-57.83c-22.75-13.25-49.74-22-80.45-26.15v-31.73c0-11.16-4.9-22.46-13.43-31s-19.83-13.43-31-13.43c-17.09 0-26.72 9.88-30.82 14.1l-0.48 0.51z m31.59 39.92a6.66 6.66 0 0 1 2.15-5q0.74-0.68 1.42-1.43l84.53-92v41.31a24.28 24.28 0 0 0 22.86 24.24c106.36 6.23 135.4 67.14 144.14 127.22-14.88-18.58-31.06-32.95-49-43.56C832 761 800 753.71 764.44 755.61a24.28 24.28 0 0 0-23 24.24v44.28l-81-89.86q-0.47-0.53-1-1c-1.69-1.73-5.17-5.16-6.18-6.85zM538.13 855.62h-52.7c-20.49 0-24.89 4.39-24.89 24.88v54.16c0 20.5 4.39 24.89 24.89 24.89h52.7c20.5 0 24.89-4.39 24.89-24.89v-54.15c-1.46-20.51-5.85-24.89-24.89-24.89zM362.48 855.62h-52.7c-20.49 0-24.89 4.39-24.89 24.88v54.16c0 20.5 4.39 24.89 24.89 24.89h52.7c20.49 0 24.88-4.39 24.88-24.89v-54.15c-1.47-20.51-5.86-24.89-24.88-24.89zM362.48 667.9h-52.7c-20.49 0-24.89 4.39-24.89 24.88v52.7c0 20.49 4.39 24.88 24.89 24.88h52.7c20.49 0 24.88-4.39 24.88-24.88v-54.15c-1.47-19.04-5.86-23.43-24.88-23.43zM485.43 490.78c-20.49 0-24.88 4.39-24.88 24.88v54.16c0 20.5 4.39 24.89 24.88 24.89h52.7c20.49 0 24.88-4.39 24.88-24.89v-54.16c-1.46-20.49-5.85-24.88-24.88-24.88zM538.13 667.9h-52.7c-20.49 0-24.89 4.39-24.89 24.88v52.7c0 20.49 4.39 24.88 24.89 24.88h52.7c20.5 0 24.89-4.39 24.89-24.88v-54.15c-1.46-19.04-5.85-23.43-24.89-23.43zM362.48 490.78h-52.7c-20.49 0-24.89 4.39-24.89 24.88v54.16c0 20.49 4.39 24.88 24.89 24.88h52.7c20.49 0 24.88-4.39 24.88-24.88v-54.16c-1.47-21.95-5.86-24.88-24.88-24.88z" p-id="9187" fill="#09d8f2"></path><path d="M914.29 427.93A28.7 28.7 0 1 0 948.68 382l-419-313.65a28.7 28.7 0 0 0-34.37 0L75.53 382a28.7 28.7 0 1 0 34.35 46l40.54-30.3v533.17a28.69 28.69 0 0 0 57.38 0v-576.1l304.65-227.63z" p-id="9188" fill="#09d8f2"></path></svg>
\ No newline at end of file
diff --git a/src/icons/svg/ph.svg b/src/icons/svg/ph.svg
new file mode 100644
index 0000000..ee6c52a
--- /dev/null
+++ b/src/icons/svg/ph.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1677640880885" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17507" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M821.555 0H1024v1023.949H821.555z m-274.79 551.885h201.984v472.064H546.765zM269.67 267.725h208.948v756.224H269.67zM0 749.158h199.22v274.79H0z" fill="#09d8f2" p-id="17508"></path></svg>
\ No newline at end of file
diff --git a/src/icons/svg/yqjh.svg b/src/icons/svg/yqjh.svg
new file mode 100644
index 0000000..fca095f
--- /dev/null
+++ b/src/icons/svg/yqjh.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1677637966664" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5361" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M831.34464 205.38368c93.00992 98.16576 135.53664 230.12352 120.3968 364.21632-12.75904 113.03424-74.56768 216.3712-161.18784 288.36864-183.59808 152.61696-460.8512 120.09984-615.65952-55.76192C38.88128 647.7056 35.62496 414.49984 153.93792 249.6768c131.89632-183.74656 390.61504-230.85056 583.65952-118.66112 28.60544 16.62464 54.36416-27.63264 25.84064-44.2112C542.07488-41.84064 260.87936 19.46112 109.72672 223.83616c-140.20096 189.57312-116.15232 459.25888 42.39872 629.42208 160.21504 171.94496 429.34784 201.3952 626.21696 76.416 208.61952-132.43904 282.14272-403.5584 181.41184-626.432-22.4256-49.60768-54.86592-94.64832-92.2112-134.06208-22.74304-24.0128-58.89024 12.25728-36.1984 36.20352z" fill="#09d8f2" p-id="5362"></path><path d="M390.71744 423.3984c41.85088-1.52576 58.12736 20.92544 48.82432 67.42528-6.21056 34.10944-26.37312 81.37728-60.45184 141.824l-2.32448 4.64896c43.37664 52.7104 102.2976 79.04768 176.70144 79.04768h204.60032c13.952 0 21.68832 6.97344 23.24992 20.92544-1.5616 15.47264-9.29792 23.24992-23.24992 23.24992h-202.27584c-86.82496 1.52576-155.01312-25.5744-204.60032-81.37728-27.89888 34.10944-55.79776 61.21472-83.70176 81.37728-12.42624 7.74144-23.24992 6.17472-32.54784-4.64896-7.77728-12.42624-6.21056-24.04864 4.64896-34.87744 26.3424-17.03936 52.67456-44.93824 79.04768-83.70176a574.67904 574.67904 0 0 1-44.17536-111.60064c-4.64896-17.03936 0-28.66688 13.952-34.87744 15.47264-3.09248 26.3424 3.88608 32.54784 20.92544l20.92544 62.77632c1.52576 6.21056 3.09248 10.85952 4.64896 13.952 20.12672-32.54784 33.31584-64.30208 39.5264-95.32416 6.17472-18.60096 0.76288-27.10016-16.27648-25.5744H300.04224c-18.60096 0-31.0272-5.41696-37.20192-16.27648-4.64896-10.82368-1.5616-23.24992 9.29792-37.20192 9.29792-12.3904 21.68832-27.89888 37.20192-46.49984 13.952-18.60096 24.0128-31.74912 30.22336-39.5264 4.64896-6.17472 6.17472-11.62752 4.64896-16.27648-3.1232-3.09248-9.29792-4.64896-18.60096-4.64896H267.4944c-15.50848 0-23.24992-7.74144-23.24992-23.24992 0-13.952 7.74144-20.92544 23.24992-20.92544H383.744c34.0736 4.64896 40.28928 24.81152 18.60096 60.45184-7.77728 10.85952-18.60096 24.04864-32.54784 39.5264-15.50848 18.60096-25.5744 32.54784-30.22336 41.85088-4.64896 6.21056-6.21056 10.85952-4.64896 13.952 1.52576 3.1232 5.41696 4.64896 11.62752 4.64896h44.16512z m244.12672-2.32448h90.6752c15.47264 1.5616 24.0128 9.29792 25.5744 23.24992-1.5616 15.50848-10.10176 24.04864-25.5744 25.5744h-90.6752v148.80256h106.95168c12.3904 0 19.36384 7.77728 20.92544 23.24992-1.5616 15.50848-8.53504 23.24992-20.92544 23.24992h-202.27584c-48.06144 0-71.31136-24.0128-69.75488-72.07424V397.824c1.52576-15.47264 10.06592-24.0128 25.5744-25.5744 13.952 1.5616 21.69344 10.10176 23.25504 25.5744v195.3024c1.52576 13.952 7.74144 21.72416 18.60096 23.24992h51.1488V314.12736c-17.0752 3.1232-48.06144 6.21056-93.0048 9.29792h-16.27648c-17.0752 0-26.37312-7.74144-27.89888-23.24992 0-13.952 7.74144-21.68832 23.24992-23.24992 85.22752-1.52576 165.84192-13.14816 241.80224-34.87744 15.47264-3.08736 26.3424 1.5616 32.54784 13.952 3.09248 17.0752-2.32448 27.89888-16.27648 32.54784-43.41248 10.85952-75.96032 17.83296-97.64864 20.92544v111.60064z" fill="#09d8f2" p-id="5363"></path></svg>
\ No newline at end of file
diff --git a/src/permission.js b/src/permission.js
index a5dd403..f791ab4 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -8,7 +8,7 @@
 
 NProgress.configure({ showSpinner: false }) // NProgress Configuration
 
-const whiteList = ['/login', '/zhkb', '/cjsc', '/cjzl'] // no redirect whitelist
+const whiteList = ['/login', '/zhkb', '/cjsc', '/cjzl', '/cgdd', '/ckgl'] // no redirect whitelist
 
 router.beforeEach(async(to, from, next) => {
   // start progress bar
diff --git a/src/router/index.js b/src/router/index.js
index a29f0e7..eb57030 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -50,6 +50,16 @@
     hidden: true
   },
   {
+    path: '/ckgl',
+    component: () => import('@/views/kb/ckgl'),
+    hidden: true
+  },
+  {
+    path: '/cgdd',
+    component: () => import('@/views/kb/cgdd'),
+    hidden: true
+  },
+  {
     path: '/login',
     component: () => import('@/views/login/index'),
     hidden: true
diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index de20de6..b545b5c 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -1231,22 +1231,22 @@
             color: 'rgba(41, 162, 245, 1)',
             barBorderRadius: 10
           }
-        // color: '#A71A2B',
-        // barBorderRadius: 4,
+          // color: '#A71A2B',
+          // barBorderRadius: 4,
         }
-      // label: {
-      //     normal: {
-      //         color: '#fff',
-      //         show: true,
-      //         position: ["-80px", 0],
-      //         textStyle: {
-      //             fontSize: 16
-      //         },
-      //         formatter: function(a, b) {
-      //             return a.name
-      //         }
-      //     }
-      // }
+        // label: {
+        //     normal: {
+        //         color: '#fff',
+        //         show: true,
+        //         position: ["-80px", 0],
+        //         textStyle: {
+        //             fontSize: 16
+        //         },
+        //         formatter: function(a, b) {
+        //             return a.name
+        //         }
+        //     }
+        // }
       }]
   }
 
@@ -1294,16 +1294,16 @@
         }
       }
     }
-    // {
-    //   text: '鍗曚綅锛氫釜',
-    //   top: 20,
-    //   left: 20,
-    //   textStyle: {
-    //     fontSize: 14,
-    //     color: '#666666',
-    //     fontWeight: 400
-    //   }
-    // }
+      // {
+      //   text: '鍗曚綅锛氫釜',
+      //   top: 20,
+      //   left: 20,
+      //   textStyle: {
+      //     fontSize: 14,
+      //     color: '#666666',
+      //     fontWeight: 400
+      //   }
+      // }
     ],
     // legend: {
     //     orient: 'vertical',
@@ -1363,7 +1363,7 @@
             formatter: params => {
               return (
                 '{icon|鈼弣{name|' + params.name + '}{value|' +
-              formatNumber(params.value) + '}'
+                formatNumber(params.value) + '}'
               )
             },
             padding: [0, -50, 25, -50],
@@ -1518,3 +1518,263 @@
 
   return option
 }
+
+// 閲囪喘璁㈠崟
+export function cgddchart(data1, data2, data3) {
+  // 寰楀埌鏈�澶у��  5鐨勫�嶆暟
+
+  let max = Math.max(Math.max(data1, data2), data3) + 5
+  if (max % 5 !== 0) {
+    max = 5 - max % 5 + max
+  }
+  const option = {
+    backgroundColor: 'transparent',
+    tooltip: {
+      formatter: '{a} <br/>{c} {b}'
+    },
+    series: [
+      {
+        name: '鏈湀閲囪喘璁㈠崟鏁�',
+        type: 'gauge',
+        color: ['#f00'],
+        min: 0,
+        max: max,
+        splitNumber: 5,
+        radius: '70%',
+        center: ['17%', '48%'],
+        axisLine: { // 鍧愭爣杞寸嚎
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            width: 10,
+            color: [
+              [0.4, '#09d8f2'],
+              [1, '#00FFFFF']
+            ]
+          },
+          backgroundColor: 'none'
+        },
+        tooltip: {
+          show: false
+        },
+        axisTick: { // 鍧愭爣杞村皬鏍囪
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            color: 'auto'
+          }
+        },
+        splitLine: { // 鍒嗛殧绾�
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+            color: colorY
+          }
+        },
+        axisLabel: {
+          borderRadius: 1,
+          // color: 'rgba(255,255,255,0.7)',
+          color: '#00FFFF',
+          padding: 1,
+          fontSize: 18
+        },
+        title: {
+          // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
+          // fontWeight: 'bolder',
+          fontSize: 22,
+          fontFamily: 'Microsoft YaHei',
+          fontColor: '#FFF',
+          color: '#FFF',
+          paddingTop: 20,
+          offsetCenter: [0, '120%']
+          // fontStyle: 'italic'
+        },
+        itemStyle: {
+          // color: '#1092ff'
+          color: '#09d8f2'
+        },
+        detail: {
+          shadowOffsetX: 0,
+          shadowOffsetY: 0,
+          fontFamily: 'digital',
+          fontSize: 26,
+          color: '#fff',
+          rich: {},
+          offsetCenter: [0, '90%'],
+
+          formatter: function(value) {
+            return value
+          }
+        },
+        data: [{
+          value: data1,
+          name: '鏈湀閲囪喘璁㈠崟鏁�'
+        }]
+      },
+      {
+        name: '鏈湀鍒拌揣鍗曟暟',
+        type: 'gauge',
+        color: ['#f00'],
+        min: 0,
+        max: max,
+        splitNumber: 5,
+        radius: '70%',
+        center: ['50%', '48%'],
+        axisLine: { // 鍧愭爣杞寸嚎
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            width: 10,
+            color: [
+              [0.4, '#09d8f2'],
+              [1, '#00FFFFF']
+            ]
+          },
+          backgroundColor: 'none'
+        },
+        tooltip: {
+          show: false
+        },
+        axisTick: { // 鍧愭爣杞村皬鏍囪
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            color: 'auto'
+          }
+        },
+        splitLine: { // 鍒嗛殧绾�
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+            color: colorY
+          }
+        },
+        axisLabel: {
+          borderRadius: 1,
+          // color: 'rgba(255,255,255,0.7)',
+          color: '#00FFFF',
+          padding: 1,
+          fontSize: 18
+        },
+        title: {
+          // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
+          // fontWeight: 'bolder',
+          fontSize: 22,
+          fontColor: '#FFF',
+          color: '#FFF',
+          fontFamily: 'Microsoft YaHei',
+          paddingTop: 20,
+          offsetCenter: [0, '120%']
+          // fontStyle: 'italic'
+        },
+        itemStyle: {
+          // color: '#1092ff'
+          color: '#09d8f2'
+        },
+        detail: {
+          shadowOffsetX: 0,
+          shadowOffsetY: 0,
+          // borderWidth: 1,
+          textBorderColor: '#000',
+          textBorderWidth: 1,
+          textShadowBlur: 1,
+          textShadowColor: colorY,
+          textShadowOffsetX: 0,
+          textShadowOffsetY: 0,
+          paddingTop: 10,
+          fontFamily: 'digital',
+          fontSize: 20,
+          width: 30,
+          color: '#fff',
+          rich: {},
+          offsetCenter: [0, '90%'],
+          formatter: function(value) {
+            // console.info(value)
+            // return (value * 10 + '%')
+            return value
+          }
+        },
+        data: [{
+          value: data2,
+          name: '鏈湀鍒拌揣鍗曟暟'
+        }]
+      },
+      {
+        name: '鏈湀閲囪喘鍏ュ簱鍗曟暟',
+        type: 'gauge',
+        color: ['#f00'],
+        min: 0,
+        max: max,
+        splitNumber: 5,
+        radius: '70%',
+        center: ['83%', '48%'],
+        axisLine: { // 鍧愭爣杞寸嚎
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            width: 10,
+            color: [
+              [0.4, '#09d8f2'],
+              [1, '#00FFFFF']
+            ]
+          },
+          backgroundColor: 'none'
+        },
+        tooltip: {
+          show: false
+        },
+        axisTick: { // 鍧愭爣杞村皬鏍囪
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle鎺у埗绾挎潯鏍峰紡
+            color: 'auto'
+          }
+        },
+        splitLine: { // 鍒嗛殧绾�
+          length: 10, // 灞炴�ength鎺у埗绾块暱
+          lineStyle: { // 灞炴�ineStyle锛堣瑙乴ineStyle锛夋帶鍒剁嚎鏉℃牱寮�
+            color: colorY
+          }
+        },
+        axisLabel: {
+          borderRadius: 1,
+          // color: 'rgba(255,255,255,0.7)',
+          color: '#00FFFF',
+          padding: 1,
+          fontSize: 18
+        },
+        title: {
+          // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
+          // fontWeight: 'bolder',
+          fontSize: 22,
+          fontColor: '#FFF',
+          color: '#FFF',
+          fontFamily: 'Microsoft YaHei',
+          paddingTop: 20,
+          offsetCenter: [0, '120%']
+          // fontStyle: 'italic'
+        },
+        itemStyle: {
+          // color: '#1092ff'
+          color: '#09d8f2'
+        },
+        detail: {
+          shadowOffsetX: 0,
+          shadowOffsetY: 0,
+          // borderWidth: 1,
+          textBorderColor: '#000',
+          textBorderWidth: 1,
+          textShadowBlur: 1,
+          textShadowColor: colorY,
+          textShadowOffsetX: 0,
+          textShadowOffsetY: 0,
+          paddingTop: 10,
+          fontFamily: 'digital',
+          fontSize: 20,
+          width: 30,
+          color: '#fff',
+          rich: {},
+          offsetCenter: [0, '90%'],
+          formatter: function(value) {
+            return value
+          }
+        },
+        data: [{
+          value: data3,
+          name: `鏈湀閲囪喘鍏ュ簱鍗曟暟`
+        }]
+      }
+
+    ]
+  }
+  return option
+}
diff --git a/src/views/kb/cgdd.vue b/src/views/kb/cgdd.vue
new file mode 100644
index 0000000..5a0d588
--- /dev/null
+++ b/src/views/kb/cgdd.vue
@@ -0,0 +1,421 @@
+<template>
+  <div>
+    <div class="kb_dashboard">
+      <div class="kb_header">
+        <div class="flex_c_c kb_header_text">
+          <div id="topBarLeft" style="width:600px;height:100%" />
+          閲囪喘璺熻釜鐪嬫澘
+          <div id="topBarRight" style="width:600px;height:100%;transform:rotate(180deg);" />
+        </div>
+        <div class="kb_headTime">
+          <span>{{ headTime }}</span>
+        </div>
+      </div>
+      <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px;height: 980px">
+        <div style="width: 1250px;" class="flex_c_b">
+          <div style="height: 380px;">
+            <div>
+              <div class="smallTitle">
+                <svg-icon icon-class="cggz" class="svg_class" />
+                閲囪喘璺熻釜
+              </div>
+              <div class="lineContent horn" style="height: 345px">
+                <div id="cgddchart" class="flex_c_c" style="width: 100%;height:100%" />
+              </div>
+            </div>
+          </div>
+          <div style="height: 560px; ">
+            <div>
+              <div class="smallTitle">
+                <svg-icon icon-class="cggz" class="svg_class" />
+                閲囪喘鍒拌揣璺熻釜
+              </div>
+              <div class="lineContent horn" style="height: 525px">
+                <el-table
+                  ref="tableData"
+                  :data="tableData"
+                  class="tableData"
+                  style="width: 100%;"
+                  :header-cell-style="headerCellStyleCenter"
+                  :cell-style="cellStyleCenter"
+                  height="515"
+                >
+                  <el-table-column
+                    prop="PurchaseOrder"
+                    label="閲囪喘璁㈠崟"
+                    width="207"
+                  >
+                    <template slot-scope="{row}">
+                      <div class="ellipsis">{{ row.PurchaseOrder }}</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="suppername"
+                    label="渚涘簲鍟�"
+                    width="163"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.suppername" class="ellipsis">{{ row.suppername }}</div>
+                      <div v-else />
+                    </template>
+                  </el-table-column>
+                  <!--                  <el-table-column-->
+                  <!--                    prop="username"-->
+                  <!--                    label="閲囪喘鍛�"-->
+                  <!--                    width="78"-->
+                  <!--                  >-->
+                  <!--                    <template slot-scope="{row}">-->
+                  <!--                      <div v-if="row.username">{{ row.username }}</div>-->
+                  <!--                      <div v-else>/</div>-->
+                  <!--                    </template>-->
+                  <!--                  </el-table-column>-->
+
+                  <!--                  <el-table-column-->
+                  <!--                    prop="partcode"-->
+                  <!--                    label="浜у搧缂栫爜"-->
+                  <!--                    width="108"-->
+                  <!--                  />-->
+                  <el-table-column
+                    prop="partname"
+                    label="浜у搧鍚嶇О"
+                    width="175"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.partname" class="ellipsis">{{ row.partname }}</div>
+                      <div v-else />
+                    </template>
+                  </el-table-column>
+                  <!--                  <el-table-column-->
+                  <!--                    prop="partspec"-->
+                  <!--                    label="瑙勬牸鍨嬪彿"-->
+                  <!--                    width="130"-->
+                  <!--                  >-->
+                  <!--                    <template slot-scope="{row}">-->
+                  <!--                      <div v-if="row.partspec" class="ellipsis">{{ row.partspec }}</div>-->
+                  <!--                      <div v-else>/</div>-->
+                  <!--                    </template>-->
+                  <!--                  </el-table-column>-->
+                  <el-table-column
+                    prop="quantity"
+                    label="璁㈠崟鏁伴噺"
+                    width="94"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.quantity">{{ parseFloat(row.quantity) }}</div>
+                      <div v-else>0</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="checktype"
+                    label="妫�楠岀姸鎬�"
+                    width="94"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.checktype===null">鏈楠�</div>
+                      <div v-else>宸叉楠�</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="checkuser"
+                    label="妫�楠屼汉鍛�"
+                    width="94"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.checkuser===null">/</div>
+                      <div v-else>{{ row.checkuser }}</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="quantity1"
+                    label="宸叉敹鏁伴噺"
+                    width="94"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.quantity1">{{ parseFloat(row.quantity1) }}</div>
+                      <div v-else>0</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    label="鏈敹鏁伴噺"
+                    width="94"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.quantity- row.quantity1">{{ parseFloat(row.quantity - row.quantity1) }}</div>
+                      <div v-else>0</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="acceptDate"
+                    label="棰勮浜ゆ湡"
+                    width="115"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="row.acceptDate">{{ row.acceptDate.substring(0, 10) }}</div>
+                      <div v-else>/</div>
+                    </template>
+                  </el-table-column>
+                  <el-table-column
+                    prop="warning"
+                    label="寤舵湡澶╂暟"
+                    width="114"
+                  >
+                    <template slot-scope="{row}">
+                      <div v-if="parseFloat(row.warning)<0" style="color: red">{{
+                        Math.abs(parseFloat(row.warning))
+                      }}
+                      </div>
+                      <div v-else-if="row.warning===null||row.warning===''||row.warning===0">0</div>
+                      <div v-else-if="parseFloat(row.warning)>3">{{ row.warning }}</div>
+                      <div v-else-if="parseFloat(row.warning)>0&&parseFloat(row.warning)<=3" style="color:yellow;">
+                        {{ row.warning }}
+                      </div>
+                    </template>
+                  </el-table-column>
+                </el-table>
+                <!--                <div id="cgddchart" class="flex_c_c" style="width: 100%;height:100%" />-->
+              </div>
+            </div>
+          </div>
+        </div>
+        <div style="width: 600px;">
+          <div>
+            <div class="smallTitle">
+              <svg-icon icon-class="yqjh" class="svg_class" />
+              渚涘簲鍟嗗欢鏈熶氦璐ф帓琛�
+            </div>
+            <div class="lineContent horn" style="height: 925px">
+              <el-table
+                ref="tableDataRank"
+                :data="tableDataRank"
+                class="tableData"
+                style="width: 100%;"
+                :header-cell-style="headerCellStyleCenter"
+                :cell-style="cellStyleCenter"
+                :row-class-name="tableRowClassName"
+                height="920"
+              >
+                <el-table-column
+                  type="index"
+                  label="搴忓彿"
+                  width="80"
+                >
+                  <template slot-scope="{row}">
+                    <div>NO.{{ row.index }}</div>
+                    <!--                      <div>NO.100</div>-->
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="cj"-->
+                <!--                    label="杞﹂棿"-->
+                <!--                    width="100"-->
+                <!--                  />-->
+                <el-table-column
+                  prop="suppercode"
+                  label="渚涘簲鍟嗙紪鐮�"
+                  width="140"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.suppercode" class="ellipsis">{{ row.suppercode }}</div>
+                    <div v-else />
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="suppername"
+                  width="293"
+                  label="渚涘簲鍟嗗悕绉�"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.suppername }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="cont"
+                  label="娆℃暟"
+                  width="81"
+                />
+              </el-table>
+            </div>
+          </div>
+        </div>
+      </div>
+
+    </div>
+  </div>
+</template>
+
+<script>
+import './kbCommon.css'
+import { cgddchart, kbTop, loadEcharts } from '@/utils/myEcharts'
+import { PurchaseLeftBottom, PurchaseLeftTop, PurchaseRight } from '@/api/dzkb'
+
+export default {
+  name: 'Index2',
+  data() {
+    return {
+      headTime: '',
+      purchaseLeftTopData: {},
+
+      tableData: [],
+      tableDataRank: [],
+
+      PurchaseRight: null,
+      PurchaseLeftBottom: null
+
+    }
+  },
+
+  created() {
+    setInterval(this.getNowTime, 1000)
+
+    // 涓ゅ皬鏃剁湅鏉垮埛鏂颁竴娆�
+    setInterval(() => {
+      window.location.reload()
+    }, 1000 * 60 * 120)
+  },
+  mounted() {
+    this.getTopBar()
+    this.getEcharts()
+    this.getPurchaseLeftBottom()
+    this.getPurchaseRight()
+  },
+
+  methods: {
+
+    // 鑾峰彇topEcharts
+    getTopBar() {
+      loadEcharts('topBarLeft', kbTop())
+      loadEcharts('topBarRight', kbTop())
+    },
+    // 鑾峰彇echarts
+    async getEcharts() {
+      PurchaseLeftTop().then(res => {
+        this.purchaseLeftTopData = res.data[0]
+        loadEcharts('cgddchart', cgddchart(this.purchaseLeftTopData.ThisMonthPurchaseOrderCont, this.purchaseLeftTopData.ThisMonthPurchaseArrivalOrderCont, this.purchaseLeftTopData.ThisMonthWareHouseOrderCont))
+      })
+      setInterval(() => {
+        PurchaseLeftTop().then(res => {
+          this.purchaseLeftTopData = res.data[0]
+          loadEcharts('cgddchart', cgddchart(this.purchaseLeftTopData.ThisMonthPurchaseOrderCont, this.purchaseLeftTopData.ThisMonthPurchaseArrivalOrderCont, this.purchaseLeftTopData.ThisMonthWareHouseOrderCont))
+        })
+      }, 1000 * 6)
+    },
+    getPurchaseLeftBottom() {
+      PurchaseLeftBottom().then(res => {
+        this.tableData = res.data.filter(i => !parseFloat(i.quantity1))// 杩囨护鎺夊凡鏀舵暟閲忓ぇ浜庨浂鐨勫��
+        this.number1 = this.tableData.length
+
+        const divData = this.$refs.tableData.bodyWrapper
+        // 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
+        this.PurchaseLeftBottom = setInterval(() => {
+          // 鍏冪礌鑷璺濈椤堕儴1鍍忕礌
+          divData.scrollTop += 1
+          // 鍒ゆ柇鍏冪礌鏄惁婊氬姩鍒板簳閮�(鍙楂樺害+璺濈椤堕儴=鏁翠釜楂樺害)
+          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
+            // 閲嶇疆table璺濈椤堕儴璺濈
+            divData.scrollTop = 0
+            PurchaseLeftBottom().then(res => {
+              this.tableData = res.data.filter(i => !parseFloat(i.quantity1))// 杩囨护鎺夊凡鏀舵暟閲忓ぇ浜庨浂鐨勫��
+              // this.number1 = this.tableData.length
+              if (this.tableData.length > 13) {
+                clearInterval(this.PurchaseLeftBottom)
+                this.getPurchaseLeftBottom()
+              }
+            })
+          }
+        }, this.tableData.length <= 13 ? 1000 * 3 : 100)
+      })
+    },
+    getPurchaseRight() {
+      PurchaseRight().then(res => {
+        this.tableDataRank = res.data
+        const divData = this.$refs.tableDataRank.bodyWrapper
+        // 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
+        this.PurchaseRight = setInterval(() => {
+          // 鍏冪礌鑷璺濈椤堕儴1鍍忕礌
+          divData.scrollTop += 1
+          // 鍒ゆ柇鍏冪礌鏄惁婊氬姩鍒板簳閮�(鍙楂樺害+璺濈椤堕儴=鏁翠釜楂樺害)
+          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
+            // 閲嶇疆table璺濈椤堕儴璺濈
+            divData.scrollTop = 0
+            PurchaseRight().then(res => {
+              this.tableDataRank = res.data
+              if (this.tableDataRank.length > 21) {
+                clearInterval(this.PurchaseRight)
+                this.getPurchaseRight()
+              }
+            })
+          }
+        }, this.tableDataRank.length <= 21 ? 1000 * 3 : 100)
+      })
+    },
+    tableRowClassName({ row, rowIndex }) {
+      // 鎶婃瘡涓�琛岀殑绱㈠紩鏀捐繘row
+      row.index = rowIndex + 1
+    },
+
+    // 鑾峰彇褰撳墠鏃堕棿
+    getNowTime() {
+      const dt = new Date()
+      const wk = dt.getDay()
+      const y = dt.getFullYear()
+      const m = (dt.getMonth() + 1 + '').padStart(2, '0')
+      const d = (dt.getDate() + '').padStart(2, '0')
+
+      const hh = (dt.getHours() + '').padStart(2, '0')
+      const mm = (dt.getMinutes() + '').padStart(2, '0')
+      const ss = (dt.getSeconds() + '').padStart(2, '0')
+      const weeks = ['鏄熸湡鏃�', '鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�']
+      const week = weeks[wk]
+
+      this.headTime = `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`
+    },
+    headerCellStyleCenter() {
+      return {
+        // backgroundColor: 'rgb(30 ,33, 46)',
+        backgroundColor: '#000',
+        padding: '10px 0',
+        textAlign: 'center',
+        color: '#07acc2',
+        border: 'none',
+        fontSize: '18px'
+      }
+    },
+    cellStyleCenter() {
+      return {
+        padding: '7.5px 0',
+        textAlign: 'center',
+        backgroundColor: '#000',
+        color: '#fff',
+        border: 'none',
+        fontSize: '18px'
+      }
+    }
+  }
+}
+</script>
+
+<style scoped lang="scss">
+$main_color: #09d8f2;
+$color01: #00FFFF;
+.tableData {
+  background: #000;
+}
+
+.el-table__empty-text {
+  color: $main_color;
+}
+
+::v-deep .el-table::before {
+  height: 0;
+}
+
+::v-deep .el-table__body-wrapper::-webkit-scrollbar {
+  /* width: 0;瀹藉害涓�0鏆楄棌 */
+  width: 0;
+}
+
+::v-deep .cell {
+  padding: 0 !important;
+  font-size: 18px;
+}
+</style>
diff --git a/src/views/kb/ckgl.vue b/src/views/kb/ckgl.vue
new file mode 100644
index 0000000..843e1ac
--- /dev/null
+++ b/src/views/kb/ckgl.vue
@@ -0,0 +1,517 @@
+<template>
+  <div>
+    <div class="kb_dashboard">
+      <div class="kb_header">
+        <div class="flex_c_c kb_header_text">
+          <div id="topBarLeft" style="width:600px;height:100%" />
+          浠撳簱绠$悊鐪嬫澘
+          <div id="topBarRight" style="width:600px;height:100%;transform:rotate(180deg);" />
+        </div>
+        <div class="kb_headTime">
+          <span>{{ headTime }}</span>
+        </div>
+      </div>
+      <div style="display: flex;justify-content: space-between;padding:0 20px 20px 20px;height: 980px">
+        <div style="width: 1350px; " class="flex_c_b">
+          <div style="height: 470px;">
+            <div class="smallTitle">
+              <svg-icon icon-class="cpdfh" class="svg_class" />
+              浜у搧寰呭彂璐�
+            </div>
+            <div class="lineContent horn" style="height: 435px">
+              <el-table
+                ref="tableDataTopRef"
+                :data="tableDataTop"
+                style="width: 100%;"
+                class="tableData"
+                :header-cell-style="headerCellStyleCenter"
+                :cell-style="cellStyleCenter"
+                height="430"
+              >
+                <el-table-column
+                  prop="voucherdate"
+                  label="鍗曟嵁鏃ユ湡"
+                  width="131"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.voucherdate" class="ellipsis">{{ row.voucherdate.substring(0, 10) }}</div>
+                    <div v-else />
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="wo"
+                  label="鍗曟嵁缂栧彿"
+                  width="189"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.wo }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="wkshp_name"
+                  label="鐢熶骇杞﹂棿"
+                  width="105"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.wkshp_name }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="saleOrderCode"
+                  label="閿�鍞鍗曞彿"
+                  width="200"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.saleOrderCode" class="ellipsis">{{ row.saleOrderCode }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="materiel_code"
+                  label="浜у搧缂栧彿"
+                  width="136"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.materiel_code }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="materiel_name"
+                  label="浜у搧鍚嶇О"
+                  width="180"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.materiel_name }}</div>
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="specification"-->
+                <!--                    label="瑙勬牸鍨嬪彿"-->
+                <!--                    width="128"-->
+                <!--                  >-->
+                <!--                    <template slot-scope="{row}">-->
+                <!--                      <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>-->
+                <!--                      <div v-else>/</div>-->
+                <!--                    </template>-->
+                <!--                  </el-table-column>-->
+                <el-table-column
+                  prop="stck_name"
+                  label="棰勫叆浠撳簱"
+                  width="100"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="quantity"
+                  label="鏁伴噺"
+                  width="63"
+                />
+                <el-table-column
+                  prop="totalStockInQuantity"
+                  label="宸插叆搴撴暟閲�"
+                  width="100"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.totalStockInQuantity">{{ row.totalStockInQuantity }}</div>
+                    <div v-else>0</div>
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="uomname"-->
+                <!--                    label="鍗曚綅"-->
+                <!--                    width="50"-->
+                <!--                  />-->
+                <!--                  <el-table-column-->
+                <!--                    prop="preStartDate"-->
+                <!--                    label="棰勮寮�宸�"-->
+                <!--                    width="100"-->
+                <!--                  >-->
+                <!--                    <template slot-scope="{row}">-->
+                <!--                      <div v-if="row.preStartDate">{{ row.preStartDate.substring(0, 10) }}</div>-->
+                <!--                      <div v-else />-->
+                <!--                    </template>-->
+                <!--                  </el-table-column>-->
+                <el-table-column
+                  prop="preFinishDate"
+                  label="棰勮鍏ュ簱"
+                  width="140"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>
+                    <div v-else />
+                  </template>
+                </el-table-column>
+              </el-table>
+            </div>
+          </div>
+          <div style="height: 470px;">
+            <div class="smallTitle">
+              <svg-icon icon-class="cpdrk" class="svg_class" />
+              浜у搧寰呭叆搴�
+            </div>
+            <div class="lineContent horn" style="height: 435px">
+              <el-table
+                ref="tableDataBottomRef"
+                :data="tableDataBottom"
+                style="width: 100%;"
+                class="tableData"
+                :header-cell-style="headerCellStyleCenter"
+                :cell-style="cellStyleCenter"
+                height="430"
+              >
+                <el-table-column
+                  prop="voucherdate"
+                  label="鍗曟嵁鏃ユ湡"
+                  width="130"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.voucherdate" class="ellipsis">{{ row.voucherdate.substring(0, 10) }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="wo"
+                  label="鍗曟嵁缂栧彿"
+                  width="195"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.wo }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="customename"
+                  label="瀹㈡埛"
+                  width="226"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.customename" class="ellipsis">{{ row.customename }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="username"-->
+                <!--                    label="涓氬姟鍛�"-->
+                <!--                    width="65"-->
+                <!--                  >-->
+                <!--                    <template slot-scope="{row}">-->
+                <!--                      <div v-if="row.username" class="ellipsis">{{ row.username }}</div>-->
+                <!--                      <div v-else>/</div>-->
+                <!--                    </template>-->
+                <!--                  </el-table-column>-->
+                <el-table-column
+                  prop="SourceVoucherCode"
+                  label="鏉ユ簮鍗曞彿"
+                  width="185"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.SourceVoucherCode" class="ellipsis">{{ row.SourceVoucherCode }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="materiel_code"-->
+                <!--                    label="浜у搧缂栧彿"-->
+                <!--                    width="96"-->
+                <!--                  />-->
+                <el-table-column
+                  prop="materiel_name"
+                  label="浜у搧鍚嶇О"
+                  width="170"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.materiel_name" class="ellipsis">{{ row.materiel_name }}</div>
+                  </template>
+                </el-table-column>
+                <!--                  <el-table-column-->
+                <!--                    prop="specification"-->
+                <!--                    label="瑙勬牸鍨嬪彿"-->
+                <!--                    width="100"-->
+                <!--                  >-->
+                <!--                    <template slot-scope="{row}">-->
+                <!--                      <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>-->
+                <!--                      <div v-else>/</div>-->
+                <!--                    </template>-->
+                <!--                  </el-table-column>-->
+                <el-table-column
+                  prop="quantity"
+                  label="鏁伴噺"
+                  width="87"
+                >
+                  <template slot-scope="{row}">
+                    <div class="ellipsis">{{ row.quantity }}</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="saleOutQuantity"
+                  label="宸插彂璐ф暟閲�"
+                  width="100"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.saleOutQuantity" class="ellipsis">{{ row.saleOutQuantity }}</div>
+                    <div v-else>0</div>
+                  </template>
+                </el-table-column>
+                <el-table-column
+                  prop="priuserdefnvc1"
+                  label="妫�楠屾柟寮�"
+                  width="110"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.priuserdefnvc1">{{ row.priuserdefnvc1 }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+                <!--                <el-table-column-->
+                <!--                  prop="priuserdefnvc2"-->
+                <!--                  label="妫�楠屼汉鍛�"-->
+                <!--                  width="110"-->
+                <!--                >-->
+                <!--                  <template slot-scope="{row}">-->
+                <!--                    <div v-if="row.priuserdefnvc2">{{ row.priuserdefnvc2 }}</div>-->
+                <!--                    <div v-else>/</div>-->
+                <!--                  </template>-->
+                <!--                </el-table-column>-->
+                <el-table-column
+                  prop="deliveryDate"
+                  label="棰勮浜よ揣鏃ユ湡"
+                  width="141"
+                >
+                  <template slot-scope="{row}">
+                    <div v-if="row.deliveryDate">{{ row.deliveryDate.substring(0,10) }}</div>
+                    <div v-else>/</div>
+                  </template>
+                </el-table-column>
+              </el-table>
+            </div>
+          </div>
+
+        </div>
+        <div style="width: 500px;" class="flex_c_b">
+          <div style="height: 470px;">
+            <div class="smallTitle">
+              <svg-icon icon-class="ph" class="svg_class" />
+              鍗婃垚鍝併�佷骇鍝佸簱瀛橀噺鎺掕Top5
+            </div>
+            <div class="lineContent horn" style="height: 435px">
+              <div id="bar03" style="width: 100%;height:100%;margin-left: -25px;margin-top: -10px" />
+            </div>
+          </div>
+          <div style="height: 470px;">
+            <div class="smallTitle">
+              <svg-icon icon-class="ph" class="svg_class" />
+              鍘熸潗鏂欏簱瀛橀噺鎺掕Top5
+            </div>
+            <div class="lineContent horn" style="height: 435px">
+              <div id="bar04" style="width: 100%;height:100%;margin-left: -25px;margin-top: -10px" />
+            </div>
+          </div>
+        </div>
+      </div>
+
+    </div>
+  </div>
+</template>
+
+<script>
+import './kbCommon.css'
+import { bar02, kbTop, loadEcharts } from '@/utils/myEcharts'
+import {
+  WareHouseRightBottomData,
+  WareHouseRightTopData,
+  WareHouseTopBottomData,
+  WareHouseTopLeftData
+} from '@/api/dzkb'
+import MarqueeTips from 'vue-marquee-tips'
+
+export default {
+  name: 'Index2',
+
+  data() {
+    return {
+
+      headTime: '',
+      tableDataTop: [],
+      tableDataBottom: [],
+
+      MarqueeTipsContent: '', // 鍏憡
+      speed: 100, // 鍏憡鎾斁鐨勯�熷害
+
+      tableTopTask: null,
+      tableBottomTask: null,
+      echartsRightTop: null,
+      echartsRightBottom: null
+
+    }
+  },
+
+  created() {
+    setInterval(this.getNowTime, 1000)
+
+    // 涓ゅ皬鏃剁湅鏉垮埛鏂颁竴娆�
+    setInterval(() => {
+      window.location.reload()
+    }, 1000 * 60 * 120)
+  },
+  mounted() {
+    this.getTopBar()
+
+    this.getWareHouseTopLeftData()
+    this.getWareHouseTopBottomData()
+    this.getEcharts()
+  },
+
+  methods: {
+    // 鑾峰彇topEcharts
+    getTopBar() {
+      loadEcharts('topBarLeft', kbTop())
+      loadEcharts('topBarRight', kbTop())
+    },
+    // 鑾峰彇宸︿笂table鏁版嵁
+    getWareHouseTopLeftData() {
+      WareHouseTopLeftData().then(res => {
+        this.tableDataTop = res.data
+        // this.number1 = this.tableDataTop.length
+        const divData = this.$refs.tableDataTopRef.bodyWrapper
+        // 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
+        this.tableTopTask = setInterval(() => {
+          // 鍏冪礌鑷璺濈椤堕儴1鍍忕礌
+          divData.scrollTop += 1
+          // divData.scrollTop += divData.scrollHeight / this.tableData.length
+          // 鍒ゆ柇鍏冪礌鏄惁婊氬姩鍒板簳閮�(鍙楂樺害+璺濈椤堕儴=鏁翠釜楂樺害)
+          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
+            // 閲嶇疆table璺濈椤堕儴璺濈
+            divData.scrollTop = 0
+            WareHouseTopLeftData().then(res => {
+              this.tableDataTop = res.data
+              // this.number1 = this.tableDataTop.length
+              if (this.tableDataTop.length > 9) {
+                clearInterval(this.tableTopTask)
+                this.getWareHouseTopLeftData()
+              }
+            })
+          }
+        }, this.tableDataTop.length <= 9 ? 1000 * 3 : 100)
+      })
+    },
+    // 鑾峰彇宸︿笅table鏁版嵁
+    getWareHouseTopBottomData() {
+      WareHouseTopBottomData().then(res => {
+        this.tableDataBottom = res.data
+        this.number2 = this.tableDataBottom.length
+        const divData = this.$refs.tableDataBottomRef.bodyWrapper
+        // 鎷垮埌鍏冪礌鍚庯紝瀵瑰厓绱犺繘琛屽畾鏃跺鍔犺窛绂婚《閮ㄨ窛绂伙紝瀹炵幇婊氬姩鏁堟灉(姝ら厤缃负姣�100姣绉诲姩1鍍忕礌)
+        // const task = setInterval(() => {
+        this.tableBottomTask = setInterval(() => {
+          // 鍏冪礌鑷璺濈椤堕儴1鍍忕礌
+          divData.scrollTop += 1
+          // divData.scrollTop += divData.scrollHeight / this.tableData.length
+          // 鍒ゆ柇鍏冪礌鏄惁婊氬姩鍒板簳閮�(鍙楂樺害+璺濈椤堕儴=鏁翠釜楂樺害)
+          if (divData.clientHeight + divData.scrollTop === divData.scrollHeight) {
+            // 閲嶇疆table璺濈椤堕儴璺濈
+            divData.scrollTop = 0
+            WareHouseTopBottomData().then(res => {
+              this.tableDataBottom = res.data
+              this.number2 = this.tableDataBottom.length
+              if (this.tableDataBottom.length > 10) {
+                clearInterval(this.tableBottomTask)
+                this.getWareHouseTopBottomData()
+              }
+            })
+          }
+        }, this.tableDataBottom.length <= 10 ? 1000 * 3 : 100)
+      })
+    },
+
+    // 鑾峰彇echarts
+    getEcharts() {
+      WareHouseRightTopData().then(res => {
+        loadEcharts('bar03', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+      })
+
+      WareHouseRightBottomData().then(res => {
+        loadEcharts('bar04', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+      })
+
+      this.echartsRightTop = setInterval(() => {
+        WareHouseRightTopData().then(res => {
+          loadEcharts('bar03', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+        })
+      }, 1000 * 15)
+
+      this.echartsRightBottom = setInterval(() => {
+        WareHouseRightBottomData().then(res => {
+          loadEcharts('bar04', bar02(res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.CanuseBaseQuantity), res.data.filter(i => i.CanuseBaseQuantity > 0).map(i => i.materiel_name)))
+        })
+      }, 1000 * 15)
+    },
+    // 鑾峰彇褰撳墠鏃堕棿
+    getNowTime() {
+      const dt = new Date()
+      const wk = dt.getDay()
+      const y = dt.getFullYear()
+      const m = (dt.getMonth() + 1 + '').padStart(2, '0')
+      const d = (dt.getDate() + '').padStart(2, '0')
+
+      const hh = (dt.getHours() + '').padStart(2, '0')
+      const mm = (dt.getMinutes() + '').padStart(2, '0')
+      const ss = (dt.getSeconds() + '').padStart(2, '0')
+      const weeks = ['鏄熸湡鏃�', '鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�']
+      const week = weeks[wk]
+
+      this.headTime = `${y}-${m}-${d}  ${hh}:${mm}:${ss}   ${week}`
+    },
+    headerCellStyleCenter() {
+      return {
+        // backgroundColor: 'rgb(30 ,33, 46)',
+        backgroundColor: '#000',
+        padding: '10px 0',
+        textAlign: 'center',
+        color: '#07acc2',
+        border: 'none',
+        fontSize: '18px'
+      }
+    },
+    cellStyleCenter() {
+      return {
+        padding: '7.5px 0',
+        textAlign: 'center',
+        backgroundColor: '#000',
+        color: '#fff',
+        border: 'none',
+        fontSize: '18px'
+      }
+    }
+  }
+}
+</script>
+
+<style scoped lang="scss">
+
+$main_color:#09d8f2;
+$color01: #00FFFF;
+.tableData{
+  background: #000;
+}
+
+.el-table__empty-text{
+  color: $main_color;
+}
+
+::v-deep .el-table__body-wrapper::-webkit-scrollbar {
+  /* width: 0;瀹藉害涓�0鏆楄棌 */
+  width: 0;
+}
+
+::v-deep .el-table::before {
+  height: 0;
+}
+
+::v-deep .cell {
+  padding: 0 !important;
+  //font-size: 16px;
+  font-size: 18px;
+}
+</style>

--
Gitblit v1.9.3