From de0a6c45e0ee2551d2a83cecbf22dc9c20be0ac7 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Tue, 30 May 2023 09:00:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8A=A5=E8=A1=A8=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/css/1909.65f8bc12.css | 1 + .../{2949.049013c2.css => 2740.049013c2.css} | 0 dist/css/2801.5bbc94e4.css | 1 - dist/css/3366.7459e497.css | 1 - dist/css/4061.68b9449b.css | 1 + dist/css/4093.abe04878.css | 1 - dist/css/4238.05a640eb.css | 1 - .../{7552.4dd461e8.css => 4350.4dd461e8.css} | 0 dist/css/4922.de98e773.css | 1 + dist/css/5271.3daf5a00.css | 1 + .../{5286.d55bbb50.css => 5748.d55bbb50.css} | 0 dist/css/5797.81598d88.css | 1 + dist/css/6234.3ff852d9.css | 1 - dist/css/7364.0642eca0.css | 1 - dist/css/868.775f6802.css | 1 - dist/css/897.c8e5eefb.css | 1 - .../{8311.d55bbb50.css => 9707.d55bbb50.css} | 0 dist/index.html | 2 +- .../js/{1487.032bbb6c.js => 1487.2312df4b.js} | 2 +- .../js/{3366.fddfab50.js => 1909.d4a91a98.js} | 2 +- .../js/{2407.938a0c15.js => 2407.b28312ac.js} | 2 +- dist/js/2413.b0006aaf.js | 1 + dist/js/2413.e3256bbf.js | 1 - dist/js/2740.0ffcbd63.js | 1 + dist/js/2801.7cc1950e.js | 1 - dist/js/2949.d1630ea2.js | 1 - dist/js/2990.145272cf.js | 1 + dist/js/2990.9f7bfdd4.js | 1 - .../js/{3058.30864938.js => 3058.afed5e8b.js} | 2 +- dist/js/3813.435d2e60.js | 1 + dist/js/3813.dc300e60.js | 1 - dist/js/3899.4bd3c5c8.js | 1 + dist/js/3899.8d6b4056.js | 1 - dist/js/4048.0faf667a.js | 1 + dist/js/4048.f4813ceb.js | 1 - .../js/{7364.63902e51.js => 4061.83f9daf4.js} | 2 +- dist/js/4093.94763922.js | 1 - .../js/{4337.a10def0f.js => 4337.7bf28b84.js} | 2 +- .../js/{7552.caf1693c.js => 4350.0bda506f.js} | 2 +- dist/js/4922.6d343695.js | 1 + dist/js/5096.4cb05e81.js | 1 - dist/js/5096.efa7f846.js | 1 + .../js/{5159.3d955bfa.js => 5159.85e1127d.js} | 2 +- dist/js/5271.8199e756.js | 1 + dist/js/5286.4812cac9.js | 1 - .../js/{5304.57fa63b2.js => 5304.a9d72581.js} | 2 +- .../js/{5640.c5ff6e0f.js => 5640.a9590889.js} | 2 +- dist/js/5748.94b73395.js | 1 + .../js/{5783.c03b0c7f.js => 5783.fc0f3624.js} | 2 +- .../js/{4238.ef96ed59.js => 5797.d5647f99.js} | 2 +- .../js/{5984.65a39e51.js => 5984.95a73c90.js} | 2 +- dist/js/6234.864ef5ee.js | 1 - .../js/{6729.fd1b5476.js => 6729.3d089ae3.js} | 2 +- dist/js/{698.bdb8da01.js => 698.686547a1.js} | 2 +- dist/js/8311.74c6e8f9.js | 1 - dist/js/868.2820c60e.js | 1 - dist/js/889.5b9672f6.js | 1 - dist/js/889.fda67dfe.js | 1 + dist/js/897.6b02e069.js | 1 - .../js/{9705.2f82f16f.js => 9705.be26bec0.js} | 2 +- dist/js/9707.b2783b7b.js | 1 + .../js/{9796.d66f9ab1.js => 9796.8b5a0aa6.js} | 2 +- dist/js/app.8a6daf4f.js | 1 + dist/js/app.e2f493b2.js | 1 - src/api/basicConfig.js | 81 ------ src/api/productionScheduling.js | 18 -- src/api/qualityManagement.js | 59 ---- src/api/reportManagement.js | 140 +++++++++ src/assets/home/reportManagement.png | Bin 0 -> 3618 bytes .../{basic => reportManagement}/report.png | Bin src/router/index.js | 164 +++++------ .../reportClassification.vue | 0 .../reportDesign.vue | 0 .../reportList.vue | 0 .../reportListDetail.vue | 0 .../reportView.vue | 0 .../plannedMaintenance.vue | 9 +- .../substrateGlassQuality.vue | 266 ----------------- .../thicknessDetection.vue | 254 ---------------- .../finalInspectionData.vue | 229 --------------- .../components/TableTags.vue | 0 .../components/categorySelect.vue | 0 .../components/reportClassAdd.vue | 2 +- .../components/reportNameEdit.vue | 2 +- .../finalInspectionData.vue | 10 +- .../glassPackReport.vue | 0 .../glassQualityReport.vue | 0 .../glassThickReport.vue | 0 .../productionReport.vue | 0 .../reportTools.vue} | 0 .../reportTools/reportClassification.vue | 188 ++++++++++++ .../reportTools/reportDesign.vue | 36 +++ .../reportTools/reportList.vue | 149 ++++++++++ .../reportTools/reportListDetail.vue | 271 ++++++++++++++++++ .../reportTools/reportView.vue | 36 +++ 95 files changed, 936 insertions(+), 1056 deletions(-) create mode 100644 dist/css/1909.65f8bc12.css rename dist/css/{2949.049013c2.css => 2740.049013c2.css} (100%) delete mode 100644 dist/css/2801.5bbc94e4.css delete mode 100644 dist/css/3366.7459e497.css create mode 100644 dist/css/4061.68b9449b.css delete mode 100644 dist/css/4093.abe04878.css delete mode 100644 dist/css/4238.05a640eb.css rename dist/css/{7552.4dd461e8.css => 4350.4dd461e8.css} (100%) create mode 100644 dist/css/4922.de98e773.css create mode 100644 dist/css/5271.3daf5a00.css rename dist/css/{5286.d55bbb50.css => 5748.d55bbb50.css} (100%) create mode 100644 dist/css/5797.81598d88.css delete mode 100644 dist/css/6234.3ff852d9.css delete mode 100644 dist/css/7364.0642eca0.css delete mode 100644 dist/css/868.775f6802.css delete mode 100644 dist/css/897.c8e5eefb.css rename dist/css/{8311.d55bbb50.css => 9707.d55bbb50.css} (100%) rename dist/js/{1487.032bbb6c.js => 1487.2312df4b.js} (52%) rename dist/js/{3366.fddfab50.js => 1909.d4a91a98.js} (73%) rename dist/js/{2407.938a0c15.js => 2407.b28312ac.js} (85%) create mode 100644 dist/js/2413.b0006aaf.js delete mode 100644 dist/js/2413.e3256bbf.js create mode 100644 dist/js/2740.0ffcbd63.js delete mode 100644 dist/js/2801.7cc1950e.js delete mode 100644 dist/js/2949.d1630ea2.js create mode 100644 dist/js/2990.145272cf.js delete mode 100644 dist/js/2990.9f7bfdd4.js rename dist/js/{3058.30864938.js => 3058.afed5e8b.js} (53%) create mode 100644 dist/js/3813.435d2e60.js delete mode 100644 dist/js/3813.dc300e60.js create mode 100644 dist/js/3899.4bd3c5c8.js delete mode 100644 dist/js/3899.8d6b4056.js create mode 100644 dist/js/4048.0faf667a.js delete mode 100644 dist/js/4048.f4813ceb.js rename dist/js/{7364.63902e51.js => 4061.83f9daf4.js} (98%) delete mode 100644 dist/js/4093.94763922.js rename dist/js/{4337.a10def0f.js => 4337.7bf28b84.js} (50%) rename dist/js/{7552.caf1693c.js => 4350.0bda506f.js} (92%) create mode 100644 dist/js/4922.6d343695.js delete mode 100644 dist/js/5096.4cb05e81.js create mode 100644 dist/js/5096.efa7f846.js rename dist/js/{5159.3d955bfa.js => 5159.85e1127d.js} (70%) create mode 100644 dist/js/5271.8199e756.js delete mode 100644 dist/js/5286.4812cac9.js rename dist/js/{5304.57fa63b2.js => 5304.a9d72581.js} (67%) rename dist/js/{5640.c5ff6e0f.js => 5640.a9590889.js} (80%) create mode 100644 dist/js/5748.94b73395.js rename dist/js/{5783.c03b0c7f.js => 5783.fc0f3624.js} (67%) rename dist/js/{4238.ef96ed59.js => 5797.d5647f99.js} (72%) rename dist/js/{5984.65a39e51.js => 5984.95a73c90.js} (72%) delete mode 100644 dist/js/6234.864ef5ee.js rename dist/js/{6729.fd1b5476.js => 6729.3d089ae3.js} (70%) rename dist/js/{698.bdb8da01.js => 698.686547a1.js} (50%) delete mode 100644 dist/js/8311.74c6e8f9.js delete mode 100644 dist/js/868.2820c60e.js delete mode 100644 dist/js/889.5b9672f6.js create mode 100644 dist/js/889.fda67dfe.js delete mode 100644 dist/js/897.6b02e069.js rename dist/js/{9705.2f82f16f.js => 9705.be26bec0.js} (81%) create mode 100644 dist/js/9707.b2783b7b.js rename dist/js/{9796.d66f9ab1.js => 9796.8b5a0aa6.js} (81%) create mode 100644 dist/js/app.8a6daf4f.js delete mode 100644 dist/js/app.e2f493b2.js create mode 100644 src/api/reportManagement.js create mode 100644 src/assets/home/reportManagement.png rename src/assets/{basic => reportManagement}/report.png (100%) rename src/views/basicConfig/{reportManagement => reportManagement1}/reportClassification.vue (100%) rename src/views/basicConfig/{reportManagement => reportManagement1}/reportDesign.vue (100%) rename src/views/basicConfig/{reportManagement => reportManagement1}/reportList.vue (100%) rename src/views/basicConfig/{reportManagement => reportManagement1}/reportListDetail.vue (100%) rename src/views/basicConfig/{reportManagement => reportManagement1}/reportView.vue (100%) delete mode 100644 src/views/productionScheduling/substrateGlassQuality.vue delete mode 100644 src/views/productionScheduling/thicknessDetection.vue delete mode 100644 src/views/qualityManagement/finalInspectionDataReport/finalInspectionData.vue rename src/views/{productionScheduling => reportManagement}/components/TableTags.vue (100%) rename src/views/{basicConfig => reportManagement}/components/categorySelect.vue (100%) rename src/views/{basicConfig => reportManagement}/components/reportClassAdd.vue (98%) rename src/views/{basicConfig => reportManagement}/components/reportNameEdit.vue (95%) rename src/views/{qualityManagement => reportManagement}/finalInspectionData.vue (97%) rename src/views/{qualityManagement => reportManagement}/finalInspectionDataReport/glassPackReport.vue (100%) rename src/views/{qualityManagement => reportManagement}/finalInspectionDataReport/glassQualityReport.vue (100%) rename src/views/{qualityManagement => reportManagement}/finalInspectionDataReport/glassThickReport.vue (100%) rename src/views/{productionScheduling => reportManagement}/productionReport.vue (100%) rename src/views/{basicConfig/reportManagement.vue => reportManagement/reportTools.vue} (100%) create mode 100644 src/views/reportManagement/reportTools/reportClassification.vue create mode 100644 src/views/reportManagement/reportTools/reportDesign.vue create mode 100644 src/views/reportManagement/reportTools/reportList.vue create mode 100644 src/views/reportManagement/reportTools/reportListDetail.vue create mode 100644 src/views/reportManagement/reportTools/reportView.vue diff --git a/dist/css/1909.65f8bc12.css b/dist/css/1909.65f8bc12.css new file mode 100644 index 0000000..c6b400c --- /dev/null +++ b/dist/css/1909.65f8bc12.css @@ -0,0 +1 @@ +.reportView[data-v-6dc52bd4]{margin:0 16px 0 16px;width:98.5%;height:calc(100vh - 205px)}.reportView .mainIframe[data-v-6dc52bd4]{width:100%;height:100%} \ No newline at end of file diff --git a/dist/css/2949.049013c2.css b/dist/css/2740.049013c2.css similarity index 100% rename from dist/css/2949.049013c2.css rename to dist/css/2740.049013c2.css diff --git a/dist/css/2801.5bbc94e4.css b/dist/css/2801.5bbc94e4.css deleted file mode 100644 index 8ab33ab..0000000 --- a/dist/css/2801.5bbc94e4.css +++ /dev/null @@ -1 +0,0 @@ -.substrate-glass-quality-box[data-v-42531d47]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} \ No newline at end of file diff --git a/dist/css/3366.7459e497.css b/dist/css/3366.7459e497.css deleted file mode 100644 index ddcb0d7..0000000 --- a/dist/css/3366.7459e497.css +++ /dev/null @@ -1 +0,0 @@ -.reportView[data-v-710dfb7b]{margin:0 16px 0 16px;width:98.5%;height:calc(100vh - 205px)}.reportView .mainIframe[data-v-710dfb7b]{width:100%;height:100%} \ No newline at end of file diff --git a/dist/css/4061.68b9449b.css b/dist/css/4061.68b9449b.css new file mode 100644 index 0000000..2b79383 --- /dev/null +++ b/dist/css/4061.68b9449b.css @@ -0,0 +1 @@ +.production-report-box[data-v-7865de37]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} \ No newline at end of file diff --git a/dist/css/4093.abe04878.css b/dist/css/4093.abe04878.css deleted file mode 100644 index c4a053e..0000000 --- a/dist/css/4093.abe04878.css +++ /dev/null @@ -1 +0,0 @@ -.thickness-detection-box[data-v-b5a752ea]{margin:0 16px}.thickness-detection-box .search-box[data-v-b5a752ea]{height:62px;padding:8px 16px;margin-bottom:8px;border-radius:8px;background-color:#fff}.thickness-detection-box .table-box[data-v-b5a752ea]{width:100%}.thickness-detection-box .table-box .boxL[data-v-b5a752ea],.thickness-detection-box .table-box .boxR[data-v-b5a752ea]{padding:16px;border-radius:8px;height:calc(100vh - 272px);background-color:#fff}.thickness-detection-box .table-box .boxL .table-button[data-v-b5a752ea]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.thickness-detection-box .table-box .boxR .tip[data-v-b5a752ea]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle}.thickness-detection-box .table-box .boxR .tip[data-v-b5a752ea]{display:inline-block;font-size:14px;margin-bottom:12px} \ No newline at end of file diff --git a/dist/css/4238.05a640eb.css b/dist/css/4238.05a640eb.css deleted file mode 100644 index d961cb1..0000000 --- a/dist/css/4238.05a640eb.css +++ /dev/null @@ -1 +0,0 @@ -.reportDesign[data-v-1c79afe0]{margin:0 16px 0 16px;width:98.5%;height:calc(100vh - 205px)}.reportDesign .mainIframe[data-v-1c79afe0]{width:100%;height:100%} \ No newline at end of file diff --git a/dist/css/7552.4dd461e8.css b/dist/css/4350.4dd461e8.css similarity index 100% rename from dist/css/7552.4dd461e8.css rename to dist/css/4350.4dd461e8.css diff --git a/dist/css/4922.de98e773.css b/dist/css/4922.de98e773.css new file mode 100644 index 0000000..b5daa00 --- /dev/null +++ b/dist/css/4922.de98e773.css @@ -0,0 +1 @@ +.plan-maintenance[data-v-2348839c]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} \ No newline at end of file diff --git a/dist/css/5271.3daf5a00.css b/dist/css/5271.3daf5a00.css new file mode 100644 index 0000000..9b31e14 --- /dev/null +++ b/dist/css/5271.3daf5a00.css @@ -0,0 +1 @@ +.finalInspectionData[data-v-6bd3173e]{width:100%}.finalInspectionData .box-top[data-v-6bd3173e]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-6bd3173e]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-6bd3173e]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-6bd3173e],.finalInspectionData .box .right-box[data-v-6bd3173e]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-6bd3173e],.finalInspectionData .box .right-box .table-box[data-v-6bd3173e]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-6bd3173e]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-6bd3173e]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle} \ No newline at end of file diff --git a/dist/css/5286.d55bbb50.css b/dist/css/5748.d55bbb50.css similarity index 100% rename from dist/css/5286.d55bbb50.css rename to dist/css/5748.d55bbb50.css diff --git a/dist/css/5797.81598d88.css b/dist/css/5797.81598d88.css new file mode 100644 index 0000000..bda04d1 --- /dev/null +++ b/dist/css/5797.81598d88.css @@ -0,0 +1 @@ +.reportDesign[data-v-436e48a9]{margin:0 16px 0 16px;width:98.5%;height:calc(100vh - 205px)}.reportDesign .mainIframe[data-v-436e48a9]{width:100%;height:100%} \ No newline at end of file diff --git a/dist/css/6234.3ff852d9.css b/dist/css/6234.3ff852d9.css deleted file mode 100644 index df2e121..0000000 --- a/dist/css/6234.3ff852d9.css +++ /dev/null @@ -1 +0,0 @@ -.finalInspectionData[data-v-6863655e]{width:100%}.finalInspectionData .box-top[data-v-6863655e]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-6863655e]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-6863655e]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-6863655e],.finalInspectionData .box .right-box[data-v-6863655e]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-6863655e],.finalInspectionData .box .right-box .table-box[data-v-6863655e]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-6863655e]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-6863655e]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle} \ No newline at end of file diff --git a/dist/css/7364.0642eca0.css b/dist/css/7364.0642eca0.css deleted file mode 100644 index e058f5d..0000000 --- a/dist/css/7364.0642eca0.css +++ /dev/null @@ -1 +0,0 @@ -.production-report-box[data-v-b4666666]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} \ No newline at end of file diff --git a/dist/css/868.775f6802.css b/dist/css/868.775f6802.css deleted file mode 100644 index 0e8dcc8..0000000 --- a/dist/css/868.775f6802.css +++ /dev/null @@ -1 +0,0 @@ -.generate-reports-box .el-menu{background-color:#f2f4f9}.generate-reports-box .el-menu.el-menu--horizontal{border-bottom:none;width:100%;display:flex;justify-content:space-between;padding:8px 8px}.generate-reports-box .el-menu.el-menu--horizontal .el-menu-item{height:48px;line-height:48px;width:32.5%;border-radius:8px;background-color:#fff;font-size:16px;color:hsla(0,0%,9%,.65);text-align:center}.generate-reports-box .el-tabs__active-bar{display:none} \ No newline at end of file diff --git a/dist/css/897.c8e5eefb.css b/dist/css/897.c8e5eefb.css deleted file mode 100644 index 3021656..0000000 --- a/dist/css/897.c8e5eefb.css +++ /dev/null @@ -1 +0,0 @@ -.plan-maintenance[data-v-d565ab3a]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} \ No newline at end of file diff --git a/dist/css/8311.d55bbb50.css b/dist/css/9707.d55bbb50.css similarity index 100% rename from dist/css/8311.d55bbb50.css rename to dist/css/9707.d55bbb50.css diff --git a/dist/index.html b/dist/index.html index 36ad6b5..7db7b86 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -tft-mes
\ No newline at end of file +tft-mes
\ No newline at end of file diff --git a/dist/js/1487.032bbb6c.js b/dist/js/1487.2312df4b.js similarity index 52% rename from dist/js/1487.032bbb6c.js rename to dist/js/1487.2312df4b.js index e6b064b..bc28520 100644 --- a/dist/js/1487.032bbb6c.js +++ b/dist/js/1487.2312df4b.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1487],{1487:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("account-add",{ref:"accountList",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"用户名",prop:"account"}},[e("el-input",{attrs:{placeholder:"只能输入字母或数字,不可输入汉字",disabled:t.isEdit},model:{value:t.form.account,callback:function(e){t.$set(t.form,"account",e)},expression:"form.account"}})],1),e("el-form-item",{attrs:{label:"密码",prop:"password"}},[e("el-input",{model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),e("el-form-item",{attrs:{label:"姓名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"所属产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.lineList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"角色",prop:"role"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"角色"},model:{value:t.form.role,callback:function(e){t.$set(t.form,"role",e)},expression:"form.role"}},t._l(t.roleList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],u=r(910),l={name:"AccountAdd",data(){return{form:{id:"",account:"",password:"123456",name:"",proLineId:"",role:"",enabled:1},isEdit:!1,lineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,roleList:JSON.parse(localStorage.getItem("publicList")).roleVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{account:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:3,max:18,message:"长度在 3 到 18 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],name:[{required:!0,message:"请输入姓名",trigger:"blur"}],proLineId:[{required:!0,message:"请选择所属产线",trigger:"change"}],role:[{required:!0,message:"请选择角色",trigger:"change"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.D0)({id:t}).then((t=>{0===t.code&&(this.form.account=t.data.account,this.form.password=t.data.password,this.form.name=t.data.name,this.form.proLineId=t.data.proLineId,this.form.role=t.data.role,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;{let t=/^[\da-z]+$/i,e=new RegExp(t);e.test(this.form.account)?this.isEdit?(0,u.sU)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.jF)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"用户名格式不正确应为数字或者字母,请检查",type:"error",duration:1500})}}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},c=l,d=r(1001),p=(0,d.Z)(c,o,s,!1,null,null,null),m=p.exports,f=r(8027);const h=[{prop:"account",label:"用户名"},{prop:"name",label:"姓名"},{prop:"role",label:"角色"},{prop:"proLineName",label:"所属产线"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"AccountConfig",components:{AccountAdd:m},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"select",label:"角色",selectOptions:JSON.parse(localStorage.getItem("publicList")).roleVoList,labelField:"dataName",valueField:"dataName",param:"role",defaultSelect:"",width:150},{type:"input",label:"用户名",placeholder:"用户名",param:"account"},{type:"input",label:"姓名",placeholder:"姓名",param:"name",width:150},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,i.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(265)})),this.getList()},methods:{getList(){(0,u.Zs)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.accountList.init(t.data.id)})),this.centervisible=!0},buttonClick(t){switch(t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.role=t.role,this.listQuery.account=t.account,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.role="",this.listQuery.account="",this.listQuery.name="",this.listQuery.enabled=null,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.accountList.init()}))}},handleCancel(){this.$refs.accountList.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.accountList.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,L=(0,d.Z)(y,a,n,!1,null,null,null),C=L.exports},8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return N},D0:function(){return o},ER:function(){return x},Hg:function(){return j},J_:function(){return E},Kl:function(){return v},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return q},Qj:function(){return Z},Sc:function(){return h},Sl:function(){return y},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return I},_1:function(){return L},a:function(){return P},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},jF:function(){return i},kB:function(){return O},m3:function(){return B},oW:function(){return Q},qT:function(){return C},sU:function(){return s},sy:function(){return _},tb:function(){return w},wy:function(){return T},xf:function(){return $},yk:function(){return F}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1487],{1487:function(t,e,a){a.r(e),a.d(e,{default:function(){return C}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("account-add",{ref:"accountList",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],n=a(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"用户名",prop:"account"}},[e("el-input",{attrs:{placeholder:"只能输入字母或数字,不可输入汉字",disabled:t.isEdit},model:{value:t.form.account,callback:function(e){t.$set(t.form,"account",e)},expression:"form.account"}})],1),e("el-form-item",{attrs:{label:"密码",prop:"password"}},[e("el-input",{model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),e("el-form-item",{attrs:{label:"姓名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"所属产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.lineList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"角色",prop:"role"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"角色"},model:{value:t.form.role,callback:function(e){t.$set(t.form,"role",e)},expression:"form.role"}},t._l(t.roleList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],l=a(910),u={name:"AccountAdd",data(){return{form:{id:"",account:"",password:"123456",name:"",proLineId:"",role:"",enabled:1},isEdit:!1,lineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,roleList:JSON.parse(localStorage.getItem("publicList")).roleVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{account:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:3,max:18,message:"长度在 3 到 18 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],name:[{required:!0,message:"请输入姓名",trigger:"blur"}],proLineId:[{required:!0,message:"请选择所属产线",trigger:"change"}],role:[{required:!0,message:"请选择角色",trigger:"change"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,l.D0)({id:t}).then((t=>{0===t.code&&(this.form.account=t.data.account,this.form.password=t.data.password,this.form.name=t.data.name,this.form.proLineId=t.data.proLineId,this.form.role=t.data.role,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;{let t=/^[\da-z]+$/i,e=new RegExp(t);e.test(this.form.account)?this.isEdit?(0,l.sU)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,l.jF)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"用户名格式不正确应为数字或者字母,请检查",type:"error",duration:1500})}}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},c=u,d=a(1001),m=(0,d.Z)(c,o,s,!1,null,null,null),p=m.exports,f=a(8027);const h=[{prop:"account",label:"用户名"},{prop:"name",label:"姓名"},{prop:"role",label:"角色"},{prop:"proLineName",label:"所属产线"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"AccountConfig",components:{AccountAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"select",label:"角色",selectOptions:JSON.parse(localStorage.getItem("publicList")).roleVoList,labelField:"dataName",valueField:"dataName",param:"role",defaultSelect:"",width:150},{type:"input",label:"用户名",placeholder:"用户名",param:"account"},{type:"input",label:"姓名",placeholder:"姓名",param:"name",width:150},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,n.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,n.NC)(265)})),this.getList()},methods:{getList(){(0,l.Zs)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.accountList.init(t.data.id)})),this.centervisible=!0},buttonClick(t){switch(t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.role=t.role,this.listQuery.account=t.account,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.role="",this.listQuery.account="",this.listQuery.name="",this.listQuery.enabled=null,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.accountList.init()}))}},handleCancel(){this.$refs.accountList.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.accountList.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},L=g,y=(0,d.Z)(L,r,i,!1,null,null,null),C=y.exports},8027:function(t,e,a){a.d(e,{Z:function(){return u}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],n={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=n,s=a(1001),l=(0,s.Z)(o,r,i,!1,null,null,null),u=l.exports},910:function(t,e,a){a.d(e,{$0:function(){return S},A0:function(){return N},D0:function(){return o},ER:function(){return x},Kl:function(){return v},ME:function(){return c},Or:function(){return g},P4:function(){return u},Py:function(){return d},Qj:function(){return Z},Sc:function(){return h},Sl:function(){return L},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return I},_1:function(){return y},ag:function(){return $},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return n},oW:function(){return Q},qT:function(){return C},sU:function(){return s},tb:function(){return w},xf:function(){return k}});var r=a(8859);function i(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3366.fddfab50.js b/dist/js/1909.d4a91a98.js similarity index 73% rename from dist/js/3366.fddfab50.js rename to dist/js/1909.d4a91a98.js index 5d9a6c6..c304758 100644 --- a/dist/js/3366.fddfab50.js +++ b/dist/js/1909.d4a91a98.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3366],{3366:function(t,e,r){r.r(e),r.d(e,{default:function(){return l}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reportView",attrs:{id:"reportView"}},[e("iframe",{attrs:{src:t.url,width:"100%",height:"100%"}})])},s=[],i={name:"ReportView",data(){return{url:"http://tft.mes.picaiba.com/ureport/preview"}},mounted(){const t=this,{name:e}=this.$route.params;this.url+=e?"?_u=db:"+this.$route.params.name:"";const r=document.getElementById("reportView");r.onload=function(){console.log("加载完成"),t.loading=!1}}},a=i,o=r(1001),u=(0,o.Z)(a,n,s,!1,null,"710dfb7b",null),l=u.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[1909],{1909:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reportView",attrs:{id:"reportView"}},[e("iframe",{attrs:{src:t.url,width:"100%",height:"100%"}})])},s=[],i={name:"ReportView",data(){return{url:"http://tft.mes.picaiba.com/ureport/preview"}},mounted(){const t=this,{name:e}=this.$route.params;this.url+=e?"?_u=db:"+this.$route.params.name:"";const r=document.getElementById("reportView");r.onload=function(){console.log("加载完成"),t.loading=!1}}},a=i,o=r(1001),u=(0,o.Z)(a,n,s,!1,null,"6dc52bd4",null),c=u.exports}}]); \ No newline at end of file diff --git a/dist/js/2407.938a0c15.js b/dist/js/2407.b28312ac.js similarity index 85% rename from dist/js/2407.938a0c15.js rename to dist/js/2407.b28312ac.js index 08b1f7f..e5f7d15 100644 --- a/dist/js/2407.938a0c15.js +++ b/dist/js/2407.b28312ac.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2407],{2407:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",staticClass:"searchStyle",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick}},[t("div",{staticStyle:{display:"inline-block"}},[t("el-upload",{staticStyle:{display:"inline-block"},attrs:{data:e.dataObj,name:"excel","on-success":e.importFile,"on-error":e.importFileError,action:e.uploadApi,"show-file-list":!1,headers:{token:e.token}}},[t("el-button",{attrs:{type:"primary",size:"small",plain:""}},[e._v("导入")])],1)],1)]),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:165,label:"操作",fixed:"right","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,total:e.total},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:function(t){return e.getList()}}}),t("base-dialog",{attrs:{dialogTitle:e.addOrEditTitle,dialogVisible:e.centervisible,"before-close":e.handleCancel},on:{cancel:e.handleCancel,confirm:e.handleConfirm}},[t("work-order-add",{ref:"workOrderAdd",on:{successSubmit:e.successSubmit}})],1)],1)},o=[],i=r(475),l=function(){var e=this,t=e._self._c;return t("el-form",{ref:"form",attrs:{rules:e.rules,"label-width":"110px",model:e.form}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产线",prop:"productionLineId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:e.form.productionLineId,callback:function(t){e.$set(e.form,"productionLineId",t)},expression:"form.productionLineId"}},e._l(e.productionLineList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单编号",prop:"code"}},[t("el-input",{attrs:{placeholder:"工单编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单类型",prop:"type"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"工单类型"},on:{change:e.selectType},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.orderTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"复磨面",prop:"regrind"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面",disabled:e.isDisabled},model:{value:e.form.regrind,callback:function(t){e.$set(e.form,"regrind",t)},expression:"form.regrind"}},e._l(e.regrindList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划类型",prop:"planType"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"计划类型"},model:{value:e.form.planType,callback:function(t){e.$set(e.form,"planType",t)},expression:"form.planType"}},e._l(e.planTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划数量",prop:"planNum"}},[t("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"计划数量",min:1,max:999999999999,precision:0},model:{value:e.form.planNum,callback:function(t){e.$set(e.form,"planNum",t)},expression:"form.planNum"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产品型号",prop:"productSpec"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产品型号"},model:{value:e.form.productSpec,callback:function(t){e.$set(e.form,"productSpec",t)},expression:"form.productSpec"}},e._l(e.productionSpecList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预交货期",prop:"planDeliveryTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"预交货期"},model:{value:e.form.planDeliveryTime,callback:function(t){e.$set(e.form,"planDeliveryTime",t)},expression:"form.planDeliveryTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:e.form.planStartTime,callback:function(t){e.$set(e.form,"planStartTime",t)},expression:"form.planStartTime"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:e.form.planEndTime,callback:function(t){e.$set(e.form,"planEndTime",t)},expression:"form.planEndTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"备注",prop:"remark"}},[t("el-input",{attrs:{placeholder:"备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1)},n=[],s=r(5093),d=r(381),u=r.n(d),p={name:"WorkOrderAdd",data(){return{form:{id:"",productionLineId:"",code:"",type:"",regrind:"无",planType:"",planNum:"",productSpec:"",planDeliveryTime:"",planStartTime:"",planEndTime:"",remark:""},rules:{productionLineId:[{required:!0,message:"请选择产线",trigger:"change"}],code:[{required:!0,message:"请输入工单编号",trigger:"blur"}],type:[{required:!0,message:"请选择工单类型",trigger:"change"}],regrind:[{required:!0,message:"请选择复磨面",trigger:"change"}],planType:[{required:!0,message:"请选择计划类型",trigger:"change"}],planNum:[{required:!0,message:"请输入计划数量",trigger:"blur"}],productSpec:[{required:!0,message:"请选择产品型号",trigger:"change"}],planDeliveryTime:[{required:!0,message:"请选择预交货期",trigger:"change"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,orderTypeList:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,planTypeList:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,productionSpecList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,isDisabled:!0}},methods:{init(e){e?(this.form.id=e,(0,s.w3)({id:e}).then((e=>{0===e.code&&(this.form.productionLineId=e.data.productionLineId,this.form.code=e.data.code,this.form.type=e.data.type,0!==this.form.type?this.isDisabled=!1:this.isDisabled=!0,this.form.regrind=e.data.regrind,this.form.planType=e.data.planType,this.form.planNum=e.data.planNum,this.form.productSpec=e.data.productSpec,this.form.planDeliveryTime=e.data.planDeliveryTime,this.form.planStartTime=e.data.planStartTime,this.form.planEndTime=e.data.planEndTime,this.form.remark=e.data.remark)}))):(this.form.planStartTime=u()().format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isDisabled=!0,this.form.regrind="无")},selectType(e){0!==e?this.isDisabled=!1:(this.isDisabled=!0,this.form.regrind="无")},submitForm(){this.$refs["form"].validate((e=>{if(!e)return!1;this.form.id?(0,s.lb)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.To)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields()}}},c=p,m=r(1001),h=(0,m.Z)(c,l,n,!1,null,null,null),f=h.exports,y=r(5591),g=r(1836);const b=[{prop:"proLineName",label:"产线名称",width:100},{prop:"planType",label:"计划类型",filter:(0,i.fW)("planTypeVoList"),width:100},{prop:"status",label:"工单状态",filter:(0,i.fW)("orderStatusVoList"),width:100},{prop:"code",label:"工单编号",width:150},{prop:"type",label:"工单类型",filter:(0,i.fW)("orderTypeVoList"),width:100},{prop:"productSpec",label:"产品型号",width:120},{prop:"regrind",label:"复磨面",width:100},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,width:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,width:160},{prop:"planNum",label:"计划数量",width:100},{prop:"planDeliveryTime",label:"交货期",filter:i.g6,width:160},{prop:"releaseTime",label:"下发时间",filter:i.g6,width:160},{prop:"startTime",label:"实际开始时间",filter:i.g6,width:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,width:160},{prop:"finishNum",label:"完成数量",width:100},{prop:"okNum",label:"成品数量",width:100},{prop:"wasteNum",label:"废品数量",width:100},{prop:"reprocessNum",label:"待再加工数量",width:150},{prop:"creatorName",label:"创建人",width:100},{prop:"createTime",label:"创建时间",filter:i.g6,width:160},{prop:"remark",label:"备注",width:150,showOverflowtooltip:!0}],w=[{type:"start",btnName:"下发",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"end",btnName:"结束",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"delete",btnName:"删除",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}}];var T={name:"WorkOrderManagement",components:{WorkOrderAdd:f},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"工单类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"工单状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderStatusVoList,labelField:"dataName",valueField:"dataCode",param:"status",defaultSelect:"",width:100},{type:"select",label:"计划类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,labelField:"dataName",valueField:"dataCode",param:"planType",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"工单编号",placeholder:"工单编号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0},{type:"button",btnName:"模板下载",name:"export",color:"primary",plain:!0}],tableProps:b,tableData:[],tableBtn:w,tableH:(0,i.NC)(315),total:0,listQuery:{current:1,size:20},uploadApi:s.Tp,centervisible:!1,addOrEditTitle:"",token:(0,g.LP)(),dataObj:{typeCode:"importWorkCode"}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(315)})),this.getList()},methods:{getList(){(0,s.W9)({...this.listQuery}).then((e=>{console.log(e),0===e.code&&(this.total=e.data.total,this.tableData=e.data.records)}))},buttonClick(e){switch(e.btnName){case"search":this.listQuery.startTime=e.timeVal?e.timeVal[0]:"",this.listQuery.endTime=e.timeVal?e.timeVal[1]:"",this.listQuery.type=e.type,this.listQuery.status=e.status,this.listQuery.planType=e.planType,this.listQuery.proLineId=e.proLineId,this.listQuery.code=e.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type=null,this.listQuery.status=null,this.listQuery.planType=null,this.listQuery.proLineId=null,this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.workOrderAdd.init()})),this.centervisible=!0;break;default:console.log("模板下载"),(0,s.zz)().then((e=>{(0,y.FH)({attachmentId:e.data.id,type:1}).then((e=>{let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([e.data]),o=new FileReader;o.readAsDataURL(a),o.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}))}},handleClick(e){"edit"===e.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.workOrderAdd.init(e.data.id)})),this.centervisible=!0):"start"===e.type?this.$confirm('确认下发工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EM)({id:e.data.id}).then((()=>{this.$message({message:"工单下发成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"end"===e.type?this.$confirm('确认结束工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EO)({id:e.data.id}).then((()=>{this.$message({message:"工单结束成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"delete"===e.type&&this.$confirm('确认删除工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.Xe)({id:e.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},handleCancel(){this.$refs.workOrderAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.workOrderAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},importFile(e){0===e.code&&(this.$message({message:"工单导入成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList())},importFileError(e){e&&this.$message({message:"工单导入失败,请检查格式是否正确",type:"error",duration:1500,onClose:()=>{}})}}},k=T,S=(0,m.Z)(k,a,o,!1,null,"018c1e50",null),L=S.exports},5591:function(e,t,r){r.d(t,{FH:function(){return n},Hp:function(){return s},JQ:function(){return l},SI:function(){return i},WQ:function(){return p},b6:function(){return d},iv:function(){return o},m:function(){return u}});var a=r(8859);function o(){return(0,a.Z)({url:"/common/getList",method:"post"})}function i(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function l(e){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:e,timeout:6e4})}function s(e){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/common/getProductData",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:e})}const p="/api/common/attachment/uploadFileFormData"},5093:function(e,t,r){r.d(t,{EM:function(){return m},EO:function(){return h},F7:function(){return T},Hq:function(){return $},Mk:function(){return o},Nm:function(){return O},SN:function(){return v},To:function(){return d},Tp:function(){return y},W9:function(){return s},Xe:function(){return u},YV:function(){return i},a1:function(){return w},ag:function(){return S},dg:function(){return N},j4:function(){return L},k5:function(){return n},lb:function(){return p},n8:function(){return C},nG:function(){return b},nn:function(){return g},sq:function(){return l},w3:function(){return c},wM:function(){return Z},xz:function(){return k},zz:function(){return f}});var a=r(8859);function o(e){return(0,a.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:e})}function i(e){return(0,a.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:e})}function l(e){return(0,a.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:e})}function s(e){return(0,a.Z)({url:"/order/workOrder/page",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/order/workOrder/add",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/order/workOrder/delete",method:"post",data:e})}function p(e){return(0,a.Z)({url:"/order/workOrder/update",method:"post",data:e})}function c(e){return(0,a.Z)({url:"/order/workOrder/get",method:"post",data:e})}function m(e){return(0,a.Z)({url:"/order/workOrder/release",method:"post",data:e})}function h(e){return(0,a.Z)({url:"/order/workOrder/finish",method:"post",data:e})}function f(e){return(0,a.Z)({url:"/order/workOrder/importTemplate",method:"post",data:e})}const y="/api/order/workOrder/import";function g(e){return(0,a.Z)({url:"/order/proReport/pageThickness",method:"post",data:e})}function b(e){return(0,a.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:e})}function w(e){return(0,a.Z)({url:"/order/unloadPallet/page",method:"post",data:e})}function T(e){return(0,a.Z)({url:"/order/unloadPallet/add",method:"post",data:e})}function k(e){return(0,a.Z)({url:"/order/unloadPallet/get",method:"post",data:e})}function S(e){return(0,a.Z)({url:"/order/unloadPallet/update",method:"post",data:e})}function L(e){return(0,a.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:e})}function v(e){return(0,a.Z)({url:"/order/unloadPallet/finish",method:"post",data:e})}function N(e){return(0,a.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:e})}function O(e){return(0,a.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:e})}function C(e){return(0,a.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:e})}function Z(e){return(0,a.Z)({url:"/order/reloadRack/reload",method:"post",data:e})}function $(e){return(0,a.Z)({url:"/order/reloadRack/end",method:"post",data:e})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2407],{2407:function(e,t,r){r.r(t),r.d(t,{default:function(){return L}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"page-box"},[t("search-bar",{ref:"searchBarForm",staticClass:"searchStyle",attrs:{formConfigs:e.formConfig},on:{headBtnClick:e.buttonClick}},[t("div",{staticStyle:{display:"inline-block"}},[t("el-upload",{staticStyle:{display:"inline-block"},attrs:{data:e.dataObj,name:"excel","on-success":e.importFile,"on-error":e.importFileError,action:e.uploadApi,"show-file-list":!1,headers:{token:e.token}}},[t("el-button",{attrs:{type:"primary",size:"small",plain:""}},[e._v("导入")])],1)],1)]),t("base-table",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,"table-props":e.tableProps,"table-data":e.tableData,"max-height":e.tableH}},[e.tableBtn.length?t("method-btn",{attrs:{slot:"handleBtn",width:165,label:"操作",fixed:"right","method-list":e.tableBtn},on:{clickBtn:e.handleClick},slot:"handleBtn"}):e._e()],1),t("pagination",{attrs:{page:e.listQuery.current,limit:e.listQuery.size,total:e.total},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:function(t){return e.getList()}}}),t("base-dialog",{attrs:{dialogTitle:e.addOrEditTitle,dialogVisible:e.centervisible,"before-close":e.handleCancel},on:{cancel:e.handleCancel,confirm:e.handleConfirm}},[t("work-order-add",{ref:"workOrderAdd",on:{successSubmit:e.successSubmit}})],1)],1)},o=[],i=r(475),l=function(){var e=this,t=e._self._c;return t("el-form",{ref:"form",attrs:{rules:e.rules,"label-width":"110px",model:e.form}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产线",prop:"productionLineId"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:e.form.productionLineId,callback:function(t){e.$set(e.form,"productionLineId",t)},expression:"form.productionLineId"}},e._l(e.productionLineList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单编号",prop:"code"}},[t("el-input",{attrs:{placeholder:"工单编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"工单类型",prop:"type"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"工单类型"},on:{change:e.selectType},model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.orderTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"复磨面",prop:"regrind"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面",disabled:e.isDisabled},model:{value:e.form.regrind,callback:function(t){e.$set(e.form,"regrind",t)},expression:"form.regrind"}},e._l(e.regrindList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划类型",prop:"planType"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"计划类型"},model:{value:e.form.planType,callback:function(t){e.$set(e.form,"planType",t)},expression:"form.planType"}},e._l(e.planTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dataName,value:e.dataCode}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划数量",prop:"planNum"}},[t("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"计划数量",min:1,max:999999999999,precision:0},model:{value:e.form.planNum,callback:function(t){e.$set(e.form,"planNum",t)},expression:"form.planNum"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"产品型号",prop:"productSpec"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产品型号"},model:{value:e.form.productSpec,callback:function(t){e.$set(e.form,"productSpec",t)},expression:"form.productSpec"}},e._l(e.productionSpecList,(function(e){return t("el-option",{key:e.dataName,attrs:{label:e.dataName,value:e.dataName}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预交货期",prop:"planDeliveryTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"预交货期"},model:{value:e.form.planDeliveryTime,callback:function(t){e.$set(e.form,"planDeliveryTime",t)},expression:"form.planDeliveryTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:e.form.planStartTime,callback:function(t){e.$set(e.form,"planStartTime",t)},expression:"form.planStartTime"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:e.form.planEndTime,callback:function(t){e.$set(e.form,"planEndTime",t)},expression:"form.planEndTime"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"备注",prop:"remark"}},[t("el-input",{attrs:{placeholder:"备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1)},n=[],s=r(5093),d=r(381),u=r.n(d),p={name:"WorkOrderAdd",data(){return{form:{id:"",productionLineId:"",code:"",type:"",regrind:"无",planType:"",planNum:"",productSpec:"",planDeliveryTime:"",planStartTime:"",planEndTime:"",remark:""},rules:{productionLineId:[{required:!0,message:"请选择产线",trigger:"change"}],code:[{required:!0,message:"请输入工单编号",trigger:"blur"}],type:[{required:!0,message:"请选择工单类型",trigger:"change"}],regrind:[{required:!0,message:"请选择复磨面",trigger:"change"}],planType:[{required:!0,message:"请选择计划类型",trigger:"change"}],planNum:[{required:!0,message:"请输入计划数量",trigger:"blur"}],productSpec:[{required:!0,message:"请选择产品型号",trigger:"change"}],planDeliveryTime:[{required:!0,message:"请选择预交货期",trigger:"change"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,orderTypeList:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,planTypeList:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,productionSpecList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,isDisabled:!0}},methods:{init(e){e?(this.form.id=e,(0,s.w3)({id:e}).then((e=>{0===e.code&&(this.form.productionLineId=e.data.productionLineId,this.form.code=e.data.code,this.form.type=e.data.type,0!==this.form.type?this.isDisabled=!1:this.isDisabled=!0,this.form.regrind=e.data.regrind,this.form.planType=e.data.planType,this.form.planNum=e.data.planNum,this.form.productSpec=e.data.productSpec,this.form.planDeliveryTime=e.data.planDeliveryTime,this.form.planStartTime=e.data.planStartTime,this.form.planEndTime=e.data.planEndTime,this.form.remark=e.data.remark)}))):(this.form.planStartTime=u()().format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isDisabled=!0,this.form.regrind="无")},selectType(e){0!==e?this.isDisabled=!1:(this.isDisabled=!0,this.form.regrind="无")},submitForm(){this.$refs["form"].validate((e=>{if(!e)return!1;this.form.id?(0,s.lb)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.To)({...this.form}).then((e=>{0===e.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields()}}},c=p,m=r(1001),h=(0,m.Z)(c,l,n,!1,null,null,null),f=h.exports,y=r(5591),g=r(1836);const b=[{prop:"proLineName",label:"产线名称",width:100},{prop:"planType",label:"计划类型",filter:(0,i.fW)("planTypeVoList"),width:100},{prop:"status",label:"工单状态",filter:(0,i.fW)("orderStatusVoList"),width:100},{prop:"code",label:"工单编号",width:150},{prop:"type",label:"工单类型",filter:(0,i.fW)("orderTypeVoList"),width:100},{prop:"productSpec",label:"产品型号",width:120},{prop:"regrind",label:"复磨面",width:100},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,width:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,width:160},{prop:"planNum",label:"计划数量",width:100},{prop:"planDeliveryTime",label:"交货期",filter:i.g6,width:160},{prop:"releaseTime",label:"下发时间",filter:i.g6,width:160},{prop:"startTime",label:"实际开始时间",filter:i.g6,width:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,width:160},{prop:"finishNum",label:"完成数量",width:100},{prop:"okNum",label:"成品数量",width:100},{prop:"wasteNum",label:"废品数量",width:100},{prop:"reprocessNum",label:"待再加工数量",width:150},{prop:"creatorName",label:"创建人",width:100},{prop:"createTime",label:"创建时间",filter:i.g6,width:160},{prop:"remark",label:"备注",width:150,showOverflowtooltip:!0}],w=[{type:"start",btnName:"下发",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"end",btnName:"结束",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"delete",btnName:"删除",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}}];var T={name:"WorkOrderManagement",components:{WorkOrderAdd:f},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"工单类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderTypeVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"工单状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).orderStatusVoList,labelField:"dataName",valueField:"dataCode",param:"status",defaultSelect:"",width:100},{type:"select",label:"计划类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).planTypeVoList,labelField:"dataName",valueField:"dataCode",param:"planType",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"工单编号",placeholder:"工单编号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0},{type:"button",btnName:"模板下载",name:"export",color:"primary",plain:!0}],tableProps:b,tableData:[],tableBtn:w,tableH:(0,i.NC)(315),total:0,listQuery:{current:1,size:20},uploadApi:s.Tp,centervisible:!1,addOrEditTitle:"",token:(0,g.LP)(),dataObj:{typeCode:"importWorkCode"}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(315)})),this.getList()},methods:{getList(){(0,s.W9)({...this.listQuery}).then((e=>{console.log(e),0===e.code&&(this.total=e.data.total,this.tableData=e.data.records)}))},buttonClick(e){switch(e.btnName){case"search":this.listQuery.startTime=e.timeVal?e.timeVal[0]:"",this.listQuery.endTime=e.timeVal?e.timeVal[1]:"",this.listQuery.type=e.type,this.listQuery.status=e.status,this.listQuery.planType=e.planType,this.listQuery.proLineId=e.proLineId,this.listQuery.code=e.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type=null,this.listQuery.status=null,this.listQuery.planType=null,this.listQuery.proLineId=null,this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.workOrderAdd.init()})),this.centervisible=!0;break;default:console.log("模板下载"),(0,s.zz)().then((e=>{(0,y.FH)({attachmentId:e.data.id,type:1}).then((e=>{let t="";const r=e.headers["content-disposition"];r&&(t=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([e.data]),o=new FileReader;o.readAsDataURL(a),o.onload=e=>{const r=document.createElement("a");r.download=t,r.href=e.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}))}},handleClick(e){"edit"===e.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.workOrderAdd.init(e.data.id)})),this.centervisible=!0):"start"===e.type?this.$confirm('确认下发工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EM)({id:e.data.id}).then((()=>{this.$message({message:"工单下发成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"end"===e.type?this.$confirm('确认结束工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.EO)({id:e.data.id}).then((()=>{this.$message({message:"工单结束成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"delete"===e.type&&this.$confirm('确认删除工单"'+e.data.code+'"吗?',{type:"warning"}).then((()=>{(0,s.Xe)({id:e.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},handleCancel(){this.$refs.workOrderAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.workOrderAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},importFile(e){0===e.code&&(this.$message({message:"工单导入成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList())},importFileError(e){e&&this.$message({message:"工单导入失败,请检查格式是否正确",type:"error",duration:1500,onClose:()=>{}})}}},k=T,S=(0,m.Z)(k,a,o,!1,null,"018c1e50",null),L=S.exports},5591:function(e,t,r){r.d(t,{FH:function(){return n},Hp:function(){return s},JQ:function(){return l},SI:function(){return i},WQ:function(){return p},b6:function(){return d},iv:function(){return o},m:function(){return u}});var a=r(8859);function o(){return(0,a.Z)({url:"/common/getList",method:"post"})}function i(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function l(e){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:e,timeout:6e4})}function s(e){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/common/getProductData",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:e})}const p="/api/common/attachment/uploadFileFormData"},5093:function(e,t,r){r.d(t,{EM:function(){return m},EO:function(){return h},F7:function(){return b},Hq:function(){return C},Mk:function(){return o},Nm:function(){return v},SN:function(){return S},To:function(){return d},Tp:function(){return y},W9:function(){return s},Xe:function(){return u},YV:function(){return i},a1:function(){return g},ag:function(){return T},dg:function(){return L},j4:function(){return k},k5:function(){return n},lb:function(){return p},n8:function(){return N},sq:function(){return l},w3:function(){return c},wM:function(){return O},xz:function(){return w},zz:function(){return f}});var a=r(8859);function o(e){return(0,a.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:e})}function i(e){return(0,a.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:e})}function l(e){return(0,a.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:e})}function n(e){return(0,a.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:e})}function s(e){return(0,a.Z)({url:"/order/workOrder/page",method:"post",data:e})}function d(e){return(0,a.Z)({url:"/order/workOrder/add",method:"post",data:e})}function u(e){return(0,a.Z)({url:"/order/workOrder/delete",method:"post",data:e})}function p(e){return(0,a.Z)({url:"/order/workOrder/update",method:"post",data:e})}function c(e){return(0,a.Z)({url:"/order/workOrder/get",method:"post",data:e})}function m(e){return(0,a.Z)({url:"/order/workOrder/release",method:"post",data:e})}function h(e){return(0,a.Z)({url:"/order/workOrder/finish",method:"post",data:e})}function f(e){return(0,a.Z)({url:"/order/workOrder/importTemplate",method:"post",data:e})}const y="/api/order/workOrder/import";function g(e){return(0,a.Z)({url:"/order/unloadPallet/page",method:"post",data:e})}function b(e){return(0,a.Z)({url:"/order/unloadPallet/add",method:"post",data:e})}function w(e){return(0,a.Z)({url:"/order/unloadPallet/get",method:"post",data:e})}function T(e){return(0,a.Z)({url:"/order/unloadPallet/update",method:"post",data:e})}function k(e){return(0,a.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:e})}function S(e){return(0,a.Z)({url:"/order/unloadPallet/finish",method:"post",data:e})}function L(e){return(0,a.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:e})}function v(e){return(0,a.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:e})}function N(e){return(0,a.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:e})}function O(e){return(0,a.Z)({url:"/order/reloadRack/reload",method:"post",data:e})}function C(e){return(0,a.Z)({url:"/order/reloadRack/end",method:"post",data:e})}}}]); \ No newline at end of file diff --git a/dist/js/2413.b0006aaf.js b/dist/js/2413.b0006aaf.js new file mode 100644 index 0000000..71610bb --- /dev/null +++ b/dist/js/2413.b0006aaf.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2413],{8027:function(t,e,i){i.d(e,{Z:function(){return l}});var n=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},a=[],r={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=r,s=i(1001),u=(0,s.Z)(o,n,a,!1,null,null,null),l=u.exports},2413:function(t,e,i){i.r(e),i.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("line-side-library-add",{ref:"lineSideLibraryAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t,i){return e("el-option",{key:i,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"线边库",prop:"name"}},[e("el-input",{attrs:{placeholder:"线边库"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,i){return e("el-option",{key:i,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=i(910),u={name:"LineSideLibraryConfigAdd",data(){return{form:{id:"",proLineId:"",name:"",enabled:1},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],name:[{required:!0,message:"请输入线边库",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,s.tb)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.name=t.data.name,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Kl)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Qj)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=i(1001),c=(0,d.Z)(l,r,o,!1,null,null,null),f=c.exports,m=i(475),p=i(8027);const b=[{prop:"proLineId",filter:(0,m.fW)("proLineVoList"),label:"产线"},{prop:"name",label:"线边库"},{prop:"enabled",label:"状态",width:120,subcomponent:p.Z}],h=[{type:"edit",btnName:"编辑"}];var g={name:"LineSideLibraryConfig",components:{LineSideLibraryAdd:f},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"线边库",placeholder:"线边库",param:"name"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:b,tableData:[],tableBtn:h,tableH:(0,m.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.getList()},methods:{getList(){(0,s.qT)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init()}))}},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init(t.data.id)})),this.centervisible=!0},handleCancel(){this.$refs.lineSideLibraryAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.lineSideLibraryAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},L=g,C=(0,d.Z)(L,n,a,!1,null,null,null),y=C.exports},910:function(t,e,i){i.d(e,{$0:function(){return N},A0:function(){return w},D0:function(){return o},ER:function(){return T},Kl:function(){return v},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},Qj:function(){return Z},Sc:function(){return b},Sl:function(){return L},WZ:function(){return p},Wj:function(){return u},Zs:function(){return a},_:function(){return E},_1:function(){return C},ag:function(){return k},b8:function(){return h},dN:function(){return f},fZ:function(){return m},jF:function(){return r},oW:function(){return I},qT:function(){return y},sU:function(){return s},tb:function(){return S},xf:function(){return $}});var n=i(8859);function a(t){return(0,n.Z)({url:"/basic/account/page",method:"post",data:t})}function r(t){return(0,n.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function N(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function E(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function T(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2413.e3256bbf.js b/dist/js/2413.e3256bbf.js deleted file mode 100644 index 140b79f..0000000 --- a/dist/js/2413.e3256bbf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2413],{8027:function(t,e,r){r.d(e,{Z:function(){return l}});var n=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],a={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=a,s=r(1001),u=(0,s.Z)(o,n,i,!1,null,null,null),l=u.exports},2413:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("line-side-library-add",{ref:"lineSideLibraryAdd",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.id}})})),1)],1),e("el-form-item",{attrs:{label:"线边库",prop:"name"}},[e("el-input",{attrs:{placeholder:"线边库"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=r(910),u={name:"LineSideLibraryConfigAdd",data(){return{form:{id:"",proLineId:"",name:"",enabled:1},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],name:[{required:!0,message:"请输入线边库",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,s.tb)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.name=t.data.name,this.form.enabled=t.data.enabled)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Kl)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Qj)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=r(1001),c=(0,d.Z)(l,a,o,!1,null,null,null),p=c.exports,f=r(475),m=r(8027);const h=[{prop:"proLineId",filter:(0,f.fW)("proLineVoList"),label:"产线"},{prop:"name",label:"线边库"},{prop:"enabled",label:"状态",width:120,subcomponent:m.Z}],b=[{type:"edit",btnName:"编辑"}];var g={name:"LineSideLibraryConfig",components:{LineSideLibraryAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"input",label:"线边库",placeholder:"线边库",param:"name"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,f.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,f.NC)(265)})),this.getList()},methods:{getList(){(0,s.qT)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.name=t.name,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init()}))}},handleClick(t){this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.lineSideLibraryAdd.init(t.data.id)})),this.centervisible=!0},handleCancel(){this.$refs.lineSideLibraryAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.lineSideLibraryAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},L=g,y=(0,d.Z)(L,n,i,!1,null,null,null),C=y.exports},910:function(t,e,r){r.d(e,{$0:function(){return k},A0:function(){return w},D0:function(){return o},ER:function(){return _},Hg:function(){return B},J_:function(){return Q},Kl:function(){return v},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return q},Qj:function(){return Z},Sc:function(){return h},Sl:function(){return L},W0:function(){return D},WZ:function(){return m},Wj:function(){return u},Zs:function(){return i},_:function(){return E},_1:function(){return y},a:function(){return A},ag:function(){return N},b8:function(){return b},dN:function(){return p},fZ:function(){return f},jF:function(){return a},kB:function(){return T},m3:function(){return j},oW:function(){return I},qT:function(){return C},sU:function(){return s},sy:function(){return O},tb:function(){return S},wy:function(){return x},xf:function(){return $},yk:function(){return P}});var n=r(8859);function i(t){return(0,n.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,n.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function N(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function E(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function _(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,n.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function j(t){return(0,n.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function A(t){return(0,n.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function B(t){return(0,n.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2740.0ffcbd63.js b/dist/js/2740.0ffcbd63.js new file mode 100644 index 0000000..fb392a4 --- /dev/null +++ b/dist/js/2740.0ffcbd63.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2740],{2740:function(t,r,e){e.r(r),e.d(r,{default:function(){return l}});var o=function(){var t=this,r=t._self._c;return r("div",{staticClass:"reoprtManager"},[r("div",{staticClass:"report"},[t._m(0),r("div",{staticClass:"numBox"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(t.totalReports))]),t._m(1)]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail()}}},[t._v("了解详情")])])])]),t._l(t.reportList,(function(e,o){return r("div",{key:o,staticClass:"reportDesc"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(e.quantity))]),r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v(t._s(e.name))]),r("p",{staticClass:"letter"},[t._v("Reports")])])]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail(e.id)}}},[t._v("了解详情")])])])}))],2)},n=[function(){var t=this,r=t._self._c;return r("div",{staticClass:"imgBox"},[r("img",{attrs:{src:e(5002),alt:"",width:"355px",height:"314px"}})])},function(){var t=this,r=t._self._c;return r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v("全部报表")]),r("p",{staticClass:"letter"},[t._v("Reports")])])}],s=e(6527),a={name:"ReportList",data(){return{totalReports:0,reportList:[]}},mounted(){this.getList()},methods:{getList(){(0,s.J_)({}).then((t=>{if(0===t.code&&t.data.length>0){this.totalReports=0;for(let r=0;r{this.tableH=(0,r.NC)(329)})),this.tableData=[{equipmentName:"设备1",workTime:100,workTimeRate:.5,downTime:5,downTimeRate:.02,faultTime:0,faultTimeRate:0,actualProcessingSpeed:10,theoreticalProcessingSpeed:10,speedActuationRate:.3},{equipmentName:"设备2",workTime:100,workTimeRate:.5,downTime:5,downTimeRate:.02,faultTime:0,faultTimeRate:0,actualProcessingSpeed:10,theoreticalProcessingSpeed:10,speedActuationRate:.3},{equipmentName:"设备3",workTime:100,workTimeRate:.5,downTime:5,downTimeRate:.02,faultTime:0,faultTimeRate:0,actualProcessingSpeed:10,theoreticalProcessingSpeed:10,speedActuationRate:.3}]},methods:{buttonClick(e){console.log(e)}}},n=p,m=t(1001),s=(0,m.Z)(n,l,i,!1,null,"42531d47",null),d=s.exports}}]); \ No newline at end of file diff --git a/dist/js/2949.d1630ea2.js b/dist/js/2949.d1630ea2.js deleted file mode 100644 index 68749b6..0000000 --- a/dist/js/2949.d1630ea2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2949],{2949:function(t,r,n){n.r(r),n.d(r,{default:function(){return d}});var e=function(){var t=this,r=t._self._c;return r("div",{staticClass:"reoprtManager"},[r("div",{staticClass:"report"},[t._m(0),r("div",{staticClass:"numBox"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(t.totalReports))]),t._m(1)]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail()}}},[t._v("了解详情")])])])]),t._l(t.reportList,(function(n,e){return r("div",{key:e,staticClass:"reportDesc"},[r("div",[r("div",{staticClass:"reportNum"},[r("div",{staticClass:"num"},[t._v(t._s(n.quantity))]),r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v(t._s(n.name))]),r("p",{staticClass:"letter"},[t._v("Reports")])])]),r("div",{staticClass:"detail",on:{click:function(r){return t.toDetail(n.id)}}},[t._v("了解详情")])])])}))],2)},o=[function(){var t=this,r=t._self._c;return r("div",{staticClass:"imgBox"},[r("img",{attrs:{src:n(2070),alt:"",width:"355px",height:"314px"}})])},function(){var t=this,r=t._self._c;return r("div",{staticClass:"text"},[r("p",{staticClass:"font"},[t._v("全部报表")]),r("p",{staticClass:"letter"},[t._v("Reports")])])}],u=n(910),a={name:"ReportList",data(){return{totalReports:0,reportList:[]}},mounted(){this.getList()},methods:{getList(){(0,u.J_)({}).then((t=>{if(0===t.code&&t.data.length>0){this.totalReports=0;for(let r=0;r{this.tableH=(0,i.NC)(275)})),this.formConfig[0].defaultSelect=[s()().format("yyyy-MM-DD")+"T00:00:00",s()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=s()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=s()().format("yyyy-MM-DD")+"T23:59:59",this.getMaterialList(),this.getList()},methods:{getList(){(0,o.jp)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(t.value){let e=null,a=JSON.parse(localStorage.getItem("publicList")).proLineVoList;a&&a.map((a=>{a.dataName===t.value&&(e=a.dataCode)})),(0,u.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[0].defaultSelect=this.$refs.searchBarForm.formInline.timeVal,this.formConfig[3].selectOptions=t.data,this.formConfig[3].defaultSelect=null)}))}},getMaterialList(){(0,u.Sl)().then((t=>{0===t.code&&(this.formConfig[4].selectOptions=t.data)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.type=t.type,this.listQuery.line=t.line,this.listQuery.sidelibraryName=t.sidelibraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList()):"reset"===t.btnName&&(this.formConfig[0].defaultSelect=[],this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type="",this.listQuery.line="",this.listQuery.sidelibraryName="",this.listQuery.materialName="",this.getList())}}},m=d,f=a(1001),p=(0,f.Z)(m,r,n,!1,null,null,null),h=p.exports},910:function(t,e,a){a.d(e,{$0:function(){return S},A0:function(){return Q},D0:function(){return o},ER:function(){return P},Kl:function(){return L},ME:function(){return c},Or:function(){return g},P4:function(){return s},Py:function(){return d},Qj:function(){return M},Sc:function(){return h},Sl:function(){return y},WZ:function(){return p},Wj:function(){return l},Zs:function(){return n},_:function(){return F},_1:function(){return C},ag:function(){return W},b8:function(){return b},dN:function(){return m},fZ:function(){return f},jF:function(){return i},oW:function(){return T},qT:function(){return Z},sU:function(){return u},tb:function(){return N},xf:function(){return v}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function P(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}},4770:function(t,e,a){a.d(e,{Gn:function(){return c},MX:function(){return i},VJ:function(){return s},jp:function(){return o},nK:function(){return p},oR:function(){return m},oz:function(){return f},p0:function(){return n},ql:function(){return d},qw:function(){return l},vN:function(){return u}});var r=a(8859);function n(t){return(0,r.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/2990.9f7bfdd4.js b/dist/js/2990.9f7bfdd4.js deleted file mode 100644 index b0ca47a..0000000 --- a/dist/js/2990.9f7bfdd4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[2990],{2990:function(t,e,r){r.r(e),r.d(e,{default:function(){return h}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}})],1)},n=[],i=r(475),o=r(4770),u=r(910),l=r(381),s=r.n(l);const c=[{prop:"type",label:"类型",minWidth:120,filter:(0,i.fW)("materialVoList")},{prop:"line",label:"产线",minWidth:120},{prop:"sidelibraryName",label:"所属线边库",minWidth:120},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"batchCode",label:"批次编码",minWidth:140},{prop:"num",label:"数量",minWidth:100},{prop:"unit",label:"单位",minWidth:100},{prop:"supplier",label:"供应商",minWidth:140},{prop:"recipient",label:"领取人",minWidth:140},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160},{prop:"remark",label:"备注",minWidth:150}];var d={name:"InAndOutRecords",data(){return{activeName:"stock",formConfig:[{type:"datePicker",label:"登记时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"类型",selectOptions:JSON.parse(localStorage.getItem("publicList")).materialVoList,labelField:"dataName",valueField:"dataCode",param:"type",defaultSelect:"",width:100},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,labelField:"dataName",valueField:"dataName",onchange:!0,param:"line",defaultSelect:"",width:100},{type:"select",label:"线边库名称",selectOptions:[],param:"sidelibraryName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",width:180},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:c,tableData:[],tableH:(0,i.NC)(275),total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(275)})),this.formConfig[0].defaultSelect=[s()().format("yyyy-MM-DD")+"T00:00:00",s()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=s()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=s()().format("yyyy-MM-DD")+"T23:59:59",this.getMaterialList(),this.getList()},methods:{getList(){(0,o.jp)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(t.value){let e=null,r=JSON.parse(localStorage.getItem("publicList")).proLineVoList;r&&r.map((r=>{r.dataName===t.value&&(e=r.dataCode)})),(0,u.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[0].defaultSelect=this.$refs.searchBarForm.formInline.timeVal,this.formConfig[3].selectOptions=t.data,this.formConfig[3].defaultSelect=null)}))}},getMaterialList(){(0,u.Sl)().then((t=>{0===t.code&&(this.formConfig[4].selectOptions=t.data)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.type=t.type,this.listQuery.line=t.line,this.listQuery.sidelibraryName=t.sidelibraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList()):"reset"===t.btnName&&(this.formConfig[0].defaultSelect=[],this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.type="",this.listQuery.line="",this.listQuery.sidelibraryName="",this.listQuery.materialName="",this.getList())}}},m=d,p=r(1001),f=(0,p.Z)(m,a,n,!1,null,null,null),h=f.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return Q},D0:function(){return o},ER:function(){return k},Hg:function(){return z},J_:function(){return P},Kl:function(){return N},ME:function(){return c},Or:function(){return g},P4:function(){return s},Py:function(){return d},QL:function(){return w},Qj:function(){return M},Sc:function(){return h},Sl:function(){return y},W0:function(){return A},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return F},_1:function(){return Z},a:function(){return _},ag:function(){return W},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return i},kB:function(){return V},m3:function(){return H},oW:function(){return T},qT:function(){return C},sU:function(){return u},sy:function(){return D},tb:function(){return L},wy:function(){return O},xf:function(){return v},yk:function(){return q}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function W(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function V(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function H(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function z(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,r){r.d(e,{Gn:function(){return c},MX:function(){return i},VJ:function(){return s},jp:function(){return o},nK:function(){return f},oR:function(){return m},oz:function(){return p},p0:function(){return n},ql:function(){return d},qw:function(){return l},vN:function(){return u}});var a=r(8859);function n(t){return(0,a.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3058.30864938.js b/dist/js/3058.afed5e8b.js similarity index 53% rename from dist/js/3058.30864938.js rename to dist/js/3058.afed5e8b.js index 5b9b573..c34e732 100644 --- a/dist/js/3058.30864938.js +++ b/dist/js/3058.afed5e8b.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3058],{3058:function(t,e,a){a.r(e),a.d(e,{default:function(){return C}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:100,label:"工艺流程","method-list":t.tableBtn,fixed:"right"},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t.processFlowVisible?e("process-flow-detail",{ref:"processFlowDetail"}):t._e()],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"工艺流程",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"box"},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:100,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("el-drawer",{attrs:{title:"工艺参数","append-to-body":!0,visible:t.processParametersVisible,size:"50%"},on:{"update:visible":function(e){t.processParametersVisible=e}}},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tablePropsP,"table-data":t.tableDataP,"max-height":t.tableH}})],1)],1)])},l=[],o=a(475),s=a(2334);const u=[{prop:"unitName",label:"工序名称",minWidth:120},{prop:"eqName",label:"设备名称",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"inEquipmentTime",label:"设备上片时间",filter:o.g6,minWidth:160},{prop:"outEquipmentTime",label:"设备下片时间",filter:o.g6,minWidth:160},{prop:"palletId",label:"面磨托盘ID",minWidth:150}],p=[{type:"processParameters",btnName:"工艺参数"}],d=[{prop:"paramName",label:"工艺"},{prop:"value",label:"参数值"},{prop:"createTime",label:"参数记录时间"}],c=[{prop:"device",label:"设备"},{prop:"status",label:"状态"},{prop:"changeTime",label:"变更时间"}];var m={name:"processFlowDetail",data(){return{visible:!1,tableProps:u,tableData:[],tableBtn:p,tableH:(0,o.NC)(115),processParametersVisible:!1,deviceParametersVisible:!1,tablePropsP:d,tablePropsD:c,tableDataP:[],tableDataD:[{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"待料",changeTime:"2022-04-02 00:00:00 000"}]}},methods:{init(t){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(115)})),(0,s.gP)({current:1,glassId:t,size:500}).then((t=>{0===t.code?this.tableData=t.data.records:this.tableData=[]}))},handleClick(t){console.log(t),this.processParametersVisible=!0,(0,s.qn)({unitName:t.unitName,eqName:t.eqName,startTime:t.inEquipmentTime,endTime:t.outEquipmentTime}).then((t=>{console.log(t)}))},handleCloseProcess(){},handleCloseDevice(){}}},h=m,b=a(1001),f=(0,b.Z)(h,i,l,!1,null,"831fd0b0",null),y=f.exports,g=a(381),T=a.n(g);const q=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"workOrderNo",label:"工单编号",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"rackId",label:"成品架ID",minWidth:150},{prop:"loadTime",label:"产品上片时间",filter:o.g6,minWidth:160},{prop:"unloadTime",label:"产品下片时间",filter:o.g6,minWidth:160},{prop:"grade",label:"玻璃等级",minWidth:100},{prop:"palletId",label:"面磨托盘ID",minWidth:150},{prop:"glassLength",label:"玻璃长度",minWidth:100},{prop:"glassWidth",label:"玻璃宽度",minWidth:100},{prop:"glassHeight",label:"玻璃厚度",minWidth:100}],D=[{type:"view",btnName:"点击查看"}];var P={name:"ProductTraceability",components:{ProcessFlowDetail:y},data(){return{formConfig:[{type:"datePicker",label:"产品上片时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"查询方式",selectOptions:[{id:"rackId",name:"成品架ID"},{id:"glassId",name:"玻璃ID"},{id:"palletId",name:"托盘ID"}],param:"inquiryMode",defaultSelect:"",width:150},{type:"input",label:"查询内容",placeholder:"查询内容",param:"queryContent"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:q,tableData:[],tableBtn:D,tableH:(0,o.NC)(270),total:0,listQuery:{startTime:"",endTime:"",current:1,size:20},processFlowVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(270)})),this.formConfig[0].defaultSelect=[T()().format("yyyy-MM-DD")+"T00:00:00",T()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=T()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=T()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,s.kT)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.lineName,this.listQuery.rackId="rackId"===t.inquiryMode?t.queryContent:"",this.listQuery.glassId="glassId"===t.inquiryMode?t.queryContent:"",this.listQuery.palletId="palletId"===t.inquiryMode?t.queryContent:"",this.getList()):"reset"===t.btnName&&(this.$refs.searchBarForm.resetForm(),this.listQuery.startTime=T()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=T()().format("yyyy-MM-DD")+"T23:59:59",this.$nextTick((()=>{this.getList()})))},handleClick(t){this.processFlowVisible=!0;let e=t.data.glassId;this.$nextTick((()=>{this.$refs.processFlowDetail.init(e)}))}}},I=P,v=(0,b.Z)(I,r,n,!1,null,null,null),C=v.exports},2334:function(t,e,a){a.d(e,{AT:function(){return w},Af:function(){return o},F0:function(){return h},G$:function(){return T},Jt:function(){return g},ON:function(){return u},QI:function(){return l},Qd:function(){return b},YU:function(){return m},an:function(){return k},bu:function(){return Z},dy:function(){return D},eT:function(){return d},fL:function(){return N},gP:function(){return M},iF:function(){return p},jA:function(){return i},kT:function(){return F},nE:function(){return y},oR:function(){return C},pS:function(){return s},pw:function(){return c},qn:function(){return Q},r5:function(){return f},uW:function(){return I},uX:function(){return P},uj:function(){return v},v:function(){return n},vD:function(){return q}});var r=a(8859);function n(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function q(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function I(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function Z(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3058],{3058:function(t,e,a){a.r(e),a.d(e,{default:function(){return C}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:100,label:"工艺流程","method-list":t.tableBtn,fixed:"right"},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),t.processFlowVisible?e("process-flow-detail",{ref:"processFlowDetail"}):t._e()],1)},i=[],l=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"工艺流程",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"box"},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:100,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("el-drawer",{attrs:{title:"工艺参数","append-to-body":!0,visible:t.processParametersVisible,size:"50%"},on:{"update:visible":function(e){t.processParametersVisible=e}}},[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tablePropsP,"table-data":t.tableDataP,"max-height":t.tableH}})],1)],1)])},n=[],s=a(475),o=a(2334);const u=[{prop:"unitName",label:"工序名称",minWidth:120},{prop:"eqName",label:"设备名称",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"inEquipmentTime",label:"设备上片时间",filter:s.g6,minWidth:160},{prop:"outEquipmentTime",label:"设备下片时间",filter:s.g6,minWidth:160},{prop:"palletId",label:"面磨托盘ID",minWidth:150}],p=[{type:"processParameters",btnName:"工艺参数"}],d=[{prop:"paramName",label:"工艺"},{prop:"value",label:"参数值"},{prop:"createTime",label:"参数记录时间"}],c=[{prop:"device",label:"设备"},{prop:"status",label:"状态"},{prop:"changeTime",label:"变更时间"}];var m={name:"processFlowDetail",data(){return{visible:!1,tableProps:u,tableData:[],tableBtn:p,tableH:(0,s.NC)(115),processParametersVisible:!1,deviceParametersVisible:!1,tablePropsP:d,tablePropsD:c,tableDataP:[],tableDataD:[{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"生产",changeTime:"2022-04-02 00:00:00 000"},{device:"面研磨上片工位_取纸机器人",status:"待料",changeTime:"2022-04-02 00:00:00 000"}]}},methods:{init(t){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(115)})),(0,o.gP)({current:1,glassId:t,size:500}).then((t=>{0===t.code?this.tableData=t.data.records:this.tableData=[]}))},handleClick(t){console.log(t),this.processParametersVisible=!0,(0,o.qn)({unitName:t.unitName,eqName:t.eqName,startTime:t.inEquipmentTime,endTime:t.outEquipmentTime}).then((t=>{console.log(t)}))},handleCloseProcess(){},handleCloseDevice(){}}},h=m,b=a(1001),y=(0,b.Z)(h,l,n,!1,null,"831fd0b0",null),f=y.exports,g=a(381),T=a.n(g);const D=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"workOrderNo",label:"工单编号",minWidth:120},{prop:"glassId",label:"玻璃ID",minWidth:150},{prop:"rackId",label:"成品架ID",minWidth:150},{prop:"loadTime",label:"产品上片时间",filter:s.g6,minWidth:160},{prop:"unloadTime",label:"产品下片时间",filter:s.g6,minWidth:160},{prop:"grade",label:"玻璃等级",minWidth:100},{prop:"palletId",label:"面磨托盘ID",minWidth:150},{prop:"glassLength",label:"玻璃长度",minWidth:100},{prop:"glassWidth",label:"玻璃宽度",minWidth:100},{prop:"glassHeight",label:"玻璃厚度",minWidth:100}],q=[{type:"view",btnName:"点击查看"}];var P={name:"ProductTraceability",components:{ProcessFlowDetail:f},data(){return{formConfig:[{type:"datePicker",label:"产品上片时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"查询方式",selectOptions:[{id:"rackId",name:"成品架ID"},{id:"glassId",name:"玻璃ID"},{id:"palletId",name:"托盘ID"}],param:"inquiryMode",defaultSelect:"",width:150},{type:"input",label:"查询内容",placeholder:"查询内容",param:"queryContent"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:D,tableData:[],tableBtn:q,tableH:(0,s.NC)(270),total:0,listQuery:{startTime:"",endTime:"",current:1,size:20},processFlowVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,s.NC)(270)})),this.formConfig[0].defaultSelect=[T()().format("yyyy-MM-DD")+"T00:00:00",T()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=T()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=T()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,o.kT)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){"search"===t.btnName?(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.lineName,this.listQuery.rackId="rackId"===t.inquiryMode?t.queryContent:"",this.listQuery.glassId="glassId"===t.inquiryMode?t.queryContent:"",this.listQuery.palletId="palletId"===t.inquiryMode?t.queryContent:"",this.getList()):"reset"===t.btnName&&(this.$refs.searchBarForm.resetForm(),this.listQuery.startTime=T()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=T()().format("yyyy-MM-DD")+"T23:59:59",this.$nextTick((()=>{this.getList()})))},handleClick(t){this.processFlowVisible=!0;let e=t.data.glassId;this.$nextTick((()=>{this.$refs.processFlowDetail.init(e)}))}}},I=P,v=(0,b.Z)(I,r,i,!1,null,null,null),C=v.exports},2334:function(t,e,a){a.d(e,{Af:function(){return s},F0:function(){return h},G$:function(){return T},Jt:function(){return g},ON:function(){return u},QI:function(){return n},Qd:function(){return b},YU:function(){return m},dy:function(){return q},eT:function(){return d},gP:function(){return v},iF:function(){return p},jA:function(){return l},kT:function(){return I},nE:function(){return f},pS:function(){return o},pw:function(){return c},qn:function(){return C},r5:function(){return y},uX:function(){return P},v:function(){return i},vD:function(){return D}});var r=a(8859);function i(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function D(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function I(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3813.435d2e60.js b/dist/js/3813.435d2e60.js new file mode 100644 index 0000000..58cb5f8 --- /dev/null +++ b/dist/js/3813.435d2e60.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3813],{3813:function(t,e,r){r.r(e),r.d(e,{default:function(){return h}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"particleLine-chart"},[e("div",{staticStyle:{"margin-bottom":"30px"}},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}})],1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"particleLineChart"}})])},a=[],i=r(7171),o=r(475),s=r(5468),u=r(2334),l=r(381),c=r.n(l),m={name:"particleLineChart",mixins:[s.Z],data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"input",label:"合格上线",placeholder:"合格上线",param:"maxLine"},{type:"button",btnName:"确认",name:"search",color:"primary"}],chartDom:"",chart:"",chartHeight:(0,o.NC)(320),listQuery:{startTime:"",endTime:""},checkOutTime:"",maxLine:""}},mounted(){this.chartDom=document.getElementById("particleLineChart"),this.chart=i.S1(this.chartDom),window.addEventListener("resize",(()=>{this.chartHeight=(0,o.NC)(320)})),this.formConfig[0].defaultSelect=[c()().format("yyyy-MM-DD")+"T00:00:00",c()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=c()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=c()().format("yyyy-MM-DD")+"T23:59:59",this.getMsg()},methods:{buttonClick(t){console.log(t),"search"===t.btnName&&(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.maxLine=t.maxLine,this.getMsg())},getMsg(){let t=[],e=[],r=[],n=[],a=[],i=[],o={};(0,u.vD)({...this.listQuery}).then((s=>{console.log(s),0===s.code&&s.data.length>0&&(s.data.map((o=>{console.log(o),t.push(c()(o.hour).format("YY-MM-DD HH:mm:ss")),e.push(o.s),r.push(o.m),n.push(o.l),a.push(o.xl),i.push(o.sum)})),o.time=t,o.sList=e,o.mList=r,o.lList=n,o.xlList=a,o.sumList=i,this.getChart(o))}))},getChart1(t){var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"3%",right:"4%",bottom:"3%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)},getChart(t){console.log(t);var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数",left:"1%"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"4%",right:"4%",bottom:"10%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},dataZoom:[{startValue:"2023-02-014"},{type:"inside"}],series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)}}},d=m,p=r(1001),y=(0,p.Z)(d,n,a,!1,null,"ecee4654",null),h=y.exports},2334:function(t,e,r){r.d(e,{Af:function(){return s},F0:function(){return y},G$:function(){return x},Jt:function(){return L},ON:function(){return l},QI:function(){return o},Qd:function(){return h},YU:function(){return p},dy:function(){return D},eT:function(){return m},gP:function(){return Z},iF:function(){return c},jA:function(){return i},kT:function(){return q},nE:function(){return g},pS:function(){return u},pw:function(){return d},qn:function(){return C},r5:function(){return f},uX:function(){return b},v:function(){return a},vD:function(){return T}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function q(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3813.dc300e60.js b/dist/js/3813.dc300e60.js deleted file mode 100644 index 32a4fe3..0000000 --- a/dist/js/3813.dc300e60.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3813],{3813:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"particleLine-chart"},[e("div",{staticStyle:{"margin-bottom":"30px"}},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}})],1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"particleLineChart"}})])},a=[],o=r(7171),i=r(475),u=r(5468),s=r(2334),l=r(381),c=r.n(l),p={name:"particleLineChart",mixins:[u.Z],data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"input",label:"合格上线",placeholder:"合格上线",param:"maxLine"},{type:"button",btnName:"确认",name:"search",color:"primary"}],chartDom:"",chart:"",chartHeight:(0,i.NC)(320),listQuery:{startTime:"",endTime:""},checkOutTime:"",maxLine:""}},mounted(){this.chartDom=document.getElementById("particleLineChart"),this.chart=o.S1(this.chartDom),window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(320)})),this.formConfig[0].defaultSelect=[c()().format("yyyy-MM-DD")+"T00:00:00",c()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=c()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=c()().format("yyyy-MM-DD")+"T23:59:59",this.getMsg()},methods:{buttonClick(t){console.log(t),"search"===t.btnName&&(this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.maxLine=t.maxLine,this.getMsg())},getMsg(){let t=[],e=[],r=[],n=[],a=[],o=[],i={};(0,s.vD)({...this.listQuery}).then((u=>{console.log(u),0===u.code&&u.data.length>0&&(u.data.map((i=>{console.log(i),t.push(c()(i.hour).format("YY-MM-DD HH:mm:ss")),e.push(i.s),r.push(i.m),n.push(i.l),a.push(i.xl),o.push(i.sum)})),i.time=t,i.sList=e,i.mList=r,i.lList=n,i.xlList=a,i.sumList=o,this.getChart(i))}))},getChart1(t){var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"3%",right:"4%",bottom:"3%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)},getChart(t){console.log(t);var e={color:["#5AD8A6","#5B8FF9","#5D7092","#F6BD16","#E8684A"],title:{text:"时间段玻璃颗粒数",left:"1%"},tooltip:{trigger:"axis"},legend:{data:["Total","M","L","S","XL"],right:"4%"},grid:{left:"4%",right:"4%",bottom:"10%"},xAxis:{type:"category",boundaryGap:!1,data:t.time},yAxis:{type:"value"},dataZoom:[{startValue:"2023-02-014"},{type:"inside"}],series:[{name:"Total",type:"line",data:t.sumList,markLine:{show:!1,Symbol:"none",label:{position:"end",formatter:"合格线\n"+this.maxLine},data:[{silent:!1,lineStyle:{type:"dashed",color:"#0B58FF"},yAxis:this.maxLine}]}},{name:"M",type:"line",data:t.mList},{name:"L",type:"line",data:t.lList},{name:"S",type:"line",data:t.sList},{name:"XL",type:"line",data:t.xlList}]};e&&this.chart.setOption(e)}}},d=p,m=r(1001),h=(0,m.Z)(d,n,a,!1,null,"ecee4654",null),y=h.exports},2334:function(t,e,r){r.d(e,{AT:function(){return P},Af:function(){return u},F0:function(){return h},G$:function(){return x},Jt:function(){return L},ON:function(){return l},QI:function(){return i},Qd:function(){return y},YU:function(){return m},an:function(){return M},bu:function(){return F},dy:function(){return T},eT:function(){return p},fL:function(){return S},gP:function(){return v},iF:function(){return c},jA:function(){return o},kT:function(){return k},nE:function(){return g},oR:function(){return C},pS:function(){return s},pw:function(){return d},qn:function(){return A},r5:function(){return f},uW:function(){return q},uX:function(){return Z},uj:function(){return D},v:function(){return a},vD:function(){return b}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function q(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function F(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function M(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function P(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function A(t){return(0,n.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3899.4bd3c5c8.js b/dist/js/3899.4bd3c5c8.js new file mode 100644 index 0000000..c0a788d --- /dev/null +++ b/dist/js/3899.4bd3c5c8.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3899],{8795:function(t,e,l){l.d(e,{Z:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(l,n){return e("li",{key:n},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(l,n){return e("li",{key:n},[e("p",{staticClass:"tabHead"},[t._v(t._s(l.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(l.value))])])}))],2)])])},a=[],s={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e{this.tableH=(0,s.NC)(425)})),this.getListType(),this.getList()},methods:{getDetail(t,e,l){(0,i.iF)({virtualcode:t,time:l,defectType:decodeURIComponent(e)}).then((t=>{console.log(t),this.detailObj=t.data,this.$nextTick((()=>{this.$refs.fullInspectionDetailPlot.init(this.detailObj)}))}))},getListType(){(0,i.eT)({size:500,current:1}).then((t=>{this.formConfig[0].selectOptions=t.data}))},getList(){(0,i.YU)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.defectType=t.defectType,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/qualityManagement/processFullInspection/fullInspection"})}},handleClick(t){"viewPic"===t.type&&(t.data.defectid?this.centervisible=!0:this.$message({message:"暂无图片",type:"warning"}))},handleCancel(){this.centervisible=!1}}},p=c,d=l(1001),f=(0,d.Z)(p,n,a,!1,null,"7f728e52",null),m=f.exports},2334:function(t,e,l){l.d(e,{Af:function(){return r},F0:function(){return m},G$:function(){return v},Jt:function(){return g},ON:function(){return u},QI:function(){return i},Qd:function(){return h},YU:function(){return f},dy:function(){return C},eT:function(){return p},gP:function(){return Z},iF:function(){return c},jA:function(){return s},kT:function(){return T},nE:function(){return b},pS:function(){return o},pw:function(){return d},qn:function(){return P},r5:function(){return y},uX:function(){return q},v:function(){return a},vD:function(){return k}});var n=l(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function r(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function f(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function v(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function k(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function T(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/3899.8d6b4056.js b/dist/js/3899.8d6b4056.js deleted file mode 100644 index 18119c6..0000000 --- a/dist/js/3899.8d6b4056.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[3899],{8795:function(t,e,n){n.d(e,{Z:function(){return u}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(n,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(n.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(n.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(n,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(n.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(n.value))])])}))],2)])])},a=[],r={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e{this.tableH=(0,r.NC)(425)})),this.getListType(),this.getList()},methods:{getDetail(t,e,n){(0,o.iF)({virtualcode:t,time:n,defectType:decodeURIComponent(e)}).then((t=>{console.log(t),this.detailObj=t.data,this.$nextTick((()=>{this.$refs.fullInspectionDetailPlot.init(this.detailObj)}))}))},getListType(){(0,o.eT)({size:500,current:1}).then((t=>{this.formConfig[0].selectOptions=t.data}))},getList(){(0,o.YU)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.defectType=t.defectType,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/qualityManagement/processFullInspection/fullInspection"})}},handleClick(t){"viewPic"===t.type&&(t.data.defectid?this.centervisible=!0:this.$message({message:"暂无图片",type:"warning"}))},handleCancel(){this.centervisible=!1}}},p=c,d=n(1001),f=(0,d.Z)(p,l,a,!1,null,"7f728e52",null),m=f.exports},2334:function(t,e,n){n.d(e,{AT:function(){return x},Af:function(){return s},F0:function(){return m},G$:function(){return v},Jt:function(){return g},ON:function(){return u},QI:function(){return o},Qd:function(){return h},YU:function(){return f},an:function(){return D},bu:function(){return L},dy:function(){return C},eT:function(){return p},fL:function(){return _},gP:function(){return F},iF:function(){return c},jA:function(){return r},kT:function(){return w},nE:function(){return b},oR:function(){return P},pS:function(){return i},pw:function(){return d},qn:function(){return I},r5:function(){return y},uW:function(){return Z},uX:function(){return q},uj:function(){return T},v:function(){return a},vD:function(){return k}});var l=n(8859);function a(t){return(0,l.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function r(t){return(0,l.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function o(t){return(0,l.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,l.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function i(t){return(0,l.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function f(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,l.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,l.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function v(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function k(t){return(0,l.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function C(t){return(0,l.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function q(t){return(0,l.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function Z(t){return(0,l.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function T(t){return(0,l.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function P(t){return(0,l.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function L(t){return(0,l.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function D(t){return(0,l.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function x(t){return(0,l.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function _(t){return(0,l.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function w(t){return(0,l.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function F(t){return(0,l.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function I(t){return(0,l.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/4048.0faf667a.js b/dist/js/4048.0faf667a.js new file mode 100644 index 0000000..3774730 --- /dev/null +++ b/dist/js/4048.0faf667a.js @@ -0,0 +1 @@ +(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4048],{4048:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return T}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("self-maintenance-add",{ref:"selfMaintenanceAdd",on:{successSubmit:t.successSubmit}})],1)],1)},r=[],i=n(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:10,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护人员",prop:"maintainStaff"}},[e("el-input",{attrs:{placeholder:"维护人员"},model:{value:t.form.maintainStaff,callback:function(e){t.$set(t.form,"maintainStaff",e)},expression:"form.maintainStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},s=[],u=n(3126),d=n.n(u),m=n(5591),l=n(910),c=n(381),p=n.n(c),f=n(147),h={name:"SelfMaintenanceAdd",data(){return{form:{id:"",code:"",equipmentId:"",sparePartName:"",sparePartModel:"",replaceNum:null,maintainStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],maintainStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:d().productionLineList,sparePartsTypeList:d().sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,f.yx)({id:t}).then((t=>{this.form.code=t.data.code,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.replaceNum=t.data.replaceNum,this.form.maintainStaff=t.data.maintainStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.form.startTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.isEdit=!1,this.form.id="")},getTree(){(0,m.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{this.sparePartsList=t.data}))},selectModel(t){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.sparePartModel=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,f.KK)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,f.h)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.form.proLineId="",this.form.id=""}}},b=h,g=n(1001),y=(0,g.Z)(b,o,s,!1,null,null,null),M=y.exports;const Z=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"proLineName",label:"产线",minWidth:120},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"maintainStaff",label:"维护人员",minWidth:140},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"complete",label:"完成情况",minWidth:140},{prop:"startTime",label:"开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"结束时间",filter:i.g6,minWidth:160},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160}],P=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var q={name:"selfMaintenance",components:{SelfMaintenanceAdd:M},data(){return{formConfig:[{type:"datePicker",label:"开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:Z,tableData:[],tableBtn:P,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,m.SI)().then((t=>{this.formConfig[1].selectOptions=t.data}))},getList(){(0,f.$N)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){"edit"===t.type?(this.addAndEdit="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init(t.data.id)}))):this.$confirm('确认删除工单号"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,f.jL)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.getList();break;case"add":this.addAndEdit="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init()}));break;default:(0,f.$7)({...this.listQuery}).then((t=>{let e="";const n=t.headers["content-disposition"];n&&(e=decodeURIComponent(n.slice(n.indexOf("filename=")+9)));const a=new Blob([t.data]),r=new FileReader;r.readAsDataURL(a),r.onload=t=>{const n=document.createElement("a");n.download=e,n.href=t.target.result,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}))}},handleCancel(){this.$refs.selfMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.selfMaintenanceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},S=q,L=(0,g.Z)(S,a,r,!1,null,"7f3d9a89",null),T=L.exports},5591:function(t,e,n){"use strict";n.d(e,{FH:function(){return s},Hp:function(){return u},JQ:function(){return o},SI:function(){return i},WQ:function(){return l},b6:function(){return d},iv:function(){return r},m:function(){return m}});var a=n(8859);function r(){return(0,a.Z)({url:"/common/getList",method:"post"})}function i(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function u(t){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/common/getProductData",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:t})}const l="/api/common/attachment/uploadFileFormData"},910:function(t,e,n){"use strict";n.d(e,{$0:function(){return T},A0:function(){return L},D0:function(){return o},ER:function(){return $},Kl:function(){return S},ME:function(){return m},Or:function(){return g},P4:function(){return d},Py:function(){return l},Qj:function(){return P},Sc:function(){return h},Sl:function(){return y},WZ:function(){return f},Wj:function(){return u},Zs:function(){return r},_:function(){return v},_1:function(){return M},ag:function(){return C},b8:function(){return b},dN:function(){return c},fZ:function(){return p},jF:function(){return i},oW:function(){return N},qT:function(){return Z},sU:function(){return s},tb:function(){return q},xf:function(){return k}});var a=n(8859);function r(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}},147:function(t,e,n){"use strict";n.d(e,{$7:function(){return w},$F:function(){return b},$N:function(){return N},$d:function(){return c},A5:function(){return S},Ah:function(){return o},Dr:function(){return f},HJ:function(){return d},Im:function(){return P},KK:function(){return $},KQ:function(){return T},Ko:function(){return x},Ku:function(){return h},OP:function(){return u},OT:function(){return g},UP:function(){return M},Uw:function(){return Q},YG:function(){return k},bO:function(){return l},co:function(){return y},fK:function(){return q},h:function(){return v},jL:function(){return A},lJ:function(){return p},lZ:function(){return s},pl:function(){return C},rd:function(){return m},uN:function(){return i},yx:function(){return Z},zG:function(){return L},zh:function(){return r}});var a=n(8859);function r(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,a.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function M(t){return(0,a.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,a.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}},3126:function(t){t.exports={roleList:[{id:"1",name:"加工人员"},{id:"2",name:"质检人员"}],productionLineList:[{id:"1",name:"产线1"},{id:"2",name:"产线2"}],sparePartsTypeList:[{id:"1",name:"边磨备品备件"},{id:"2",name:"清洗机备品备件"},{id:"3",name:"前清洗备品备件"},{id:"4",name:"后清洗备品备件"},{id:"5",name:"面磨区备品备件"},{id:"6",name:"终检区备品备件"},{id:"7",name:"动力区备品备件"},{id:"8",name:"辅材备品备件"}],statusList:[{id:"1",name:"正常"},{id:"2",name:"禁用"}],unitModuleList:[{id:"1",name:"精切磨边"},{id:"2",name:"磨边后清洗"},{id:"3",name:"边检"},{id:"4",name:"面研磨"},{id:"5",name:"面研磨辅助设备"},{id:"6",name:"面研磨后清洗"},{id:"7",name:"终检"},{id:"8",name:"内包区"},{id:"9",name:"外包区"}],testItemList:[{id:"1",name:"研磨幅"},{id:"2",name:"外观尺寸"},{id:"3",name:"角尺寸"},{id:"4",name:"直线性"},{id:"5",name:"翘曲"},{id:"6",name:"成品厚度"},{id:"7",name:"应力"},{id:"8",name:"条纹/磨痕度数"}],orderTypeList:[{id:"1",name:"全部"},{id:"2",name:"正常"},{id:"3",name:"待再加工"}],orderStatusList:[{id:"1",name:"全部"},{id:"2",name:"已下发"},{id:"3",name:"未下发"},{id:"4",name:"已结束"}],planTypeList:[{id:"1",name:"全部"},{id:"2",name:"年计划"},{id:"3",name:"月计划"},{id:"4",name:"日计划"}],regrindList:[{id:"1",name:"无"},{id:"2",name:"锡面"},{id:"3",name:"空气面"}],productionSpecList:[{id:"1",name:"G8.5"},{id:"2",name:"G8.6"}]}}}]); \ No newline at end of file diff --git a/dist/js/4048.f4813ceb.js b/dist/js/4048.f4813ceb.js deleted file mode 100644 index 944e15b..0000000 --- a/dist/js/4048.f4813ceb.js +++ /dev/null @@ -1 +0,0 @@ -(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4048],{4048:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return T}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("self-maintenance-add",{ref:"selfMaintenanceAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=n(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:10,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护人员",prop:"maintainStaff"}},[e("el-input",{attrs:{placeholder:"维护人员"},model:{value:t.form.maintainStaff,callback:function(e){t.$set(t.form,"maintainStaff",e)},expression:"form.maintainStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},u=[],s=n(3126),d=n.n(s),m=n(5591),l=n(910),c=n(381),p=n.n(c),f=n(147),h={name:"SelfMaintenanceAdd",data(){return{form:{id:"",code:"",equipmentId:"",sparePartName:"",sparePartModel:"",replaceNum:null,maintainStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],maintainStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:d().productionLineList,sparePartsTypeList:d().sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,f.yx)({id:t}).then((t=>{this.form.code=t.data.code,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.replaceNum=t.data.replaceNum,this.form.maintainStaff=t.data.maintainStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.form.startTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=p()().format("yyyy-MM-DDTHH:mm:ss"),this.isEdit=!1,this.form.id="")},getTree(){(0,m.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{this.sparePartsList=t.data}))},selectModel(t){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.sparePartModel=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,f.KK)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,f.h)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.form.proLineId="",this.form.id=""}}},g=h,b=n(1001),y=(0,b.Z)(g,o,u,!1,null,null,null),Z=y.exports;const M=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"proLineName",label:"产线",minWidth:120},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"maintainStaff",label:"维护人员",minWidth:140},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"complete",label:"完成情况",minWidth:140},{prop:"startTime",label:"开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"结束时间",filter:i.g6,minWidth:160},{prop:"creatorName",label:"登记人",minWidth:140},{prop:"createTime",label:"登记时间",filter:i.g6,minWidth:160}],P=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var q={name:"selfMaintenance",components:{SelfMaintenanceAdd:Z},data(){return{formConfig:[{type:"datePicker",label:"开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:M,tableData:[],tableBtn:P,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,m.SI)().then((t=>{this.formConfig[1].selectOptions=t.data}))},getList(){(0,f.$N)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){"edit"===t.type?(this.addAndEdit="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init(t.data.id)}))):this.$confirm('确认删除工单号"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,f.jL)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.getList();break;case"add":this.addAndEdit="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.selfMaintenanceAdd.init()}));break;default:(0,f.$7)({...this.listQuery}).then((t=>{let e="";const n=t.headers["content-disposition"];n&&(e=decodeURIComponent(n.slice(n.indexOf("filename=")+9)));const r=new Blob([t.data]),a=new FileReader;a.readAsDataURL(r),a.onload=t=>{const n=document.createElement("a");n.download=e,n.href=t.target.result,document.body.appendChild(n),n.click(),document.body.removeChild(n)}}))}},handleCancel(){this.$refs.selfMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.selfMaintenanceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},S=q,L=(0,b.Z)(S,r,a,!1,null,"7f3d9a89",null),T=L.exports},5591:function(t,e,n){"use strict";n.d(e,{FH:function(){return u},Hp:function(){return s},JQ:function(){return o},SI:function(){return i},WQ:function(){return l},b6:function(){return d},iv:function(){return a},m:function(){return m}});var r=n(8859);function a(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function s(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const l="/api/common/attachment/uploadFileFormData"},910:function(t,e,n){"use strict";n.d(e,{$0:function(){return T},A0:function(){return L},D0:function(){return o},ER:function(){return $},Hg:function(){return W},J_:function(){return w},Kl:function(){return S},ME:function(){return m},Or:function(){return b},P4:function(){return d},Py:function(){return l},QL:function(){return H},Qj:function(){return P},Sc:function(){return h},Sl:function(){return y},W0:function(){return F},WZ:function(){return f},Wj:function(){return s},Zs:function(){return a},_:function(){return v},_1:function(){return Z},a:function(){return E},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},jF:function(){return i},kB:function(){return A},m3:function(){return I},oW:function(){return N},qT:function(){return M},sU:function(){return u},sy:function(){return x},tb:function(){return q},wy:function(){return Q},xf:function(){return C},yk:function(){return D}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,n){"use strict";n.d(e,{$7:function(){return A},$F:function(){return g},$N:function(){return N},$d:function(){return c},A5:function(){return S},Ah:function(){return o},Dr:function(){return f},HJ:function(){return d},Im:function(){return P},KK:function(){return $},KQ:function(){return T},Ko:function(){return x},Ku:function(){return h},OP:function(){return s},OT:function(){return b},UP:function(){return Z},Uw:function(){return Q},YG:function(){return C},bO:function(){return l},co:function(){return y},fK:function(){return q},h:function(){return v},jL:function(){return w},lJ:function(){return p},lZ:function(){return u},pl:function(){return k},rd:function(){return m},uN:function(){return i},yx:function(){return M},zG:function(){return L},zh:function(){return a}});var r=n(8859);function a(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}},3126:function(t){t.exports={roleList:[{id:"1",name:"加工人员"},{id:"2",name:"质检人员"}],productionLineList:[{id:"1",name:"产线1"},{id:"2",name:"产线2"}],sparePartsTypeList:[{id:"1",name:"边磨备品备件"},{id:"2",name:"清洗机备品备件"},{id:"3",name:"前清洗备品备件"},{id:"4",name:"后清洗备品备件"},{id:"5",name:"面磨区备品备件"},{id:"6",name:"终检区备品备件"},{id:"7",name:"动力区备品备件"},{id:"8",name:"辅材备品备件"}],statusList:[{id:"1",name:"正常"},{id:"2",name:"禁用"}],unitModuleList:[{id:"1",name:"精切磨边"},{id:"2",name:"磨边后清洗"},{id:"3",name:"边检"},{id:"4",name:"面研磨"},{id:"5",name:"面研磨辅助设备"},{id:"6",name:"面研磨后清洗"},{id:"7",name:"终检"},{id:"8",name:"内包区"},{id:"9",name:"外包区"}],testItemList:[{id:"1",name:"研磨幅"},{id:"2",name:"外观尺寸"},{id:"3",name:"角尺寸"},{id:"4",name:"直线性"},{id:"5",name:"翘曲"},{id:"6",name:"成品厚度"},{id:"7",name:"应力"},{id:"8",name:"条纹/磨痕度数"}],orderTypeList:[{id:"1",name:"全部"},{id:"2",name:"正常"},{id:"3",name:"待再加工"}],orderStatusList:[{id:"1",name:"全部"},{id:"2",name:"已下发"},{id:"3",name:"未下发"},{id:"4",name:"已结束"}],planTypeList:[{id:"1",name:"全部"},{id:"2",name:"年计划"},{id:"3",name:"月计划"},{id:"4",name:"日计划"}],regrindList:[{id:"1",name:"无"},{id:"2",name:"锡面"},{id:"3",name:"空气面"}],productionSpecList:[{id:"1",name:"G8.5"},{id:"2",name:"G8.6"}]}}}]); \ No newline at end of file diff --git a/dist/js/7364.63902e51.js b/dist/js/4061.83f9daf4.js similarity index 98% rename from dist/js/7364.63902e51.js rename to dist/js/4061.83f9daf4.js index 44ec5d9..5b9d9ad 100644 --- a/dist/js/7364.63902e51.js +++ b/dist/js/4061.83f9daf4.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[7364],{7364:function(t,b,e){e.r(b),e.d(b,{default:function(){return w}});var y=function(){var t=this,b=t._self._c;return b("div",{staticClass:"production-report-box"},[b("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),b("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProp,"table-data":t.tableData,"span-method":t.spanMethod,"max-height":t.tableH}})],1)},a=[],p=e(475),l=function(){var t=this,b=t._self._c;return b("div",[b("el-tag",{attrs:{size:"medium"}},[t._v(t._s(t.showTotal))])],1)},r=[],o={name:"TableTags",data(){return{showTotal:""}},props:{injectData:{type:Object,default:()=>({})}},mounted(){console.log(this.injectData),console.log(this.injectData.prop),"ct1"===this.injectData.prop?this.showTotal=this.injectData.ct1:"ct2"===this.injectData.prop&&(this.showTotal=this.injectData.ct2)}},i=o,s=e(1001),n=(0,s.Z)(i,l,r,!1,null,null,null),c=n.exports;const h=[{prop:"process",label:"区域",fixed:!0},{prop:"equipmentName",label:"项目指标",minWidth:150,fixed:!0},{label:"白班(8:00-20:00)",align:"center",children:[{prop:"b1",label:"7-8",width:60},{prop:"b2",label:"8-9",width:60},{prop:"b3",label:"9-10",width:60},{prop:"b4",label:"10-11",width:60},{prop:"b5",label:"11-12",width:60},{prop:"b6",label:"12-13",width:60},{prop:"b7",label:"13-14",width:60},{prop:"b8",label:"14-15",width:60},{prop:"b9",label:"15-16",width:60},{prop:"b10",label:"16-17",width:60},{prop:"b11",label:"17-18",width:60},{prop:"b12",label:"18-19",width:60},{prop:"ct1",label:"合计",subcomponent:c}]},{label:"夜班(20:00-8:00)",align:"center",children:[{prop:"y1",label:"19-20",width:60},{prop:"y2",label:"20-21",width:60},{prop:"y3",label:"21-22",width:60},{prop:"y4",label:"22-23",width:60},{prop:"y5",label:"23-24",width:60},{prop:"y6",label:"0-1",width:60},{prop:"y7",label:"1-2",width:60},{prop:"y8",label:"2-3",width:60},{prop:"y9",label:"3-4",width:60},{prop:"y10",label:"4-5",width:60},{prop:"y11",label:"5-6",width:60},{prop:"y12",label:"6-7",width:60},{prop:"ct2",label:"合计",subcomponent:c}]}];var d={name:"productionReport",data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"datePicker",label:"日期选择",dateType:"date",format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd",param:"timeVal",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],listQuery:{current:1,size:20},tableH:(0,p.NC)(300),tableProp:h,tableData:[],span:[]}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(300)})),this.getData()},methods:{buttonClick(t){console.log(t)},getData(){this.tableData=[{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:108,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:103,equipmentName:"上片投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:102,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:99,equipmentName:"机器人投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"良品总投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"工序损耗",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"后清洗输出",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"上片损失",process:"上片"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"精切损失",process:"精切"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"精切抽检",process:"精切"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"磨边损失",process:"磨边"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"磨边抽检",process:"磨边"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"前清洗损失",process:"前清洗"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"边检损失",process:"边检"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"复投损失",process:"复投"}],this.getSpanArr(this.tableData)},getSpanArr(t){for(var b=0;b({})}},mounted(){console.log(this.injectData),console.log(this.injectData.prop),"ct1"===this.injectData.prop?this.showTotal=this.injectData.ct1:"ct2"===this.injectData.prop&&(this.showTotal=this.injectData.ct2)}},i=o,s=e(1001),n=(0,s.Z)(i,l,r,!1,null,null,null),c=n.exports;const h=[{prop:"process",label:"区域",fixed:!0},{prop:"equipmentName",label:"项目指标",minWidth:150,fixed:!0},{label:"白班(8:00-20:00)",align:"center",children:[{prop:"b1",label:"7-8",width:60},{prop:"b2",label:"8-9",width:60},{prop:"b3",label:"9-10",width:60},{prop:"b4",label:"10-11",width:60},{prop:"b5",label:"11-12",width:60},{prop:"b6",label:"12-13",width:60},{prop:"b7",label:"13-14",width:60},{prop:"b8",label:"14-15",width:60},{prop:"b9",label:"15-16",width:60},{prop:"b10",label:"16-17",width:60},{prop:"b11",label:"17-18",width:60},{prop:"b12",label:"18-19",width:60},{prop:"ct1",label:"合计",subcomponent:c}]},{label:"夜班(20:00-8:00)",align:"center",children:[{prop:"y1",label:"19-20",width:60},{prop:"y2",label:"20-21",width:60},{prop:"y3",label:"21-22",width:60},{prop:"y4",label:"22-23",width:60},{prop:"y5",label:"23-24",width:60},{prop:"y6",label:"0-1",width:60},{prop:"y7",label:"1-2",width:60},{prop:"y8",label:"2-3",width:60},{prop:"y9",label:"3-4",width:60},{prop:"y10",label:"4-5",width:60},{prop:"y11",label:"5-6",width:60},{prop:"y12",label:"6-7",width:60},{prop:"ct2",label:"合计",subcomponent:c}]}];var d={name:"productionReport",data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",defaultSelect:"",width:120},{type:"datePicker",label:"日期选择",dateType:"date",format:"yyyy-MM-dd",valueFormat:"yyyy-MM-dd",param:"timeVal",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],listQuery:{current:1,size:20},tableH:(0,p.NC)(300),tableProp:h,tableData:[],span:[]}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(300)})),this.getData()},methods:{buttonClick(t){console.log(t)},getData(){this.tableData=[{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:108,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:103,equipmentName:"上片投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:102,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:99,equipmentName:"机器人投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"良品总投入数",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"工序损耗",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"后清洗输出",process:"综合"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"上片损失",process:"上片"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"精切损失",process:"精切"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"精切抽检",process:"精切"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"磨边损失",process:"磨边"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"磨边抽检",process:"磨边"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"前清洗损失",process:"前清洗"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"边检损失",process:"边检"},{b1:1,b2:2,b3:3,b4:4,b5:5,b6:6,b7:7,b8:8,b9:9,b10:10,b11:11,b12:12,ct1:100,y1:1,y2:2,y3:3,y4:4,y5:5,y6:6,y7:7,y8:8,y9:9,y10:10,y11:11,y12:12,ct2:100,equipmentName:"复投损失",process:"复投"}],this.getSpanArr(this.tableData)},getSpanArr(t){for(var b=0;b{this.tableHL=(0,a.NC)(350),this.tableHR=(0,a.NC)(335)})),this.formConfig[0].defaultSelect=[u()().format("yyyy-MM-DD")+"T00:00:00",u()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=u()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=u()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,i.nn)({...this.listQuery}).then((t=>{this.tableDataL=t.data}))},getReport(){(0,i.nG)(this.selectId).then((t=>{console.log(t),this.tableDataR=t.data}))},selectChange(t){if(console.log(t),this.selectId=[],t.length>0)for(let e=0;e({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=n(1001),u=(0,s.Z)(o,r,a,!1,null,null,null),l=u.exports},4337:function(t,e,n){n.r(e),n.d(e,{default:function(){return Z}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("consumables-add",{ref:"consumablesAdd",on:{successSubmit:t.successSubmit}})],1)],1)},a=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"耗材名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"耗材规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"耗材规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1),e("el-form-item",{attrs:{label:"耗材单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"耗材单位"},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1),e("el-form-item",{attrs:{label:"基础消耗量",prop:"basicConsume"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,precision:2,step:1},model:{value:t.form.basicConsume,callback:function(e){t.$set(t.form,"basicConsume",e)},expression:"form.basicConsume"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,n){return e("el-option",{key:n,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=n(910),u={name:"ConsumablesAdd",data(){return{form:{id:"",name:"",spec:"",unit:"",basicConsume:"",enabled:1},rules:{name:[{required:!0,message:"请输入耗材名称",trigger:"blur"}],spec:[{required:!0,message:"请输入耗材规格",trigger:"blur"}]},stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.b8)({id:t.id}).then((e=>{0===e.code&&(console.log(e),this.form.name=e.data.name,this.form.spec="copy"===t.type?"":e.data.spec,this.form.unit=e.data.unit,this.form.basicConsume=e.data.basicConsume,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Or)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Sc)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,c=n(1001),d=(0,c.Z)(l,i,o,!1,null,null,null),m=d.exports,p=n(475),f=n(8027);const h=[{prop:"name",label:"耗材名称"},{prop:"spec",label:"耗材规格"},{prop:"unit",label:"耗材单位"},{prop:"basicConsume",label:"基础消耗量"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"ConsumablesConfig",components:{ConsumablesAdd:m},data(){return{formConfig:[{type:"input",label:"耗材名称",placeholder:"耗材名称",param:"name"},{type:"input",label:"耗材规格",placeholder:"耗材规格",param:"spec"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,p.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(265)})),this.getList()},methods:{getList(){(0,s.WZ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.enabled=t.enabled,this.listQuery.spec=t.spec,this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.enabled="",this.listQuery.spec="",this.listQuery.name="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.consumablesAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.consumablesAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.consumablesAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,c.Z)(y,r,a,!1,null,null,null),Z=C.exports},910:function(t,e,n){n.d(e,{$0:function(){return w},A0:function(){return $},D0:function(){return o},ER:function(){return x},Hg:function(){return j},J_:function(){return T},Kl:function(){return k},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},QL:function(){return B},Qj:function(){return v},Sc:function(){return h},Sl:function(){return y},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return a},_:function(){return S},_1:function(){return C},a:function(){return F},ag:function(){return N},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return i},kB:function(){return _},m3:function(){return A},oW:function(){return Q},qT:function(){return Z},sU:function(){return s},sy:function(){return O},tb:function(){return L},wy:function(){return q},xf:function(){return E},yk:function(){return P}});var r=n(8859);function a(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function j(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4337],{8027:function(t,e,a){a.d(e,{Z:function(){return l}});var i=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],r={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},s=r,o=a(1001),u=(0,o.Z)(s,i,n,!1,null,null,null),l=u.exports},4337:function(t,e,a){a.r(e),a.d(e,{default:function(){return Z}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("consumables-add",{ref:"consumablesAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"耗材名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"耗材规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"耗材规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1),e("el-form-item",{attrs:{label:"耗材单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"耗材单位"},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1),e("el-form-item",{attrs:{label:"基础消耗量",prop:"basicConsume"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,precision:2,step:1},model:{value:t.form.basicConsume,callback:function(e){t.$set(t.form,"basicConsume",e)},expression:"form.basicConsume"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],o=a(910),u={name:"ConsumablesAdd",data(){return{form:{id:"",name:"",spec:"",unit:"",basicConsume:"",enabled:1},rules:{name:[{required:!0,message:"请输入耗材名称",trigger:"blur"}],spec:[{required:!0,message:"请输入耗材规格",trigger:"blur"}]},stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,o.b8)({id:t.id}).then((e=>{0===e.code&&(console.log(e),this.form.name=e.data.name,this.form.spec="copy"===t.type?"":e.data.spec,this.form.unit=e.data.unit,this.form.basicConsume=e.data.basicConsume,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,o.Or)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,o.Sc)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,c=a(1001),d=(0,c.Z)(l,r,s,!1,null,null,null),m=d.exports,f=a(475),p=a(8027);const b=[{prop:"name",label:"耗材名称"},{prop:"spec",label:"耗材规格"},{prop:"unit",label:"耗材单位"},{prop:"basicConsume",label:"基础消耗量"},{prop:"enabled",label:"状态",width:120,subcomponent:p.Z}],h=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"ConsumablesConfig",components:{ConsumablesAdd:m},data(){return{formConfig:[{type:"input",label:"耗材名称",placeholder:"耗材名称",param:"name"},{type:"input",label:"耗材规格",placeholder:"耗材规格",param:"spec"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:b,tableData:[],tableBtn:h,tableH:(0,f.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,f.NC)(265)})),this.getList()},methods:{getList(){(0,o.WZ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.enabled=t.enabled,this.listQuery.spec=t.spec,this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.enabled="",this.listQuery.spec="",this.listQuery.name="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.consumablesAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.consumablesAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.consumablesAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.consumablesAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},C=g,y=(0,c.Z)(C,i,n,!1,null,null,null),Z=y.exports},910:function(t,e,a){a.d(e,{$0:function(){return N},A0:function(){return k},D0:function(){return s},ER:function(){return Q},Kl:function(){return $},ME:function(){return c},Or:function(){return g},P4:function(){return l},Py:function(){return d},Qj:function(){return v},Sc:function(){return b},Sl:function(){return C},WZ:function(){return p},Wj:function(){return u},Zs:function(){return n},_:function(){return x},_1:function(){return y},ag:function(){return w},b8:function(){return h},dN:function(){return m},fZ:function(){return f},jF:function(){return r},oW:function(){return S},qT:function(){return Z},sU:function(){return o},tb:function(){return L},xf:function(){return E}});var i=a(8859);function n(t){return(0,i.Z)({url:"/basic/account/page",method:"post",data:t})}function r(t){return(0,i.Z)({url:"/basic/account/add",method:"post",data:t})}function s(t){return(0,i.Z)({url:"/basic/account/get",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function f(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function b(t){return(0,i.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function h(t){return(0,i.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,i.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function C(t){return(0,i.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,i.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function v(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function $(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function k(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function N(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function w(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function E(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function x(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function Q(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/7552.caf1693c.js b/dist/js/4350.0bda506f.js similarity index 92% rename from dist/js/7552.caf1693c.js rename to dist/js/4350.0bda506f.js index 8747048..36c1634 100644 --- a/dist/js/7552.caf1693c.js +++ b/dist/js/4350.0bda506f.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[7552],{7552:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"report-management"},[t("el-menu",{attrs:{"default-active":e.activeName,mode:"horizontal"},on:{select:e.handleSelect}},[t("el-menu-item",{attrs:{index:"reportList"}},[e._v("报表列表")]),t("el-menu-item",{attrs:{index:"reportDesign"}},[e._v("报表设计")]),t("el-menu-item",{attrs:{index:"reportClassification"}},[e._v("报表分类")])],1),t("section",[t("router-view")],1)],1)},r=[],i={name:"ReportManagement",data(){return{activeName:""}},mounted(){this.activeName=this.$route.name},methods:{handleSelect(e){this.$router.push({name:e})}},watch:{$route:{handler:function(e){this.activeName=e.name}}}},s=i,u=n(1001),l=(0,u.Z)(s,a,r,!1,null,null,null),m=l.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4350],{4350:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"report-management"},[t("el-menu",{attrs:{"default-active":e.activeName,mode:"horizontal"},on:{select:e.handleSelect}},[t("el-menu-item",{attrs:{index:"reportList"}},[e._v("报表列表")]),t("el-menu-item",{attrs:{index:"reportDesign"}},[e._v("报表设计")]),t("el-menu-item",{attrs:{index:"reportClassification"}},[e._v("报表分类")])],1),t("section",[t("router-view")],1)],1)},r=[],i={name:"ReportManagement",data(){return{activeName:""}},mounted(){this.activeName=this.$route.name},methods:{handleSelect(e){this.$router.push({name:e})}},watch:{$route:{handler:function(e){this.activeName=e.name}}}},s=i,u=n(1001),l=(0,u.Z)(s,a,r,!1,null,null,null),m=l.exports}}]); \ No newline at end of file diff --git a/dist/js/4922.6d343695.js b/dist/js/4922.6d343695.js new file mode 100644 index 0000000..72a2a1e --- /dev/null +++ b/dist/js/4922.6d343695.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4922],{4922:function(t,e,a){a.r(e),a.d(e,{default:function(){return H}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"plan-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:170,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisibleAdd,"before-close":t.handleCancelAdd},on:{cancel:t.handleCancelAdd,confirm:t.handleConfirmAdd}},[e("planned-maintenance-add",{ref:"plannedMaintenanceAdd",on:{successSubmit:t.successSubmitAdd}})],1),e("base-dialog",{attrs:{dialogTitle:t.sureAndEdit,dialogVisible:t.centervisibleSure,"before-close":t.handleCancelSure},on:{cancel:t.handleCancelSure,confirm:t.handleConfirmSure}},[e("planned-maintenance-edit",{ref:"plannedMaintenanceEdit",on:{successSubmit:t.successSubmitEdit}})],1)],1)},n=[],i=a(475),s=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1)],1)},o=[],l=a(910),u=a(147),d=a(381),m=a.n(d),c=a(5591),p={name:"SparePartsAdd",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",proLineId:"",equipmentId:"",sparePartName:"",sparePartModel:"",maintainContent:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}]},sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},mounted(){},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,u.yx)({id:t}).then((t=>{console.log(t),this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent}))):(this.form.planStartTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.planEndTime=m()().add(2,"days").format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isEdit=!1)},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{console.log(t),this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{console.log(t),this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(console.log(this.form),!t)return!1;this.isEdit?(0,u.fK)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.Im)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},f=p,h=a(1001),g=(0,h.Z)(f,s,o,!1,null,null,null),b=g.exports,y=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:99999999,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"执行人员",prop:"executeStaff"}},[e("el-input",{attrs:{placeholder:"执行人员"},model:{value:t.form.executeStaff,callback:function(e){t.$set(t.form,"executeStaff",e)},expression:"form.executeStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},S=[],M={name:"PlannedMaintenanceEdit",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",equipmentId:"",proLineId:"",sparePartName:"",sparePartModel:"",maintainContent:"",replaceNum:null,executeStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],executeStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsList:[],sparePartsSpecList:[],isSure:!1}},methods:{init(t){this.getNameList(),this.getTree(),this.form.id=t.id,"edit"===t.type?(this.isSure=!1,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent,this.form.replaceNum=t.data.replaceNum,this.form.executeStaff=t.data.executeStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.isSure=!0,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.executeStaff=t.data.executeStaff,this.form.replaceNum=t.data.replaceNum,this.form.maintainContent=t.data.maintainContent,this.form.complete=t.data.complete})),this.form.startTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=m()().format("yyyy-MM-DDTHH:mm:ss"))},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{this.sparePartsList=t.data}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;this.isSure?(0,u.KQ)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,u.A5)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.form.proLineId="",this.form.id="",this.sparePartsList=[],this.sparePartsSpecList=[]}}},T=M,P=(0,h.Z)(T,y,S,!1,null,null,null),q=P.exports,C=function(){var t=this,e=t._self._c;return e("div",[t.injectData.status?e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.injectData.status))]):t._e()],1)},Z=[],k={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:""}},mounted(){this.init()},methods:{init(){"未派工"===this.injectData.status?this.tagType="info":"未完成"===this.injectData.status?this.tagType="warning":"已超时"===this.injectData.status?this.tagType="danger":this.tagType="success"}},watch:{injectData(t,e){e.status!==t.status&&this.init()}}},N=k,L=(0,h.Z)(N,C,Z,!1,null,null,null),v=L.exports;const E=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"status",label:"状态",width:100,subcomponent:v},{prop:"remainTime",label:"剩余时间",minWidth:150},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,minWidth:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,minWidth:160},{prop:"proLineName",label:"产线",minWidth:150},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"sparePartName",label:"备件名称",width:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"maintainContent",label:"维护内容",minWidth:180},{prop:"executeStaff",label:"执行人员",minWidth:140},{prop:"startTime",label:"实际开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,minWidth:160},{prop:"complete",label:"完成情况",minWidth:140},{prop:"creatorName",label:"创建人员",minWidth:150},{prop:"createTime",label:"创建时间",filter:i.g6,minWidth:160}],w=[{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"未完成"}]}},{type:"dispatch",btnName:"派工",showParam:{type:"&",data:[{type:"equal",name:"status",value:"未派工"}]}},{type:"sure",btnName:"确认",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"已完成"}]}},{type:"delete",btnName:"删除"}];var $={name:"plannedMaintenance",components:{PlannedMaintenanceAdd:b,PlannedMaintenanceEdit:q},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).maintainStatusVoList,labelField:"dataName",valueField:"dataName",param:"status",defaultSelect:"",width:100},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:E,tableData:[],tableBtn:w,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisibleAdd:!1,sureAndEdit:"",centervisibleSure:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,c.SI)().then((t=>{this.formConfig[2].selectOptions=t.data}))},getList(){(0,u.UP)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){switch(console.log(t),t.type){case"edit":"未派工"===t.data.status||"已超时"===t.data.status?(this.addAndEdit="编辑",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init(t.data.id)}))):"已完成"===t.data.status&&(this.sureAndEdit="编辑",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"edit"};this.$refs.plannedMaintenanceEdit.init(e)})));break;case"dispatch":this.$confirm('确认派工"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.zG)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"派工成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{}));break;case"sure":this.sureAndEdit="确认",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"sure"};this.$refs.plannedMaintenanceEdit.init(e)}));break;default:this.$confirm('确认删除工单"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.pl)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.planStartTime=t.timeVal?t.timeVal[0]:"",this.listQuery.planEndTime=t.timeVal?t.timeVal[1]:"",this.listQuery.status=t.status,this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.planStartTime="",this.listQuery.planEndTime="",this.listQuery.status="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addAndEdit="新增",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init()}));break;default:(0,u.YG)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},handleCancelAdd(){this.$refs.plannedMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisibleAdd=!1},handleConfirmAdd(){this.$refs.plannedMaintenanceAdd.submitForm()},successSubmitAdd(){this.handleCancelAdd(),this.getList()},handleCancelSure(){this.$refs.plannedMaintenanceEdit.formClear(),this.sureAndEdit="",this.centervisibleSure=!1},handleConfirmSure(){this.$refs.plannedMaintenanceEdit.submitForm()},successSubmitEdit(){this.handleCancelSure(),this.getList()}}},x=$,A=(0,h.Z)(x,r,n,!1,null,"2348839c",null),H=A.exports},5591:function(t,e,a){a.d(e,{FH:function(){return o},Hp:function(){return l},JQ:function(){return s},SI:function(){return i},WQ:function(){return m},b6:function(){return u},iv:function(){return n},m:function(){return d}});var r=a(8859);function n(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function s(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const m="/api/common/attachment/uploadFileFormData"},910:function(t,e,a){a.d(e,{$0:function(){return Z},A0:function(){return C},D0:function(){return s},ER:function(){return E},Kl:function(){return q},ME:function(){return d},Or:function(){return b},P4:function(){return u},Py:function(){return m},Qj:function(){return T},Sc:function(){return h},Sl:function(){return y},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return v},_1:function(){return S},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},jF:function(){return i},oW:function(){return L},qT:function(){return M},sU:function(){return o},tb:function(){return P},xf:function(){return N}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}},147:function(t,e,a){a.d(e,{$7:function(){return $},$F:function(){return g},$N:function(){return L},$d:function(){return c},A5:function(){return q},Ah:function(){return s},Dr:function(){return f},HJ:function(){return u},Im:function(){return T},KK:function(){return E},KQ:function(){return Z},Ko:function(){return x},Ku:function(){return h},OP:function(){return l},OT:function(){return b},UP:function(){return S},Uw:function(){return A},YG:function(){return N},bO:function(){return m},co:function(){return y},fK:function(){return P},h:function(){return v},jL:function(){return w},lJ:function(){return p},lZ:function(){return o},pl:function(){return k},rd:function(){return d},uN:function(){return i},yx:function(){return M},zG:function(){return C},zh:function(){return n}});var r=a(8859);function n(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5096.4cb05e81.js b/dist/js/5096.4cb05e81.js deleted file mode 100644 index f97f653..0000000 --- a/dist/js/5096.4cb05e81.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5096],{5096:function(t,e,r){r.r(e),r.d(e,{default:function(){return y}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fullInspection"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},o=[],a=r(475),u=r(2334),l=r(381),i=r.n(l);const s=[{prop:"virtualcode",label:"玻璃ID"},{prop:"filetype",label:"全检类型"},{prop:"glassLength",label:"长/mm"},{prop:"glassWidth",label:"宽/mm"},{prop:"glassHeight",label:"厚/mm"},{prop:"grade",label:"产品质量"},{prop:"line",label:"产线"},{prop:"time",label:"检验时间",filter:a.g6,minWidth:160}],p=[{type:"detail",btnName:"详情"}];var c={name:"fullInspection",data(){return{formConfig:[{type:"input",label:"玻璃ID",placeholder:"玻璃ID",param:"glassId"},{type:"select",label:"全检类型",selectOptions:[{id:"精切后边检",name:"精切后边检"},{id:"终检边检",name:"终检边检"},{id:"面检",name:"面检"},{id:"复检",name:"复检"}],param:"grindType",defaultSelect:"",width:150},{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:s,tableData:[],tableH:(0,a.NC)(330),tableBtn:p,total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,a.NC)(330)})),this.formConfig[2].defaultSelect=[i()().format("yyyy-MM-DD")+"T00:00:00",i()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=i()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=i()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,u.ON)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&t.data&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.grindType=t.grindType,this.listQuery.glassId=t.glassId,this.listQuery.current=1,this.getList();break;default:(0,u.pw)({...this.listQuery}).then((t=>{console.log(t);let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([t.data]),o=new FileReader;o.readAsDataURL(n),o.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},handleClick(t){console.log(t),"detail"===t.type&&this.$router.push({path:"/qualityManagement/processFullInspection/fullInspectionDetail",query:{virtualcode:t.data.virtualcode,filetype:encodeURIComponent(t.data.filetype),time:t.data.time}})}}},d=c,m=r(1001),f=(0,m.Z)(d,n,o,!1,null,null,null),y=f.exports},2334:function(t,e,r){r.d(e,{AT:function(){return w},Af:function(){return l},F0:function(){return f},G$:function(){return q},Jt:function(){return g},ON:function(){return s},QI:function(){return u},Qd:function(){return y},YU:function(){return m},an:function(){return Q},bu:function(){return k},dy:function(){return T},eT:function(){return c},fL:function(){return F},gP:function(){return v},iF:function(){return p},jA:function(){return a},kT:function(){return R},nE:function(){return b},oR:function(){return P},pS:function(){return i},pw:function(){return d},qn:function(){return M},r5:function(){return h},uW:function(){return C},uX:function(){return D},uj:function(){return I},v:function(){return o},vD:function(){return Z}});var n=r(8859);function o(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function a(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function l(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function s(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function q(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function Z(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function C(t){return(0,n.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function k(t){return(0,n.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,n.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function F(t){return(0,n.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function R(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function M(t){return(0,n.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5096.efa7f846.js b/dist/js/5096.efa7f846.js new file mode 100644 index 0000000..63aaa98 --- /dev/null +++ b/dist/js/5096.efa7f846.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5096],{5096:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fullInspection"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1)},a=[],o=r(475),l=r(2334),i=r(381),u=r.n(i);const s=[{prop:"virtualcode",label:"玻璃ID"},{prop:"filetype",label:"全检类型"},{prop:"glassLength",label:"长/mm"},{prop:"glassWidth",label:"宽/mm"},{prop:"glassHeight",label:"厚/mm"},{prop:"grade",label:"产品质量"},{prop:"line",label:"产线"},{prop:"time",label:"检验时间",filter:o.g6,minWidth:160}],c=[{type:"detail",btnName:"详情"}];var d={name:"fullInspection",data(){return{formConfig:[{type:"input",label:"玻璃ID",placeholder:"玻璃ID",param:"glassId"},{type:"select",label:"全检类型",selectOptions:[{id:"精切后边检",name:"精切后边检"},{id:"终检边检",name:"终检边检"},{id:"面检",name:"面检"},{id:"复检",name:"复检"}],param:"grindType",defaultSelect:"",width:150},{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:s,tableData:[],tableH:(0,o.NC)(330),tableBtn:c,total:0,listQuery:{current:1,size:20}}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(330)})),this.formConfig[2].defaultSelect=[u()().format("yyyy-MM-DD")+"T00:00:00",u()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=u()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=u()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,l.ON)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&t.data&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.grindType=t.grindType,this.listQuery.glassId=t.glassId,this.listQuery.current=1,this.getList();break;default:(0,l.pw)({...this.listQuery}).then((t=>{console.log(t);let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const n=new Blob([t.data]),a=new FileReader;a.readAsDataURL(n),a.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},handleClick(t){console.log(t),"detail"===t.type&&this.$router.push({path:"/qualityManagement/processFullInspection/fullInspectionDetail",query:{virtualcode:t.data.virtualcode,filetype:encodeURIComponent(t.data.filetype),time:t.data.time}})}}},p=d,m=r(1001),y=(0,m.Z)(p,n,a,!1,null,null,null),f=y.exports},2334:function(t,e,r){r.d(e,{Af:function(){return i},F0:function(){return y},G$:function(){return q},Jt:function(){return g},ON:function(){return s},QI:function(){return l},Qd:function(){return f},YU:function(){return m},dy:function(){return C},eT:function(){return d},gP:function(){return I},iF:function(){return c},jA:function(){return o},kT:function(){return Z},nE:function(){return b},pS:function(){return u},pw:function(){return p},qn:function(){return P},r5:function(){return h},uX:function(){return D},v:function(){return a},vD:function(){return T}});var n=r(8859);function a(t){return(0,n.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,n.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,n.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function s(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,n.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function q(t){return(0,n.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,n.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function Z(t){return(0,n.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function I(t){return(0,n.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5159.3d955bfa.js b/dist/js/5159.85e1127d.js similarity index 70% rename from dist/js/5159.3d955bfa.js rename to dist/js/5159.85e1127d.js index f564b75..32fe9bf 100644 --- a/dist/js/5159.3d955bfa.js +++ b/dist/js/5159.85e1127d.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5159],{8795:function(t,e,a){a.d(e,{Z:function(){return u}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)])])},s=[],r={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e({})},cornerData:{type:Array,default:()=>[]}},data(){return{chartDom:"",chart:"",chartHeight:(0,r.NC)(446),list:[{label:"S",value:"S"},{label:"M",value:"M"},{label:"L",value:"L"},{label:"XL",value:"XL"},{label:"气泡",value:"BL"},{label:"变形",value:"Distortion"},{label:"纤维",value:"Fiber"},{label:"划伤",value:"Scratch"},{label:"结节",value:"Knot"},{label:"结石",value:"Stone"},{label:"铂金",value:"Pt"},{label:"拖尾",value:"Tail"},{label:"ADG",value:"Adg"},{label:"点状缺陷",value:"Tin"},{label:"锡缺陷(顶部)",value:"Top"},{label:"锡缺陷(底部)",value:"Bottom"},{label:"无法识别",value:"Iisrest"}],c1:"",c2:"",c3:"",c4:""}},mounted(){window.addEventListener("resize",(()=>{this.chartHeight=(0,r.NC)(446)}))},watch:{defectMsg:function(){this.getChart()},cornerData:function(){this.getCorner()}},methods:{getCorner(){if(this.cornerData.length>0)for(let t=0;t{this.tableH=(0,r.NC)(290)})),this.formConfig[0].defaultSelect=[v()().format("yyyy-MM-DD")+"T00:00:00",v()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=v()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=v()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,y.F0)({...this.listQuery}).then((t=>{console.log(t),this.tableData=t.data}))},drawPic(){return 0===this.selectedGlassId.length?(this.$message({message:"请先勾选左侧的玻璃",type:"error",duration:1500,onClose:()=>{}}),!1):0===this.checkList.length?(this.$message({message:"请先勾选缺陷",type:"error",duration:1500,onClose:()=>{}}),!1):(this.getDetail(),this.getCornerData(),void(0,y.Qd)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId,defectType:this.checkList}).then((t=>{0===t.code?this.defectList=t.data:this.defectList={},this.$refs.poltChart.getChart()})))},getDetail(){(0,y.r5)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{0===t.code&&(this.detailMsg=t.data[0]||{},this.$refs.plotTotal.init(this.detailMsg))}))},getCornerData(){(0,y.nE)({glassId:this.selectedGlassId}).then((t=>{this.cornerList=t.data}))},buttonClick(t){this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList()},selectChange(t){console.log(t);let e=[];if(t.length>0){for(let a=0;a{let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const l=new Blob([t.data]),s=new FileReader;s.readAsDataURL(l),s.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}})),(0,y.Jt)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId,defectType:this.checkList}).then((t=>{let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const l=new Blob([t.data]),s=new FileReader;s.readAsDataURL(l),s.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}}},D=C,k=(0,p.Z)(D,l,s,!1,null,"71b0f520",null),T=k.exports},2334:function(t,e,a){a.d(e,{AT:function(){return I},Af:function(){return n},F0:function(){return m},G$:function(){return g},Jt:function(){return v},ON:function(){return u},QI:function(){return i},Qd:function(){return f},YU:function(){return p},an:function(){return _},bu:function(){return S},dy:function(){return D},eT:function(){return d},fL:function(){return Z},gP:function(){return q},iF:function(){return c},jA:function(){return r},kT:function(){return P},nE:function(){return b},oR:function(){return L},pS:function(){return o},pw:function(){return h},qn:function(){return F},r5:function(){return y},uW:function(){return T},uX:function(){return k},uj:function(){return x},v:function(){return s},vD:function(){return C}});var l=a(8859);function s(t){return(0,l.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function r(t){return(0,l.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,l.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function n(t){return(0,l.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,l.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function h(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function f(t){return(0,l.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,l.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function v(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,l.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function D(t){return(0,l.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function k(t){return(0,l.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function T(t){return(0,l.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function x(t){return(0,l.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function L(t){return(0,l.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function S(t){return(0,l.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function _(t){return(0,l.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function I(t){return(0,l.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function Z(t){return(0,l.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function P(t){return(0,l.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function q(t){return(0,l.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function F(t){return(0,l.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5159],{8795:function(t,e,a){a.d(e,{Z:function(){return c}});var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bottom-box"},[e("div",{staticClass:"bottom-left"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("颗粒数据")]),t._l(t.leftList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)]),e("div",{staticClass:"bottom-right"},[e("ul",{staticClass:"dataTab"},[e("div",{staticClass:"title"},[t._v("面检数据")]),t._l(t.rightList,(function(a,l){return e("li",{key:l},[e("p",{staticClass:"tabHead"},[t._v(t._s(a.name))]),e("p",{staticClass:"tabValue"},[t._v(t._s(a.value))])])}))],2)])])},s=[],i={name:"DefectScatterPlot",data(){return{leftList:[{name:"S",value:null,key:"s"},{name:"M",value:null,key:"m"},{name:"L",value:null,key:"l"},{name:"XL",value:null,key:"xl"}],rightList:[{name:"气泡",value:null,key:"bl"},{name:"变形",value:null,key:"distortion"},{name:"纤维",value:null,key:"fiber"},{name:"划伤",value:null,key:"scratch"},{name:"点状缺陷",value:null,key:"tin"},{name:"结石",value:null,key:"stone"},{name:"铂金",value:null,key:"pt"},{name:"结节",value:null,key:"knot"},{name:"拖尾",value:null,key:"tail"},{name:"ADG",value:null,key:"adg"},{name:"锡缺陷(顶部)",value:null,key:"top"},{name:"锡缺陷(底部)",value:null,key:"bottom"},{name:"无法识别",value:null,key:"iisrest"}]}},methods:{init(t){console.log(t);for(let e=0;e({})},cornerData:{type:Array,default:()=>[]}},data(){return{chartDom:"",chart:"",chartHeight:(0,i.NC)(446),list:[{label:"S",value:"S"},{label:"M",value:"M"},{label:"L",value:"L"},{label:"XL",value:"XL"},{label:"气泡",value:"BL"},{label:"变形",value:"Distortion"},{label:"纤维",value:"Fiber"},{label:"划伤",value:"Scratch"},{label:"结节",value:"Knot"},{label:"结石",value:"Stone"},{label:"铂金",value:"Pt"},{label:"拖尾",value:"Tail"},{label:"ADG",value:"Adg"},{label:"点状缺陷",value:"Tin"},{label:"锡缺陷(顶部)",value:"Top"},{label:"锡缺陷(底部)",value:"Bottom"},{label:"无法识别",value:"Iisrest"}],c1:"",c2:"",c3:"",c4:""}},mounted(){window.addEventListener("resize",(()=>{this.chartHeight=(0,i.NC)(446)}))},watch:{defectMsg:function(){this.getChart()},cornerData:function(){this.getCorner()}},methods:{getCorner(){if(this.cornerData.length>0)for(let t=0;t{this.tableH=(0,i.NC)(290)})),this.formConfig[0].defaultSelect=[v()().format("yyyy-MM-DD")+"T00:00:00",v()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=v()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=v()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,y.F0)({...this.listQuery}).then((t=>{console.log(t),this.tableData=t.data}))},drawPic(){return 0===this.selectedGlassId.length?(this.$message({message:"请先勾选左侧的玻璃",type:"error",duration:1500,onClose:()=>{}}),!1):0===this.checkList.length?(this.$message({message:"请先勾选缺陷",type:"error",duration:1500,onClose:()=>{}}),!1):(this.getDetail(),this.getCornerData(),void(0,y.Qd)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId,defectType:this.checkList}).then((t=>{0===t.code?this.defectList=t.data:this.defectList={},this.$refs.poltChart.getChart()})))},getDetail(){(0,y.r5)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId}).then((t=>{0===t.code&&(this.detailMsg=t.data[0]||{},this.$refs.plotTotal.init(this.detailMsg))}))},getCornerData(){(0,y.nE)({glassId:this.selectedGlassId}).then((t=>{this.cornerList=t.data}))},buttonClick(t){this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList()},selectChange(t){console.log(t);let e=[];if(t.length>0){for(let a=0;a{let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const l=new Blob([t.data]),s=new FileReader;s.readAsDataURL(l),s.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}})),(0,y.Jt)({startTime:this.listQuery.startTime,endTime:this.listQuery.endTime,glassId:this.selectedGlassId,defectType:this.checkList}).then((t=>{let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const l=new Blob([t.data]),s=new FileReader;s.readAsDataURL(l),s.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}}},D=C,k=(0,p.Z)(D,l,s,!1,null,"71b0f520",null),T=k.exports},2334:function(t,e,a){a.d(e,{Af:function(){return n},F0:function(){return m},G$:function(){return g},Jt:function(){return v},ON:function(){return c},QI:function(){return r},Qd:function(){return f},YU:function(){return p},dy:function(){return D},eT:function(){return d},gP:function(){return x},iF:function(){return u},jA:function(){return i},kT:function(){return T},nE:function(){return b},pS:function(){return o},pw:function(){return h},qn:function(){return L},r5:function(){return y},uX:function(){return k},v:function(){return s},vD:function(){return C}});var l=a(8859);function s(t){return(0,l.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function i(t){return(0,l.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function r(t){return(0,l.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function n(t){return(0,l.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function o(t){return(0,l.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function c(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function u(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function h(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,l.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function f(t){return(0,l.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,l.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,l.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function v(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,l.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,l.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function D(t){return(0,l.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function k(t){return(0,l.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function T(t){return(0,l.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function x(t){return(0,l.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function L(t){return(0,l.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5271.8199e756.js b/dist/js/5271.8199e756.js new file mode 100644 index 0000000..8ef8417 --- /dev/null +++ b/dist/js/5271.8199e756.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5271],{5271:function(t,e,a){a.r(e),a.d(e,{default:function(){return N}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"finalInspectionData"},[e("el-row",{staticClass:"box-top"},[e("el-col",[e("div",{staticClass:"search-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}})],1)])],1),e("el-row",{staticClass:"box",attrs:{gutter:8}},[e("el-col",{attrs:{span:9}},[e("div",{staticClass:"left-box"},[e("span",{staticClass:"table-button",on:{click:t.generateReport}},[t._v("生成表格")]),e("base-table",{attrs:{selectWidth:40,"table-props":t.tablePropsL,"table-data":t.tableDataL,"max-height":t.tableHL},on:{"selection-change":t.selectChange}})],1)]),e("el-col",{attrs:{span:15}},[e("div",{staticClass:"right-box"},[t.reportTitle?e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.reportTitle))])]):t._e(),"玻璃基板缺陷统计"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-quality-report",{attrs:{tableData:t.glassQualityArr}})],1):t._e(),"厚度汇总报表"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-thick-report",{attrs:{tableData:t.thickReportArr}})],1):t._e(),"终检下片包装"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-pack-report",{attrs:{tableData1:t.packClaReportArr,tableData2:t.packReportArr}})],1):t._e()])])],1)],1)},l=[],i=a(475),o=a(6527),s=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},n=[];const p=[{prop:"time",label:"检测时间",filter:i.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var d={name:"glassQualityReport",data(){return{tableProps:p,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},u=d,h=a(1001),c=(0,h.Z)(u,s,n,!1,null,null,null),m=c.exports,b=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},g=[];const f=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:i.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var y={name:"glassThickReport",data(){return{tableProps:f,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},W=y,v=(0,h.Z)(W,b,g,!1,null,null,null),A=v.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1,"max-height":t.tableH}}),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1)},k=[];const R=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{prop:"surfaceAvg",label:"颗粒均值",minWidth:120},{prop:"surfaceMin",label:"最小值",minWidth:120},{prop:"surfaceMax",label:"最大值",minWidth:120},{prop:"savg",label:"S均值<1um",minWidth:120},{prop:"mavg",label:"M均值1-3um",minWidth:120},{prop:"lavg",label:"L均值3-5um",minWidth:120},{prop:"xlAvg",label:"XL均值5-10um",minWidth:120},{prop:"defectAvg",label:"缺陷均值",minWidth:120},{prop:"defectMin",label:"最小值",minWidth:120},{prop:"defectMax",label:"最大值",minWidth:120},{prop:"blAvg",label:"气泡均值",minWidth:120},{prop:"distortionAvg",label:"变形均值",minWidth:120},{prop:"fiberAvg",label:"纤维均值",minWidth:120},{prop:"iisrestAvg",label:"无法识别均值",minWidth:120},{prop:"knotAvg",label:"结节均值",minWidth:120},{prop:"ptAvg",label:"铂金欠点均值",minWidth:120},{prop:"scratchAvg",label:"划伤均值",minWidth:120},{prop:"stoneAvg",label:"结石均值",minWidth:120},{prop:"tailAvg",label:"拖尾均值",minWidth:120},{prop:"tinAvg",label:"点状缺陷均值",minWidth:120},{prop:"bottomAvg",label:"锡(锡面)均值",minWidth:120},{prop:"topAvg",label:"锡(空气面)均值",minWidth:120}],T=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"rackNum",label:"包装架号",minWidth:120},{prop:"testTime",label:"包装时间",filter:i.g6,minWidth:160},{prop:"num",label:"包装数量",minWidth:120},{prop:"particleSum",label:"颗粒Sum",minWidth:120},{prop:"s",label:"S<1um",minWidth:120},{prop:"m",label:"M1-3um",minWidth:120},{prop:"l",label:"L3-5um",minWidth:120},{prop:"xl",label:"XL5-10um",minWidth:120},{prop:"defectSum",label:"缺陷Sum",minWidth:120},{prop:"bl",label:"气泡",minWidth:120},{prop:"distortion",label:"变形",minWidth:120},{prop:"fiber",label:"纤维",minWidth:120},{prop:"iisrest",label:"无法识别",minWidth:120},{prop:"knot",label:"结节",minWidth:120},{prop:"pt",label:"铂金欠点",minWidth:120},{prop:"scratch",label:"划伤",minWidth:120},{prop:"stone",label:"结石",minWidth:120},{prop:"tail",label:"拖尾",minWidth:120},{prop:"tin",label:"点状缺陷",minWidth:120},{prop:"bottom",label:"锡(锡面)",minWidth:120},{prop:"top",label:"锡(空气面)",minWidth:120},{prop:"adg",label:"ADG",minWidth:120},{prop:"allSum",label:"合计",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120}];var D={name:"glassPackReport",data(){return{tableProps1:R,tableProps2:T,tableH:(0,i.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(292)}))},props:{tableData1:{type:Array,required:!0,default:()=>[]},tableData2:{type:Array,required:!0,default:()=>[]}}},x=D,w=(0,h.Z)(x,C,k,!1,null,null,null),L=w.exports,I=a(381),Z=a.n(I);const H=[{prop:"glassId",label:"ID",minWidth:100},{prop:"unloadTime",label:"检测时间",minWidth:120,filter:i.g6},{prop:"grindtype",label:"研磨类型",minWidth:80}];var M={name:"FinalInspectionData",components:{glassQualityReport:m,glassThickReport:A,glassPackReport:L},data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"玻璃架",selectOptions:[],param:"glassFrame",defaultSelect:"全部",width:150,clearable:!1},{type:"select",label:"报表类型",selectOptions:[{id:"玻璃基板缺陷统计",name:"玻璃基板缺陷统计"},{id:"终检下片包装",name:"终检下片包装"},{id:"厚度汇总报表",name:"厚度汇总报表"}],param:"fullInspectionType1",defaultSelect:"",onchange:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:H,tableDataL:[],tableHL:(0,i.NC)(300),reportTitle:"",listQuery:{startTime:"",endTime:"",glassFrame:"",current:1,size:500},selectArr:[],glassQualityArr:[],thickReportArr:[],packReportArr:[],packClaReportArr:[]}},mounted(){this.getOption(),window.addEventListener("resize",(()=>{this.tableHL=(0,i.NC)(300)})),this.formConfig[0].defaultSelect=[Z()().format("yyyy-MM-DD")+"T00:00:00",Z()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=Z()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=Z()().format("yyyy-MM-DD")+"T23:59:59",this.listQuery.glassFrame="全部",this.getList()},methods:{getList(){(0,o.uW)({...this.listQuery}).then((t=>{0===t.code?this.tableDataL=t.data:this.tableDataL=[]}))},getOption(){let t=JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,e=t.map((t=>({id:t.dataName,name:t.dataName})));e.push({id:"全部",name:"全部"},{id:"废片",name:"废片"}),this.formConfig[1].selectOptions=e,console.log(e)},buttonClick(t){let e=[];switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassFrame=t.glassFrame,this.getList();break;default:if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;console.log(this.selectArr);for(let t of this.selectArr)e.push(t.glassId);"玻璃基板缺陷统计"===this.reportTitle?this.exportGlassReport(e):"厚度汇总报表"===this.reportTitle&&this.exportThickReport(e)}},selectChanged(t){this.reportTitle=t.value,this.glassQualityArr=[],this.thickReportArr=[],this.packReportArr=[],this.packClaReportArr=[]},selectChange(t){this.selectArr=t},generateReport(){if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;let t=[];for(let e of this.selectArr)t.push(e.glassId);switch(this.reportTitle){case"玻璃基板缺陷统计":this.getGlassReport(t);break;case"厚度汇总报表":this.getThickReport(t);break;default:this.getGlassData(t)}},getGlassReport(t){(0,o.uj)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.glassQualityArr=t.data}))},exportGlassReport(t){(0,o.oR)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getThickReport(t){(0,o.bu)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.thickReportArr=t.data}))},exportThickReport(t){(0,o.an)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getGlassData(t){(0,o.AT)({glassId:t}).then((t=>{console.log(t),this.packReportArr=t.data})),(0,o.fL)({glassId:t}).then((t=>{console.log(t),this.packClaReportArr=t.data}))}}},_=M,S=(0,h.Z)(_,r,l,!1,null,"6bd3173e",null),N=S.exports},6527:function(t,e,a){a.d(e,{AT:function(){return W},Hg:function(){return h},J_:function(){return l},QL:function(){return n},W0:function(){return c},a:function(){return u},an:function(){return y},bu:function(){return f},fL:function(){return v},kB:function(){return i},m3:function(){return d},oR:function(){return g},sy:function(){return o},uW:function(){return m},uj:function(){return b},wy:function(){return s},yk:function(){return p}});var r=a(8859);function l(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function f(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function W(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5286.4812cac9.js b/dist/js/5286.4812cac9.js deleted file mode 100644 index e1d2ca3..0000000 --- a/dist/js/5286.4812cac9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5286],{5286:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH},on:{emitFun:t.categoryChange}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:180,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-name-edit",{ref:"reportNameEdit",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表名称",prop:"fileName"}},[e("el-input",{model:{value:t.form.fileName,callback:function(e){t.$set(t.form,"fileName",e)},expression:"form.fileName"}})],1)],1)},o=[],u=r(910),s={name:"ReportNameEdit",data(){return{form:{id:"",fileName:""},rules:{fileName:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t&&(this.form.id=t,(0,u.QL)({id:t}).then((t=>{0===t.code&&(this.form.fileName=t.data.fileName)})))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,u.sy)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")}))},formClear(){this.$refs.form.resetFields()}}},c=s,l=r(1001),d=(0,l.Z)(c,i,o,!1,null,null,null),f=d.exports,m=r(475),p=function(){var t=this,e=t._self._c;return e("div",[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},on:{change:t.changeCategory},model:{value:t.categoryId,callback:function(e){t.categoryId=e},expression:"categoryId"}},t._l(t.list,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)},h=[],g={name:"categorySelect",props:{injectData:{type:Object,default:()=>({})}},data(){return{categoryId:"",list:JSON.parse(localStorage.getItem("reportCategory"))}},mounted(){this.init()},methods:{init(){this.categoryId=this.injectData.category},changeCategory(){this.$emit("emitData",{categoryId:this.categoryId,injectData:this.injectData})}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},b=g,y=(0,l.Z)(b,p,h,!1,null,null,null),C=y.exports;const Z=[{prop:"fileName",label:"报表名称"},{prop:"category",label:"报表分类",subcomponent:C},{prop:"createTime",label:"添加时间",filter:m.g6}],N=[{type:"view",btnName:"预览"},{type:"design",btnName:"设计"},{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var L={name:"ReportListDetail",components:{ReportNameEdit:f},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表名称",param:"name",width:200},{type:"select",label:"报表分类",selectOptions:[],param:"category",labelField:"name",valueField:"id",defaultSelect:"",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:Z,tableData:[],tableBtn:N,tableH:(0,m.NC)(330),total:0,listQuery:{current:1,size:20,name:"",category:""},typeList:[],centervisible:!1,addOrEditTitle:""}},created(){this.getCategorylist()},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.formConfig[1].defaultSelect=this.$route.params.categoryId||"",this.listQuery.category=this.$route.params.categoryId||""},methods:{getList(){(0,u.kB)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},getCategorylist(){(0,u.J_)({}).then((t=>{0===t.code&&t.data.length>0?(localStorage.setItem("reportCategory",JSON.stringify(t.data)),this.formConfig[1].selectOptions=t.data):localStorage.setItem("reportCategory",""),this.getList()}))},handleClick(t){switch(t.type){case"view":this.$router.push({name:"reportView",params:{name:t.data.name}});break;case"design":this.$router.push({name:"reportDesign",params:{name:t.data.name}});break;case"edit":this.addOrEditTitle="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportNameEdit.init(t.data.id)}));break;default:this.$confirm('确认删除报表"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.wy)({id:t.data.id}).then((()=>{this.$message({message:"报表删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.category=t.category,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/basicConfig/reportManagement/reportDesign"})}},handleCancel(){this.$refs.reportNameEdit.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportNameEdit.submitForm()},successSubmit(){this.handleCancel(),this.getList()},categoryChange(t){(0,u.sy)({fileName:t.injectData.fileName,id:t.injectData.id,category:t.categoryId}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.getList())}))}}},$=L,k=(0,l.Z)($,a,n,!1,null,null,null),v=k.exports},910:function(t,e,r){r.d(e,{$0:function(){return v},A0:function(){return k},D0:function(){return o},ER:function(){return E},Hg:function(){return F},J_:function(){return _},Kl:function(){return $},ME:function(){return l},Or:function(){return b},P4:function(){return c},Py:function(){return d},QL:function(){return O},Qj:function(){return N},Sc:function(){return h},Sl:function(){return y},W0:function(){return T},WZ:function(){return p},Wj:function(){return s},Zs:function(){return n},_:function(){return Q},_1:function(){return C},a:function(){return x},ag:function(){return w},b8:function(){return g},dN:function(){return f},fZ:function(){return m},jF:function(){return i},kB:function(){return I},m3:function(){return q},oW:function(){return D},qT:function(){return Z},sU:function(){return u},sy:function(){return j},tb:function(){return L},wy:function(){return B},xf:function(){return S},yk:function(){return P}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5304.57fa63b2.js b/dist/js/5304.a9d72581.js similarity index 67% rename from dist/js/5304.57fa63b2.js rename to dist/js/5304.a9d72581.js index 3616a61..6211401 100644 --- a/dist/js/5304.57fa63b2.js +++ b/dist/js/5304.a9d72581.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5304],{8027:function(t,e,r){r.d(e,{Z:function(){return u}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],o={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},n=o,s=r(1001),l=(0,s.Z)(n,a,i,!1,null,null,null),u=l.exports},5304:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"main-box",attrs:{gutter:10}},[e("el-col",{attrs:{span:4}},[e("div",{staticClass:"left-box"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id",props:t.defaultProps,"default-expand-all":"",draggable:"","allow-drop":t.allowDrop,"allow-drag":t.allowDrag,"highlight-current":!0},on:{"node-drag-end":t.handleDragEnd,"node-click":t.clickDevice}})],1)]),e("el-col",{attrs:{span:20}},[e("div",{staticClass:"right-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("device-add",{ref:"deviceAdd",on:{successSubmit:t.successSubmit}})],1)],1)],1)],1)},i=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",staticClass:"device-add",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},on:{change:t.getUnitModule},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单元",prop:"unitId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"单元"},on:{change:t.getEqCode},model:{value:t.form.unitId,callback:function(e){t.$set(t.form,"unitId",e)},expression:"form.unitId"}},t._l(t.unitModuleList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"设备名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"设备规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备编码",prop:"code"}},[e("el-input",{attrs:{placeholder:"设备编码",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"基础寿命",prop:"baseLife"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"基础寿命",min:0,max:999999999,precision:2},model:{value:t.form.baseLife,callback:function(e){t.$set(t.form,"baseLife",e)},expression:"form.baseLife"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"购买价格/万元",prop:"price"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"购买价格/万元",min:0,max:999999999,precision:2},model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"采购日期",prop:"purchaseDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"采购日期"},model:{value:t.form.purchaseDate,callback:function(e){t.$set(t.form,"purchaseDate",e)},expression:"form.purchaseDate"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"生产日期",prop:"productDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"生产日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:t.form.productDate,callback:function(e){t.$set(t.form,"productDate",e)},expression:"form.productDate"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备图片",prop:"imgId"}},[t.deviceImg?e("div",{staticClass:"img-box",staticStyle:{position:"relative"}},[e("el-image",{staticClass:"avatar",attrs:{src:t.deviceImg,"preview-src-list":t.srcList}}),e("i",{staticClass:"el-icon-circle-close avatar-close-icon",on:{click:function(e){return t.clearImg()}}})],1):e("el-upload",{staticClass:"device-uploader",attrs:{data:t.dataObj,name:"files",action:t.uploadApi,"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload,headers:{token:t.token}}},[e("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1)],1)],1)},n=[],s=r(910),l=r(5591),u=r(1836),d=r(381),c=r.n(d),p={name:"ConsumablesAdd",data(){return{form:{id:"",proLineId:"",unitId:"",name:"",spec:"",code:"",baseLife:"",price:"",imgId:"",supplier:"",purchaseDate:c()().format("YYYY-MM-DD"),productDate:c()().format("YYYY-MM-DD"),remark:"",enabled:1},deviceImg:"",srcList:[],rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],unitId:[{required:!0,message:"请选择单元",trigger:"change"}],name:[{required:!0,message:"请输入设备名称",trigger:"blur"}],spec:[{required:!0,message:"请输入设备规格",trigger:"blur"}],code:[{required:!0,message:"请输入设备编码",trigger:"blur"}]},isEdit:!1,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,unitModuleList:[],uploadApi:l.WQ,token:(0,u.LP)(),dataObj:{typeCode:"equipmentImage"}}},methods:{init(t){t?(this.form.id=t,this.isEdit=!0,(0,s.xf)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,(0,s._)(this.form.proLineId).then((t=>{this.unitModuleList=t.data||[]})),this.form.unitId=t.data.unitId,this.form.name=t.data.name,this.form.spec=t.data.spec,this.form.code=t.data.code,this.form.baseLife=t.data.baseLife,this.form.price=t.data.price,this.form.imgId=t.data.imgId,t.data.imgId&&(this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data.imgId,this.srcList=[this.deviceImg]),this.form.supplier=t.data.supplier,this.form.purchaseDate=t.data.purchaseDate?t.data.purchaseDate:"",this.form.productDate=t.data.productDate?t.data.productDate:"",this.form.remark=t.data.remark,this.form.enabled=t.data.enabled)}))):(this.form.id="",this.isEdit=!1)},getUnitModule(t){(0,s._)(t).then((t=>{this.unitModuleList=t.data||[],this.form.unitId="",this.form.code=""}))},getEqCode(){if(this.form.proLineId&&this.form.unitId){let t="";this.unitModuleList&&this.unitModuleList.map((e=>{e.id===this.form.unitId&&(t=e.sequence)})),(0,s.ER)({proLineId:this.form.proLineId,sequence:t}).then((t=>{this.form.code=t.data}))}},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.oW)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.deviceImg="",this.srcList=[],this.unitModuleList=[]},handleAvatarSuccess(t){this.form.imgId=t.data[0].id,this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data[0].id,this.srcList=[this.deviceImg]},clearImg(){this.deviceImg="",this.srcList=[],this.form.imgId=""},beforeAvatarUpload(t){const e="image/jpeg"===t.type,r=t.size/1024/1024<2;return e||this.$message.error("上传头像图片只能是 JPG / PNG格式!"),r||this.$message.error("上传头像图片大小不能超过 2MB!"),e&&r}}},m=p,f=r(1001),h=(0,f.Z)(m,o,n,!1,null,"0a02c89e",null),b=h.exports,g=r(475),y=r(8027);const v=[{prop:"proLineId",label:"产线",filter:(0,g.fW)("proLineVoList"),width:100},{prop:"unitName",label:"单元",width:150},{prop:"name",label:"设备名称",width:150},{prop:"spec",label:"设备规格",width:150},{prop:"code",label:"设备编码",width:150},{prop:"status",label:"设备状态",width:120,subcomponent:y.Z},{prop:"baseLife",label:"基础寿命",width:100},{prop:"price",label:"购买价格/万元",width:140},{prop:"supplier",label:"供应商",width:150},{prop:"purchaseDate",label:"采购日期",minWidth:120},{prop:"productDate",label:"生产日期",minWidth:120},{prop:"creatorName",label:"登记人",width:120},{prop:"createTime",label:"登记时间",filter:g.g6,minWidth:160},{prop:"remark",label:"备注",width:150}],L=[{type:"edit",btnName:"编辑"}];var C={name:"DeviceConfig",components:{DeviceAdd:b},data(){return{treeData:[],defaultProps:{children:"children",label:"name"},formConfig:[{type:"input",label:"设备规格",placeholder:"设备规格",param:"spec"},{type:"input",label:"设备编码",placeholder:"设备编码",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:v,tableData:[],tableBtn:L,tableH:(0,g.NC)(275),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,g.NC)(275)})),this.getTree(),this.getList()},methods:{getTree(){(0,l.SI)().then((t=>{this.treeData=t.data}))},getList(){(0,s.$0)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleDragEnd(t){let e=t.data.parent,r=[];for(let a=0;a{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{}}),this.getTree()}))},allowDrop(t,e,r){return t.data.parent===e.data.parent&&3===e.level&&"inner"!==r},allowDrag(t){return t.data.isAllowDrag},clickDevice(t){t.children||(this.$refs.searchBarForm.resetForm(),this.listQuery.spec="",this.listQuery.code="",this.listQuery.id=t.id,this.listQuery.current=1,this.getList())},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.spec=t.spec,this.listQuery.code=t.code,this.listQuery.id="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.deviceAdd.init()}))}},handleClick(t){"edit"===t.type&&(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.deviceAdd.init(t.data.id)})),this.centervisible=!0)},handleCancel(){this.$refs.deviceAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.deviceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList(),this.getTree()}}},w=C,D=(0,f.Z)(w,a,i,!1,null,"50aec75c",null),Z=D.exports},5591:function(t,e,r){r.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return n},SI:function(){return o},WQ:function(){return c},b6:function(){return u},iv:function(){return i},m:function(){return d}});var a=r(8859);function i(){return(0,a.Z)({url:"/common/getList",method:"post"})}function o(){return(0,a.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,a.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/common/getMaterialData",method:"post",data:t})}const c="/api/common/attachment/uploadFileFormData"},910:function(t,e,r){r.d(e,{$0:function(){return I},A0:function(){return Z},D0:function(){return n},ER:function(){return M},Hg:function(){return F},J_:function(){return Q},Kl:function(){return D},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return N},Qj:function(){return C},Sc:function(){return h},Sl:function(){return y},W0:function(){return O},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return S},_1:function(){return v},a:function(){return P},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},jF:function(){return o},kB:function(){return E},m3:function(){return A},oW:function(){return x},qT:function(){return L},sU:function(){return s},sy:function(){return T},tb:function(){return w},wy:function(){return q},xf:function(){return $},yk:function(){return _}});var a=r(8859);function i(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function M(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5304],{8027:function(t,e,a){a.d(e,{Z:function(){return u}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},i=[],o={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},n=o,s=a(1001),l=(0,s.Z)(n,r,i,!1,null,null,null),u=l.exports},5304:function(t,e,a){a.r(e),a.d(e,{default:function(){return I}});var r=function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"main-box",attrs:{gutter:10}},[e("el-col",{attrs:{span:4}},[e("div",{staticClass:"left-box"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id",props:t.defaultProps,"default-expand-all":"",draggable:"","allow-drop":t.allowDrop,"allow-drag":t.allowDrag,"highlight-current":!0},on:{"node-drag-end":t.handleDragEnd,"node-click":t.clickDevice}})],1)]),e("el-col",{attrs:{span:20}},[e("div",{staticClass:"right-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}})],1),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("device-add",{ref:"deviceAdd",on:{successSubmit:t.successSubmit}})],1)],1)],1)],1)},i=[],o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",staticClass:"device-add",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},on:{change:t.getUnitModule},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单元",prop:"unitId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"单元"},on:{change:t.getEqCode},model:{value:t.form.unitId,callback:function(e){t.$set(t.form,"unitId",e)},expression:"form.unitId"}},t._l(t.unitModuleList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"设备名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备规格",prop:"spec"}},[e("el-input",{attrs:{placeholder:"设备规格"},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备编码",prop:"code"}},[e("el-input",{attrs:{placeholder:"设备编码",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"基础寿命",prop:"baseLife"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"基础寿命",min:0,max:999999999,precision:2},model:{value:t.form.baseLife,callback:function(e){t.$set(t.form,"baseLife",e)},expression:"form.baseLife"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"购买价格/万元",prop:"price"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"购买价格/万元",min:0,max:999999999,precision:2},model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"采购日期",prop:"purchaseDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",placeholder:"采购日期"},model:{value:t.form.purchaseDate,callback:function(e){t.$set(t.form,"purchaseDate",e)},expression:"form.purchaseDate"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"生产日期",prop:"productDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"生产日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:t.form.productDate,callback:function(e){t.$set(t.form,"productDate",e)},expression:"form.productDate"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备图片",prop:"imgId"}},[t.deviceImg?e("div",{staticClass:"img-box",staticStyle:{position:"relative"}},[e("el-image",{staticClass:"avatar",attrs:{src:t.deviceImg,"preview-src-list":t.srcList}}),e("i",{staticClass:"el-icon-circle-close avatar-close-icon",on:{click:function(e){return t.clearImg()}}})],1):e("el-upload",{staticClass:"device-uploader",attrs:{data:t.dataObj,name:"files",action:t.uploadApi,"show-file-list":!1,"on-success":t.handleAvatarSuccess,"before-upload":t.beforeAvatarUpload,headers:{token:t.token}}},[e("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1)],1)],1)},n=[],s=a(910),l=a(5591),u=a(1836),d=a(381),c=a.n(d),p={name:"ConsumablesAdd",data(){return{form:{id:"",proLineId:"",unitId:"",name:"",spec:"",code:"",baseLife:"",price:"",imgId:"",supplier:"",purchaseDate:c()().format("YYYY-MM-DD"),productDate:c()().format("YYYY-MM-DD"),remark:"",enabled:1},deviceImg:"",srcList:[],rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],unitId:[{required:!0,message:"请选择单元",trigger:"change"}],name:[{required:!0,message:"请输入设备名称",trigger:"blur"}],spec:[{required:!0,message:"请输入设备规格",trigger:"blur"}],code:[{required:!0,message:"请输入设备编码",trigger:"blur"}]},isEdit:!1,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,unitModuleList:[],uploadApi:l.WQ,token:(0,u.LP)(),dataObj:{typeCode:"equipmentImage"}}},methods:{init(t){t?(this.form.id=t,this.isEdit=!0,(0,s.xf)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,(0,s._)(this.form.proLineId).then((t=>{this.unitModuleList=t.data||[]})),this.form.unitId=t.data.unitId,this.form.name=t.data.name,this.form.spec=t.data.spec,this.form.code=t.data.code,this.form.baseLife=t.data.baseLife,this.form.price=t.data.price,this.form.imgId=t.data.imgId,t.data.imgId&&(this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data.imgId,this.srcList=[this.deviceImg]),this.form.supplier=t.data.supplier,this.form.purchaseDate=t.data.purchaseDate?t.data.purchaseDate:"",this.form.productDate=t.data.productDate?t.data.productDate:"",this.form.remark=t.data.remark,this.form.enabled=t.data.enabled)}))):(this.form.id="",this.isEdit=!1)},getUnitModule(t){(0,s._)(t).then((t=>{this.unitModuleList=t.data||[],this.form.unitId="",this.form.code=""}))},getEqCode(){if(this.form.proLineId&&this.form.unitId){let t="";this.unitModuleList&&this.unitModuleList.map((e=>{e.id===this.form.unitId&&(t=e.sequence)})),(0,s.ER)({proLineId:this.form.proLineId,sequence:t}).then((t=>{this.form.code=t.data}))}},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.oW)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.deviceImg="",this.srcList=[],this.unitModuleList=[]},handleAvatarSuccess(t){this.form.imgId=t.data[0].id,this.deviceImg="http://tft.mes.picaiba.com/api/common/attachment/downloadFile?type=0&attachmentId="+t.data[0].id,this.srcList=[this.deviceImg]},clearImg(){this.deviceImg="",this.srcList=[],this.form.imgId=""},beforeAvatarUpload(t){const e="image/jpeg"===t.type,a=t.size/1024/1024<2;return e||this.$message.error("上传头像图片只能是 JPG / PNG格式!"),a||this.$message.error("上传头像图片大小不能超过 2MB!"),e&&a}}},m=p,f=a(1001),h=(0,f.Z)(m,o,n,!1,null,"0a02c89e",null),b=h.exports,g=a(475),y=a(8027);const v=[{prop:"proLineId",label:"产线",filter:(0,g.fW)("proLineVoList"),width:100},{prop:"unitName",label:"单元",width:150},{prop:"name",label:"设备名称",width:150},{prop:"spec",label:"设备规格",width:150},{prop:"code",label:"设备编码",width:150},{prop:"status",label:"设备状态",width:120,subcomponent:y.Z},{prop:"baseLife",label:"基础寿命",width:100},{prop:"price",label:"购买价格/万元",width:140},{prop:"supplier",label:"供应商",width:150},{prop:"purchaseDate",label:"采购日期",minWidth:120},{prop:"productDate",label:"生产日期",minWidth:120},{prop:"creatorName",label:"登记人",width:120},{prop:"createTime",label:"登记时间",filter:g.g6,minWidth:160},{prop:"remark",label:"备注",width:150}],L=[{type:"edit",btnName:"编辑"}];var C={name:"DeviceConfig",components:{DeviceAdd:b},data(){return{treeData:[],defaultProps:{children:"children",label:"name"},formConfig:[{type:"input",label:"设备规格",placeholder:"设备规格",param:"spec"},{type:"input",label:"设备编码",placeholder:"设备编码",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:v,tableData:[],tableBtn:L,tableH:(0,g.NC)(275),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,g.NC)(275)})),this.getTree(),this.getList()},methods:{getTree(){(0,l.SI)().then((t=>{this.treeData=t.data}))},getList(){(0,s.$0)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleDragEnd(t){let e=t.data.parent,a=[];for(let r=0;r{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{}}),this.getTree()}))},allowDrop(t,e,a){return t.data.parent===e.data.parent&&3===e.level&&"inner"!==a},allowDrag(t){return t.data.isAllowDrag},clickDevice(t){t.children||(this.$refs.searchBarForm.resetForm(),this.listQuery.spec="",this.listQuery.code="",this.listQuery.id=t.id,this.listQuery.current=1,this.getList())},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.spec=t.spec,this.listQuery.code=t.code,this.listQuery.id="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.deviceAdd.init()}))}},handleClick(t){"edit"===t.type&&(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.deviceAdd.init(t.data.id)})),this.centervisible=!0)},handleCancel(){this.$refs.deviceAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.deviceAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList(),this.getTree()}}},w=C,D=(0,f.Z)(w,r,i,!1,null,"50aec75c",null),I=D.exports},5591:function(t,e,a){a.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return n},SI:function(){return o},WQ:function(){return c},b6:function(){return u},iv:function(){return i},m:function(){return d}});var r=a(8859);function i(){return(0,r.Z)({url:"/common/getList",method:"post"})}function o(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const c="/api/common/attachment/uploadFileFormData"},910:function(t,e,a){a.d(e,{$0:function(){return k},A0:function(){return I},D0:function(){return n},ER:function(){return M},Kl:function(){return D},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},Qj:function(){return C},Sc:function(){return h},Sl:function(){return y},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return S},_1:function(){return v},ag:function(){return Z},b8:function(){return b},dN:function(){return p},fZ:function(){return m},jF:function(){return o},oW:function(){return x},qT:function(){return L},sU:function(){return s},tb:function(){return w},xf:function(){return $}});var r=a(8859);function i(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function M(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5640.c5ff6e0f.js b/dist/js/5640.a9590889.js similarity index 80% rename from dist/js/5640.c5ff6e0f.js rename to dist/js/5640.a9590889.js index ad8ba0e..9992b24 100644 --- a/dist/js/5640.c5ff6e0f.js +++ b/dist/js/5640.a9590889.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5640],{5640:function(t,e,a){a.r(e),a.d(e,{default:function(){return O}});var i=function(){var t=this,e=t._self._c;return e("div",{ref:"container",staticClass:"main-box",style:{padding:"0 "+8*t.beilv+"px "},attrs:{id:"container"}},[e("el-row",{staticClass:"top-box",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"top-left"},[e("div",{staticClass:"top-title",style:{padding:16*t.beilv+"px "+18*t.beilv+"px "+20*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:22*t.beilv+"px",marginRight:8*t.beilv+"px"},attrs:{"icon-class":"home_title1"}}),e("span",{staticClass:"titleStyle",style:{fontSize:16*t.beilv+"px"}},[t._v("生产进度")])],1),e("ul",{staticClass:"line-order-msg"},[e("li",{style:{width:"40%",paddingLeft:24*t.beilv+"px"}},[e("div",{style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title",style:{margin:"0 "+5*t.beilv+"px "+40*t.beilv+"px 0"}},[t._v("产线名称")]),e("el-select",{style:{width:150*t.beilv+"px"},attrs:{placeholder:"请选择名称",size:"small"},on:{change:t.changeLine},model:{value:t.lineName,callback:function(e){t.lineName=e},expression:"lineName"}},t._l(t.nameList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1),e("div",{staticClass:"num-box",style:{paddingRight:32*t.beilv+"px"}},[e("div",{staticClass:"plan_num",style:{padding:16*t.beilv+"px 0 "+16*t.beilv+"px "+32*t.beilv+"px",marginBottom:16*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:32*t.beilv+"px",marginBottom:6*t.beilv+"px"},attrs:{"icon-class":"home_plan"}}),e("p",{staticClass:"num",style:{fontSize:24*t.beilv+"px",marginBottom:8*t.beilv+"px"}},[t._v(" "+t._s(t.productMsg.planNum)+" ")]),e("p",{staticClass:"words",style:{fontSize:14*t.beilv+"px"}},[t._v(" 计划数量 ")])],1),e("div",{staticClass:"product_num",style:{padding:16*t.beilv+"px 0 "+16*t.beilv+"px "+32*t.beilv+"px",marginBottom:16*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:32*t.beilv+"px",marginBottom:8*t.beilv+"px"},attrs:{"icon-class":"home_product"}}),e("p",{staticClass:"num",style:{fontSize:24*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(" "+t._s(t.productMsg.finishNum)+" ")]),e("p",{staticClass:"words",style:{fontSize:14*t.beilv+"px"}},[t._v(" 生产数量 ")])],1)])]),e("li",{style:{width:"60%",paddingLeft:24*t.beilv+"px"}},[e("div",{style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title",style:{margin:"0 "+20*t.beilv+"px "+32*t.beilv+"px 0"}},[t._v("生产信息")]),e("span",[t._v("工单号: "+t._s(t.productMsg.code))]),e("ring-chart",{attrs:{chartMsg:t.productMsg,beilv:t.beilv}})],1)])])])]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"top-right"},[e("progress-details",{attrs:{detailMsg:t.detailMsg,beilv:t.beilv}})],1)])],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticClass:"bottom-box"},[e("progress-statistics",{attrs:{lineName:t.lineName,beilv:t.beilv}})],1)])],1)],1)},s=[],l=function(){var t=this,e=t._self._c;return e("div",{style:{paddingLeft:50*t.beilv+"px"}},[e("div",{style:{height:280*t.beilv+"px",width:280*t.beilv+"px"},attrs:{id:"productRing"}})])},n=[],o=a(7171),r=a(5468),p={mixins:[r.Z],name:"RingChart",props:{chartMsg:{type:Object,default:()=>({chart:""})},beilv:{type:Number,default:1}},mounted(){this.$nextTick((()=>{this.initChart()}))},watch:{chartMsg:function(){this.initChart()}},beforeDestroy(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart(){null!==this.chart&&""!==this.chart&&void 0!==this.chart&&this.chart.dispose();var t=document.getElementById("productRing");this.chart=o.S1(t),console.log(this.chartMsg);var e=this.chartMsg.finishNum,a=this.chartMsg.okNum,i=this.chartMsg.wasteNum,s=this.chartMsg.reprocessNum,l=this.chartMsg.tuneNum,n={color:["#288aff","#7a34fd","#ffb750","#95f3b1"],tooltip:{trigger:"item"},legend:{icon:"circle",bottom:"0%",left:"center",itemWidth:8,itemHeight:8},series:[{type:"pie",zlevel:1,radius:["55%","58%"],center:["50%","40%"],label:{show:!1},itemStyle:{shadowBlur:10,shadowColor:"rgba(209, 204, 214, 0.64)",color:"#fff"},tooltip:{show:!1},emphasis:{scale:!1},data:[100]},{type:"pie",radius:["70%","71%"],center:["50%","40%"],zlevel:1,label:{show:!1},itemStyle:{shadowBlur:10,shadowColor:"rgba(0,0,0,.5)",color:"#fff"},tooltip:{show:!1},emphasis:{scale:!1},data:[100]},{name:"Access From",zlevel:2,type:"pie",radius:["58%","70%"],center:["50%","40%"],clockwise:!0,avoidLabelOverlap:!1,emphasis:{scale:!1},silent:!0,label:{show:!0,position:"center",color:"#9A9EBA",formatter:["{a|"+e+"}","{b|总生产数量}"].join("\n\n"),rich:{a:{color:"#262626",fontSize:24},b:{color:"#979797",fontSize:12}}},labelLine:{show:!1},data:[{value:a,name:"良品数量 "+a,itemStyle:{color:"#288aff"}},{value:i,name:"废品数量 "+i,itemStyle:{color:"#7a34fd"}},{value:s,name:"待再加工 "+s,itemStyle:{color:"#ffb750"}},{value:l,name:"调机数量 "+l,itemStyle:{color:"#95f3b1"}}]}]};this.chart.setOption(n,!0)}}},d=p,u=a(1001),c=(0,u.Z)(d,l,n,!1,null,null,null),m=c.exports,b=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"detail-box",style:{paddingTop:16*t.beilv+"px"}},[e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box border-right",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.code))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单编号")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.planNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划数量")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.type))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单类型")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.productSpec))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("产品型号")])])])]),e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box border-right",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.status))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单状态")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.finishNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("完成数量")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.planStartTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划开始时间")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.planEndTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划结束时间")])])])]),e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.process))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单进度")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.yieldNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单良率")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.sumProcessTime?t.detailMsg.sumProcessTime:"-"))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("累计加工时长")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.startTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("实际开始时间")])])])])],1)},v=[],h=a(475),f={name:"ProgressDetails",data(){return{list:JSON.parse(localStorage.getItem("publicList"))}},props:{detailMsg:{type:Object,default:()=>{}},beilv:{type:Number,default:1}},computed:{type(){let t="";return this.list.orderTypeVoList.map((e=>{e.dataCode===this.detailMsg.type&&(t=e.dataName)})),t},status(){let t="";return this.list.orderStatusVoList.map((e=>{e.dataCode===this.detailMsg.type&&(t=e.dataName)})),t},planStartTime(){return(0,h.g6)(this.detailMsg.planStartTime)},planEndTime(){return(0,h.g6)(this.detailMsg.planEndTime)},process(){return 100*this.detailMsg.process+"%"},yieldNum(){return 100*this.detailMsg.yield+"%"},startTime(){return(0,h.g6)(this.detailMsg.startTime)}}},g=f,x=(0,u.Z)(g,b,v,!1,null,"c54b9290",null),y=x.exports,C=function(){var t=this,e=t._self._c;return e("div",{staticClass:"statistics",style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title"},[t._v(t._s(t.line)+"在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1}}),e("span",{staticClass:"title"},[t._v("面磨单元在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2}}),e("span",{staticClass:"title"},[t._v("终检单元在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps3,"table-data":t.tableData3}})],1)},S=[];const _=[{prop:"name1",label:"精切单元",minWidth:100},{prop:"name2",label:"磨边单元",minWidth:100},{prop:"name3",label:"磨边后传送带",minWidth:120},{prop:"name4",label:"磨边后清洗单元",minWidth:120},{prop:"name5",label:"磨边清洗后传送带",minWidth:140},{prop:"name6",label:"再研磨上片单元",minWidth:120},{prop:"name7",label:"面磨单元",minWidth:100},{prop:"name8",label:"面磨后传送带",minWidth:120},{prop:"name9",label:"面磨后清洗单元",minWidth:120},{prop:"name10",label:"面磨后清洗传送带",minWidth:140},{prop:"name11",label:"终检传送带",minWidth:100},{prop:"name12",label:"终检下片单元",minWidth:120}],z=[{prop:"name1",label:"贴合机",minWidth:100},{prop:"name2",label:"压合机",minWidth:100},{prop:"name3",label:"干式传送带",minWidth:120},{prop:"name4",label:"湿式传送带",minWidth:120},{prop:"name5",label:"剥片机1",minWidth:140},{prop:"name6",label:"剥片机2",minWidth:120},{prop:"name7",label:"托盘清洗机",minWidth:100},{prop:"name8",label:"成品传动带",minWidth:120},{prop:"name9",label:"托盘缓存",minWidth:120},{prop:"name10",label:"SLC研磨机1",minWidth:140},{prop:"name11",label:"SLC研磨机2",minWidth:100},{prop:"name12",label:"LGC研磨机1",minWidth:120}],w=[{prop:"name1",label:"水平架B1工位",minWidth:100},{prop:"name2",label:"水平架B2工位",minWidth:100},{prop:"name3",label:"水平架A1工位",minWidth:120},{prop:"name4",label:"水平架A2工位",minWidth:120},{prop:"name5",label:"废片工位",minWidth:140}];var M={name:"ProgressStatistics",data(){return{list:JSON.parse(localStorage.getItem("publicList")).proLineVoList,tableProps1:_,tableData1:[{name1:111}],tableProps2:z,tableData2:[{name1:111}],tableProps3:w,tableData3:[{name1:111}]}},props:{lineName:{type:Number,default:1},beilv:{type:Number,default:1}},computed:{line(){let t="";return this.list.map((e=>{e.dataCode===this.lineName&&(t=e.dataName)})),t}}},N=M,Z=(0,u.Z)(N,C,S,!1,null,"3a8e1127",null),W=Z.exports,L=a(5591),T=a(5093),P={name:"WorkOrderProgress",components:{RingChart:m,ProgressDetails:y,ProgressStatistics:W},data(){return{beilv:1,lineName:1,nameList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,productMsg:{},detailMsg:{},tableLine:[],tableGrind:[],tableFinal:[]}},mounted(){this.beilv=document.getElementById("container").offsetWidth/1920,window.addEventListener("resize",(()=>{this.isFullScreen?this.beilv=document.body.offsetWidth/1920:this.beilv=document.getElementById("container").offsetWidth/1920})),this.changeLine()},methods:{changeLine(){this.getProductMsg(),this.getProcess()},getProductMsg(){(0,L.b6)({productionLineId:this.lineName}).then((t=>{console.log(t),0===t.code&&(this.productMsg=t.data)}))},getProcess(){(0,T.Mk)({productionLineId:this.lineName}).then((t=>{console.log(t),0===t.code&&(this.detailMsg=t.data)}))},getLineGlassCount(){(0,T.YV)({productionLineId:this.lineName}).then((t=>{console.log(t)}))},getGrindGlassCount(){(0,T.sq)({productionLineId:this.lineName}).then((t=>{console.log(t)}))},getFinalClassCount(){(0,T.k5)({productionLineId:this.lineName}).then((t=>{console.log(t)}))}}},k=P,B=(0,u.Z)(k,i,s,!1,null,"8efea692",null),O=B.exports},5591:function(t,e,a){a.d(e,{FH:function(){return o},Hp:function(){return r},JQ:function(){return n},SI:function(){return l},WQ:function(){return u},b6:function(){return p},iv:function(){return s},m:function(){return d}});var i=a(8859);function s(){return(0,i.Z)({url:"/common/getList",method:"post"})}function l(){return(0,i.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,i.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function r(t){return(0,i.Z)({url:"/common/getAlarmData",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/common/getMaterialData",method:"post",data:t})}const u="/api/common/attachment/uploadFileFormData"},5093:function(t,e,a){a.d(e,{EM:function(){return m},EO:function(){return b},F7:function(){return y},Hq:function(){return W},Mk:function(){return s},Nm:function(){return M},SN:function(){return z},To:function(){return p},Tp:function(){return h},W9:function(){return r},Xe:function(){return d},YV:function(){return l},a1:function(){return x},ag:function(){return S},dg:function(){return w},j4:function(){return _},k5:function(){return o},lb:function(){return u},n8:function(){return N},nG:function(){return g},nn:function(){return f},sq:function(){return n},w3:function(){return c},wM:function(){return Z},xz:function(){return C},zz:function(){return v}});var i=a(8859);function s(t){return(0,i.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,i.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function n(t){return(0,i.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function r(t){return(0,i.Z)({url:"/order/workOrder/page",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/order/workOrder/add",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/order/workOrder/update",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/order/workOrder/get",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/order/workOrder/release",method:"post",data:t})}function b(t){return(0,i.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function v(t){return(0,i.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const h="/api/order/workOrder/import";function f(t){return(0,i.Z)({url:"/order/proReport/pageThickness",method:"post",data:t})}function g(t){return(0,i.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:t})}function x(t){return(0,i.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function y(t){return(0,i.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function C(t){return(0,i.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function S(t){return(0,i.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function _(t){return(0,i.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function z(t){return(0,i.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function w(t){return(0,i.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function M(t){return(0,i.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function N(t){return(0,i.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function Z(t){return(0,i.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function W(t){return(0,i.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5640],{5640:function(t,e,a){a.r(e),a.d(e,{default:function(){return O}});var i=function(){var t=this,e=t._self._c;return e("div",{ref:"container",staticClass:"main-box",style:{padding:"0 "+8*t.beilv+"px "},attrs:{id:"container"}},[e("el-row",{staticClass:"top-box",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"top-left"},[e("div",{staticClass:"top-title",style:{padding:16*t.beilv+"px "+18*t.beilv+"px "+20*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:22*t.beilv+"px",marginRight:8*t.beilv+"px"},attrs:{"icon-class":"home_title1"}}),e("span",{staticClass:"titleStyle",style:{fontSize:16*t.beilv+"px"}},[t._v("生产进度")])],1),e("ul",{staticClass:"line-order-msg"},[e("li",{style:{width:"40%",paddingLeft:24*t.beilv+"px"}},[e("div",{style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title",style:{margin:"0 "+5*t.beilv+"px "+40*t.beilv+"px 0"}},[t._v("产线名称")]),e("el-select",{style:{width:150*t.beilv+"px"},attrs:{placeholder:"请选择名称",size:"small"},on:{change:t.changeLine},model:{value:t.lineName,callback:function(e){t.lineName=e},expression:"lineName"}},t._l(t.nameList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1),e("div",{staticClass:"num-box",style:{paddingRight:32*t.beilv+"px"}},[e("div",{staticClass:"plan_num",style:{padding:16*t.beilv+"px 0 "+16*t.beilv+"px "+32*t.beilv+"px",marginBottom:16*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:32*t.beilv+"px",marginBottom:6*t.beilv+"px"},attrs:{"icon-class":"home_plan"}}),e("p",{staticClass:"num",style:{fontSize:24*t.beilv+"px",marginBottom:8*t.beilv+"px"}},[t._v(" "+t._s(t.productMsg.planNum)+" ")]),e("p",{staticClass:"words",style:{fontSize:14*t.beilv+"px"}},[t._v(" 计划数量 ")])],1),e("div",{staticClass:"product_num",style:{padding:16*t.beilv+"px 0 "+16*t.beilv+"px "+32*t.beilv+"px",marginBottom:16*t.beilv+"px"}},[e("svg-icon",{style:{fontSize:32*t.beilv+"px",marginBottom:8*t.beilv+"px"},attrs:{"icon-class":"home_product"}}),e("p",{staticClass:"num",style:{fontSize:24*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(" "+t._s(t.productMsg.finishNum)+" ")]),e("p",{staticClass:"words",style:{fontSize:14*t.beilv+"px"}},[t._v(" 生产数量 ")])],1)])]),e("li",{style:{width:"60%",paddingLeft:24*t.beilv+"px"}},[e("div",{style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title",style:{margin:"0 "+20*t.beilv+"px "+32*t.beilv+"px 0"}},[t._v("生产信息")]),e("span",[t._v("工单号: "+t._s(t.productMsg.code))]),e("ring-chart",{attrs:{chartMsg:t.productMsg,beilv:t.beilv}})],1)])])])]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"top-right"},[e("progress-details",{attrs:{detailMsg:t.detailMsg,beilv:t.beilv}})],1)])],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticClass:"bottom-box"},[e("progress-statistics",{attrs:{lineName:t.lineName,beilv:t.beilv}})],1)])],1)],1)},s=[],l=function(){var t=this,e=t._self._c;return e("div",{style:{paddingLeft:50*t.beilv+"px"}},[e("div",{style:{height:280*t.beilv+"px",width:280*t.beilv+"px"},attrs:{id:"productRing"}})])},n=[],o=a(7171),r=a(5468),p={mixins:[r.Z],name:"RingChart",props:{chartMsg:{type:Object,default:()=>({chart:""})},beilv:{type:Number,default:1}},mounted(){this.$nextTick((()=>{this.initChart()}))},watch:{chartMsg:function(){this.initChart()}},beforeDestroy(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart(){null!==this.chart&&""!==this.chart&&void 0!==this.chart&&this.chart.dispose();var t=document.getElementById("productRing");this.chart=o.S1(t),console.log(this.chartMsg);var e=this.chartMsg.finishNum,a=this.chartMsg.okNum,i=this.chartMsg.wasteNum,s=this.chartMsg.reprocessNum,l=this.chartMsg.tuneNum,n={color:["#288aff","#7a34fd","#ffb750","#95f3b1"],tooltip:{trigger:"item"},legend:{icon:"circle",bottom:"0%",left:"center",itemWidth:8,itemHeight:8},series:[{type:"pie",zlevel:1,radius:["55%","58%"],center:["50%","40%"],label:{show:!1},itemStyle:{shadowBlur:10,shadowColor:"rgba(209, 204, 214, 0.64)",color:"#fff"},tooltip:{show:!1},emphasis:{scale:!1},data:[100]},{type:"pie",radius:["70%","71%"],center:["50%","40%"],zlevel:1,label:{show:!1},itemStyle:{shadowBlur:10,shadowColor:"rgba(0,0,0,.5)",color:"#fff"},tooltip:{show:!1},emphasis:{scale:!1},data:[100]},{name:"Access From",zlevel:2,type:"pie",radius:["58%","70%"],center:["50%","40%"],clockwise:!0,avoidLabelOverlap:!1,emphasis:{scale:!1},silent:!0,label:{show:!0,position:"center",color:"#9A9EBA",formatter:["{a|"+e+"}","{b|总生产数量}"].join("\n\n"),rich:{a:{color:"#262626",fontSize:24},b:{color:"#979797",fontSize:12}}},labelLine:{show:!1},data:[{value:a,name:"良品数量 "+a,itemStyle:{color:"#288aff"}},{value:i,name:"废品数量 "+i,itemStyle:{color:"#7a34fd"}},{value:s,name:"待再加工 "+s,itemStyle:{color:"#ffb750"}},{value:l,name:"调机数量 "+l,itemStyle:{color:"#95f3b1"}}]}]};this.chart.setOption(n,!0)}}},d=p,u=a(1001),c=(0,u.Z)(d,l,n,!1,null,null,null),m=c.exports,b=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"detail-box",style:{paddingTop:16*t.beilv+"px"}},[e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box border-right",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.code))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单编号")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.planNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划数量")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.type))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单类型")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.productSpec))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("产品型号")])])])]),e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box border-right",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.status))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单状态")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.finishNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("完成数量")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.planStartTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划开始时间")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.planEndTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("计划结束时间")])])])]),e("el-col",{attrs:{span:8}},[e("div",{staticClass:"column-box",style:{paddingLeft:60*t.beilv+"px"}},[e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.process))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单进度")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.yieldNum))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("工单良率")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.detailMsg.sumProcessTime?t.detailMsg.sumProcessTime:"-"))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("累计加工时长")])]),e("p",{staticClass:"box",style:{marginTop:27*t.beilv+"px"}},[e("span",{staticClass:"tip-value",style:{fontSize:27*t.beilv+"px",marginBottom:6*t.beilv+"px"}},[t._v(t._s(t.startTime))]),e("span",{staticClass:"tip",style:{fontSize:16*t.beilv+"px"}},[t._v("实际开始时间")])])])])],1)},v=[],h=a(475),f={name:"ProgressDetails",data(){return{list:JSON.parse(localStorage.getItem("publicList"))}},props:{detailMsg:{type:Object,default:()=>{}},beilv:{type:Number,default:1}},computed:{type(){let t="";return this.list.orderTypeVoList.map((e=>{e.dataCode===this.detailMsg.type&&(t=e.dataName)})),t},status(){let t="";return this.list.orderStatusVoList.map((e=>{e.dataCode===this.detailMsg.type&&(t=e.dataName)})),t},planStartTime(){return(0,h.g6)(this.detailMsg.planStartTime)},planEndTime(){return(0,h.g6)(this.detailMsg.planEndTime)},process(){return 100*this.detailMsg.process+"%"},yieldNum(){return 100*this.detailMsg.yield+"%"},startTime(){return(0,h.g6)(this.detailMsg.startTime)}}},g=f,x=(0,u.Z)(g,b,v,!1,null,"c54b9290",null),y=x.exports,C=function(){var t=this,e=t._self._c;return e("div",{staticClass:"statistics",style:{fontSize:16*t.beilv+"px"}},[e("span",{staticClass:"title"},[t._v(t._s(t.line)+"在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1}}),e("span",{staticClass:"title"},[t._v("面磨单元在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2}}),e("span",{staticClass:"title"},[t._v("终检单元在制品统计")]),e("base-table",{attrs:{"table-props":t.tableProps3,"table-data":t.tableData3}})],1)},_=[];const S=[{prop:"name1",label:"精切单元",minWidth:100},{prop:"name2",label:"磨边单元",minWidth:100},{prop:"name3",label:"磨边后传送带",minWidth:120},{prop:"name4",label:"磨边后清洗单元",minWidth:120},{prop:"name5",label:"磨边清洗后传送带",minWidth:140},{prop:"name6",label:"再研磨上片单元",minWidth:120},{prop:"name7",label:"面磨单元",minWidth:100},{prop:"name8",label:"面磨后传送带",minWidth:120},{prop:"name9",label:"面磨后清洗单元",minWidth:120},{prop:"name10",label:"面磨后清洗传送带",minWidth:140},{prop:"name11",label:"终检传送带",minWidth:100},{prop:"name12",label:"终检下片单元",minWidth:120}],z=[{prop:"name1",label:"贴合机",minWidth:100},{prop:"name2",label:"压合机",minWidth:100},{prop:"name3",label:"干式传送带",minWidth:120},{prop:"name4",label:"湿式传送带",minWidth:120},{prop:"name5",label:"剥片机1",minWidth:140},{prop:"name6",label:"剥片机2",minWidth:120},{prop:"name7",label:"托盘清洗机",minWidth:100},{prop:"name8",label:"成品传动带",minWidth:120},{prop:"name9",label:"托盘缓存",minWidth:120},{prop:"name10",label:"SLC研磨机1",minWidth:140},{prop:"name11",label:"SLC研磨机2",minWidth:100},{prop:"name12",label:"LGC研磨机1",minWidth:120}],w=[{prop:"name1",label:"水平架B1工位",minWidth:100},{prop:"name2",label:"水平架B2工位",minWidth:100},{prop:"name3",label:"水平架A1工位",minWidth:120},{prop:"name4",label:"水平架A2工位",minWidth:120},{prop:"name5",label:"废片工位",minWidth:140}];var M={name:"ProgressStatistics",data(){return{list:JSON.parse(localStorage.getItem("publicList")).proLineVoList,tableProps1:S,tableData1:[{name1:111}],tableProps2:z,tableData2:[{name1:111}],tableProps3:w,tableData3:[{name1:111}]}},props:{lineName:{type:Number,default:1},beilv:{type:Number,default:1}},computed:{line(){let t="";return this.list.map((e=>{e.dataCode===this.lineName&&(t=e.dataName)})),t}}},N=M,W=(0,u.Z)(N,C,_,!1,null,"3a8e1127",null),Z=W.exports,L=a(5591),P=a(5093),T={name:"WorkOrderProgress",components:{RingChart:m,ProgressDetails:y,ProgressStatistics:Z},data(){return{beilv:1,lineName:1,nameList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,productMsg:{},detailMsg:{},tableLine:[],tableGrind:[],tableFinal:[]}},mounted(){this.beilv=document.getElementById("container").offsetWidth/1920,window.addEventListener("resize",(()=>{this.isFullScreen?this.beilv=document.body.offsetWidth/1920:this.beilv=document.getElementById("container").offsetWidth/1920})),this.changeLine()},methods:{changeLine(){this.getProductMsg(),this.getProcess()},getProductMsg(){(0,L.b6)({productionLineId:this.lineName}).then((t=>{console.log(t),0===t.code&&(this.productMsg=t.data)}))},getProcess(){(0,P.Mk)({productionLineId:this.lineName}).then((t=>{console.log(t),0===t.code&&(this.detailMsg=t.data)}))},getLineGlassCount(){(0,P.YV)({productionLineId:this.lineName}).then((t=>{console.log(t)}))},getGrindGlassCount(){(0,P.sq)({productionLineId:this.lineName}).then((t=>{console.log(t)}))},getFinalClassCount(){(0,P.k5)({productionLineId:this.lineName}).then((t=>{console.log(t)}))}}},k=T,B=(0,u.Z)(k,i,s,!1,null,"8efea692",null),O=B.exports},5591:function(t,e,a){a.d(e,{FH:function(){return o},Hp:function(){return r},JQ:function(){return n},SI:function(){return l},WQ:function(){return u},b6:function(){return p},iv:function(){return s},m:function(){return d}});var i=a(8859);function s(){return(0,i.Z)({url:"/common/getList",method:"post"})}function l(){return(0,i.Z)({url:"/common/getTreeData",method:"post"})}function n(t){return(0,i.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function r(t){return(0,i.Z)({url:"/common/getAlarmData",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/common/getMaterialData",method:"post",data:t})}const u="/api/common/attachment/uploadFileFormData"},5093:function(t,e,a){a.d(e,{EM:function(){return m},EO:function(){return b},F7:function(){return g},Hq:function(){return N},Mk:function(){return s},Nm:function(){return z},SN:function(){return _},To:function(){return p},Tp:function(){return h},W9:function(){return r},Xe:function(){return d},YV:function(){return l},a1:function(){return f},ag:function(){return y},dg:function(){return S},j4:function(){return C},k5:function(){return o},lb:function(){return u},n8:function(){return w},sq:function(){return n},w3:function(){return c},wM:function(){return M},xz:function(){return x},zz:function(){return v}});var i=a(8859);function s(t){return(0,i.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,i.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function n(t){return(0,i.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function r(t){return(0,i.Z)({url:"/order/workOrder/page",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/order/workOrder/add",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/order/workOrder/update",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/order/workOrder/get",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/order/workOrder/release",method:"post",data:t})}function b(t){return(0,i.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function v(t){return(0,i.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const h="/api/order/workOrder/import";function f(t){return(0,i.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function g(t){return(0,i.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function x(t){return(0,i.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function y(t){return(0,i.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function C(t){return(0,i.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function _(t){return(0,i.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function S(t){return(0,i.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function z(t){return(0,i.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function w(t){return(0,i.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function M(t){return(0,i.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function N(t){return(0,i.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5748.94b73395.js b/dist/js/5748.94b73395.js new file mode 100644 index 0000000..165c3c9 --- /dev/null +++ b/dist/js/5748.94b73395.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5748],{5748:function(t,e,r){r.r(e),r.d(e,{default:function(){return w}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH},on:{emitFun:t.categoryChange}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:180,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-name-edit",{ref:"reportNameEdit",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表名称",prop:"fileName"}},[e("el-input",{model:{value:t.form.fileName,callback:function(e){t.$set(t.form,"fileName",e)},expression:"form.fileName"}})],1)],1)},o=[],s=r(6527),l={name:"ReportNameEdit",data(){return{form:{id:"",fileName:""},rules:{fileName:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t&&(this.form.id=t,(0,s.QL)({id:t}).then((t=>{0===t.code&&(this.form.fileName=t.data.fileName)})))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,s.sy)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")}))},formClear(){this.$refs.form.resetFields()}}},u=l,c=r(1001),d=(0,c.Z)(u,n,o,!1,null,null,null),p=d.exports,m=r(475),h=function(){var t=this,e=t._self._c;return e("div",[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择"},on:{change:t.changeCategory},model:{value:t.categoryId,callback:function(e){t.categoryId=e},expression:"categoryId"}},t._l(t.list,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)},f=[],g={name:"categorySelect",props:{injectData:{type:Object,default:()=>({})}},data(){return{categoryId:"",list:JSON.parse(localStorage.getItem("reportCategory"))}},mounted(){this.init()},methods:{init(){this.categoryId=this.injectData.category},changeCategory(){this.$emit("emitData",{categoryId:this.categoryId,injectData:this.injectData})}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},y=g,b=(0,c.Z)(y,h,f,!1,null,null,null),C=b.exports;const N=[{prop:"fileName",label:"报表名称"},{prop:"category",label:"报表分类",subcomponent:C},{prop:"createTime",label:"添加时间",filter:m.g6}],k=[{type:"view",btnName:"预览"},{type:"design",btnName:"设计"},{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var $={name:"ReportListDetail",components:{ReportNameEdit:p},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表名称",param:"name",width:200},{type:"select",label:"报表分类",selectOptions:[],param:"category",labelField:"name",valueField:"id",defaultSelect:"",width:200},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:N,tableData:[],tableBtn:k,tableH:(0,m.NC)(330),total:0,listQuery:{current:1,size:20,name:"",category:""},typeList:[],centervisible:!1,addOrEditTitle:""}},created(){this.getCategorylist()},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.formConfig[1].defaultSelect=this.$route.params.categoryId||"",this.listQuery.category=this.$route.params.categoryId||""},methods:{getList(){(0,s.kB)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},getCategorylist(){(0,s.J_)({}).then((t=>{0===t.code&&t.data.length>0?(localStorage.setItem("reportCategory",JSON.stringify(t.data)),this.formConfig[1].selectOptions=t.data):localStorage.setItem("reportCategory",""),this.getList()}))},handleClick(t){switch(t.type){case"view":this.$router.push({name:"reportView",params:{name:t.data.name}});break;case"design":this.$router.push({name:"reportDesign",params:{name:t.data.name}});break;case"edit":this.addOrEditTitle="编辑",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportNameEdit.init(t.data.id)}));break;default:this.$confirm('确认删除报表"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,s.wy)({id:t.data.id}).then((()=>{this.$message({message:"报表删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.category=t.category,this.listQuery.current=1,this.getList();break;default:this.$router.push({path:"/basicConfig/reportManagement/reportDesign"})}},handleCancel(){this.$refs.reportNameEdit.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportNameEdit.submitForm()},successSubmit(){this.handleCancel(),this.getList()},categoryChange(t){(0,s.sy)({fileName:t.injectData.fileName,id:t.injectData.id,category:t.categoryId}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.getList())}))}}},v=$,Z=(0,c.Z)(v,a,i,!1,null,null,null),w=Z.exports},6527:function(t,e,r){r.d(e,{AT:function(){return C},Hg:function(){return p},J_:function(){return i},QL:function(){return l},W0:function(){return m},a:function(){return d},an:function(){return b},bu:function(){return y},fL:function(){return N},kB:function(){return n},m3:function(){return c},oR:function(){return g},sy:function(){return o},uW:function(){return h},uj:function(){return f},wy:function(){return s},yk:function(){return u}});var a=r(8859);function i(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function y(t){return(0,a.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,a.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/5783.c03b0c7f.js b/dist/js/5783.fc0f3624.js similarity index 67% rename from dist/js/5783.c03b0c7f.js rename to dist/js/5783.fc0f3624.js index 9def6c3..732946e 100644 --- a/dist/js/5783.c03b0c7f.js +++ b/dist/js/5783.fc0f3624.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5783],{5783:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("in-and-out-management-add",{ref:"inAndOutManagementAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:t.showEdit||t.showOutput},on:{change:t.getSideLibaryList},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.proLineIdList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"所属线边库",prop:"sideLibaryId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属线边库",disabled:t.showEdit||t.showOutput},model:{value:t.form.sideLibaryId,callback:function(e){t.$set(t.form,"sideLibaryId",e)},expression:"form.sideLibaryId"}},t._l(t.sideLibaryIdList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.sideLibaryId}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:"耗材名称",disabled:t.showEdit||t.showOutput},on:{change:t.selectMeta},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}},t._l(t.consumablesNameList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"规格",prop:"spec"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"规格",disabled:t.showEdit||t.showOutput},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}},t._l(t.consumablesSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.spec,value:t.spec}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[t.showOutput?t._e():e("el-input",{attrs:{disabled:t.showEdit,placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}}),t.showOutput?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.toggleSupplier},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t){return e("el-option",{key:t.batchCode,attrs:{label:t.batchCode,value:t.batchCode}})})),1):t._e()],1)],1),e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:t.showOutput?"出库数量":"入库数量",prop:"num"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,disabled:t.showEdit},model:{value:t.form.num,callback:function(e){t.$set(t.form,"num",e)},expression:"form.num"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{disabled:t.showEdit||t.showOutput,placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"单位",disabled:""},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1)],1)],1),t.showEdit?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1):t._e(),t.showOutput?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领取人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领取人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1):t._e(),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},o=[],s=a(4770),l=a(910),u={name:"inAndOutManagementAdd",data(){return{form:{id:"",proLineId:"",sideLibaryId:"",name:"",spec:"",batchCode:"",num:"",supplier:"",unit:"",remark:"",minNum:"",maxNum:"",recipient:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sideLibaryId:[{required:!0,message:"请选择所属线边库",trigger:"change"}],name:[{required:!0,message:"请选择耗材名称",trigger:"change"}],spec:[{required:!0,message:"请选择规格",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],num:[{required:!0,message:"请输入入库数量",trigger:"blur"}],minNum:[{required:!0,message:"请输入最低安全库存",trigger:"blur"}],maxNum:[{required:!0,message:"请输入最高安全库存",trigger:"blur"}]},proLineIdList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sideLibaryIdList:[],consumablesNameList:[],consumablesSpecList:[],showEdit:!1,showOutput:!1,batchCodeList:[]}},methods:{init(t){this.getMaterialList(),t?(this.form.id=t.id,(0,s.qw)({id:this.form.id}).then((t=>{this.form.proLineId="1",this.getSideLibaryList(this.form.proLineId),this.form.sideLibaryId=t.data.sideLibaryId,this.form.name=t.data.materialName,this.selectMeta(this.form.name),this.form.spec=t.data.spec,this.form.minNum=t.data.minNum?t.data.minNum:0,this.form.maxNum=t.data.maxNum?t.data.maxNum:0,this.form.remark=t.data.remark,this.form.recipient=this.$store.getters.username?this.$store.getters.username:""})),"edit"===t.type?(this.showEdit=!0,this.showOutput=!1,console.log("编辑")):(this.showOutput=!0,this.showEdit=!1,this.getBatch(this.form.id),console.log("出库"))):this.form.id=""},getSideLibaryList(t){this.form.sideLibaryId="",(0,l.A0)({id:t}).then((t=>{0===t.code&&(this.sideLibaryIdList=t.data)}))},getMaterialList(){(0,l.Sl)().then((t=>{0===t.code&&(this.consumablesNameList=t.data)}))},selectMeta(t){this.consumablesNameList&&this.consumablesNameList.map((e=>{e.name===t&&(this.form.unit=e.unit)})),(0,l._1)({name:t}).then((t=>{console.log(t),0===t.code&&(this.consumablesSpecList=t.data,this.showEdit||this.showOutput||(this.form.spec=""))}))},getBatch(t){(0,s.MX)({id:t}).then((t=>{0===t.code&&(this.batchCodeList=t.data)}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.form.id?this.showEdit?(0,s.VJ)({id:this.form.id,minNum:this.form.minNum,maxNum:this.form.maxNum,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ql)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Gn)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.showEdit=!1,this.showOutput=!1,this.batchCodeList=[],this.sideLibaryIdList=[],this.consumablesSpecList=[],this.$refs.form.resetFields()},toggleSupplier(t){this.batchCodeList&&this.batchCodeList.map((e=>{t===e.batchCode&&(this.form.supplier=e.supplier)}))}}},d=u,c=a(1001),m=(0,c.Z)(d,i,o,!1,null,null,null),p=m.exports,h=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData)}},slot:"reference"},[t._v("详情")])],1)},f=[],b={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){(0,s.MX)({id:t.id}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},g=b,y=(0,c.Z)(g,h,f,!1,null,null,null),L=y.exports,C=a(475);const w=[{prop:"line",label:"产线",minWidth:120},{prop:"sideLibraryName",label:"所属线边库",minWidth:150},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"unit",label:"单位",minWidth:150},{prop:"stockNum",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"details",label:"库存详情",minWidth:100,subcomponent:L},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"remark",label:"备注",minWidth:150}],N=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var Z={name:"InAndOutManagement",components:{InAndOutManagementAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"线边库名称",selectOptions:[],param:"libraryName",labelField:"name",valueField:"name",defaultSelect:"",width:200},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",filterable:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:w,tableData:[],tableBtn:N,tableH:(0,C.NC)(275),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,C.NC)(275)})),this.getMaterialList(),this.getList()},methods:{getList(){(0,s.p0)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(console.log(t),t.value){let e=null,a=JSON.parse(localStorage.getItem("publicList")).proLineVoList;a&&a.map((a=>{a.dataName===t.value&&(e=a.dataCode)})),(0,l.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[1].selectOptions=t.data,this.formConfig[1].defaultSelect=null)}))}},getMaterialList(){(0,l.Sl)().then((t=>{console.log(t),0===t.code&&(this.formConfig[2].selectOptions=t.data)}))},handleClick(t){if(console.log(t),"edit"===t.type){this.centervisible=!0,this.addAndEdit="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}else if("output"===t.type){this.centervisible=!0,this.addAndEdit="出库";const e={id:t.data.id,type:"output"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.lineName=t.lineName,this.listQuery.libraryName=t.libraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList();break;case"add":this.centervisible=!0,this.addAndEdit="入库",this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init()}));break;default:(0,s.vN)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancel(){this.$refs.inAndOutManagementAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.inAndOutManagementAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},k=Z,v=(0,c.Z)(k,r,n,!1,null,null,null),x=v.exports},910:function(t,e,a){a.d(e,{$0:function(){return v},A0:function(){return k},D0:function(){return o},ER:function(){return O},Hg:function(){return W},J_:function(){return $},Kl:function(){return Z},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},QL:function(){return q},Qj:function(){return w},Sc:function(){return f},Sl:function(){return y},W0:function(){return D},WZ:function(){return h},Wj:function(){return l},Zs:function(){return n},_:function(){return I},_1:function(){return L},a:function(){return F},ag:function(){return x},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return i},kB:function(){return A},m3:function(){return B},oW:function(){return S},qT:function(){return C},sU:function(){return s},sy:function(){return E},tb:function(){return N},wy:function(){return _},xf:function(){return M},yk:function(){return Q}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function O(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function F(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},4770:function(t,e,a){a.d(e,{Gn:function(){return d},MX:function(){return i},VJ:function(){return u},jp:function(){return o},nK:function(){return h},oR:function(){return m},oz:function(){return p},p0:function(){return n},ql:function(){return c},qw:function(){return l},vN:function(){return s}});var r=a(8859);function n(t){return(0,r.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5783],{5783:function(t,e,a){a.r(e),a.d(e,{default:function(){return x}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:t.getList}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("in-and-out-management-add",{ref:"inAndOutManagementAdd",on:{successSubmit:t.successSubmit}})],1)],1)},r=[],n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:t.showEdit||t.showOutput},on:{change:t.getSideLibaryList},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.proLineIdList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"所属线边库",prop:"sideLibaryId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"所属线边库",disabled:t.showEdit||t.showOutput},model:{value:t.form.sideLibaryId,callback:function(e){t.$set(t.form,"sideLibaryId",e)},expression:"form.sideLibaryId"}},t._l(t.sideLibaryIdList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.sideLibaryId}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"耗材名称",prop:"name"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{filterable:"",placeholder:"耗材名称",disabled:t.showEdit||t.showOutput},on:{change:t.selectMeta},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}},t._l(t.consumablesNameList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"规格",prop:"spec"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"规格",disabled:t.showEdit||t.showOutput},model:{value:t.form.spec,callback:function(e){t.$set(t.form,"spec",e)},expression:"form.spec"}},t._l(t.consumablesSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.spec,value:t.spec}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[t.showOutput?t._e():e("el-input",{attrs:{disabled:t.showEdit,placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}}),t.showOutput?e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.toggleSupplier},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t){return e("el-option",{key:t.batchCode,attrs:{label:t.batchCode,value:t.batchCode}})})),1):t._e()],1)],1),e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:t.showOutput?"出库数量":"入库数量",prop:"num"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999,disabled:t.showEdit},model:{value:t.form.num,callback:function(e){t.$set(t.form,"num",e)},expression:"form.num"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[t.showEdit?t._e():e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{disabled:t.showEdit||t.showOutput,placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"单位",prop:"unit"}},[e("el-input",{attrs:{placeholder:"单位",disabled:""},model:{value:t.form.unit,callback:function(e){t.$set(t.form,"unit",e)},expression:"form.unit"}})],1)],1)],1),t.showEdit?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1):t._e(),t.showOutput?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领取人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领取人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1):t._e(),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},o=[],s=a(4770),l=a(910),u={name:"inAndOutManagementAdd",data(){return{form:{id:"",proLineId:"",sideLibaryId:"",name:"",spec:"",batchCode:"",num:"",supplier:"",unit:"",remark:"",minNum:"",maxNum:"",recipient:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sideLibaryId:[{required:!0,message:"请选择所属线边库",trigger:"change"}],name:[{required:!0,message:"请选择耗材名称",trigger:"change"}],spec:[{required:!0,message:"请选择规格",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],num:[{required:!0,message:"请输入入库数量",trigger:"blur"}],minNum:[{required:!0,message:"请输入最低安全库存",trigger:"blur"}],maxNum:[{required:!0,message:"请输入最高安全库存",trigger:"blur"}]},proLineIdList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sideLibaryIdList:[],consumablesNameList:[],consumablesSpecList:[],showEdit:!1,showOutput:!1,batchCodeList:[]}},methods:{init(t){this.getMaterialList(),t?(this.form.id=t.id,(0,s.qw)({id:this.form.id}).then((t=>{this.form.proLineId="1",this.getSideLibaryList(this.form.proLineId),this.form.sideLibaryId=t.data.sideLibaryId,this.form.name=t.data.materialName,this.selectMeta(this.form.name),this.form.spec=t.data.spec,this.form.minNum=t.data.minNum?t.data.minNum:0,this.form.maxNum=t.data.maxNum?t.data.maxNum:0,this.form.remark=t.data.remark,this.form.recipient=this.$store.getters.username?this.$store.getters.username:""})),"edit"===t.type?(this.showEdit=!0,this.showOutput=!1,console.log("编辑")):(this.showOutput=!0,this.showEdit=!1,this.getBatch(this.form.id),console.log("出库"))):this.form.id=""},getSideLibaryList(t){this.form.sideLibaryId="",(0,l.A0)({id:t}).then((t=>{0===t.code&&(this.sideLibaryIdList=t.data)}))},getMaterialList(){(0,l.Sl)().then((t=>{0===t.code&&(this.consumablesNameList=t.data)}))},selectMeta(t){this.consumablesNameList&&this.consumablesNameList.map((e=>{e.name===t&&(this.form.unit=e.unit)})),(0,l._1)({name:t}).then((t=>{console.log(t),0===t.code&&(this.consumablesSpecList=t.data,this.showEdit||this.showOutput||(this.form.spec=""))}))},getBatch(t){(0,s.MX)({id:t}).then((t=>{0===t.code&&(this.batchCodeList=t.data)}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.form.id?this.showEdit?(0,s.VJ)({id:this.form.id,minNum:this.form.minNum,maxNum:this.form.maxNum,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.ql)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.Gn)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.showEdit=!1,this.showOutput=!1,this.batchCodeList=[],this.sideLibaryIdList=[],this.consumablesSpecList=[],this.$refs.form.resetFields()},toggleSupplier(t){this.batchCodeList&&this.batchCodeList.map((e=>{t===e.batchCode&&(this.form.supplier=e.supplier)}))}}},d=u,c=a(1001),m=(0,c.Z)(d,n,o,!1,null,null,null),p=m.exports,h=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData)}},slot:"reference"},[t._v("详情")])],1)},f=[],b={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){(0,s.MX)({id:t.id}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},g=b,L=(0,c.Z)(g,h,f,!1,null,null,null),y=L.exports,C=a(475);const w=[{prop:"line",label:"产线",minWidth:120},{prop:"sideLibraryName",label:"所属线边库",minWidth:150},{prop:"materialName",label:"耗材名称",minWidth:150},{prop:"spec",label:"规格",minWidth:150},{prop:"unit",label:"单位",minWidth:150},{prop:"stockNum",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"details",label:"库存详情",minWidth:100,subcomponent:y},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"remark",label:"备注",minWidth:150}],N=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var k={name:"InAndOutManagement",components:{InAndOutManagementAdd:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"lineName",labelField:"dataName",valueField:"dataName",defaultSelect:"",onchange:!0,width:150},{type:"select",label:"线边库名称",selectOptions:[],param:"libraryName",labelField:"name",valueField:"name",defaultSelect:"",width:200},{type:"select",label:"耗材名称",selectOptions:[],param:"materialName",labelField:"name",valueField:"name",defaultSelect:"",filterable:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:w,tableData:[],tableBtn:N,tableH:(0,C.NC)(275),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,C.NC)(275)})),this.getMaterialList(),this.getList()},methods:{getList(){(0,s.p0)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},selectChanged(t){if(console.log(t),t.value){let e=null,a=JSON.parse(localStorage.getItem("publicList")).proLineVoList;a&&a.map((a=>{a.dataName===t.value&&(e=a.dataCode)})),(0,l.A0)({id:e}).then((t=>{0===t.code&&(this.formConfig[1].selectOptions=t.data,this.formConfig[1].defaultSelect=null)}))}},getMaterialList(){(0,l.Sl)().then((t=>{console.log(t),0===t.code&&(this.formConfig[2].selectOptions=t.data)}))},handleClick(t){if(console.log(t),"edit"===t.type){this.centervisible=!0,this.addAndEdit="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}else if("output"===t.type){this.centervisible=!0,this.addAndEdit="出库";const e={id:t.data.id,type:"output"};this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init(e)}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.lineName=t.lineName,this.listQuery.libraryName=t.libraryName,this.listQuery.materialName=t.materialName,this.listQuery.current=1,this.getList();break;case"add":this.centervisible=!0,this.addAndEdit="入库",this.$nextTick((()=>{this.$refs.inAndOutManagementAdd.init()}));break;default:(0,s.vN)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const i=new Blob([t.data]),r=new FileReader;r.readAsDataURL(i),r.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancel(){this.$refs.inAndOutManagementAdd.formClear(),this.addAndEdit="",this.centervisible=!1},handleConfirm(){this.$refs.inAndOutManagementAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},v=k,Z=(0,c.Z)(v,i,r,!1,null,null,null),x=Z.exports},910:function(t,e,a){a.d(e,{$0:function(){return Z},A0:function(){return v},D0:function(){return o},ER:function(){return O},Kl:function(){return k},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},Qj:function(){return w},Sc:function(){return f},Sl:function(){return L},WZ:function(){return h},Wj:function(){return l},Zs:function(){return r},_:function(){return I},_1:function(){return y},ag:function(){return x},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return n},oW:function(){return S},qT:function(){return C},sU:function(){return s},tb:function(){return N},xf:function(){return M}});var i=a(8859);function r(t){return(0,i.Z)({url:"/basic/account/page",method:"post",data:t})}function n(t){return(0,i.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,i.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function h(t){return(0,i.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function f(t){return(0,i.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,i.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,i.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function L(t){return(0,i.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,i.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function C(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function w(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function v(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function Z(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function x(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function M(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function S(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function I(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function O(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}},4770:function(t,e,a){a.d(e,{Gn:function(){return d},MX:function(){return n},VJ:function(){return u},jp:function(){return o},nK:function(){return h},oR:function(){return m},oz:function(){return p},p0:function(){return r},ql:function(){return c},qw:function(){return l},vN:function(){return s}});var i=a(8859);function r(t){return(0,i.Z)({url:"/material/MaterialManage/selectAll",method:"post",data:t})}function n(t){return(0,i.Z)({url:"/material/MaterialManage/detail",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/material/OutInRecord/record",method:"post",data:t})}function s(t){return(0,i.Z)({url:"/material/MaterialManage/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,i.Z)({url:"/material/MaterialManage/updateGet",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/material/MaterialManage/update",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/material/MaterialManage/insert",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/material/MaterialManage/delete",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/material/MaterialManage/SetAlarmValueGet",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/material/MaterialManage/SetAlarmValue",method:"post",data:t})}function h(t){return(0,i.Z)({url:"/material/MaterialManage/onlineMaterialTrackSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/4238.ef96ed59.js b/dist/js/5797.d5647f99.js similarity index 72% rename from dist/js/4238.ef96ed59.js rename to dist/js/5797.d5647f99.js index 1241516..36b232b 100644 --- a/dist/js/4238.ef96ed59.js +++ b/dist/js/5797.d5647f99.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[4238],{4238:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reportDesign",attrs:{id:"reportDesign"}},[e("iframe",{attrs:{src:t.url,width:"100%",height:"100%"}})])},s=[],a={name:"ReportDesign",data(){return{url:"http://tft.mes.picaiba.com/ureport/designer"}},mounted(){const t=this,{name:e}=this.$route.params;this.url+=e?"?_u=db:"+this.$route.params.name:"";const r=document.getElementById("reportDesign");r.onload=function(){console.log("加载完成"),t.loading=!1}}},i=a,o=r(1001),u=(0,o.Z)(i,n,s,!1,null,"1c79afe0",null),c=u.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5797],{5797:function(t,e,r){r.r(e),r.d(e,{default:function(){return l}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"reportDesign",attrs:{id:"reportDesign"}},[e("iframe",{attrs:{src:t.url,width:"100%",height:"100%"}})])},s=[],a={name:"ReportDesign",data(){return{url:"http://tft.mes.picaiba.com/ureport/designer"}},mounted(){const t=this,{name:e}=this.$route.params;this.url+=e?"?_u=db:"+this.$route.params.name:"";const r=document.getElementById("reportDesign");r.onload=function(){console.log("加载完成"),t.loading=!1}}},i=a,o=r(1001),u=(0,o.Z)(i,n,s,!1,null,"436e48a9",null),l=u.exports}}]); \ No newline at end of file diff --git a/dist/js/5984.65a39e51.js b/dist/js/5984.95a73c90.js similarity index 72% rename from dist/js/5984.65a39e51.js rename to dist/js/5984.95a73c90.js index 733953c..d7df0ac 100644 --- a/dist/js/5984.65a39e51.js +++ b/dist/js/5984.95a73c90.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5984],{5984:function(t,e,a){a.r(e),a.d(e,{default:function(){return $}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectType}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),t.centervisible?e("sampling-add",{ref:"samplingList",on:{successSubmit:t.getList}}):t._e(),t.centervisible2?e("standar-setting",{ref:"standardList",on:{successSubmit:t.getList}}):t._e()],1)},o=[],l=a(475),i=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"samplingAdd",attrs:{title:"抽检录入",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",{staticClass:"first-line",attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检人",prop:"detector"}},[e("el-input",{model:{value:t.form.detector,callback:function(e){t.$set(t.form,"detector",e)},expression:"form.detector"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"玻璃ID",prop:"glassId"}},[e("el-input",{model:{value:t.form.glassId,callback:function(e){t.$set(t.form,"glassId",e)},expression:"form.glassId"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检时间",prop:"detectTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:"选择抽检时间"},model:{value:t.form.detectTime,callback:function(e){t.$set(t.form,"detectTime",e)},expression:"form.detectTime"}})],1)],1)],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{emitFun:t.inputChange}})],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},s=[],n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tableInner"},[e("el-input",{on:{blur:t.changeInput},model:{value:t.list[t.itemProp],callback:function(e){t.$set(t.list,t.itemProp,e)},expression:"list[itemProp]"}})],1)},d=[],c={name:"InputArea",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData}},methods:{changeInput(){console.log(this.list),this.$emit("emitData",this.list)}}},u=c,m=a(1001),p=(0,m.Z)(u,n,d,!1,null,null,null),f=p.exports,h=a(2334),b=a(381),g=a.n(b);const y=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点"},{prop:"detectStandard",label:"检验标准"},{prop:"value",label:"实测值",subcomponent:f},{prop:"result",label:"抽检结果",subcomponent:f},{prop:"remark",label:"备注",subcomponent:f}];var I={name:"SamplingAdd",data(){return{visible:!1,form:{model:"",detectItem:"",detector:"",glassId:"",detectTime:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}],detector:[{required:!0,message:"请输入抽检人",trigger:"blur"}],glassId:[{required:!0,message:"请选择玻璃ID",trigger:"change"}],detectTime:[{required:!0,message:"请选择抽检时间",trigger:"change"}]},tableProps:y,tableData:[],tableH:(0,l.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(250)})),this.form.model="G8.5",this.form.detectTime=new Date},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;{if(0===this.tableData.length)return this.$message({message:"请先到标准设置中添加该检测项目的检测点",type:"error",duration:2e3}),!1;let t=[];for(let e of this.tableData){let a={};a.detectStandardId=e.id,a.detectTime=g()(this.form.detectTime).format("yyyy-MM-DDTHH:mm:ss"),a.detector=this.form.detector,a.glassId=this.form.glassId,a.remark=e.remark?e.remark:"",a.result=e.result?e.result:"",a.value=e.value?e.value:"",t.push(a)}(0,h.Af)(t).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]}}},C=I,v=(0,m.Z)(C,i,s,!1,null,"b1bb2734",null),S=v.exports,D=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"standardSetting",attrs:{title:"标准值设置",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"add-button-show":t.addButtonShow,"highlight-current-row":""},on:{emitFun:t.inputChange,emitButtonClick:t.addNew}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1)],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},k=[];const T=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点",subcomponent:f},{prop:"detectStandard",label:"检验标准",subcomponent:f}],w=[{type:"delete",btnName:"编辑"}];var x={name:"StandarSetting",data(){return{visible:!1,form:{model:"",detectItem:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}]},tableProps:T,tableData:[],tableBtn:w,addButtonShow:"新增",tableH:(0,l.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(250)})),this.form.model="G8.5"},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},handleClick(t){this.tableData.splice(t._pageIndex,1)},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;if(0===this.tableData.length)return this.$message({message:"请点击新增按钮添加标准值后再保存",type:"error",duration:1500}),!1;for(let e of this.tableData)if(!e.detectItem||!e.detectPoint||!e.detectStandard)return this.$message({message:"表格中有数据空缺,请检查",type:"error",duration:1500}),!1;for(let e of this.tableData)e.productSpec=this.form.model;(0,h.QI)(this.tableData).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]},addNew(){if(!this.form.detectItem)return this.$message({message:"请先选择检验项目",type:"error",duration:1500}),!1;let t={};t.detectItem=this.form.detectItem,t.detectPoint="",t.detectStandard="",this.tableData.push(t)}}},q=x,P=(0,m.Z)(q,D,k,!1,null,"4c764f8e",null),Z=P.exports;const L=[{prop:"glassId",label:"玻璃ID",minWidth:100},{prop:"detectItem",label:"检验项目",minWidth:100},{prop:"detectPoint",label:"检测点",minWidth:100},{prop:"detectStandard",label:"检验标准",minWidth:100},{prop:"value",label:"实测值",minWidth:100},{prop:"result",label:"抽检结果",minWidth:100},{prop:"detector",label:"抽检人",minWidth:100},{prop:"detectTime",label:"抽检时间",filter:l.g6,minWidth:150},{prop:"remark",label:"备注",minWidth:150}];var N={name:"ProcessSampling",components:{SamplingAdd:S,StandarSetting:Z},data(){return{formConfig:[{type:"select",label:"查询方式",selectOptions:[{id:1,name:"玻璃ID"},{id:2,name:"抽检人"},{id:3,name:"检验项目"}],param:"type",defaultSelect:"",onchange:!0,width:150},{type:"",label:"",placeholder:"玻璃ID",param:"glassId"},{type:"",label:"",placeholder:"抽检人",param:"detector",width:150},{type:"",label:"",selectOptions:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,param:"detectItem",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"datePicker",label:"抽检时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"录入",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"标准设置",name:"settings",color:"primary",plain:!0}],tableProps:L,tableData:[],tableH:(0,l.NC)(270),total:0,listQuery:{current:1,size:20,glassId:"",detector:"",detectItem:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",standardSetting:"标准设置",centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(270)})),this.formConfig[4].defaultSelect=[g()().format("yyyy-MM-DD")+"T00:00:00",g()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=g()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=g()().format("yyyy-MM-DD")+"T23:59:59",this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.getList()},methods:{getList(){(0,h.v)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.glassId=1===t.type?t.glassId:"",this.listQuery.detector=2===t.type?t.detector:"",this.listQuery.detectItem=3===t.type?t.detectItem:"",this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList();break;case"add":this.addOrEditTitle="抽检录入",this.centervisible=!0,this.$nextTick((()=>{this.$refs.samplingList.init()}));break;case"export":(0,h.pS)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),o=new FileReader;o.readAsDataURL(r),o.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}));break;default:this.centervisible2=!0,this.$nextTick((()=>{this.$refs.standardList.init()}))}},selectType(t){1===t.value?(this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="",this.formConfig[3].label=""):2===t.value?(this.formConfig[0].defaultSelect=2,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="input",this.formConfig[2].label="抽检人",this.formConfig[3].type="",this.formConfig[3].label=""):3===t.value&&(this.formConfig[0].defaultSelect=3,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="select",this.formConfig[3].label="检验项目"),this.formConfig[4].defaultSelect=this.$refs.searchBarForm.formInline.timeVal}}},F=N,_=(0,m.Z)(F,r,o,!1,null,null,null),$=_.exports},2334:function(t,e,a){a.d(e,{AT:function(){return q},Af:function(){return s},F0:function(){return f},G$:function(){return I},Jt:function(){return y},ON:function(){return d},QI:function(){return i},Qd:function(){return h},YU:function(){return p},an:function(){return x},bu:function(){return w},dy:function(){return v},eT:function(){return u},fL:function(){return P},gP:function(){return L},iF:function(){return c},jA:function(){return l},kT:function(){return Z},nE:function(){return g},oR:function(){return T},pS:function(){return n},pw:function(){return m},qn:function(){return N},r5:function(){return b},uW:function(){return D},uX:function(){return S},uj:function(){return k},v:function(){return o},vD:function(){return C}});var r=a(8859);function o(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function I(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function q(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[5984],{5984:function(t,e,a){a.r(e),a.d(e,{default:function(){return Z}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectType}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}}),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),t.centervisible?e("sampling-add",{ref:"samplingList",on:{successSubmit:t.getList}}):t._e(),t.centervisible2?e("standar-setting",{ref:"standardList",on:{successSubmit:t.getList}}):t._e()],1)},l=[],o=a(475),i=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"samplingAdd",attrs:{title:"抽检录入",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",{staticClass:"first-line",attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检人",prop:"detector"}},[e("el-input",{model:{value:t.form.detector,callback:function(e){t.$set(t.form,"detector",e)},expression:"form.detector"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"玻璃ID",prop:"glassId"}},[e("el-input",{model:{value:t.form.glassId,callback:function(e){t.$set(t.form,"glassId",e)},expression:"form.glassId"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"抽检时间",prop:"detectTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",placeholder:"选择抽检时间"},model:{value:t.form.detectTime,callback:function(e){t.$set(t.form,"detectTime",e)},expression:"form.detectTime"}})],1)],1)],1),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{emitFun:t.inputChange}})],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},s=[],n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tableInner"},[e("el-input",{on:{blur:t.changeInput},model:{value:t.list[t.itemProp],callback:function(e){t.$set(t.list,t.itemProp,e)},expression:"list[itemProp]"}})],1)},d=[],c={name:"InputArea",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData}},methods:{changeInput(){console.log(this.list),this.$emit("emitData",this.list)}}},m=c,u=a(1001),p=(0,u.Z)(m,n,d,!1,null,null,null),f=p.exports,h=a(2334),b=a(381),g=a.n(b);const y=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点"},{prop:"detectStandard",label:"检验标准"},{prop:"value",label:"实测值",subcomponent:f},{prop:"result",label:"抽检结果",subcomponent:f},{prop:"remark",label:"备注",subcomponent:f}];var I={name:"SamplingAdd",data(){return{visible:!1,form:{model:"",detectItem:"",detector:"",glassId:"",detectTime:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}],detector:[{required:!0,message:"请输入抽检人",trigger:"blur"}],glassId:[{required:!0,message:"请选择玻璃ID",trigger:"change"}],detectTime:[{required:!0,message:"请选择抽检时间",trigger:"change"}]},tableProps:y,tableData:[],tableH:(0,o.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(250)})),this.form.model="G8.5",this.form.detectTime=new Date},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;{if(0===this.tableData.length)return this.$message({message:"请先到标准设置中添加该检测项目的检测点",type:"error",duration:2e3}),!1;let t=[];for(let e of this.tableData){let a={};a.detectStandardId=e.id,a.detectTime=g()(this.form.detectTime).format("yyyy-MM-DDTHH:mm:ss"),a.detector=this.form.detector,a.glassId=this.form.glassId,a.remark=e.remark?e.remark:"",a.result=e.result?e.result:"",a.value=e.value?e.value:"",t.push(a)}(0,h.Af)(t).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]}}},C=I,v=(0,u.Z)(C,i,s,!1,null,"b1bb2734",null),S=v.exports,D=function(){var t=this,e=t._self._c;return e("el-drawer",{staticClass:"standardSetting",attrs:{title:"标准值设置",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("el-form",{ref:"form",staticClass:"form-box",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{display:"inline-block","margin-right":"10px"}},[e("el-form-item",{attrs:{label:"型号",prop:"model"}},[e("el-radio-group",{on:{change:t.selectStandard},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.productModelVoList,(function(a){return e("el-radio-button",{key:a.dataCode,attrs:{label:a.dataName}},[t._v(t._s(a.dataName))])})),1)],1)],1),e("div",{staticStyle:{display:"inline-block"}},[e("el-form-item",{attrs:{label:"检验项目",prop:"detectItem"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"检验项目"},on:{change:t.selectItem},model:{value:t.form.detectItem,callback:function(e){t.$set(t.form,"detectItem",e)},expression:"form.detectItem"}},t._l(t.testItemList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)])],1),e("el-row",[e("el-col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:24}},[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"add-button-show":t.addButtonShow,"highlight-current-row":""},on:{emitFun:t.inputChange,emitButtonClick:t.addNew}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1)],1)],1),e("el-row",{staticClass:"bottom"},[e("el-col",{staticStyle:{"text-align":"right"},attrs:{span:24}},[e("el-form-item",[e("el-button",{on:{click:t.closeForm}},[t._v("取消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("保存")])],1)],1)],1)],1)],1)},k=[];const w=[{prop:"detectItem",label:"检验项目"},{prop:"detectPoint",label:"检测点",subcomponent:f},{prop:"detectStandard",label:"检验标准",subcomponent:f}],T=[{type:"delete",btnName:"编辑"}];var x={name:"StandarSetting",data(){return{visible:!1,form:{model:"",detectItem:""},testItemList:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,productModelVoList:JSON.parse(localStorage.getItem("publicList")).productModelVoList,rules:{model:[{required:!0,message:"请输入选择型号",trigger:"blur"}],detectItem:[{required:!0,message:"请选择检验项目",trigger:"change"}]},tableProps:w,tableData:[],tableBtn:T,addButtonShow:"新增",tableH:(0,o.NC)(250)}},methods:{init(){this.visible=!0,window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(250)})),this.form.model="G8.5"},selectItem(){this.getStandard()},selectStandard(){this.form.detectItem&&this.getStandard()},getStandard(){(0,h.jA)({productSpec:this.form.model,detectItem:this.form.detectItem}).then((t=>{console.log(t),0===t.code?this.tableData=t.data:this.tableData=[]}))},handleClick(t){this.tableData.splice(t._pageIndex,1)},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;if(0===this.tableData.length)return this.$message({message:"请点击新增按钮添加标准值后再保存",type:"error",duration:1500}),!1;for(let e of this.tableData)if(!e.detectItem||!e.detectPoint||!e.detectStandard)return this.$message({message:"表格中有数据空缺,请检查",type:"error",duration:1500}),!1;for(let e of this.tableData)e.productSpec=this.form.model;(0,h.QI)(this.tableData).then((t=>{0===t.code&&(this.$message({message:"保存成功",type:"success",duration:1500,onClose:()=>{}}),this.$emit("successSubmit"),this.formClear(),this.visible=!1)}))}))},closeForm(){this.formClear(),this.visible=!1},formClear(){this.$refs.form.resetFields(),this.tableData=[]},inputChange(t){this.tableData[t._pageIndex-1][t.prop]=t[t.prop]},addNew(){if(!this.form.detectItem)return this.$message({message:"请先选择检验项目",type:"error",duration:1500}),!1;let t={};t.detectItem=this.form.detectItem,t.detectPoint="",t.detectStandard="",this.tableData.push(t)}}},P=x,q=(0,u.Z)(P,D,k,!1,null,"4c764f8e",null),L=q.exports;const N=[{prop:"glassId",label:"玻璃ID",minWidth:100},{prop:"detectItem",label:"检验项目",minWidth:100},{prop:"detectPoint",label:"检测点",minWidth:100},{prop:"detectStandard",label:"检验标准",minWidth:100},{prop:"value",label:"实测值",minWidth:100},{prop:"result",label:"抽检结果",minWidth:100},{prop:"detector",label:"抽检人",minWidth:100},{prop:"detectTime",label:"抽检时间",filter:o.g6,minWidth:150},{prop:"remark",label:"备注",minWidth:150}];var F={name:"ProcessSampling",components:{SamplingAdd:S,StandarSetting:L},data(){return{formConfig:[{type:"select",label:"查询方式",selectOptions:[{id:1,name:"玻璃ID"},{id:2,name:"抽检人"},{id:3,name:"检验项目"}],param:"type",defaultSelect:"",onchange:!0,width:150},{type:"",label:"",placeholder:"玻璃ID",param:"glassId"},{type:"",label:"",placeholder:"抽检人",param:"detector",width:150},{type:"",label:"",selectOptions:JSON.parse(localStorage.getItem("publicList")).checkItemVoList,param:"detectItem",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"datePicker",label:"抽检时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"录入",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"标准设置",name:"settings",color:"primary",plain:!0}],tableProps:N,tableData:[],tableH:(0,o.NC)(270),total:0,listQuery:{current:1,size:20,glassId:"",detector:"",detectItem:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",standardSetting:"标准设置",centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(270)})),this.formConfig[4].defaultSelect=[g()().format("yyyy-MM-DD")+"T00:00:00",g()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=g()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=g()().format("yyyy-MM-DD")+"T23:59:59",this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.getList()},methods:{getList(){(0,h.v)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.glassId=1===t.type?t.glassId:"",this.listQuery.detector=2===t.type?t.detector:"",this.listQuery.detectItem=3===t.type?t.detectItem:"",this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.getList();break;case"add":this.addOrEditTitle="抽检录入",this.centervisible=!0,this.$nextTick((()=>{this.$refs.samplingList.init()}));break;case"export":(0,h.pS)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}));break;default:this.centervisible2=!0,this.$nextTick((()=>{this.$refs.standardList.init()}))}},selectType(t){1===t.value?(this.formConfig[0].defaultSelect=1,this.formConfig[1].type="input",this.formConfig[1].label="玻璃ID",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="",this.formConfig[3].label=""):2===t.value?(this.formConfig[0].defaultSelect=2,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="input",this.formConfig[2].label="抽检人",this.formConfig[3].type="",this.formConfig[3].label=""):3===t.value&&(this.formConfig[0].defaultSelect=3,this.formConfig[1].type="",this.formConfig[1].label="",this.formConfig[2].type="",this.formConfig[2].label="",this.formConfig[3].type="select",this.formConfig[3].label="检验项目"),this.formConfig[4].defaultSelect=this.$refs.searchBarForm.formInline.timeVal}}},_=F,$=(0,u.Z)(_,r,l,!1,null,null,null),Z=$.exports},2334:function(t,e,a){a.d(e,{Af:function(){return s},F0:function(){return f},G$:function(){return I},Jt:function(){return y},ON:function(){return d},QI:function(){return i},Qd:function(){return h},YU:function(){return p},dy:function(){return v},eT:function(){return m},gP:function(){return k},iF:function(){return c},jA:function(){return o},kT:function(){return D},nE:function(){return g},pS:function(){return n},pw:function(){return u},qn:function(){return w},r5:function(){return b},uX:function(){return S},v:function(){return l},vD:function(){return C}});var r=a(8859);function l(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function I(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function D(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/6234.864ef5ee.js b/dist/js/6234.864ef5ee.js deleted file mode 100644 index 6ea8484..0000000 --- a/dist/js/6234.864ef5ee.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6234],{6234:function(t,e,a){a.r(e),a.d(e,{default:function(){return M}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"finalInspectionData"},[e("el-row",{staticClass:"box-top"},[e("el-col",[e("div",{staticClass:"search-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick,"select-changed":t.selectChanged}})],1)])],1),e("el-row",{staticClass:"box",attrs:{gutter:8}},[e("el-col",{attrs:{span:9}},[e("div",{staticClass:"left-box"},[e("span",{staticClass:"table-button",on:{click:t.generateReport}},[t._v("生成表格")]),e("base-table",{attrs:{selectWidth:40,"table-props":t.tablePropsL,"table-data":t.tableDataL,"max-height":t.tableHL},on:{"selection-change":t.selectChange}})],1)]),e("el-col",{attrs:{span:15}},[e("div",{staticClass:"right-box"},[t.reportTitle?e("div",[e("span",{staticClass:"title"},[t._v(t._s(t.reportTitle))])]):t._e(),"单片玻璃基板缺陷统计"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-quality-report",{attrs:{tableData:t.glassQualityArr}})],1):t._e(),"厚度汇总报表"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-thick-report",{attrs:{tableData:t.thickReportArr}})],1):t._e(),"终检下片包装"===t.reportTitle?e("div",{staticClass:"table-box"},[e("glass-pack-report",{attrs:{tableData1:t.packClaReportArr,tableData2:t.packReportArr}})],1):t._e()])])],1)],1)},l=[],o=a(475),i=a(2334),n=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},s=[];const p=[{prop:"time",label:"检测时间",filter:o.g6,minWidth:160},{prop:"virtualcode",label:"玻璃ID",minWidth:120},{prop:"lineA",label:"加工条件",children:[{prop:"palletId",label:"托盘ID"},{prop:"grindtype",label:"研磨类型"}]},{prop:"lineB",label:"检测数据",children:[{prop:"sums",label:"颗粒总数"},{prop:"distortion",label:"变形"},{prop:"tail",label:"拖尾"},{prop:"bl",label:"气泡"},{prop:"stone",label:"结石"},{prop:"scratch",label:"划伤"},{prop:"surfaceSum",label:"面检总数"}]},{prop:"lineC",label:"研磨电流(A)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"alle",label:"总电流"}]},{prop:"eletricityConform",label:"工艺符合性",minWidth:100},{prop:"lineD",label:"研磨时间(S)",children:[{prop:"ae",label:"A机台"},{prop:"be",label:"B机台"},{prop:"ce",label:"C机台"},{prop:"allt",label:"总研磨时间",minWidth:100}]}];var u={name:"glassQualityReport",data(){return{tableProps:p,tableH:(0,o.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},d=u,c=a(1001),m=(0,c.Z)(d,n,s,!1,null,null,null),h=m.exports,b=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}})],1)},f=[];const g=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"testTime",label:"检测时间",filter:o.g6,minWidth:160},{prop:"palletId",label:"托盘ID",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"maxValue",label:"最大值",minWidth:120},{prop:"minValue",label:"最小值",minWidth:120},{prop:"avgValue",label:"平均值",minWidth:120},{prop:"ttvValue",label:"厚薄差",minWidth:120}];var y={name:"glassThickReport",data(){return{tableProps:g,tableH:(0,o.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(292)}))},props:{tableData:{type:Array,required:!0,default:()=>[]}}},W=y,v=(0,c.Z)(W,b,f,!1,null,null,null),A=v.exports,C=function(){var t=this,e=t._self._c;return e("div",[e("base-table",{attrs:{"table-props":t.tableProps1,"table-data":t.tableData1,"max-height":t.tableH}}),e("base-table",{attrs:{"table-props":t.tableProps2,"table-data":t.tableData2,"max-height":t.tableH}})],1)},T=[];const D=[{prop:"grindType",label:"研磨类型",minWidth:120},{prop:"glassNum",label:"数量",minWidth:160},{prop:"surfaceAvg",label:"颗粒均值",minWidth:120},{prop:"surfaceMin",label:"最小值",minWidth:120},{prop:"surfaceMax",label:"最大值",minWidth:120},{prop:"savg",label:"S均值<1um",minWidth:120},{prop:"mavg",label:"M均值1-3um",minWidth:120},{prop:"lavg",label:"L均值3-5um",minWidth:120},{prop:"xlAvg",label:"XL均值5-10um",minWidth:120},{prop:"defectAvg",label:"缺陷均值",minWidth:120},{prop:"defectMin",label:"最小值",minWidth:120},{prop:"defectMax",label:"最大值",minWidth:120},{prop:"blAvg",label:"气泡均值",minWidth:120},{prop:"distortionAvg",label:"变形均值",minWidth:120},{prop:"fiberAvg",label:"纤维均值",minWidth:120},{prop:"iisrestAvg",label:"无法识别均值",minWidth:120},{prop:"knotAvg",label:"结节均值",minWidth:120},{prop:"ptAvg",label:"铂金欠点均值",minWidth:120},{prop:"scratchAvg",label:"划伤均值",minWidth:120},{prop:"stoneAvg",label:"结石均值",minWidth:120},{prop:"tailAvg",label:"拖尾均值",minWidth:120},{prop:"tinAvg",label:"点状缺陷均值",minWidth:120},{prop:"bottomAvg",label:"锡(锡面)均值",minWidth:120},{prop:"topAvg",label:"锡(空气面)均值",minWidth:120}],k=[{prop:"glassId",label:"玻璃ID",minWidth:120},{prop:"rackNum",label:"包装架号",minWidth:120},{prop:"testTime",label:"包装时间",filter:o.g6,minWidth:160},{prop:"num",label:"包装数量",minWidth:120},{prop:"particleSum",label:"颗粒Sum",minWidth:120},{prop:"s",label:"S<1um",minWidth:120},{prop:"m",label:"M1-3um",minWidth:120},{prop:"l",label:"L3-5um",minWidth:120},{prop:"xl",label:"XL5-10um",minWidth:120},{prop:"defectSum",label:"缺陷Sum",minWidth:120},{prop:"bl",label:"气泡",minWidth:120},{prop:"distortion",label:"变形",minWidth:120},{prop:"fiber",label:"纤维",minWidth:120},{prop:"iisrest",label:"无法识别",minWidth:120},{prop:"knot",label:"结节",minWidth:120},{prop:"pt",label:"铂金欠点",minWidth:120},{prop:"scratch",label:"划伤",minWidth:120},{prop:"stone",label:"结石",minWidth:120},{prop:"tail",label:"拖尾",minWidth:120},{prop:"tin",label:"点状缺陷",minWidth:120},{prop:"bottom",label:"锡(锡面)",minWidth:120},{prop:"top",label:"锡(空气面)",minWidth:120},{prop:"adg",label:"ADG",minWidth:120},{prop:"allSum",label:"合计",minWidth:120},{prop:"grindType",label:"研磨类型",minWidth:120}];var R={name:"glassPackReport",data(){return{tableProps1:D,tableProps2:k,tableH:(0,o.NC)(292)}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,o.NC)(292)}))},props:{tableData1:{type:Array,required:!0,default:()=>[]},tableData2:{type:Array,required:!0,default:()=>[]}}},q=R,x=(0,c.Z)(q,C,T,!1,null,null,null),I=x.exports,Z=a(381),P=a.n(Z);const w=[{prop:"glassId",label:"ID",minWidth:100},{prop:"unloadTime",label:"检测时间",minWidth:120,filter:o.g6},{prop:"grindtype",label:"研磨类型",minWidth:80}];var L={name:"FinalInspectionData",components:{glassQualityReport:h,glassThickReport:A,glassPackReport:I},data(){return{formConfig:[{type:"datePicker",label:"检验时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",defaultSelect:[],width:350},{type:"select",label:"玻璃架",selectOptions:[],param:"glassFrame",defaultSelect:"全部",width:150,clearable:!1},{type:"select",label:"报表类型",selectOptions:[{id:"单片玻璃基板缺陷统计",name:"单片玻璃基板缺陷统计"},{id:"终检下片包装",name:"终检下片包装"},{id:"厚度汇总报表",name:"厚度汇总报表"}],param:"fullInspectionType1",defaultSelect:"",onchange:!0,width:150},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tablePropsL:w,tableDataL:[],tableHL:(0,o.NC)(300),reportTitle:"",listQuery:{startTime:"",endTime:"",glassFrame:"",current:1,size:500},selectArr:[],glassQualityArr:[],thickReportArr:[],packReportArr:[],packClaReportArr:[]}},mounted(){this.getOption(),window.addEventListener("resize",(()=>{this.tableHL=(0,o.NC)(300)})),this.formConfig[0].defaultSelect=[P()().format("yyyy-MM-DD")+"T00:00:00",P()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=P()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=P()().format("yyyy-MM-DD")+"T23:59:59",this.listQuery.glassFrame="全部",this.getList()},methods:{getList(){(0,i.uW)({...this.listQuery}).then((t=>{0===t.code?this.tableDataL=t.data:this.tableDataL=[]}))},getOption(){let t=JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,e=t.map((t=>({id:t.dataName,name:t.dataName})));e.push({id:"全部",name:"全部"},{id:"废片",name:"废片"}),this.formConfig[1].selectOptions=e,console.log(e)},buttonClick(t){let e=[];switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassFrame=t.glassFrame,this.getList();break;default:if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;console.log(this.selectArr);for(let t of this.selectArr)e.push(t.glassId);"单片玻璃基板缺陷统计"===this.reportTitle?this.exportGlassReport(e):"厚度汇总报表"===this.reportTitle&&this.exportThickReport(e)}},selectChanged(t){this.reportTitle=t.value,this.glassQualityArr=[],this.thickReportArr=[],this.packReportArr=[],this.packClaReportArr=[]},selectChange(t){this.selectArr=t},generateReport(){if(0===this.selectArr.length)return this.$message({message:"请勾选左侧表格数据",type:"warning"}),!1;if(""===this.reportTitle)return this.$message({message:"请选择报表类型",type:"warning"}),!1;let t=[];for(let e of this.selectArr)t.push(e.glassId);switch(this.reportTitle){case"单片玻璃基板缺陷统计":this.getGlassReport(t);break;case"厚度汇总报表":this.getThickReport(t);break;default:this.getGlassData(t)}},getGlassReport(t){(0,i.uj)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.glassQualityArr=t.data}))},exportGlassReport(t){(0,i.oR)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getThickReport(t){(0,i.bu)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t),this.thickReportArr=t.data}))},exportThickReport(t){(0,i.an)({glassId:t,size:1e3,current:1}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),l=new FileReader;l.readAsDataURL(r),l.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))},getGlassData(t){(0,i.AT)({glassId:t}).then((t=>{console.log(t),this.packReportArr=t.data})),(0,i.fL)({glassId:t}).then((t=>{console.log(t),this.packClaReportArr=t.data}))}}},S=L,F=(0,c.Z)(S,r,l,!1,null,"6863655e",null),M=F.exports},2334:function(t,e,a){a.d(e,{AT:function(){return x},Af:function(){return n},F0:function(){return h},G$:function(){return W},Jt:function(){return y},ON:function(){return p},QI:function(){return i},Qd:function(){return b},YU:function(){return m},an:function(){return q},bu:function(){return R},dy:function(){return A},eT:function(){return d},fL:function(){return I},gP:function(){return P},iF:function(){return u},jA:function(){return o},kT:function(){return Z},nE:function(){return g},oR:function(){return k},pS:function(){return s},pw:function(){return c},qn:function(){return w},r5:function(){return f},uW:function(){return T},uX:function(){return C},uj:function(){return D},v:function(){return l},vD:function(){return v}});var r=a(8859);function l(t){return(0,r.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function n(t){return(0,r.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function s(t){return(0,r.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function p(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function m(t){return(0,r.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function W(t){return(0,r.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function v(t){return(0,r.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function T(t){return(0,r.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function R(t){return(0,r.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function x(t){return(0,r.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/6729.fd1b5476.js b/dist/js/6729.3d089ae3.js similarity index 70% rename from dist/js/6729.fd1b5476.js rename to dist/js/6729.3d089ae3.js index 0adf5d2..8b8b4c4 100644 --- a/dist/js/6729.fd1b5476.js +++ b/dist/js/6729.3d089ae3.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6729],{6729:function(t,e,r){r.r(e),r.d(e,{default:function(){return A}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"spare-parts-stock"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:"入库",dialogVisible:t.centervisibleIn,"before-close":t.handleCancelIn},on:{cancel:t.handleCancelIn,confirm:t.handleConfirmIn}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmitIn}})],1),e("base-dialog",{attrs:{dialogTitle:"编辑",dialogVisible:t.centervisibleEdit,"before-close":t.handleCancelEdit},on:{cancel:t.handleCancelEdit,confirm:t.handleConfirmEdit}},[e("spare-parts-edit",{ref:"sparePartsEdit",on:{successSubmit:t.successSubmitEdit}})],1),e("base-dialog",{attrs:{dialogTitle:"出库",dialogVisible:t.centervisibleOut,"before-close":t.handleCancelOut},on:{cancel:t.handleCancelOut,confirm:t.handleConfirmOut}},[e("spare-parts-out",{ref:"sparePartsOut",on:{successSubmit:t.successSubmitOut}})],1)],1)},o=[],n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},on:{change:t.selectName},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-input",{attrs:{placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"入库数量",prop:"inNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.inNum,callback:function(e){t.$set(t.form,"inNum",e)},expression:"form.inNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],s=r(910),l=r(147),u={name:"SparePartsAdd",data(){return{form:{proLineId:"",type:"",sparePartName:"",model:"",batchCode:"",inNum:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],type:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],inNum:[{required:!0,message:"请输入入库数量",trigger:"blur"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[]}},methods:{init(){},selectName(t){(0,s.dN)({type:t}).then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[],this.form.sparePartName="",this.form.model=""}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.rd)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},m=u,p=r(1001),c=(0,p.Z)(m,n,i,!1,null,null,null),d=c.exports,f=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},h=[],b={name:"SparePartsEdit",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[{id:1,name:"1mm"}]}},methods:{init(t){t&&(this.form.id=t,(0,l.bO)({id:t}).then((t=>{console.log(t),this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark})))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.$d)({id:this.form.id,maxNum:this.form.maxNum,minNum:this.form.minNum,remark:this.form.remark,stockPosition:this.form.stockPosition}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},g=b,P=(0,p.Z)(g,f,h,!1,null,null,null),y=P.exports,L=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.batchChange},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.batchCode,value:t.batchCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商",disabled:""},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"出库数量",prop:"outNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.outNum,callback:function(e){t.$set(t.form,"outNum",e)},expression:"form.outNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领用人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领用人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},k=[],N={name:"SparePartsOut",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",batchCode:"",supplier:"",outNum:"",recipient:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请选择批次编码",trigger:"change"}],outNum:[{required:!0,message:"请输入出库数量",trigger:"blur"}],recipient:[{required:!0,message:"请输入领用人",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],batchCodeList:[]}},methods:{init(t){t&&(this.form.id=t,this.getBatchList(t),(0,l.bO)({id:t}).then((t=>{this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark}))),this.form.recipient=this.$store.getters.username?this.$store.getters.username:""},getBatchList(t){(0,l.Ku)({id:t}).then((t=>{this.batchCodeList=t.data}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.lJ)({id:this.form.id,batchCode:this.form.batchCode,outNum:this.form.outNum,recipient:this.form.recipient,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.batchCodeList=[]},batchChange(t){this.batchCodeList&&this.batchCodeList.map((e=>{e.batchCode===t&&(this.form.supplier=e.supplier)}))}}},S=N,C=(0,p.Z)(S,L,k,!1,null,null,null),Z=C.exports,v=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData.id)}},slot:"reference"},[t._v("详情")])],1)},x=[],$={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){console.log(t),(0,l.Dr)({id:t}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},w=$,q=(0,p.Z)(w,v,x,!1,null,null,null),I=q.exports,M=r(475);const T=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"sparePartType",label:"备件类别",minWidth:150},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"num",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"inventoryDetails",label:"库存详情",minWidth:100,subcomponent:I},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"stockPosition",label:"库位",minWidth:140},{prop:"remark",label:"备注",minWidth:150}],O=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var _={name:"SparePartsStock",components:{SparePartsAdd:d,SparePartsEdit:y,SparePartsOut:Z},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",labelField:"dataName",valueField:"dataCode",defaultSelect:"",width:150},{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"input",label:"备件名称",placeholder:"备件名称",param:"sparePartName"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:T,tableData:[],tableBtn:O,tableH:(0,M.NC)(320),total:0,listQuery:{current:1,size:20},centervisibleIn:!1,centervisibleEdit:!1,centervisibleOut:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,M.NC)(320)})),this.getList()},methods:{getList(){(0,l.HJ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){console.log(t),"edit"===t.type?(this.centervisibleEdit=!0,this.$nextTick((()=>{this.$refs.sparePartsEdit.init(t.data.id)}))):"output"===t.type&&(this.centervisibleOut=!0,this.$nextTick((()=>{this.$refs.sparePartsOut.init(t.data.id)})))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.type="",this.listQuery.sparePartName="",this.listQuery.model="",this.listQuery.current=1,this.getList();break;case"add":this.centervisibleIn=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}));break;default:this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,(0,l.$F)({...this.listQuery}).then((t=>{let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([t.data]),o=new FileReader;o.readAsDataURL(a),o.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancelIn(){this.$refs.sparePartsAdd.formClear(),this.centervisibleIn=!1},handleConfirmIn(){this.$refs.sparePartsAdd.submitForm()},successSubmitIn(){this.handleCancelIn(),this.getList()},handleCancelEdit(){this.$refs.sparePartsEdit.formClear(),this.centervisibleEdit=!1},handleConfirmEdit(){this.$refs.sparePartsEdit.submitForm()},successSubmitEdit(){this.handleCancelEdit(),this.getList()},handleCancelOut(){this.$refs.sparePartsOut.formClear(),this.centervisibleOut=!1},handleConfirmOut(){this.$refs.sparePartsOut.submitForm()},successSubmitOut(){this.handleCancelOut(),this.getList()}}},E=_,Q=(0,p.Z)(E,a,o,!1,null,"10587646",null),A=Q.exports},910:function(t,e,r){r.d(e,{$0:function(){return Z},A0:function(){return C},D0:function(){return i},ER:function(){return q},Hg:function(){return D},J_:function(){return I},Kl:function(){return S},ME:function(){return m},Or:function(){return g},P4:function(){return u},Py:function(){return p},QL:function(){return _},Qj:function(){return k},Sc:function(){return h},Sl:function(){return P},W0:function(){return F},WZ:function(){return f},Wj:function(){return l},Zs:function(){return o},_:function(){return w},_1:function(){return y},a:function(){return A},ag:function(){return v},b8:function(){return b},dN:function(){return c},fZ:function(){return d},jF:function(){return n},kB:function(){return M},m3:function(){return Q},oW:function(){return $},qT:function(){return L},sU:function(){return s},sy:function(){return T},tb:function(){return N},wy:function(){return O},xf:function(){return x},yk:function(){return E}});var a=r(8859);function o(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,r){r.d(e,{$7:function(){return M},$F:function(){return b},$N:function(){return $},$d:function(){return c},A5:function(){return S},Ah:function(){return i},Dr:function(){return f},HJ:function(){return u},Im:function(){return k},KK:function(){return q},KQ:function(){return Z},Ko:function(){return T},Ku:function(){return h},OP:function(){return l},OT:function(){return g},UP:function(){return y},Uw:function(){return O},YG:function(){return x},bO:function(){return p},co:function(){return P},fK:function(){return N},h:function(){return w},jL:function(){return I},lJ:function(){return d},lZ:function(){return s},pl:function(){return v},rd:function(){return m},uN:function(){return n},yx:function(){return L},zG:function(){return C},zh:function(){return o}});var a=r(8859);function o(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,a.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function y(t){return(0,a.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function $(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,a.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6729],{6729:function(t,e,r){r.r(e),r.d(e,{default:function(){return Q}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"spare-parts-stock"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"row-class-name":t.tableRowClassName}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:"入库",dialogVisible:t.centervisibleIn,"before-close":t.handleCancelIn},on:{cancel:t.handleCancelIn,confirm:t.handleConfirmIn}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmitIn}})],1),e("base-dialog",{attrs:{dialogTitle:"编辑",dialogVisible:t.centervisibleEdit,"before-close":t.handleCancelEdit},on:{cancel:t.handleCancelEdit,confirm:t.handleConfirmEdit}},[e("spare-parts-edit",{ref:"sparePartsEdit",on:{successSubmit:t.successSubmitEdit}})],1),e("base-dialog",{attrs:{dialogTitle:"出库",dialogVisible:t.centervisibleOut,"before-close":t.handleCancelOut},on:{cancel:t.handleCancelOut,confirm:t.handleConfirmOut}},[e("spare-parts-out",{ref:"sparePartsOut",on:{successSubmit:t.successSubmitOut}})],1)],1)},i=[],n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},on:{change:t.selectName},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-input",{attrs:{placeholder:"批次编码"},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"入库数量",prop:"inNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.inNum,callback:function(e){t.$set(t.form,"inNum",e)},expression:"form.inNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商"},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},o=[],s=r(910),l=r(147),u={name:"SparePartsAdd",data(){return{form:{proLineId:"",type:"",sparePartName:"",model:"",batchCode:"",inNum:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],type:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请输入批次编码",trigger:"blur"}],inNum:[{required:!0,message:"请输入入库数量",trigger:"blur"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[]}},methods:{init(){},selectName(t){(0,s.dN)({type:t}).then((t=>{this.sparePartsList=t.data,this.sparePartsSpecList=[],this.form.sparePartName="",this.form.model=""}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.rd)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},m=u,p=r(1001),c=(0,p.Z)(m,n,o,!1,null,null,null),d=c.exports,f=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"库位",prop:"stockPosition"}},[e("el-input",{attrs:{placeholder:"库位"},model:{value:t.form.stockPosition,callback:function(e){t.$set(t.form,"stockPosition",e)},expression:"form.stockPosition"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最低安全库存",prop:"minNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.minNum,callback:function(e){t.$set(t.form,"minNum",e)},expression:"form.minNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"最高安全库存",prop:"maxNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:9999999999},model:{value:t.form.maxNum,callback:function(e){t.$set(t.form,"maxNum",e)},expression:"form.maxNum"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},h=[],b={name:"SparePartsEdit",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",supplier:"",stockPosition:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],stockPosition:[{required:!0,message:"请输入库位",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[{id:1,name:"1mm"}]}},methods:{init(t){t&&(this.form.id=t,(0,l.bO)({id:t}).then((t=>{console.log(t),this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark})))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.$d)({id:this.form.id,maxNum:this.form.maxNum,minNum:this.form.minNum,remark:this.form.remark,stockPosition:this.form.stockPosition}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},g=b,P=(0,p.Z)(g,f,h,!1,null,null,null),y=P.exports,L=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线",disabled:""},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件类别",prop:"sparePartType"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别",disabled:""},model:{value:t.form.sparePartType,callback:function(e){t.$set(t.form,"sparePartType",e)},expression:"form.sparePartType"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称",disabled:""},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号",disabled:""},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}},t._l(t.sparePartsSpecList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"批次编码",prop:"batchCode"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"批次编码"},on:{change:t.batchChange},model:{value:t.form.batchCode,callback:function(e){t.$set(t.form,"batchCode",e)},expression:"form.batchCode"}},t._l(t.batchCodeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.batchCode,value:t.batchCode}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"供应商",prop:"supplier"}},[e("el-input",{attrs:{placeholder:"供应商",disabled:""},model:{value:t.form.supplier,callback:function(e){t.$set(t.form,"supplier",e)},expression:"form.supplier"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"出库数量",prop:"outNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:999999999},model:{value:t.form.outNum,callback:function(e){t.$set(t.form,"outNum",e)},expression:"form.outNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"领用人",prop:"recipient"}},[e("el-input",{attrs:{placeholder:"领用人"},model:{value:t.form.recipient,callback:function(e){t.$set(t.form,"recipient",e)},expression:"form.recipient"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},k=[],N={name:"SparePartsOut",data(){return{form:{id:"",proLineId:"",sparePartType:"",sparePartName:"",model:"",batchCode:"",supplier:"",outNum:"",recipient:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],sparePartType:[{required:!0,message:"请选择备件类型",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],batchCode:[{required:!0,message:"请选择批次编码",trigger:"change"}],outNum:[{required:!0,message:"请输入出库数量",trigger:"blur"}],recipient:[{required:!0,message:"请输入领用人",trigger:"blur"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,sparePartsList:[],sparePartsSpecList:[],batchCodeList:[]}},methods:{init(t){t&&(this.form.id=t,this.getBatchList(t),(0,l.bO)({id:t}).then((t=>{this.form.proLineId=t.data.proLineId,this.form.sparePartType=t.data.sparePartType,this.form.sparePartName=t.data.sparePartName,this.form.model=t.data.model,this.form.maxNum=t.data.maxNum,this.form.minNum=t.data.minNum,this.form.stockPosition=t.data.stockPosition,this.form.remark=t.data.remark}))),this.form.recipient=this.$store.getters.username?this.$store.getters.username:""},getBatchList(t){(0,l.Ku)({id:t}).then((t=>{this.batchCodeList=t.data}))},selectModel(t){(0,s.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,this.form.model=""}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;(0,l.lJ)({id:this.form.id,batchCode:this.form.batchCode,outNum:this.form.outNum,recipient:this.form.recipient,remark:this.form.remark}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[],this.batchCodeList=[]},batchChange(t){this.batchCodeList&&this.batchCodeList.map((e=>{e.batchCode===t&&(this.form.supplier=e.supplier)}))}}},S=N,C=(0,p.Z)(S,L,k,!1,null,null,null),v=C.exports,Z=function(){var t=this,e=t._self._c;return e("el-popover",{attrs:{placement:"right",width:"500",trigger:"click"}},[e("el-table",{attrs:{data:t.tableData}},[e("el-table-column",{attrs:{prop:"batchCode",label:"批次编码",width:"160"}}),e("el-table-column",{attrs:{prop:"supplier",label:"供应商",width:"220"}}),e("el-table-column",{attrs:{prop:"num",label:"当前库存"}})],1),e("el-button",{staticClass:"tableInnerButton",attrs:{slot:"reference",type:"text"},on:{click:function(e){return t.showInnerTable(t.injectData.id)}},slot:"reference"},[t._v("详情")])],1)},x=[],$={name:"InnerTable",props:{injectData:{type:Object,default:()=>({})},itemProp:{type:String}},data(){return{list:this.injectData,tableData:[]}},methods:{showInnerTable(t){console.log(t),(0,l.Dr)({id:t}).then((t=>{0===t.code&&(this.tableData=t.data)}))}}},q=$,w=(0,p.Z)(q,Z,x,!1,null,null,null),I=w.exports,M=r(475);const T=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"sparePartType",label:"备件类别",minWidth:150},{prop:"sparePartName",label:"备件名称",minWidth:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"num",label:"库存数量/个",sortable:!0,minWidth:150},{prop:"inventoryDetails",label:"库存详情",minWidth:100,subcomponent:I},{prop:"minNum",label:"最低安全库存",width:150},{prop:"maxNum",label:"最高安全库存",width:150},{prop:"stockPosition",label:"库位",minWidth:140},{prop:"remark",label:"备注",minWidth:150}],O=[{type:"edit",btnName:"编辑"},{type:"output",btnName:"出库"}];var _={name:"SparePartsStock",components:{SparePartsAdd:d,SparePartsEdit:y,SparePartsOut:v},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",labelField:"dataName",valueField:"dataCode",defaultSelect:"",width:150},{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:"",width:150},{type:"input",label:"备件名称",placeholder:"备件名称",param:"sparePartName"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"入库",name:"add",color:"primary",plain:!0},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0}],tableProps:T,tableData:[],tableBtn:O,tableH:(0,M.NC)(320),total:0,listQuery:{current:1,size:20},centervisibleIn:!1,centervisibleEdit:!1,centervisibleOut:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,M.NC)(320)})),this.getList()},methods:{getList(){(0,l.HJ)({...this.listQuery}).then((t=>{console.log(t),0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){console.log(t),"edit"===t.type?(this.centervisibleEdit=!0,this.$nextTick((()=>{this.$refs.sparePartsEdit.init(t.data.id)}))):"output"===t.type&&(this.centervisibleOut=!0,this.$nextTick((()=>{this.$refs.sparePartsOut.init(t.data.id)})))},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.proLineId="",this.listQuery.type="",this.listQuery.sparePartName="",this.listQuery.model="",this.listQuery.current=1,this.getList();break;case"add":this.centervisibleIn=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}));break;default:this.listQuery.proLineId=t.proLineId,this.listQuery.type=t.type,this.listQuery.sparePartName=t.sparePartName,this.listQuery.model=t.model,(0,l.$F)({...this.listQuery}).then((t=>{let e="";const r=t.headers["content-disposition"];r&&(e=decodeURIComponent(r.slice(r.indexOf("filename=")+9)));const a=new Blob([t.data]),i=new FileReader;i.readAsDataURL(a),i.onload=t=>{const r=document.createElement("a");r.download=e,r.href=t.target.result,document.body.appendChild(r),r.click(),document.body.removeChild(r)}}))}},tableRowClassName({row:t}){return t.flag&&t.flag>0?"danger-row":""},handleCancelIn(){this.$refs.sparePartsAdd.formClear(),this.centervisibleIn=!1},handleConfirmIn(){this.$refs.sparePartsAdd.submitForm()},successSubmitIn(){this.handleCancelIn(),this.getList()},handleCancelEdit(){this.$refs.sparePartsEdit.formClear(),this.centervisibleEdit=!1},handleConfirmEdit(){this.$refs.sparePartsEdit.submitForm()},successSubmitEdit(){this.handleCancelEdit(),this.getList()},handleCancelOut(){this.$refs.sparePartsOut.formClear(),this.centervisibleOut=!1},handleConfirmOut(){this.$refs.sparePartsOut.submitForm()},successSubmitOut(){this.handleCancelOut(),this.getList()}}},E=_,A=(0,p.Z)(E,a,i,!1,null,"10587646",null),Q=A.exports},910:function(t,e,r){r.d(e,{$0:function(){return v},A0:function(){return C},D0:function(){return o},ER:function(){return w},Kl:function(){return S},ME:function(){return m},Or:function(){return g},P4:function(){return u},Py:function(){return p},Qj:function(){return k},Sc:function(){return h},Sl:function(){return P},WZ:function(){return f},Wj:function(){return l},Zs:function(){return i},_:function(){return q},_1:function(){return y},ag:function(){return Z},b8:function(){return b},dN:function(){return c},fZ:function(){return d},jF:function(){return n},oW:function(){return $},qT:function(){return L},sU:function(){return s},tb:function(){return N},xf:function(){return x}});var a=r(8859);function i(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}},147:function(t,e,r){r.d(e,{$7:function(){return M},$F:function(){return b},$N:function(){return $},$d:function(){return c},A5:function(){return S},Ah:function(){return o},Dr:function(){return f},HJ:function(){return u},Im:function(){return k},KK:function(){return w},KQ:function(){return v},Ko:function(){return T},Ku:function(){return h},OP:function(){return l},OT:function(){return g},UP:function(){return y},Uw:function(){return O},YG:function(){return x},bO:function(){return p},co:function(){return P},fK:function(){return N},h:function(){return q},jL:function(){return I},lJ:function(){return d},lZ:function(){return s},pl:function(){return Z},rd:function(){return m},uN:function(){return n},yx:function(){return L},zG:function(){return C},zh:function(){return i}});var a=r(8859);function i(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function g(t){return(0,a.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function y(t){return(0,a.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function $(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function M(t){return(0,a.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function T(t){return(0,a.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/698.bdb8da01.js b/dist/js/698.686547a1.js similarity index 50% rename from dist/js/698.bdb8da01.js rename to dist/js/698.686547a1.js index 81065c5..482d860 100644 --- a/dist/js/698.bdb8da01.js +++ b/dist/js/698.686547a1.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[698],{8027:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},n=[],i={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},o=i,s=r(1001),u=(0,s.Z)(o,a,n,!1,null,null,null),l=u.exports},698:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{attrs:{label:"备件名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"备件名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-input",{attrs:{placeholder:"无型号请填写为 /"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,r){return e("el-option",{key:r,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},o=[],s=r(910),u={name:"SparePartsAdd",data(){return{form:{id:"",type:"",name:"",model:"",enabled:1},sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{type:[{required:!0,message:"请选择备件类别",trigger:"change"}],name:[{required:!0,message:"请输入备件名称",trigger:"blur"}],model:[{required:!0,message:"请输入备件型号",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,s.ME)({id:t.id}).then((e=>{0===e.code&&(this.form.type=e.data.type,this.form.name=e.data.name,this.form.model="copy"===t.type?"":e.data.model,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,s.Py)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,s.P4)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},l=u,d=r(1001),c=(0,d.Z)(l,i,o,!1,null,null,null),p=c.exports,m=r(475),f=r(8027);const h=[{prop:"type",label:"备件类别"},{prop:"name",label:"备件名称"},{prop:"model",label:"备件型号"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"SparePartsConfig",components:{SparePartsAdd:p},data(){return{formConfig:[{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:""},{type:"input",label:"备件名称",placeholder:"备件名称",param:"name"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,m.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,m.NC)(265)})),this.getList()},methods:{getList(){(0,s.Wj)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.type=t.type,this.listQuery.name=t.name,this.listQuery.model=t.model,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.type="",this.listQuery.name="",this.listQuery.model="",this.listQuery.enabled="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.sparePartsAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.sparePartsAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,d.Z)(y,a,n,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return S},A0:function(){return P},D0:function(){return o},ER:function(){return T},Hg:function(){return A},J_:function(){return E},Kl:function(){return N},ME:function(){return d},Or:function(){return g},P4:function(){return l},Py:function(){return c},QL:function(){return q},Qj:function(){return L},Sc:function(){return h},Sl:function(){return y},W0:function(){return D},WZ:function(){return f},Wj:function(){return u},Zs:function(){return n},_:function(){return Q},_1:function(){return C},a:function(){return j},ag:function(){return k},b8:function(){return b},dN:function(){return p},fZ:function(){return m},jF:function(){return i},kB:function(){return _},m3:function(){return B},oW:function(){return w},qT:function(){return Z},sU:function(){return s},sy:function(){return x},tb:function(){return v},wy:function(){return O},xf:function(){return $},yk:function(){return F}});var a=r(8859);function n(t){return(0,a.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function l(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,a.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function N(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function P(t){return(0,a.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function $(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function w(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function Q(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function T(t){return(0,a.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function E(t){return(0,a.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function O(t){return(0,a.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function B(t){return(0,a.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function j(t){return(0,a.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function A(t){return(0,a.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function D(t){return(0,a.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[698],{8027:function(t,e,a){a.d(e,{Z:function(){return u}});var i=function(){var t=this,e=t._self._c;return e("div",[e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.showName))])],1)},r=[],n={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:"",showName:"",list:JSON.parse(localStorage.getItem("publicList")).enabledVoList}},mounted(){this.init()},methods:{init(){1===this.injectData.enabled?this.tagType="":this.tagType="warning",this.list&&this.list.map((t=>{t.dataCode===this.injectData.enabled&&(this.showName=t.dataName)}))}},watch:{injectData(t,e){e.enabled!==t.enabled&&this.init()}}},s=n,o=a(1001),l=(0,o.Z)(s,i,r,!1,null,null,null),u=l.exports},698:function(t,e,a){a.r(e),a.d(e,{default:function(){return Z}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:120,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("spare-parts-add",{ref:"sparePartsAdd",on:{successSubmit:t.successSubmit}})],1)],1)},r=[],n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"80px",model:t.form}},[e("el-form-item",{attrs:{label:"备件类别",prop:"type"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件类别"},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.sparePartsTypeList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataName}})})),1)],1),e("el-form-item",{attrs:{label:"备件名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"备件名称"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("el-form-item",{attrs:{label:"备件型号",prop:"model"}},[e("el-input",{attrs:{placeholder:"无型号请填写为 /"},model:{value:t.form.model,callback:function(e){t.$set(t.form,"model",e)},expression:"form.model"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{label:"状态",prop:"enabled"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"状态"},model:{value:t.form.enabled,callback:function(e){t.$set(t.form,"enabled",e)},expression:"form.enabled"}},t._l(t.stateList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.dataName,value:t.dataCode}})})),1)],1)],1)},s=[],o=a(910),l={name:"SparePartsAdd",data(){return{form:{id:"",type:"",name:"",model:"",enabled:1},sparePartsTypeList:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,stateList:JSON.parse(localStorage.getItem("publicList")).enabledVoList,rules:{type:[{required:!0,message:"请选择备件类别",trigger:"change"}],name:[{required:!0,message:"请输入备件名称",trigger:"blur"}],model:[{required:!0,message:"请输入备件型号",trigger:"blur"}]},isEdit:!1}},methods:{init(t){t?(this.form.id=t.id,(0,o.ME)({id:t.id}).then((e=>{0===e.code&&(this.form.type=e.data.type,this.form.name=e.data.name,this.form.model="copy"===t.type?"":e.data.model,this.form.enabled=e.data.enabled)})),"edit"===t.type?this.isEdit=!0:(this.isEdit=!1,this.form.id="")):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?(0,o.Py)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,o.P4)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},u=l,d=a(1001),c=(0,d.Z)(u,n,s,!1,null,null,null),m=c.exports,p=a(475),f=a(8027);const h=[{prop:"type",label:"备件类别"},{prop:"name",label:"备件名称"},{prop:"model",label:"备件型号"},{prop:"enabled",label:"状态",width:120,subcomponent:f.Z}],b=[{type:"edit",btnName:"编辑"},{type:"copy",btnName:"复制"}];var g={name:"SparePartsConfig",components:{SparePartsAdd:m},data(){return{formConfig:[{type:"select",label:"备件类别",selectOptions:JSON.parse(localStorage.getItem("publicList")).sparePartsTypeList,param:"type",labelField:"dataName",valueField:"dataName",defaultSelect:""},{type:"input",label:"备件名称",placeholder:"备件名称",param:"name"},{type:"input",label:"备件型号",placeholder:"备件型号",param:"model"},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).enabledVoList,labelField:"dataName",valueField:"dataCode",param:"enabled",defaultSelect:"",width:120},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:h,tableData:[],tableBtn:b,tableH:(0,p.NC)(265),total:0,listQuery:{current:1,size:20},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,p.NC)(265)})),this.getList()},methods:{getList(){(0,o.Wj)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.type=t.type,this.listQuery.name=t.name,this.listQuery.model=t.model,this.listQuery.enabled=t.enabled,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.type="",this.listQuery.name="",this.listQuery.model="",this.listQuery.enabled="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.sparePartsAdd.init()}))}},handleClick(t){if("edit"===t.type){this.addOrEditTitle="编辑";const e={id:t.data.id,type:"edit"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}else if("copy"===t.type){this.addOrEditTitle="新增";const e={id:t.data.id,type:"copy"};this.$nextTick((()=>{this.$refs.sparePartsAdd.init(e)})),this.centervisible=!0}},handleCancel(){this.$refs.sparePartsAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.sparePartsAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},y=g,C=(0,d.Z)(y,i,r,!1,null,null,null),Z=C.exports},910:function(t,e,a){a.d(e,{$0:function(){return S},A0:function(){return P},D0:function(){return s},ER:function(){return E},Kl:function(){return N},ME:function(){return d},Or:function(){return g},P4:function(){return u},Py:function(){return c},Qj:function(){return L},Sc:function(){return h},Sl:function(){return y},WZ:function(){return f},Wj:function(){return l},Zs:function(){return r},_:function(){return w},_1:function(){return C},ag:function(){return $},b8:function(){return b},dN:function(){return m},fZ:function(){return p},jF:function(){return n},oW:function(){return T},qT:function(){return Z},sU:function(){return o},tb:function(){return v},xf:function(){return k}});var i=a(8859);function r(t){return(0,i.Z)({url:"/basic/account/page",method:"post",data:t})}function n(t){return(0,i.Z)({url:"/basic/account/add",method:"post",data:t})}function s(t){return(0,i.Z)({url:"/basic/account/get",method:"post",data:t})}function o(t){return(0,i.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function c(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function m(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,i.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,i.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,i.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,i.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,i.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,i.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function C(t){return(0,i.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function Z(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function L(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function v(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function N(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function P(t){return(0,i.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function S(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function $(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function k(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function T(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function w(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,i.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/8311.74c6e8f9.js b/dist/js/8311.74c6e8f9.js deleted file mode 100644 index 825be8f..0000000 --- a/dist/js/8311.74c6e8f9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[8311],{8311:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-class-add",{ref:"reportClass",on:{successSubmit:t.successSubmit}})],1)],1)},i=[],a=r(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表分类名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1)},s=[],u=r(910),c={name:"ReportClassAdd",data(){return{form:{id:"",name:""},isEdit:!1,rules:{name:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.Hg)({id:t}).then((t=>{0===t.code&&(this.form.name=t.data.name)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?((0,u.a)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")):(console.log(this.form),(0,u.m3)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit"))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},d=c,l=r(1001),f=(0,l.Z)(d,o,s,!1,null,null,null),m=f.exports;const p=[{prop:"name",label:"报表分类名"}],h=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var b={name:"ReportClassification",components:{ReportClassAdd:m},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表分类名",param:"name",width:300},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:p,tableData:[],tableBtn:h,tableH:(0,a.NC)(330),total:0,listQuery:{current:1,size:20,name:""},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,a.NC)(265)})),this.getList()},methods:{getList(){(0,u.yk)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},handleClick(t){"edit"===t.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.reportClass.init(t.data.id)})),this.centervisible=!0):this.$confirm('确认删除报表分类名"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.W0)({id:t.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportClass.init()}))}},handleCancel(){this.$refs.reportClass.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportClass.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},g=b,C=(0,l.Z)(g,n,i,!1,null,null,null),Z=C.exports},910:function(t,e,r){r.d(e,{$0:function(){return E},A0:function(){return v},D0:function(){return o},ER:function(){return _},Hg:function(){return F},J_:function(){return q},Kl:function(){return k},ME:function(){return d},Or:function(){return g},P4:function(){return c},Py:function(){return l},QL:function(){return x},Qj:function(){return $},Sc:function(){return h},Sl:function(){return C},W0:function(){return H},WZ:function(){return p},Wj:function(){return u},Zs:function(){return i},_:function(){return S},_1:function(){return Z},a:function(){return D},ag:function(){return Q},b8:function(){return b},dN:function(){return f},fZ:function(){return m},jF:function(){return a},kB:function(){return B},m3:function(){return z},oW:function(){return P},qT:function(){return y},sU:function(){return s},sy:function(){return N},tb:function(){return L},wy:function(){return T},xf:function(){return w},yk:function(){return O}});var n=r(8859);function i(t){return(0,n.Z)({url:"/basic/account/page",method:"post",data:t})}function a(t){return(0,n.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,n.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,n.Z)({url:"/basic/account/update",method:"post",data:t})}function u(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function c(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function l(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function f(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function m(t){return(0,n.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function p(t){return(0,n.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,n.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function b(t){return(0,n.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function g(t){return(0,n.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function C(t){return(0,n.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function Z(t){return(0,n.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function y(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function $(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function L(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function k(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function v(t){return(0,n.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function E(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function Q(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function w(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function P(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function S(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function _(t){return(0,n.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function q(t){return(0,n.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function B(t){return(0,n.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function N(t){return(0,n.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function T(t){return(0,n.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function x(t){return(0,n.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function O(t){return(0,n.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function z(t){return(0,n.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function D(t){return(0,n.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function F(t){return(0,n.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function H(t){return(0,n.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/868.2820c60e.js b/dist/js/868.2820c60e.js deleted file mode 100644 index 97082aa..0000000 --- a/dist/js/868.2820c60e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[868],{868:function(e,t,n){n.r(t),n.d(t,{default:function(){return o}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"generate-reports-box"},[t("el-menu",{attrs:{"default-active":e.activeName,mode:"horizontal"},on:{select:e.handleSelect}},[t("el-menu-item",{attrs:{index:"productionReport"}},[e._v("生产报表")]),t("el-menu-item",{attrs:{index:"substrateGlassQuality"}},[e._v("基板玻璃品质")]),t("el-menu-item",{attrs:{index:"thicknessDetection"}},[e._v("厚度检测")])],1),t("section",[t("router-view")],1)],1)},s=[],r={name:"GenerateReports",data(){return{activeName:""}},mounted(){this.activeName=this.$route.name},methods:{handleSelect(e){this.$router.push({name:e})}},watch:{$route:{handler:function(e){this.activeName=e.name}}}},i=r,u=n(1001),l=(0,u.Z)(i,a,s,!1,null,null,null),o=l.exports}}]); \ No newline at end of file diff --git a/dist/js/889.5b9672f6.js b/dist/js/889.5b9672f6.js deleted file mode 100644 index 05fe89a..0000000 --- a/dist/js/889.5b9672f6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[889],{889:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});var a=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"thicknessDistributionMap",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{ref:"thicknessDistributionTable",attrs:{id:"thicknessDistributionTable1","table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{"current-change":t.handleCurrentChange}})],1)]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"right-box"},[e("thickness-distribution-chart")],1)])],1)},n=[],s=r(475),o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"thicknessDistributionChart"},[t._m(0),t._m(1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"thicknessChart"}})])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-table"},[e("ul",[e("li",[t._v("转换速度:32654654")]),e("li",[t._v("配方类型:G8.5-0943")]),e("li",[t._v("玻璃索引:56565")]),e("li",[t._v("等级:G1")]),e("li")]),e("ul",[e("li",{staticClass:"red-tip"},[t._v("最大值:235454")]),e("li",{staticClass:"blue-tip"},[t._v("最小值:5652356")]),e("li",{staticClass:"purple-tip"},[t._v("平均值:6856532656")]),e("li",{staticClass:"green-tip"},[t._v("厚度差:656413212")]),e("li",{staticClass:"yellow-tip"},[t._v("研磨类型:4ABC")])])])},function(){var t=this,e=t._self._c;return e("div",[e("span",{staticClass:"title"},[t._v("玻璃ID:46745386415274874")])])}],u=r(7171),l=r(5468),c={name:"thicknessDistributionChart",mixins:[l.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,s.NC)(320)}},mounted(){this.chartDom=document.getElementById("thicknessChart"),this.chart=u.S1(this.chartDom),this.getChart(),window.addEventListener("resize",(()=>{this.chartHeight=(0,s.NC)(320)}))},methods:{getChart(){let t=[];for(let n=1;n<=21;n++)t.push(n);let e=[];for(let n=1;n<=7;n++)e.push(n);const r=[];for(let n=0;n{this.tableH=(0,s.NC)(350)})),this.formConfig[0].defaultSelect=[b()().format("yyyy-MM-DD")+"T00:00:00",b()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=b()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=b()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,m.dy)({...this.listQuery}).then((t=>{if(console.log(t),0===t.code&&t.data.length>0){let e=this;e.tableData=t.data,e.$nextTick((()=>{e.$refs.thicknessDistributionTable.setCurrent("thicknessDistributionTable1",0)})),e.drawGlassId=e.tableData[0].id}else this.tableData=[],this.drawGlassId=""}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassId=t.glassId,this.getList();break;default:(0,m.uX)(this.drawGlassId).then((t=>{console.log(t)}))}},handleCurrentChange(t){this.drawGlassId=t.newVal.id}}},D=C,T=(0,d.Z)(D,a,n,!1,null,"f61202a6",null),Z=T.exports},2334:function(t,e,r){r.d(e,{AT:function(){return P},Af:function(){return i},F0:function(){return f},G$:function(){return C},Jt:function(){return g},ON:function(){return l},QI:function(){return o},Qd:function(){return m},YU:function(){return h},an:function(){return I},bu:function(){return w},dy:function(){return T},eT:function(){return p},fL:function(){return _},gP:function(){return x},iF:function(){return c},jA:function(){return s},kT:function(){return F},nE:function(){return b},oR:function(){return k},pS:function(){return u},pw:function(){return d},qn:function(){return G},r5:function(){return y},uW:function(){return q},uX:function(){return Z},uj:function(){return v},v:function(){return n},vD:function(){return D}});var a=r(8859);function n(t){return(0,a.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function s(t){return(0,a.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function i(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function u(t){return(0,a.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function l(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function h(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function D(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function Z(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function q(t){return(0,a.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function w(t){return(0,a.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function I(t){return(0,a.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function P(t){return(0,a.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function _(t){return(0,a.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function F(t){return(0,a.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function x(t){return(0,a.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function G(t){return(0,a.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/889.fda67dfe.js b/dist/js/889.fda67dfe.js new file mode 100644 index 0000000..3d922ba --- /dev/null +++ b/dist/js/889.fda67dfe.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[889],{889:function(t,e,r){r.r(e),r.d(e,{default:function(){return v}});var a=function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"thicknessDistributionMap",attrs:{gutter:8}},[e("el-col",{attrs:{span:10}},[e("div",{staticClass:"left-box"},[e("search-bar",{attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{ref:"thicknessDistributionTable",attrs:{id:"thicknessDistributionTable1","table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH,"highlight-current-row":""},on:{"current-change":t.handleCurrentChange}})],1)]),e("el-col",{attrs:{span:14}},[e("div",{staticClass:"right-box"},[e("thickness-distribution-chart")],1)])],1)},s=[],n=r(475),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"thicknessDistributionChart"},[t._m(0),t._m(1),e("div",{staticStyle:{width:"100%"},style:{height:t.chartHeight+"px"},attrs:{id:"thicknessChart"}})])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-table"},[e("ul",[e("li",[t._v("转换速度:32654654")]),e("li",[t._v("配方类型:G8.5-0943")]),e("li",[t._v("玻璃索引:56565")]),e("li",[t._v("等级:G1")]),e("li")]),e("ul",[e("li",{staticClass:"red-tip"},[t._v("最大值:235454")]),e("li",{staticClass:"blue-tip"},[t._v("最小值:5652356")]),e("li",{staticClass:"purple-tip"},[t._v("平均值:6856532656")]),e("li",{staticClass:"green-tip"},[t._v("厚度差:656413212")]),e("li",{staticClass:"yellow-tip"},[t._v("研磨类型:4ABC")])])])},function(){var t=this,e=t._self._c;return e("div",[e("span",{staticClass:"title"},[t._v("玻璃ID:46745386415274874")])])}],l=r(7171),u=r(5468),c={name:"thicknessDistributionChart",mixins:[u.Z],data(){return{chartDom:"",chart:"",chartHeight:(0,n.NC)(320)}},mounted(){this.chartDom=document.getElementById("thicknessChart"),this.chart=l.S1(this.chartDom),this.getChart(),window.addEventListener("resize",(()=>{this.chartHeight=(0,n.NC)(320)}))},methods:{getChart(){let t=[];for(let s=1;s<=21;s++)t.push(s);let e=[];for(let s=1;s<=7;s++)e.push(s);const r=[];for(let s=0;s{this.tableH=(0,n.NC)(350)})),this.formConfig[0].defaultSelect=[b()().format("yyyy-MM-DD")+"T00:00:00",b()().format("yyyy-MM-DD")+"T23:59:59"],this.listQuery.startTime=b()().format("yyyy-MM-DD")+"T00:00:00",this.listQuery.endTime=b()().format("yyyy-MM-DD")+"T23:59:59",this.getList()},methods:{getList(){(0,f.dy)({...this.listQuery}).then((t=>{if(console.log(t),0===t.code&&t.data.length>0){let e=this;e.tableData=t.data,e.$nextTick((()=>{e.$refs.thicknessDistributionTable.setCurrent("thicknessDistributionTable1",0)})),e.drawGlassId=e.tableData[0].id}else this.tableData=[],this.drawGlassId=""}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.glassId=t.glassId,this.getList();break;default:(0,f.uX)(this.drawGlassId).then((t=>{console.log(t)}))}},handleCurrentChange(t){this.drawGlassId=t.newVal.id}}},D=C,T=(0,h.Z)(D,a,s,!1,null,"f61202a6",null),v=T.exports},2334:function(t,e,r){r.d(e,{Af:function(){return o},F0:function(){return m},G$:function(){return C},Jt:function(){return g},ON:function(){return u},QI:function(){return i},Qd:function(){return f},YU:function(){return p},dy:function(){return T},eT:function(){return d},gP:function(){return q},iF:function(){return c},jA:function(){return n},kT:function(){return w},nE:function(){return b},pS:function(){return l},pw:function(){return h},qn:function(){return k},r5:function(){return y},uX:function(){return v},v:function(){return s},vD:function(){return D}});var a=r(8859);function s(t){return(0,a.Z)({url:"/quality/processDetect/page",method:"post",data:t})}function n(t){return(0,a.Z)({url:"/quality/processDetect/list",method:"post",data:t})}function i(t){return(0,a.Z)({url:"/quality/processDetect/add",method:"post",formState:!0,data:t})}function o(t){return(0,a.Z)({url:"/quality/processDetect/detectInput",method:"post",formState:!0,data:t})}function l(t){return(0,a.Z)({url:"/quality/processDetect/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function u(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/page",method:"post",data:t})}function c(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/getDetails",method:"post",data:t})}function d(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/listType",method:"post",data:t})}function h(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/export2",method:"post",responseType:"blob",data:t})}function p(t){return(0,a.Z)({url:"/quality/processCompleteInspetion/pageIIS",method:"post",data:t})}function m(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPoint",method:"post",data:t})}function f(t){return(0,a.Z)({url:"/quality/ProcessFull/drawPoint",method:"post",data:t})}function y(t){return(0,a.Z)({url:"/quality/ProcessFull/queryPointClear",method:"post",data:t})}function b(t){return(0,a.Z)({url:"/quality/ProcessFull/cornerData",method:"post",data:t})}function g(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport2",method:"post",responseType:"blob",data:t,timeout:6e4})}function C(t){return(0,a.Z)({url:"/quality/ProcessFull/pointExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function D(t){return(0,a.Z)({url:"/quality/ProcessFull/confirm",method:"post",data:t})}function T(t){return(0,a.Z)({url:"/quality/ProcessFull/queryThickness",method:"post",data:t})}function v(t){return(0,a.Z)({url:"/quality/ProcessFull/drawThickness",method:"post",formState:!0,data:t})}function w(t){return(0,a.Z)({url:"/quality/productTrace/page",method:"post",data:t})}function q(t){return(0,a.Z)({url:"/quality/productTrace/pageProcess",method:"post",data:t})}function k(t){return(0,a.Z)({url:"/quality/productTrace/pageProcessParameter",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/897.6b02e069.js b/dist/js/897.6b02e069.js deleted file mode 100644 index b068c17..0000000 --- a/dist/js/897.6b02e069.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[897],{897:function(t,e,a){a.r(e),a.d(e,{default:function(){return H}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"plan-maintenance"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:170,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addAndEdit,dialogVisible:t.centervisibleAdd,"before-close":t.handleCancelAdd},on:{cancel:t.handleCancelAdd,confirm:t.handleConfirmAdd}},[e("planned-maintenance-add",{ref:"plannedMaintenanceAdd",on:{successSubmit:t.successSubmitAdd}})],1),e("base-dialog",{attrs:{dialogTitle:t.sureAndEdit,dialogVisible:t.centervisibleSure,"before-close":t.handleCancelSure},on:{cancel:t.handleCancelSure,confirm:t.handleConfirmSure}},[e("planned-maintenance-edit",{ref:"plannedMaintenanceEdit",on:{successSubmit:t.successSubmitEdit}})],1)],1)},n=[],i=a(475),o=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:t.isEdit},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1)],1)},s=[],l=a(910),u=a(147),d=a(381),m=a.n(d),c=a(5591),p={name:"SparePartsAdd",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",proLineId:"",equipmentId:"",sparePartName:"",sparePartModel:"",maintainContent:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],sparePartModel:[{required:!0,message:"请选择备件型号",trigger:"change"}]},sparePartsList:[],sparePartsSpecList:[],isEdit:!1}},mounted(){},methods:{init(t){this.getTree(),this.getNameList(),t?(this.form.id=t,this.isEdit=!0,(0,u.yx)({id:t}).then((t=>{console.log(t),this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent}))):(this.form.planStartTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.planEndTime=m()().add(2,"days").format("yyyy-MM-DDTHH:mm:ss"),this.form.id="",this.isEdit=!1)},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{console.log(t),this.sparePartsList=t.data,this.sparePartsSpecList=[]}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{console.log(t),this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(console.log(this.form),!t)return!1;this.isEdit?(0,u.fK)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,u.Im)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))}))}))},formClear(){this.$refs.form.resetFields(),this.sparePartsList=[],this.sparePartsSpecList=[]}}},f=p,h=a(1001),g=(0,h.Z)(f,o,s,!1,null,null,null),b=g.exports,y=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"维护工单号",prop:"code"}},[e("el-input",{attrs:{placeholder:"维护工单号",disabled:""},model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划开始时间",prop:"planStartTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划开始时间"},model:{value:t.form.planStartTime,callback:function(e){t.$set(t.form,"planStartTime",e)},expression:"form.planStartTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"计划结束时间",prop:"planEndTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"计划结束时间"},model:{value:t.form.planEndTime,callback:function(e){t.$set(t.form,"planEndTime",e)},expression:"form.planEndTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"设备名称",prop:"equipmentId"}},[e("el-cascader",{staticStyle:{width:"100%"},attrs:{options:t.cascaderOptions,props:{value:"id",label:"name"}},on:{change:t.selectEq},model:{value:t.form.equipmentId,callback:function(e){t.$set(t.form,"equipmentId",e)},expression:"form.equipmentId"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件名称",prop:"sparePartName"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件名称"},on:{change:t.selectModel},model:{value:t.form.sparePartName,callback:function(e){t.$set(t.form,"sparePartName",e)},expression:"form.sparePartName"}},t._l(t.sparePartsList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.name,value:t.name}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"备件型号",prop:"sparePartModel"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"备件型号"},model:{value:t.form.sparePartModel,callback:function(e){t.$set(t.form,"sparePartModel",e)},expression:"form.sparePartModel"}},t._l(t.sparePartsSpecList,(function(t,a){return e("el-option",{key:a,attrs:{label:t.model,value:t.model}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"维护内容",prop:"maintainContent"}},[e("el-input",{attrs:{placeholder:"维护内容"},model:{value:t.form.maintainContent,callback:function(e){t.$set(t.form,"maintainContent",e)},expression:"form.maintainContent"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"更换数量",prop:"replaceNum"}},[e("el-input-number",{staticStyle:{width:"100%"},attrs:{min:0,max:99999999,label:"更换数量"},model:{value:t.form.replaceNum,callback:function(e){t.$set(t.form,"replaceNum",e)},expression:"form.replaceNum"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"执行人员",prop:"executeStaff"}},[e("el-input",{attrs:{placeholder:"执行人员"},model:{value:t.form.executeStaff,callback:function(e){t.$set(t.form,"executeStaff",e)},expression:"form.executeStaff"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际开始时间",prop:"startTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际开始时间"},model:{value:t.form.startTime,callback:function(e){t.$set(t.form,"startTime",e)},expression:"form.startTime"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"实际结束时间",prop:"endTime"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"datetime",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-ddTHH:mm:ss",placeholder:"实际结束时间"},model:{value:t.form.endTime,callback:function(e){t.$set(t.form,"endTime",e)},expression:"form.endTime"}})],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"完成情况",prop:"complete"}},[e("el-input",{attrs:{placeholder:"完成情况"},model:{value:t.form.complete,callback:function(e){t.$set(t.form,"complete",e)},expression:"form.complete"}})],1)],1)],1)],1)},S=[],M={name:"PlannedMaintenanceEdit",data(){return{form:{id:"",code:"",planStartTime:"",planEndTime:"",equipmentId:"",proLineId:"",sparePartName:"",sparePartModel:"",maintainContent:"",replaceNum:null,executeStaff:"",startTime:"",endTime:"",complete:""},cascaderOptions:[],rules:{code:[{required:!0,message:"请输入维护工单号",trigger:"blur"}],planStartTime:[{required:!0,message:"请选择计划开始时间",trigger:"change"}],planEndTime:[{required:!0,message:"请选择计划结束时间",trigger:"change"}],equipmentId:[{required:!0,message:"请选择设备名称",trigger:"change"}],sparePartName:[{required:!0,message:"请选择备件名称",trigger:"change"}],model:[{required:!0,message:"请选择备件型号",trigger:"change"}],replaceNum:[{required:!0,message:"请输入更换数量",trigger:"blur"}],executeStaff:[{required:!0,message:"请输入执行人员",trigger:"blur"}],startTime:[{required:!0,message:"请选择实际开始时间",trigger:"change"}],endTime:[{required:!0,message:"请选择实际结束时间",trigger:"change"}]},productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,sparePartsList:[],sparePartsSpecList:[],isSure:!1}},methods:{init(t){this.getNameList(),this.getTree(),this.form.id=t.id,"edit"===t.type?(this.isSure=!1,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.selectModel(this.form.sparePartName,"noClear"),this.form.sparePartModel=t.data.model,this.form.maintainContent=t.data.maintainContent,this.form.replaceNum=t.data.replaceNum,this.form.executeStaff=t.data.executeStaff,this.form.startTime=t.data.startTime,this.form.endTime=t.data.endTime,this.form.complete=t.data.complete}))):(this.isSure=!0,(0,u.yx)({id:t.id}).then((t=>{this.form.code=t.data.code,this.form.planStartTime=t.data.planStartTime,this.form.planEndTime=t.data.planEndTime,this.form.equipmentId=t.data.equipmentId,this.form.proLineId=t.data.proLineId,this.form.sparePartName=t.data.sparePartName,this.form.sparePartModel=t.data.model,this.form.executeStaff=t.data.executeStaff,this.form.replaceNum=t.data.replaceNum,this.form.maintainContent=t.data.maintainContent,this.form.complete=t.data.complete})),this.form.startTime=m()().format("yyyy-MM-DDTHH:mm:ss"),this.form.endTime=m()().format("yyyy-MM-DDTHH:mm:ss"))},getTree(){(0,c.SI)().then((t=>{this.cascaderOptions=t.data}))},selectEq(t){this.form.equipmentId=t[2],this.form.proLineId=t[0]},getNameList(){(0,l.dN)({type:""}).then((t=>{this.sparePartsList=t.data}))},selectModel(t,e){(0,l.fZ)({name:t}).then((t=>{this.sparePartsSpecList=t.data,"noClear"!==e&&(this.form.sparePartModel="")}))},submitForm(){this.$refs["form"].validate((t=>{if(!t)return console.log("error submit!!"),!1;this.isSure?(0,u.KQ)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")})):(0,u.A5)({...this.form}).then((()=>{this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit")}))}))},formClear(){this.$refs.form.resetFields(),this.form.proLineId="",this.form.id="",this.sparePartsList=[],this.sparePartsSpecList=[]}}},T=M,P=(0,h.Z)(T,y,S,!1,null,null,null),q=P.exports,Z=function(){var t=this,e=t._self._c;return e("div",[t.injectData.status?e("el-tag",{attrs:{size:"medium",type:t.tagType}},[t._v(t._s(t.injectData.status))]):t._e()],1)},C=[],k={name:"statusTag",props:{injectData:{type:Object,default:()=>({})}},data(){return{tagType:""}},mounted(){this.init()},methods:{init(){"未派工"===this.injectData.status?this.tagType="info":"未完成"===this.injectData.status?this.tagType="warning":"已超时"===this.injectData.status?this.tagType="danger":this.tagType="success"}},watch:{injectData(t,e){e.status!==t.status&&this.init()}}},L=k,N=(0,h.Z)(L,Z,C,!1,null,null,null),v=N.exports;const E=[{prop:"code",label:"维护工单号",minWidth:150},{prop:"status",label:"状态",width:100,subcomponent:v},{prop:"remainTime",label:"剩余时间",minWidth:150},{prop:"planStartTime",label:"计划开始时间",filter:i.g6,minWidth:160},{prop:"planEndTime",label:"计划结束时间",filter:i.g6,minWidth:160},{prop:"proLineName",label:"产线",minWidth:150},{prop:"unitName",label:"单元",minWidth:150},{prop:"equName",label:"设备名称",minWidth:150},{prop:"sparePartName",label:"备件名称",width:150},{prop:"model",label:"备件型号",minWidth:150},{prop:"replaceNum",label:"更换数量",minWidth:140},{prop:"maintainContent",label:"维护内容",minWidth:180},{prop:"executeStaff",label:"执行人员",minWidth:140},{prop:"startTime",label:"实际开始时间",filter:i.g6,minWidth:160},{prop:"endTime",label:"实际结束时间",filter:i.g6,minWidth:160},{prop:"complete",label:"完成情况",minWidth:140},{prop:"creatorName",label:"创建人员",minWidth:150},{prop:"createTime",label:"创建时间",filter:i.g6,minWidth:160}],w=[{type:"edit",btnName:"编辑",showParam:{type:"|",data:[{type:"unequal",name:"status",value:"未完成"},{type:"unequal",name:"status",value:"已超时"}]}},{type:"dispatch",btnName:"派工",showParam:{type:"&",data:[{type:"equal",name:"status",value:"未派工"}]}},{type:"sure",btnName:"确认",showParam:{type:"&",data:[{type:"unequal",name:"status",value:"已完成"}]}},{type:"delete",btnName:"删除"}];var $={name:"plannedMaintenance",components:{PlannedMaintenanceAdd:b,PlannedMaintenanceEdit:q},data(){return{formConfig:[{type:"datePicker",label:"计划开始时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"select",label:"状态",selectOptions:JSON.parse(localStorage.getItem("publicList")).maintainStatusVoList,labelField:"dataName",valueField:"dataName",param:"status",defaultSelect:"",width:100},{type:"cascader",label:"产线/单元/设备",selectOptions:[],param:"keyword",cascaderProps:{checkStrictly:!0,value:"name",label:"name"},width:250},{type:"input",label:"维护工单号",placeholder:"维护工单号",param:"code"},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"导出",name:"export",color:"primary",plain:!0},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:E,tableData:[],tableBtn:w,tableH:(0,i.NC)(320),total:0,listQuery:{current:1,size:20},addAndEdit:"",centervisibleAdd:!1,sureAndEdit:"",centervisibleSure:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,i.NC)(320)})),this.getTree(),this.getList()},methods:{getTree(){(0,c.SI)().then((t=>{this.formConfig[2].selectOptions=t.data}))},getList(){(0,u.UP)({...this.listQuery}).then((t=>{0===t.code&&(this.total=t.data.total,this.tableData=t.data.records)}))},handleClick(t){switch(console.log(t),t.type){case"edit":"未派工"===t.data.status?(this.addAndEdit="编辑",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init(t.data.id)}))):"已完成"===t.data.status&&(this.sureAndEdit="编辑",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"edit"};this.$refs.plannedMaintenanceEdit.init(e)})));break;case"dispatch":this.$confirm('确认派工"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.zG)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"派工成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{}));break;case"sure":this.sureAndEdit="确认",this.centervisibleSure=!0,this.$nextTick((()=>{let e={id:t.data.id,type:"sure"};this.$refs.plannedMaintenanceEdit.init(e)}));break;default:this.$confirm('确认删除工单"'+t.data.code+'"吗?',{type:"warning"}).then((()=>{(0,u.pl)({id:t.data.id}).then((t=>{console.log(t),this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))}},buttonClick(t){switch(console.log(t),t.btnName){case"search":this.listQuery.planStartTime=t.timeVal?t.timeVal[0]:"",this.listQuery.planEndTime=t.timeVal?t.timeVal[1]:"",this.listQuery.status=t.status,this.listQuery.proLineName=t.keyword[0],this.listQuery.unitName=t.keyword[1],this.listQuery.equName=t.keyword[2],this.listQuery.code=t.code,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.planStartTime="",this.listQuery.planEndTime="",this.listQuery.status="",this.listQuery.proLineName="",this.listQuery.unitName="",this.listQuery.equName="",this.listQuery.code="",this.listQuery.current=1,this.getList();break;case"add":this.addAndEdit="新增",this.centervisibleAdd=!0,this.$nextTick((()=>{this.$refs.plannedMaintenanceAdd.init()}));break;default:(0,u.YG)({...this.listQuery}).then((t=>{console.log(t);let e="";const a=t.headers["content-disposition"];a&&(e=decodeURIComponent(a.slice(a.indexOf("filename=")+9)));const r=new Blob([t.data]),n=new FileReader;n.readAsDataURL(r),n.onload=t=>{const a=document.createElement("a");a.download=e,a.href=t.target.result,document.body.appendChild(a),a.click(),document.body.removeChild(a)}}))}},handleCancelAdd(){this.$refs.plannedMaintenanceAdd.formClear(),this.addAndEdit="",this.centervisibleAdd=!1},handleConfirmAdd(){this.$refs.plannedMaintenanceAdd.submitForm()},successSubmitAdd(){this.handleCancelAdd(),this.getList()},handleCancelSure(){this.$refs.plannedMaintenanceEdit.formClear(),this.sureAndEdit="",this.centervisibleSure=!1},handleConfirmSure(){this.$refs.plannedMaintenanceEdit.submitForm()},successSubmitEdit(){this.handleCancelSure(),this.getList()}}},x=$,A=(0,h.Z)(x,r,n,!1,null,"d565ab3a",null),H=A.exports},5591:function(t,e,a){a.d(e,{FH:function(){return s},Hp:function(){return l},JQ:function(){return o},SI:function(){return i},WQ:function(){return m},b6:function(){return u},iv:function(){return n},m:function(){return d}});var r=a(8859);function n(){return(0,r.Z)({url:"/common/getList",method:"post"})}function i(){return(0,r.Z)({url:"/common/getTreeData",method:"post"})}function o(t){return(0,r.Z)({url:"/common/updateEqSeq",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/common/attachment/downloadFile",method:"get",responseType:"blob",params:t,timeout:6e4})}function l(t){return(0,r.Z)({url:"/common/getAlarmData",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/common/getProductData",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/common/getMaterialData",method:"post",data:t})}const m="/api/common/attachment/uploadFileFormData"},910:function(t,e,a){a.d(e,{$0:function(){return C},A0:function(){return Z},D0:function(){return o},ER:function(){return E},Hg:function(){return W},J_:function(){return w},Kl:function(){return q},ME:function(){return d},Or:function(){return b},P4:function(){return u},Py:function(){return m},QL:function(){return H},Qj:function(){return T},Sc:function(){return h},Sl:function(){return y},W0:function(){return _},WZ:function(){return f},Wj:function(){return l},Zs:function(){return n},_:function(){return v},_1:function(){return S},a:function(){return Q},ag:function(){return k},b8:function(){return g},dN:function(){return c},fZ:function(){return p},jF:function(){return i},kB:function(){return $},m3:function(){return D},oW:function(){return N},qT:function(){return M},sU:function(){return s},sy:function(){return x},tb:function(){return P},wy:function(){return A},xf:function(){return L},yk:function(){return I}});var r=a(8859);function n(t){return(0,r.Z)({url:"/basic/account/page",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/basic/account/add",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/basic/account/get",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/basic/account/update",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/page",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/add",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/get",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/update",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getNameList",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/basic/sparePartsConfiguration/getModelList",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/basic/consumableConfiguration/page",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/basic/consumableConfiguration/add",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/basic/consumableConfiguration/get",method:"post",data:t})}function b(t){return(0,r.Z)({url:"/basic/consumableConfiguration/update",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/basic/consumableConfiguration/getMaterialList",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/basic/consumableConfiguration/materialList",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/page",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/add",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/get",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/update",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/basic/sideLibraryConfiguration/list",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/add",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/get",method:"post",data:t})}function N(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getUnitList",method:"post",formState:!0,data:t})}function E(t){return(0,r.Z)({url:"/basic/equipmentConfiguration/getEqCode",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function x(t){return(0,r.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function H(t){return(0,r.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function D(t){return(0,r.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function Q(t){return(0,r.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function W(t){return(0,r.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function _(t){return(0,r.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}},147:function(t,e,a){a.d(e,{$7:function(){return $},$F:function(){return g},$N:function(){return N},$d:function(){return c},A5:function(){return q},Ah:function(){return o},Dr:function(){return f},HJ:function(){return u},Im:function(){return T},KK:function(){return E},KQ:function(){return C},Ko:function(){return x},Ku:function(){return h},OP:function(){return l},OT:function(){return b},UP:function(){return S},Uw:function(){return A},YG:function(){return L},bO:function(){return m},co:function(){return y},fK:function(){return P},h:function(){return v},jL:function(){return w},lJ:function(){return p},lZ:function(){return s},pl:function(){return k},rd:function(){return d},uN:function(){return i},yx:function(){return M},zG:function(){return Z},zh:function(){return n}});var r=a(8859);function n(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/get",method:"post",data:t})}function i(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/getPlan",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/equipment/PerformanceAnalysis/updatePlan",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/page",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/equipment/PalletIndicatorAnalysis/getType",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/equipment/SparePartStock/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/equipment/SparePartStock/inStock",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/equipment/SparePartStock/get",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/equipment/SparePartStock/update",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/equipment/SparePartStock/outStock",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/equipment/SparePartStock/stockDetail",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/equipment/SparePartStock/getBatchList",method:"post",data:t})}function g(t){return(0,r.Z)({url:"/equipment/SparePartStock/export",method:"post",responseType:"blob",data:t,timeout:6e4})}function b(t){return(0,r.Z)({url:"/equipment/SparePartStock/PageHis",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/equipment/SparePartStock/exportHis",method:"post",responseType:"blob",data:t,timeout:6e4})}function S(t){return(0,r.Z)({url:"/equipment/MaintainManage/pageSelect",method:"post",data:t})}function M(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistributeGet",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/equipment/MaintainManage/create",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/equipment/MaintainManage/unDistribute",method:"post",data:t})}function q(t){return(0,r.Z)({url:"/equipment/MaintainManage/completedDistribute",method:"post",data:t})}function Z(t){return(0,r.Z)({url:"/equipment/MaintainManage/dispatch",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/equipment/MaintainManage/confirm",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlainMaintainDelete",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/equipment/MaintainManage/PlanMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function N(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainPageSelect",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainAdd",method:"post",data:t})}function E(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainModify",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/equipment/MaintainManage/AUtoMaintainDelete",method:"post",data:t})}function $(t){return(0,r.Z)({url:"/equipment/MaintainManage/AutoMaintainExport",method:"post",responseType:"blob",data:t,timeout:6e4})}function x(t){return(0,r.Z)({url:"/equipment/AlarmMessage/nowAlertSelect",method:"post",data:t})}function A(t){return(0,r.Z)({url:"/equipment/AlarmMessage/historyAlertSelect",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/9705.2f82f16f.js b/dist/js/9705.be26bec0.js similarity index 81% rename from dist/js/9705.2f82f16f.js rename to dist/js/9705.be26bec0.js index 17bb71d..d5d2f9b 100644 --- a/dist/js/9705.2f82f16f.js +++ b/dist/js/9705.be26bec0.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9705],{451:function(t,e,a){a.d(e,{Z:function(){return u}});var r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架ID",prop:"glassRackId"}},[e("el-input",{attrs:{placeholder:"玻璃架ID"},on:{blur:t.checkGlassRackId},model:{value:t.form.glassRackId,callback:function(e){t.$set(t.form,"glassRackId",e)},expression:"form.glassRackId"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"研磨面",prop:"grind"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面"},model:{value:t.form.grind,callback:function(e){t.$set(t.form,"grind",e)},expression:"form.grind"}},t._l(t.regrindList,(function(t){return e("el-option",{key:t.dataName,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],l=a(5093),s={name:"OffShelfPackagingAdd",data(){return{form:{id:"",proLineId:"",glassRackStation:"",glassRackId:"",grind:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}],glassRackId:[{required:!0,message:"玻璃架工位",trigger:"blur"}],grind:[{required:!0,message:"请选择研磨面",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,isAllow:1}},methods:{init(t){t?(this.form.id=t,(0,l.xz)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.grind=t.data.grind,this.form.remark=t.data.remark,this.form.glassRackStation=t.data.glassRackStation,this.form.glassRackId=t.data.glassRackId)}))):this.form.id=""},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;1===this.isAllow?this.form.id?(0,l.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,l.F7)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"玻璃架ID与目前是包装或者复投状态的玻璃架ID重复!请重新编辑输入!",type:"error",duration:1500})}))},formClear(){this.isAllow=1,this.$refs.form.resetFields()},checkGlassRackId(){(0,l.j4)(this.form.glassRackId).then((t=>{console.log(t),this.isAllow=1})).catch((t=>{console.log(t),this.isAllow=2}))}}},o=s,n=a(1001),d=(0,n.Z)(o,r,i,!1,null,null,null),u=d.exports},1603:function(t,e,a){a.d(e,{Z:function(){return h}});var r=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"查看详情",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:110,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),e("el-drawer",{attrs:{title:"玻璃ID追溯","append-to-body":!0,visible:t.historyVisible,size:"50%"},on:{"update:visible":function(e){t.historyVisible=e}}},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"150px"}},[e("el-form-item",{attrs:{label:"初投玻璃ID:"}},[t._v(t._s(t.form.initialGlassId))]),e("el-form-item",{attrs:{label:"第一次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadOne))]),e("el-form-item",{attrs:{label:"第二次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadTwo))]),e("el-form-item",{attrs:{label:"第三次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadThree))]),e("el-form-item",{attrs:{label:"第四次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadFour))])],1)],1)],1)])},i=[],l=a(475),s=a(5093);const o=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"proSpec",label:"产品型号",minWidth:120},{prop:"glassRackId",label:"玻璃架ID",minWidth:150},{prop:"glassId",label:"玻璃ID",minWidth:160},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"sequence",label:"玻璃序号",minWidth:150}],n=[{type:"processParameters",btnName:"玻璃ID追溯"}];var d={name:"OffShelfPackagingDetail",data(){return{visible:!1,tableProps:o,tableData:[],tableBtn:n,tableH:(0,l.NC)(155),historyVisible:!1,listQuery:{current:1,size:20,id:""},total:10,form:{initialGlassId:"",reloadOne:"",reloadTwo:"",reloadThree:"",reloadFour:""}}},methods:{init(t){this.visible=!0,this.listQuery.id=t,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(155)})),(0,s.Nm)({...this.listQuery}).then((t=>{this.tableData=t.data.records,this.total=t.data.total}))},handleClick(t){this.historyVisible=!0,console.log(t),(0,s.n8)(t.data.glassId).then((t=>{this.form.initialGlassId=t.data.initialGlassId?t.data.initialGlassId:"-",this.form.reloadOne=t.data.reloadOne?t.data.reloadOne:"-",this.form.reloadTwo=t.data.reloadTwo?t.data.reloadTwo:"-",this.form.reloadThree=t.data.reloadThree?t.data.reloadThree:"-",this.form.reloadFour=t.data.reloadFour?t.data.reloadFour:"-"}))},handleCloseProcess(){},handleCloseDevice(){}}},u=d,c=a(1001),m=(0,c.Z)(u,r,i,!1,null,null,null),h=m.exports},9705:function(t,e,a){a.r(e),a.d(e,{default:function(){return p}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:220,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{title:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("off-shelf-packaging-add",{ref:"offShelfPackagingAdd",on:{successSubmit:t.successSubmit}})],1),t.detailVisible?e("off-shelf-packaging-detail",{ref:"packagingDetail"}):t._e()],1)},i=[],l=a(475),s=a(451),o=a(1603),n=a(5093);const d=[{prop:"proLineName",label:"产线",minWidth:100},{prop:"glassRackStation",label:"玻璃架工位",minWidth:100},{prop:"glassRackId",label:"玻璃架ID",minWidth:100},{prop:"proSpec",label:"产品型号",minWidth:100},{prop:"grind",label:"研磨面",minWidth:150},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"unloadTime",label:"下架时间",filter:l.g6,minWidth:160},{prop:"num",label:"当前数量",minWidth:100},{prop:"status",label:"状态",filter:(0,l.oJ)("packageState"),minWidth:100},{prop:"remark",label:"备注",minWidth:150}],u=[{type:"end",btnName:"结束复投",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"continue",btnName:"复投上架",showParam:{type:"&",data:[{type:"equal",name:"status",value:2},{type:"more",name:"num",value:1}]}},{type:"detail",btnName:"详情"},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}}];var c={name:"reLaunching",components:{OffShelfPackagingAdd:s.Z,OffShelfPackagingDetail:o.Z},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",width:120},{type:"select",label:"玻璃架工位",selectOptions:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,labelField:"dataName",valueField:"dataName",param:"glassRackStation",width:100},{type:"input",label:"玻璃架ID",placeholder:"玻璃架ID",param:"glassRackId"},{type:"datePicker",label:"上架时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:d,tableData:[],tableBtn:u,tableH:(0,l.NC)(265),total:0,listQuery:{current:1,size:20,proLineId:"",glassRackStation:"",glassRackId:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",detailVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(265)})),this.getList()},methods:{getList(){(0,n.a1)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(console.log(t.proLineId),t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineId=t.proLineId,this.listQuery.glassRackStation=t.glassRackStation,this.listQuery.glassRackId=t.glassRackId,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineId="",this.listQuery.glassRackStation="",this.listQuery.glassRackId="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init()})),this.centervisible=!0;break}},handleClick(t){console.log(t),"edit"===t.type?(this.centervisible=!0,this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init(t.data.id)}))):"end"===t.type?this.$confirm('确认结束复投玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,n.Hq)({id:t.data.id}).then((()=>{this.$message({message:"结束复投成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"continue"===t.type?this.$confirm('确认复投上架玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,n.wM)({id:t.data.id}).then((()=>{this.$message({message:"复投上架成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"detail"===t.type&&(this.detailVisible=!0,this.$nextTick((()=>{this.$refs.packagingDetail.init(t.data.id)})))},handleCancel(){this.$refs.offShelfPackagingAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.offShelfPackagingAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},m=c,h=a(1001),f=(0,h.Z)(m,r,i,!1,null,null,null),p=f.exports},5093:function(t,e,a){a.d(e,{EM:function(){return h},EO:function(){return f},F7:function(){return I},Hq:function(){return C},Mk:function(){return i},Nm:function(){return P},SN:function(){return L},To:function(){return d},Tp:function(){return g},W9:function(){return n},Xe:function(){return u},YV:function(){return l},a1:function(){return y},ag:function(){return S},dg:function(){return R},j4:function(){return v},k5:function(){return o},lb:function(){return c},n8:function(){return O},nG:function(){return k},nn:function(){return b},sq:function(){return s},w3:function(){return m},wM:function(){return T},xz:function(){return w},zz:function(){return p}});var r=a(8859);function i(t){return(0,r.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/order/workOrder/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/order/workOrder/add",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/order/workOrder/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/order/workOrder/get",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/order/workOrder/release",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const g="/api/order/workOrder/import";function b(t){return(0,r.Z)({url:"/order/proReport/pageThickness",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:t})}function y(t){return(0,r.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function L(t){return(0,r.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function R(t){return(0,r.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function T(t){return(0,r.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9705],{451:function(t,e,a){a.d(e,{Z:function(){return u}});var r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架ID",prop:"glassRackId"}},[e("el-input",{attrs:{placeholder:"玻璃架ID"},on:{blur:t.checkGlassRackId},model:{value:t.form.glassRackId,callback:function(e){t.$set(t.form,"glassRackId",e)},expression:"form.glassRackId"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"研磨面",prop:"grind"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面"},model:{value:t.form.grind,callback:function(e){t.$set(t.form,"grind",e)},expression:"form.grind"}},t._l(t.regrindList,(function(t){return e("el-option",{key:t.dataName,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],l=a(5093),s={name:"OffShelfPackagingAdd",data(){return{form:{id:"",proLineId:"",glassRackStation:"",glassRackId:"",grind:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}],glassRackId:[{required:!0,message:"玻璃架工位",trigger:"blur"}],grind:[{required:!0,message:"请选择研磨面",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,isAllow:1}},methods:{init(t){t?(this.form.id=t,(0,l.xz)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.grind=t.data.grind,this.form.remark=t.data.remark,this.form.glassRackStation=t.data.glassRackStation,this.form.glassRackId=t.data.glassRackId)}))):this.form.id=""},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;1===this.isAllow?this.form.id?(0,l.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,l.F7)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"玻璃架ID与目前是包装或者复投状态的玻璃架ID重复!请重新编辑输入!",type:"error",duration:1500})}))},formClear(){this.isAllow=1,this.$refs.form.resetFields()},checkGlassRackId(){(0,l.j4)(this.form.glassRackId).then((t=>{console.log(t),this.isAllow=1})).catch((t=>{console.log(t),this.isAllow=2}))}}},o=s,n=a(1001),d=(0,n.Z)(o,r,i,!1,null,null,null),u=d.exports},1603:function(t,e,a){a.d(e,{Z:function(){return h}});var r=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"查看详情",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:110,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),e("el-drawer",{attrs:{title:"玻璃ID追溯","append-to-body":!0,visible:t.historyVisible,size:"50%"},on:{"update:visible":function(e){t.historyVisible=e}}},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"150px"}},[e("el-form-item",{attrs:{label:"初投玻璃ID:"}},[t._v(t._s(t.form.initialGlassId))]),e("el-form-item",{attrs:{label:"第一次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadOne))]),e("el-form-item",{attrs:{label:"第二次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadTwo))]),e("el-form-item",{attrs:{label:"第三次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadThree))]),e("el-form-item",{attrs:{label:"第四次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadFour))])],1)],1)],1)])},i=[],l=a(475),s=a(5093);const o=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"proSpec",label:"产品型号",minWidth:120},{prop:"glassRackId",label:"玻璃架ID",minWidth:150},{prop:"glassId",label:"玻璃ID",minWidth:160},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"sequence",label:"玻璃序号",minWidth:150}],n=[{type:"processParameters",btnName:"玻璃ID追溯"}];var d={name:"OffShelfPackagingDetail",data(){return{visible:!1,tableProps:o,tableData:[],tableBtn:n,tableH:(0,l.NC)(155),historyVisible:!1,listQuery:{current:1,size:20,id:""},total:10,form:{initialGlassId:"",reloadOne:"",reloadTwo:"",reloadThree:"",reloadFour:""}}},methods:{init(t){this.visible=!0,this.listQuery.id=t,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(155)})),(0,s.Nm)({...this.listQuery}).then((t=>{this.tableData=t.data.records,this.total=t.data.total}))},handleClick(t){this.historyVisible=!0,console.log(t),(0,s.n8)(t.data.glassId).then((t=>{this.form.initialGlassId=t.data.initialGlassId?t.data.initialGlassId:"-",this.form.reloadOne=t.data.reloadOne?t.data.reloadOne:"-",this.form.reloadTwo=t.data.reloadTwo?t.data.reloadTwo:"-",this.form.reloadThree=t.data.reloadThree?t.data.reloadThree:"-",this.form.reloadFour=t.data.reloadFour?t.data.reloadFour:"-"}))},handleCloseProcess(){},handleCloseDevice(){}}},u=d,c=a(1001),m=(0,c.Z)(u,r,i,!1,null,null,null),h=m.exports},9705:function(t,e,a){a.r(e),a.d(e,{default:function(){return p}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:220,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{title:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("off-shelf-packaging-add",{ref:"offShelfPackagingAdd",on:{successSubmit:t.successSubmit}})],1),t.detailVisible?e("off-shelf-packaging-detail",{ref:"packagingDetail"}):t._e()],1)},i=[],l=a(475),s=a(451),o=a(1603),n=a(5093);const d=[{prop:"proLineName",label:"产线",minWidth:100},{prop:"glassRackStation",label:"玻璃架工位",minWidth:100},{prop:"glassRackId",label:"玻璃架ID",minWidth:100},{prop:"proSpec",label:"产品型号",minWidth:100},{prop:"grind",label:"研磨面",minWidth:150},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"unloadTime",label:"下架时间",filter:l.g6,minWidth:160},{prop:"num",label:"当前数量",minWidth:100},{prop:"status",label:"状态",filter:(0,l.oJ)("packageState"),minWidth:100},{prop:"remark",label:"备注",minWidth:150}],u=[{type:"end",btnName:"结束复投",showParam:{type:"&",data:[{type:"equal",name:"status",value:1}]}},{type:"continue",btnName:"复投上架",showParam:{type:"&",data:[{type:"equal",name:"status",value:2},{type:"more",name:"num",value:1}]}},{type:"detail",btnName:"详情"},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}}];var c={name:"reLaunching",components:{OffShelfPackagingAdd:s.Z,OffShelfPackagingDetail:o.Z},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",width:120},{type:"select",label:"玻璃架工位",selectOptions:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,labelField:"dataName",valueField:"dataName",param:"glassRackStation",width:100},{type:"input",label:"玻璃架ID",placeholder:"玻璃架ID",param:"glassRackId"},{type:"datePicker",label:"上架时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"}],tableProps:d,tableData:[],tableBtn:u,tableH:(0,l.NC)(265),total:0,listQuery:{current:1,size:20,proLineId:"",glassRackStation:"",glassRackId:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",detailVisible:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(265)})),this.getList()},methods:{getList(){(0,n.a1)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(console.log(t.proLineId),t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineId=t.proLineId,this.listQuery.glassRackStation=t.glassRackStation,this.listQuery.glassRackId=t.glassRackId,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineId="",this.listQuery.glassRackStation="",this.listQuery.glassRackId="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init()})),this.centervisible=!0;break}},handleClick(t){console.log(t),"edit"===t.type?(this.centervisible=!0,this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init(t.data.id)}))):"end"===t.type?this.$confirm('确认结束复投玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,n.Hq)({id:t.data.id}).then((()=>{this.$message({message:"结束复投成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"continue"===t.type?this.$confirm('确认复投上架玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,n.wM)({id:t.data.id}).then((()=>{this.$message({message:"复投上架成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"detail"===t.type&&(this.detailVisible=!0,this.$nextTick((()=>{this.$refs.packagingDetail.init(t.data.id)})))},handleCancel(){this.$refs.offShelfPackagingAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.offShelfPackagingAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},m=c,h=a(1001),f=(0,h.Z)(m,r,i,!1,null,null,null),p=f.exports},5093:function(t,e,a){a.d(e,{EM:function(){return h},EO:function(){return f},F7:function(){return k},Hq:function(){return O},Mk:function(){return i},Nm:function(){return L},SN:function(){return S},To:function(){return d},Tp:function(){return g},W9:function(){return n},Xe:function(){return u},YV:function(){return l},a1:function(){return b},ag:function(){return I},dg:function(){return v},j4:function(){return w},k5:function(){return o},lb:function(){return c},n8:function(){return R},sq:function(){return s},w3:function(){return m},wM:function(){return P},xz:function(){return y},zz:function(){return p}});var r=a(8859);function i(t){return(0,r.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/order/workOrder/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/order/workOrder/add",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/order/workOrder/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/order/workOrder/get",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/order/workOrder/release",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const g="/api/order/workOrder/import";function b(t){return(0,r.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function S(t){return(0,r.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function R(t){return(0,r.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function P(t){return(0,r.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function O(t){return(0,r.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/9707.b2783b7b.js b/dist/js/9707.b2783b7b.js new file mode 100644 index 0000000..4c5c87f --- /dev/null +++ b/dist/js/9707.b2783b7b.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9707],{9707:function(t,e,r){r.r(e),r.d(e,{default:function(){return C}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"report-classification"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:80,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("report-class-add",{ref:"reportClass",on:{successSubmit:t.successSubmit}})],1)],1)},n=[],a=r(475),i=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"100px",model:t.form}},[e("el-form-item",{attrs:{label:"报表分类名",prop:"name"}},[e("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1)},o=[],u=r(6527),l={name:"ReportClassAdd",data(){return{form:{id:"",name:""},isEdit:!1,rules:{name:[{required:!0,message:"请输入报表分类名",trigger:"blur"}]}}},methods:{init(t){t?(this.isEdit=!0,this.form.id=t,(0,u.Hg)({id:t}).then((t=>{0===t.code&&(this.form.name=t.data.name)}))):(this.isEdit=!1,this.form.id="")},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;this.isEdit?((0,u.a)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit")):(console.log(this.form),(0,u.m3)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})),this.$emit("successSubmit"))}))},formClear(){this.$refs.form.resetFields(),this.isEdit=!1}}},c=l,d=r(1001),h=(0,d.Z)(c,i,o,!1,null,null,null),p=h.exports;const m=[{prop:"name",label:"报表分类名"}],f=[{type:"edit",btnName:"编辑"},{type:"delete",btnName:"删除"}];var b={name:"ReportClassification",components:{ReportClassAdd:p},data(){return{formConfig:[{type:"input",label:"关键字",placeholder:"报表分类名",param:"name",width:300},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:m,tableData:[],tableBtn:f,tableH:(0,a.NC)(330),total:0,listQuery:{current:1,size:20,name:""},centervisible:!1,addOrEditTitle:""}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,a.NC)(265)})),this.getList()},methods:{getList(){(0,u.yk)({...this.listQuery}).then((t=>{0===t.code&&t.data?(this.tableData=t.data.records,this.total=t.data.total):(this.tableData=[],this.total=0)}))},handleClick(t){"edit"===t.type?(this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.reportClass.init(t.data.id)})),this.centervisible=!0):this.$confirm('确认删除报表分类名"'+t.data.name+'"吗?',{type:"warning"}).then((()=>{(0,u.W0)({id:t.data.id}).then((()=>{this.$message({message:"工单删除成功",type:"success",duration:1500,onClose:()=>{}}),this.listQuery.current=1,this.getList()}))})).catch((()=>{}))},buttonClick(t){switch(t.btnName){case"search":this.listQuery.name=t.name,this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.centervisible=!0,this.$nextTick((()=>{this.$refs.reportClass.init()}))}},handleCancel(){this.$refs.reportClass.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.reportClass.submitForm()},successSubmit(){this.handleCancel(),this.getList()}}},g=b,y=(0,d.Z)(g,s,n,!1,null,null,null),C=y.exports},6527:function(t,e,r){r.d(e,{AT:function(){return C},Hg:function(){return h},J_:function(){return n},QL:function(){return u},W0:function(){return p},a:function(){return d},an:function(){return y},bu:function(){return g},fL:function(){return k},kB:function(){return a},m3:function(){return c},oR:function(){return b},sy:function(){return i},uW:function(){return m},uj:function(){return f},wy:function(){return o},yk:function(){return l}});var s=r(8859);function n(t){return(0,s.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function a(t){return(0,s.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function i(t){return(0,s.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function o(t){return(0,s.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function u(t){return(0,s.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function l(t){return(0,s.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function c(t){return(0,s.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function d(t){return(0,s.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function h(t){return(0,s.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function p(t){return(0,s.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}function m(t){return(0,s.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function f(t){return(0,s.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function b(t){return(0,s.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function g(t){return(0,s.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function y(t){return(0,s.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,s.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function k(t){return(0,s.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/9796.d66f9ab1.js b/dist/js/9796.8b5a0aa6.js similarity index 81% rename from dist/js/9796.d66f9ab1.js rename to dist/js/9796.8b5a0aa6.js index 6a00e33..b1a6113 100644 --- a/dist/js/9796.d66f9ab1.js +++ b/dist/js/9796.8b5a0aa6.js @@ -1 +1 @@ -"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9796],{451:function(t,e,a){a.d(e,{Z:function(){return c}});var r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架ID",prop:"glassRackId"}},[e("el-input",{attrs:{placeholder:"玻璃架ID"},on:{blur:t.checkGlassRackId},model:{value:t.form.glassRackId,callback:function(e){t.$set(t.form,"glassRackId",e)},expression:"form.glassRackId"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"研磨面",prop:"grind"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面"},model:{value:t.form.grind,callback:function(e){t.$set(t.form,"grind",e)},expression:"form.grind"}},t._l(t.regrindList,(function(t){return e("el-option",{key:t.dataName,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],l=a(5093),o={name:"OffShelfPackagingAdd",data(){return{form:{id:"",proLineId:"",glassRackStation:"",glassRackId:"",grind:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}],glassRackId:[{required:!0,message:"玻璃架工位",trigger:"blur"}],grind:[{required:!0,message:"请选择研磨面",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,isAllow:1}},methods:{init(t){t?(this.form.id=t,(0,l.xz)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.grind=t.data.grind,this.form.remark=t.data.remark,this.form.glassRackStation=t.data.glassRackStation,this.form.glassRackId=t.data.glassRackId)}))):this.form.id=""},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;1===this.isAllow?this.form.id?(0,l.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,l.F7)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"玻璃架ID与目前是包装或者复投状态的玻璃架ID重复!请重新编辑输入!",type:"error",duration:1500})}))},formClear(){this.isAllow=1,this.$refs.form.resetFields()},checkGlassRackId(){(0,l.j4)(this.form.glassRackId).then((t=>{console.log(t),this.isAllow=1})).catch((t=>{console.log(t),this.isAllow=2}))}}},s=o,n=a(1001),d=(0,n.Z)(s,r,i,!1,null,null,null),c=d.exports},1603:function(t,e,a){a.d(e,{Z:function(){return f}});var r=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"查看详情",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:110,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),e("el-drawer",{attrs:{title:"玻璃ID追溯","append-to-body":!0,visible:t.historyVisible,size:"50%"},on:{"update:visible":function(e){t.historyVisible=e}}},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"150px"}},[e("el-form-item",{attrs:{label:"初投玻璃ID:"}},[t._v(t._s(t.form.initialGlassId))]),e("el-form-item",{attrs:{label:"第一次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadOne))]),e("el-form-item",{attrs:{label:"第二次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadTwo))]),e("el-form-item",{attrs:{label:"第三次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadThree))]),e("el-form-item",{attrs:{label:"第四次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadFour))])],1)],1)],1)])},i=[],l=a(475),o=a(5093);const s=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"proSpec",label:"产品型号",minWidth:120},{prop:"glassRackId",label:"玻璃架ID",minWidth:150},{prop:"glassId",label:"玻璃ID",minWidth:160},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"sequence",label:"玻璃序号",minWidth:150}],n=[{type:"processParameters",btnName:"玻璃ID追溯"}];var d={name:"OffShelfPackagingDetail",data(){return{visible:!1,tableProps:s,tableData:[],tableBtn:n,tableH:(0,l.NC)(155),historyVisible:!1,listQuery:{current:1,size:20,id:""},total:10,form:{initialGlassId:"",reloadOne:"",reloadTwo:"",reloadThree:"",reloadFour:""}}},methods:{init(t){this.visible=!0,this.listQuery.id=t,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(155)})),(0,o.Nm)({...this.listQuery}).then((t=>{this.tableData=t.data.records,this.total=t.data.total}))},handleClick(t){this.historyVisible=!0,console.log(t),(0,o.n8)(t.data.glassId).then((t=>{this.form.initialGlassId=t.data.initialGlassId?t.data.initialGlassId:"-",this.form.reloadOne=t.data.reloadOne?t.data.reloadOne:"-",this.form.reloadTwo=t.data.reloadTwo?t.data.reloadTwo:"-",this.form.reloadThree=t.data.reloadThree?t.data.reloadThree:"-",this.form.reloadFour=t.data.reloadFour?t.data.reloadFour:"-"}))},handleCloseProcess(){},handleCloseDevice(){}}},c=d,u=a(1001),m=(0,u.Z)(c,r,i,!1,null,null,null),f=m.exports},9796:function(t,e,a){a.r(e),a.d(e,{default:function(){return I}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:220,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"close-on-click-modal":!1,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("off-shelf-packaging-add",{ref:"offShelfPackagingAdd",on:{successSubmit:t.successSubmit}})],1),t.detailVisible?e("off-shelf-packaging-detail",{ref:"packagingDetail"}):t._e(),e("base-dialog",{attrs:{dialogTitle:"请选择上架的玻璃架工位",dialogVisible:t.centervisible2,"close-on-click-modal":!1,"before-close":t.handleCancel2},on:{cancel:t.handleCancel2,confirm:t.handleConfirm2}},[e("off-shelf-packaging-continue",{ref:"offShelfPackagingContinue",on:{successSubmit2:t.successSubmit2}})],1)],1)},i=[],l=a(475),o=a(451),s=a(1603),n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"formContinue",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1)],1)},d=[],c=a(5093),u={name:"OffShelfPackagingContinue",data(){return{form:{id:"",proLineId:"",glassRackStation:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList}},methods:{init(t){this.form.id=t},submitForm(){this.$refs["formContinue"].validate((t=>{if(!t)return!1;(0,c.dg)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit2"))}))}))},formClear(){this.$refs.formContinue.resetFields()}}},m=u,f=a(1001),h=(0,f.Z)(m,n,d,!1,null,null,null),p=h.exports;const g=[{prop:"proLineName",label:"产线",minWidth:100},{prop:"glassRackStation",label:"玻璃架工位",minWidth:100},{prop:"glassRackId",label:"玻璃架ID",minWidth:100},{prop:"proSpec",label:"产品型号",minWidth:100},{prop:"grind",label:"研磨面",minWidth:150},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"unloadTime",label:"下架时间",filter:l.g6,minWidth:160},{prop:"num",label:"当前数量",minWidth:100},{prop:"status",label:"状态",filter:(0,l.oJ)("packageState"),minWidth:100},{prop:"remark",label:"备注",minWidth:150}],b=[{type:"end",btnName:"结束包装",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"continue",btnName:"继续包装",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}},{type:"detail",btnName:"详情"},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}}];var k={name:"offShelfPackaging",components:{OffShelfPackagingAdd:o.Z,OffShelfPackagingDetail:s.Z,OffShelfPackagingContinue:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",width:120},{type:"select",label:"玻璃架工位",selectOptions:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,labelField:"dataName",valueField:"dataName",param:"glassRackStation",width:100},{type:"input",label:"玻璃架ID",placeholder:"玻璃架ID",param:"glassRackId"},{type:"datePicker",label:"上架时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:g,tableData:[],tableBtn:b,tableH:(0,l.NC)(265),total:0,listQuery:{current:1,size:20,proLineId:"",glassRackStation:"",glassRackId:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",detailVisible:!1,centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(265)})),this.getList()},methods:{getList(){(0,c.a1)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(console.log(t.proLineId),t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineId=t.proLineId,this.listQuery.glassRackStation=t.glassRackStation,this.listQuery.glassRackId=t.glassRackId,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineId="",this.listQuery.glassRackStation="",this.listQuery.glassRackId="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init()})),this.centervisible=!0;break}},handleClick(t){console.log(t),"edit"===t.type?(this.centervisible=!0,this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init(t.data.id)}))):"end"===t.type?this.$confirm('确认结束包装玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,c.SN)({id:t.data.id}).then((()=>{this.$message({message:"结束包装成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"continue"===t.type?(this.centervisible2=!0,this.$nextTick((()=>{this.$refs.offShelfPackagingContinue.init(t.data.id)}))):"detail"===t.type&&(this.detailVisible=!0,this.$nextTick((()=>{this.$refs.packagingDetail.init(t.data.id)})))},handleCancel(){this.$refs.offShelfPackagingAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.offShelfPackagingAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},handleCancel2(){this.$refs.offShelfPackagingContinue.formClear(),this.centervisible2=!1},handleConfirm2(){this.$refs.offShelfPackagingContinue.submitForm()},successSubmit2(){this.handleCancel2(),this.getList()}}},y=k,S=(0,f.Z)(y,r,i,!1,null,null,null),I=S.exports},5093:function(t,e,a){a.d(e,{EM:function(){return f},EO:function(){return h},F7:function(){return S},Hq:function(){return T},Mk:function(){return i},Nm:function(){return R},SN:function(){return w},To:function(){return d},Tp:function(){return g},W9:function(){return n},Xe:function(){return c},YV:function(){return l},a1:function(){return y},ag:function(){return L},dg:function(){return C},j4:function(){return v},k5:function(){return s},lb:function(){return u},n8:function(){return P},nG:function(){return k},nn:function(){return b},sq:function(){return o},w3:function(){return m},wM:function(){return O},xz:function(){return I},zz:function(){return p}});var r=a(8859);function i(t){return(0,r.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/order/workOrder/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/order/workOrder/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/order/workOrder/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/order/workOrder/get",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/order/workOrder/release",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const g="/api/order/workOrder/import";function b(t){return(0,r.Z)({url:"/order/proReport/pageThickness",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/order/proReport/genTable",method:"post",formState:!0,data:t})}function y(t){return(0,r.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function L(t){return(0,r.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function w(t){return(0,r.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function R(t){return(0,r.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function O(t){return(0,r.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function T(t){return(0,r.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file +"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[9796],{451:function(t,e,a){a.d(e,{Z:function(){return c}});var r=function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架ID",prop:"glassRackId"}},[e("el-input",{attrs:{placeholder:"玻璃架ID"},on:{blur:t.checkGlassRackId},model:{value:t.form.glassRackId,callback:function(e){t.$set(t.form,"glassRackId",e)},expression:"form.glassRackId"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"研磨面",prop:"grind"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"复磨面"},model:{value:t.form.grind,callback:function(e){t.$set(t.form,"grind",e)},expression:"form.grind"}},t._l(t.regrindList,(function(t){return e("el-option",{key:t.dataName,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"备注",prop:"remark"}},[e("el-input",{attrs:{placeholder:"备注"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1)],1)},i=[],l=a(5093),s={name:"OffShelfPackagingAdd",data(){return{form:{id:"",proLineId:"",glassRackStation:"",glassRackId:"",grind:"",remark:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}],glassRackId:[{required:!0,message:"玻璃架工位",trigger:"blur"}],grind:[{required:!0,message:"请选择研磨面",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList,regrindList:JSON.parse(localStorage.getItem("publicList")).regrindVoList,isAllow:1}},methods:{init(t){t?(this.form.id=t,(0,l.xz)({id:t}).then((t=>{0===t.code&&(this.form.proLineId=t.data.proLineId,this.form.grind=t.data.grind,this.form.remark=t.data.remark,this.form.glassRackStation=t.data.glassRackStation,this.form.glassRackId=t.data.glassRackId)}))):this.form.id=""},submitForm(){this.$refs["form"].validate((t=>{if(!t)return!1;1===this.isAllow?this.form.id?(0,l.ag)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):(0,l.F7)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit"))})):this.$message({message:"玻璃架ID与目前是包装或者复投状态的玻璃架ID重复!请重新编辑输入!",type:"error",duration:1500})}))},formClear(){this.isAllow=1,this.$refs.form.resetFields()},checkGlassRackId(){(0,l.j4)(this.form.glassRackId).then((t=>{console.log(t),this.isAllow=1})).catch((t=>{console.log(t),this.isAllow=2}))}}},o=s,n=a(1001),d=(0,n.Z)(o,r,i,!1,null,null,null),c=d.exports},1603:function(t,e,a){a.d(e,{Z:function(){return f}});var r=function(){var t=this,e=t._self._c;return e("el-drawer",{attrs:{title:"查看详情",visible:t.visible,size:"70%"},on:{"update:visible":function(e){t.visible=e}}},[e("div",[e("base-table",{attrs:{page:1,limit:1e3,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:110,label:"操作","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{limit:t.listQuery.size,total:t.total}}),e("el-drawer",{attrs:{title:"玻璃ID追溯","append-to-body":!0,visible:t.historyVisible,size:"50%"},on:{"update:visible":function(e){t.historyVisible=e}}},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"150px"}},[e("el-form-item",{attrs:{label:"初投玻璃ID:"}},[t._v(t._s(t.form.initialGlassId))]),e("el-form-item",{attrs:{label:"第一次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadOne))]),e("el-form-item",{attrs:{label:"第二次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadTwo))]),e("el-form-item",{attrs:{label:"第三次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadThree))]),e("el-form-item",{attrs:{label:"第四次复磨玻璃ID:"}},[t._v(t._s(t.form.reloadFour))])],1)],1)],1)])},i=[],l=a(475),s=a(5093);const o=[{prop:"proLineName",label:"产线",minWidth:120},{prop:"proSpec",label:"产品型号",minWidth:120},{prop:"glassRackId",label:"玻璃架ID",minWidth:150},{prop:"glassId",label:"玻璃ID",minWidth:160},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"sequence",label:"玻璃序号",minWidth:150}],n=[{type:"processParameters",btnName:"玻璃ID追溯"}];var d={name:"OffShelfPackagingDetail",data(){return{visible:!1,tableProps:o,tableData:[],tableBtn:n,tableH:(0,l.NC)(155),historyVisible:!1,listQuery:{current:1,size:20,id:""},total:10,form:{initialGlassId:"",reloadOne:"",reloadTwo:"",reloadThree:"",reloadFour:""}}},methods:{init(t){this.visible=!0,this.listQuery.id=t,window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(155)})),(0,s.Nm)({...this.listQuery}).then((t=>{this.tableData=t.data.records,this.total=t.data.total}))},handleClick(t){this.historyVisible=!0,console.log(t),(0,s.n8)(t.data.glassId).then((t=>{this.form.initialGlassId=t.data.initialGlassId?t.data.initialGlassId:"-",this.form.reloadOne=t.data.reloadOne?t.data.reloadOne:"-",this.form.reloadTwo=t.data.reloadTwo?t.data.reloadTwo:"-",this.form.reloadThree=t.data.reloadThree?t.data.reloadThree:"-",this.form.reloadFour=t.data.reloadFour?t.data.reloadFour:"-"}))},handleCloseProcess(){},handleCloseDevice(){}}},c=d,u=a(1001),m=(0,u.Z)(c,r,i,!1,null,null,null),f=m.exports},9796:function(t,e,a){a.r(e),a.d(e,{default:function(){return I}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-box"},[e("search-bar",{ref:"searchBarForm",attrs:{formConfigs:t.formConfig},on:{headBtnClick:t.buttonClick}}),e("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-props":t.tableProps,"table-data":t.tableData,"max-height":t.tableH}},[t.tableBtn.length?e("method-btn",{attrs:{slot:"handleBtn",width:220,label:"操作",fixed:"right","method-list":t.tableBtn},on:{clickBtn:t.handleClick},slot:"handleBtn"}):t._e()],1),e("pagination",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,total:t.total},on:{"update:page":function(e){return t.$set(t.listQuery,"current",e)},"update:limit":function(e){return t.$set(t.listQuery,"size",e)},pagination:function(e){return t.getList()}}}),e("base-dialog",{attrs:{dialogTitle:t.addOrEditTitle,dialogVisible:t.centervisible,"close-on-click-modal":!1,"before-close":t.handleCancel},on:{cancel:t.handleCancel,confirm:t.handleConfirm}},[e("off-shelf-packaging-add",{ref:"offShelfPackagingAdd",on:{successSubmit:t.successSubmit}})],1),t.detailVisible?e("off-shelf-packaging-detail",{ref:"packagingDetail"}):t._e(),e("base-dialog",{attrs:{dialogTitle:"请选择上架的玻璃架工位",dialogVisible:t.centervisible2,"close-on-click-modal":!1,"before-close":t.handleCancel2},on:{cancel:t.handleCancel2,confirm:t.handleConfirm2}},[e("off-shelf-packaging-continue",{ref:"offShelfPackagingContinue",on:{successSubmit2:t.successSubmit2}})],1)],1)},i=[],l=a(475),s=a(451),o=a(1603),n=function(){var t=this,e=t._self._c;return e("el-form",{ref:"formContinue",attrs:{rules:t.rules,"label-width":"110px",model:t.form}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"产线",prop:"proLineId"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"产线"},model:{value:t.form.proLineId,callback:function(e){t.$set(t.form,"proLineId",e)},expression:"form.proLineId"}},t._l(t.productionLineList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"玻璃架工位",prop:"glassRackStation"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"玻璃架工位"},model:{value:t.form.glassRackStation,callback:function(e){t.$set(t.form,"glassRackStation",e)},expression:"form.glassRackStation"}},t._l(t.locationList,(function(t){return e("el-option",{key:t.dataCode,attrs:{label:t.dataName,value:t.dataName}})})),1)],1)],1)],1)],1)},d=[],c=a(5093),u={name:"OffShelfPackagingContinue",data(){return{form:{id:"",proLineId:"",glassRackStation:""},rules:{proLineId:[{required:!0,message:"请选择产线",trigger:"change"}],glassRackStation:[{required:!0,message:"玻璃架工位",trigger:"change"}]},locationList:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,productionLineList:JSON.parse(localStorage.getItem("publicList")).proLineVoList}},methods:{init(t){this.form.id=t},submitForm(){this.$refs["formContinue"].validate((t=>{if(!t)return!1;(0,c.dg)({...this.form}).then((t=>{0===t.code&&(this.$message({message:"操作成功",type:"success",duration:1500}),this.$emit("successSubmit2"))}))}))},formClear(){this.$refs.formContinue.resetFields()}}},m=u,f=a(1001),h=(0,f.Z)(m,n,d,!1,null,null,null),p=h.exports;const g=[{prop:"proLineName",label:"产线",minWidth:100},{prop:"glassRackStation",label:"玻璃架工位",minWidth:100},{prop:"glassRackId",label:"玻璃架ID",minWidth:100},{prop:"proSpec",label:"产品型号",minWidth:100},{prop:"grind",label:"研磨面",minWidth:150},{prop:"loadTime",label:"上架时间",filter:l.g6,minWidth:160},{prop:"unloadTime",label:"下架时间",filter:l.g6,minWidth:160},{prop:"num",label:"当前数量",minWidth:100},{prop:"status",label:"状态",filter:(0,l.oJ)("packageState"),minWidth:100},{prop:"remark",label:"备注",minWidth:150}],b=[{type:"end",btnName:"结束包装",showParam:{type:"&",data:[{type:"equal",name:"status",value:0}]}},{type:"continue",btnName:"继续包装",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}},{type:"detail",btnName:"详情"},{type:"edit",btnName:"编辑",showParam:{type:"&",data:[{type:"equal",name:"status",value:2}]}}];var k={name:"offShelfPackaging",components:{OffShelfPackagingAdd:s.Z,OffShelfPackagingDetail:o.Z,OffShelfPackagingContinue:p},data(){return{formConfig:[{type:"select",label:"产线",selectOptions:JSON.parse(localStorage.getItem("publicList")).proLineVoList,param:"proLineId",width:120},{type:"select",label:"玻璃架工位",selectOptions:JSON.parse(localStorage.getItem("publicList")).glassRackStationVoList,labelField:"dataName",valueField:"dataName",param:"glassRackStation",width:100},{type:"input",label:"玻璃架ID",placeholder:"玻璃架ID",param:"glassRackId"},{type:"datePicker",label:"上架时间",dateType:"datetimerange",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-ddTHH:mm:ss",rangeSeparator:"-",startPlaceholder:"开始时间",endPlaceholder:"结束时间",param:"timeVal",width:350},{type:"button",btnName:"查询",name:"search",color:"primary"},{type:"button",btnName:"重置",name:"reset"},{type:"separate"},{type:"button",btnName:"新增",name:"add",color:"success",plain:!0}],tableProps:g,tableData:[],tableBtn:b,tableH:(0,l.NC)(265),total:0,listQuery:{current:1,size:20,proLineId:"",glassRackStation:"",glassRackId:"",startTime:"",endTime:""},centervisible:!1,addOrEditTitle:"",detailVisible:!1,centervisible2:!1}},mounted(){window.addEventListener("resize",(()=>{this.tableH=(0,l.NC)(265)})),this.getList()},methods:{getList(){(0,c.a1)({...this.listQuery}).then((t=>{0===t.code&&(this.tableData=t.data.records,this.total=t.data.total)}))},buttonClick(t){switch(console.log(t.proLineId),t.btnName){case"search":this.listQuery.startTime=t.timeVal?t.timeVal[0]:"",this.listQuery.endTime=t.timeVal?t.timeVal[1]:"",this.listQuery.proLineId=t.proLineId,this.listQuery.glassRackStation=t.glassRackStation,this.listQuery.glassRackId=t.glassRackId,this.listQuery.current=1,this.getList();break;case"reset":this.$refs.searchBarForm.resetForm(),this.listQuery.startTime="",this.listQuery.endTime="",this.listQuery.proLineId="",this.listQuery.glassRackStation="",this.listQuery.glassRackId="",this.listQuery.current=1,this.getList();break;default:this.addOrEditTitle="新增",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init()})),this.centervisible=!0;break}},handleClick(t){console.log(t),"edit"===t.type?(this.centervisible=!0,this.addOrEditTitle="编辑",this.$nextTick((()=>{this.$refs.offShelfPackagingAdd.init(t.data.id)}))):"end"===t.type?this.$confirm('确认结束包装玻璃架ID" '+t.data.glassRackId+' "吗?',{type:"warning"}).then((()=>{(0,c.SN)({id:t.data.id}).then((()=>{this.$message({message:"结束包装成功",type:"success",duration:1500,onClose:()=>{}}),this.getList()}))})).catch((()=>{})):"continue"===t.type?(this.centervisible2=!0,this.$nextTick((()=>{this.$refs.offShelfPackagingContinue.init(t.data.id)}))):"detail"===t.type&&(this.detailVisible=!0,this.$nextTick((()=>{this.$refs.packagingDetail.init(t.data.id)})))},handleCancel(){this.$refs.offShelfPackagingAdd.formClear(),this.centervisible=!1,this.addOrEditTitle=""},handleConfirm(){this.$refs.offShelfPackagingAdd.submitForm()},successSubmit(){this.handleCancel(),this.getList()},handleCancel2(){this.$refs.offShelfPackagingContinue.formClear(),this.centervisible2=!1},handleConfirm2(){this.$refs.offShelfPackagingContinue.submitForm()},successSubmit2(){this.handleCancel2(),this.getList()}}},y=k,S=(0,f.Z)(y,r,i,!1,null,null,null),I=S.exports},5093:function(t,e,a){a.d(e,{EM:function(){return f},EO:function(){return h},F7:function(){return k},Hq:function(){return P},Mk:function(){return i},Nm:function(){return w},SN:function(){return L},To:function(){return d},Tp:function(){return g},W9:function(){return n},Xe:function(){return c},YV:function(){return l},a1:function(){return b},ag:function(){return S},dg:function(){return v},j4:function(){return I},k5:function(){return o},lb:function(){return u},n8:function(){return C},sq:function(){return s},w3:function(){return m},wM:function(){return R},xz:function(){return y},zz:function(){return p}});var r=a(8859);function i(t){return(0,r.Z)({url:"/order/workOrderProcess/getProcessInfo",method:"post",data:t})}function l(t){return(0,r.Z)({url:"/order/workOrderProcess/lineGlassCount",method:"post",data:t})}function s(t){return(0,r.Z)({url:"/order/workOrderProcess/grindGlassCount",method:"post",data:t})}function o(t){return(0,r.Z)({url:"/order/workOrderProcess/FinalClassCount",method:"post",data:t})}function n(t){return(0,r.Z)({url:"/order/workOrder/page",method:"post",data:t})}function d(t){return(0,r.Z)({url:"/order/workOrder/add",method:"post",data:t})}function c(t){return(0,r.Z)({url:"/order/workOrder/delete",method:"post",data:t})}function u(t){return(0,r.Z)({url:"/order/workOrder/update",method:"post",data:t})}function m(t){return(0,r.Z)({url:"/order/workOrder/get",method:"post",data:t})}function f(t){return(0,r.Z)({url:"/order/workOrder/release",method:"post",data:t})}function h(t){return(0,r.Z)({url:"/order/workOrder/finish",method:"post",data:t})}function p(t){return(0,r.Z)({url:"/order/workOrder/importTemplate",method:"post",data:t})}const g="/api/order/workOrder/import";function b(t){return(0,r.Z)({url:"/order/unloadPallet/page",method:"post",data:t})}function k(t){return(0,r.Z)({url:"/order/unloadPallet/add",method:"post",data:t})}function y(t){return(0,r.Z)({url:"/order/unloadPallet/get",method:"post",data:t})}function S(t){return(0,r.Z)({url:"/order/unloadPallet/update",method:"post",data:t})}function I(t){return(0,r.Z)({url:"/order/unloadPallet/verify",method:"post",formState:!0,data:t})}function L(t){return(0,r.Z)({url:"/order/unloadPallet/finish",method:"post",data:t})}function v(t){return(0,r.Z)({url:"/order/unloadPallet/continuePack",method:"post",data:t})}function w(t){return(0,r.Z)({url:"/order/unloadPallet/getDetail",method:"post",data:t})}function C(t){return(0,r.Z)({url:"/order/unloadPallet/glassIdTrace",method:"post",formState:!0,data:t})}function R(t){return(0,r.Z)({url:"/order/reloadRack/reload",method:"post",data:t})}function P(t){return(0,r.Z)({url:"/order/reloadRack/end",method:"post",data:t})}}}]); \ No newline at end of file diff --git a/dist/js/app.8a6daf4f.js b/dist/js/app.8a6daf4f.js new file mode 100644 index 0000000..2a359ad --- /dev/null +++ b/dist/js/app.8a6daf4f.js @@ -0,0 +1 @@ +(function(){var e={4966:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[t("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(n,i){return t("el-breadcrumb-item",{key:n.path},["noRedirect"===n.redirect||i==e.levelList.length-1?t("span",{staticClass:"isredirect"},[e._v(e._s(n.meta.title))]):t("span",{staticClass:"no-redirect"},[e._v(e._s(n.meta.title))])])})),1)],1)},o=[],a=n(4779),s=n.n(a),r={name:"BreadCrumb",data(){return{levelList:null}},watch:{$route(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created(){this.getBreadcrumb()},methods:{getBreadcrumb(){const e=this.$route.matched.filter((e=>e.meta&&e.meta.title));this.levelList=e.filter((e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb))},isDashboard(e){const t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile(e){const{params:t}=this.$route;var n=s().compile(e);return n(t)},handleLink(e){const{redirect:t,path:n}=e;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},A=r,l=n(1001),c=(0,l.Z)(A,i,o,!1,null,"ef7651b6",null),d=c.exports},2610:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return e.isExternal?t("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):t("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[t("use",{attrs:{"xlink:href":e.iconName}})])},o=[],a=n(475),s={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal(){return(0,a.b9)(this.iconClass)},iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon(){return{mask:`url(${this.iconClass}) no-repeat 50% 50%`,"-webkit-mask":`url(${this.iconClass}) no-repeat 50% 50%`}}}},r=s,A=n(1001),l=(0,A.Z)(r,i,o,!1,null,"60e838ce",null),c=l.exports},6700:function(e,t,n){var i={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":3939,"./es-us.js":3939,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id=6700},803:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-device_edit",use:"icon-device_edit-usage",viewBox:"0 0 14 14",content:'\n icon/编辑_蓝\n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},3869:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_alarm",use:"icon-home_alarm-usage",viewBox:"0 0 32 37",content:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},3270:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_plan",use:"icon-home_plan-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},1966:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_product",use:"icon-home_product-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},4186:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_title1",use:"icon-home_title1-usage",viewBox:"0 0 24 24",content:'\n 编组 6\n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},2896:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_title2",use:"icon-home_title2-usage",viewBox:"0 0 24 24",content:'\n 当前位置\n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},5467:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_title3",use:"icon-home_title3-usage",viewBox:"0 0 24 24",content:'\n 列表\n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},4400:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),a=n(5348),s=n.n(a),r=new(o())({id:"icon-home_title4",use:"icon-home_title4-usage",viewBox:"0 0 24 24",content:'\n 信息、语音信息、提示信息-08\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});s().add(r);t["default"]=r},8859:function(e,t,n){"use strict";n(1703);var i=n(9669),o=n.n(i),a=n(4720),s=n(5842),r=n(1192),A=n(1836);const l=o().create({baseURL:"/api",timeout:15e3});let c=null;function d(){c=a.Loading.service({fullscreen:!1,text:"拼命加载中......",background:"rgba(0, 0, 0, 0.1)"})}function m(){c.close()}let u=0;function g(){0===u&&d(),u++}function p(){u<=0||(u--,0===u&&m())}l.interceptors.request.use((e=>(g(),s.Z.getters.token&&(e.headers["token"]=(0,A.LP)()),e.formState&&(e.headers["Content-Type"]="application/json; charset=utf-8"),e)),(e=>(p(),console.log(e),Promise.reject(e)))),l.interceptors.response.use((e=>{p();const t=e.data;return"blob"===e.config.responseType?e:(401===t.code&&(console.log("111"),a.MessageBox.confirm("登录信息失效,请重新登录","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then((()=>{s.Z.dispatch("user/logout").then((()=>{r.Z.push({path:"/login"})}))}))),0!==t.code&&401!==t.code?((0,a.Message)({message:t.msg||"Error",type:"error",duration:5e3}),Promise.reject(new Error(t.message||"Error"))):t)}),(e=>(p(),console.log("err"+e),"err"+e==="errError: timeout of 15000ms exceeded"?(0,a.Message)({message:"网络连接超时",type:"error",duration:5e3}):(0,a.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)))),t["Z"]=l},3123:function(e,t,n){"use strict";var i=n(144),o=n(4720),a=n.n(o),s=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},r=[],A=n(1001),l={},c=(0,A.Z)(l,s,r,!1,null,null,null),d=c.exports,m=n(1192),u=n(5842);const g=n(7886),p=e=>e.keys().map(e);p(g);var h=n(4865),f=n.n(h),C=n(1836);m.Z.beforeEach((async(e,t,n)=>{f().start();const i=(0,C.LP)();if(i)if("/login"===e.path)n(),f().done();else{let t=e.path.split("/"),i={activeModule:t[1],activeMenu:t[2]};u.Z.dispatch("menu/setActiveModule",i),n(),f().done()}else"/login"===e.path?(n(),f().done()):(n(`/login?redirect=${e.path}`),f().done())}));var w=n(9439);function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}const v=n(9364);v.keys().forEach((e=>{const t=v(e);let n="";-1===e.indexOf("subcomponents")?n=L(e.substring(e.indexOf("/")+1,e.indexOf("/",2))):(n=L(e.substring(e.indexOf("/subcomponents")+15,e.indexOf(".",2))),console.log(n,"组件名")),i["default"].component(n,t.default||t)})),i["default"].config.productionTip=!1,i["default"].use(a()),i["default"].use(w.Z),new i["default"]({router:m.Z,store:u.Z,render:e=>e(d)}).$mount("#app")},1192:function(e,t,n){"use strict";n.d(t,{Z:function(){return ne},_:function(){return ee}});var i=n(144),o=n(8345),a=function(){var e=this,t=e._self._c;return t("el-container",{staticClass:"itemContainer"},[t("el-aside",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}],staticStyle:{"background-color":"rgb(238, 241, 246)"},attrs:{width:"248px"}},[t("menu-list")],1),t("el-container",{staticClass:"sectionBox"},[t("el-header",[t("navbar")],1),t("el-container",[t("div",{staticClass:"app-container"},[t("tags-view",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("app-main",{staticClass:"app-main"})],1),t("el-footer",{attrs:{height:"30px"}},[t("div",{staticClass:"footerFont"},[e._v("©中建材智能自动化研究院有限公司")])])],1)],1)],1)},s=[],r=function(){var e=this,t=e._self._c;return t("section",[t("router-view")],1)},A=[],l={name:"AppMain"},c=l,d=n(1001),m=(0,d.Z)(c,r,A,!1,null,null,null),u=m.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-container"},[t("logo-vue"),t("el-menu",{attrs:{"default-active":e.activeMenu}},[e._l(e.leftMenuList,(function(n,i){return["offShelfPackaging"===n.name&&"加工人员"===e.role||"reLaunching"===n.name&&"质检人员"===e.role?e._e():t("el-menu-item",{key:n.name+i,attrs:{index:n.name},on:{click:function(t){return e.toggleMenu(n)}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(n.meta.title))])])]}))],2)],1)},p=[],h={navbarHeight:"60px",menuWidth:"160px",footerHeight:"30px"},f=function(){var e=this;e._self._c;return e._m(0)},C=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("div",{staticClass:"title"},[t("p",[e._v("G8.5 TFT-LCD")]),t("p",[e._v("玻璃基板后工程段制造执行系统")])])])}],w={name:"LogoVue"},L=w,v=(0,d.Z)(L,f,C,!1,null,"8402ed2e",null),b=v.exports,B={name:"MenuList",computed:{variables(){return h},leftMenuList(){return this.$store.state.menu.leftMenuList},activeModule(){return this.$store.state.menu.activeModule},activeMenu:{get:function(){return this.$store.getters.activeMenu},set:function(){}},role(){return this.$store.getters.roles}},components:{LogoVue:b},mounted(){},methods:{toggleMenu(e){this.$store.dispatch("menu/setActiveMenu",e.name)}},watch:{activeModule:function(e,t){console.log(e),console.log(t)},activeMenu:function(e){this.$router.push({name:e})}}},M=B,V=(0,d.Z)(M,g,p,!1,null,"27f2221e",null),k=V.exports,Q=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar-container"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"home"===e.activeModule,expression:"activeModule === 'home'"}],staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("span",{staticClass:"title"},[e._v("G8.5 TFT-LCD 玻璃基板后工程段制造执行系统")])]),t("breadcrumb",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("div",{staticClass:"fr"},[t("div",{staticClass:"fr avatar-area"},[t("el-dropdown",[t("div",{staticStyle:{cursor:"pointer"}},[t("img",{attrs:{src:n(4480),alt:""}}),t("p",[e._v(e._s(e.userName))])]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v("退出")])],1)],1)],1),t("div",{staticClass:"top-time fr"},[t("p",[e._v(e._s(e.topDate))]),t("p",[e._v(e._s(e.topTime))])]),t("ul",{staticClass:"topMenu-box"},e._l(e.topModuleList,(function(i,o){return t("li",{key:o,on:{click:function(t){return e.toggleModule(i)}}},[t("div",{staticClass:"icon"},[t("img",{attrs:{src:n(4457)("./"+i.name+".png"),alt:i.label}})]),t("span",{staticClass:"module",class:{active:e.activeModule===i.name}},[e._v(e._s(i.label))])])})),0)])],1)},x=[],E=n(629),S=n(381),D=n.n(S),j={name:"NavbarPage",data(){return{topDate:"",topTime:"",timer:"",userName:this.$store.getters.username}},computed:{...(0,E.Se)(["topModuleList"]),activeModule:{get:function(){return this.$store.getters.activeModule},set:function(){}}},mounted(){this.$store.dispatch("menu/getTopModuleList"),this.getTime()},beforeDestroy(){clearInterval(this.timer)},methods:{getTime(){let e=this;this.timer=setInterval((function(){e.topDate=D()().format("YYYY.MM.DD"),e.topTime=D()().format("HH : mm : ss")}),1e3)},toggleModule(e){const t={activeModule:e.name,activeMenu:""};this.$store.dispatch("menu/setActiveModule",t)},logout(){this.$store.dispatch("user/logout").then((()=>{this.$router.push({path:"/login"})}))}}},y=j,G=(0,d.Z)(y,Q,x,!1,null,null,null),R=G.exports,I=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tags-view-container"},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(n){return t("router-link",{key:n.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(n)?"active":"",attrs:{to:{path:n.path,query:n.query,fullPath:n.fullPath}}},[e._v(" "+e._s(n.title)+" "),t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1)],1)},P=[],U=function(){var e=this,t=e._self._c;return t("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)},T=[];const K=4;var O={name:"ScrollPane",data(){return{left:0}},computed:{scrollWrapper(){return this.$refs.scrollContainer.$refs.wrap}},mounted(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll(e){const t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll(){this.$emit("scroll")},moveToTarget(e){const t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,o=this.$parent.$refs.tag;let a=null,s=null;if(o.length>0&&(a=o[0],s=o[o.length-1]),a===e)i.scrollLeft=0;else if(s===e)i.scrollLeft=i.scrollWidth-n;else{const t=o.findIndex((t=>t===e)),a=o[t-1],s=o[t+1],r=s.$el.offsetLeft+s.$el.offsetWidth+K,A=a.$el.offsetLeft-K;r>i.scrollLeft+n?i.scrollLeft=r-n:A{for(const t of e)if(t.to.path===this.$route.path){this.$refs.scrollPane.moveToTarget(t),t.to.fullPath!==this.$route.fullPath&&this.$store.dispatch("tagsView/updateVisitedView",this.$route);break}}))},closeSelectedTag(e){this.$store.dispatch("tagsView/delView",e).then((({visitedViews:t})=>{this.isActive(e)&&this.toLastView(t,e)}))}}},W=Y,J=(0,d.Z)(W,I,P,!1,null,"291d2ee4",null),z=J.exports,q={name:"LayoutPage",data(){return{sHome:!0}},computed:{...(0,E.Se)(["activeModule"])},components:{AppMain:u,MenuList:k,Navbar:R,TagsView:z}},Z=q,X=(0,d.Z)(Z,a,s,!1,null,"186010b6",null),_=X.exports;i["default"].use(o.Z);const $=o.Z.prototype.push;o.Z.prototype.push=function(e){return $.call(this,e).catch((e=>e))};const ee=[{path:"/login",name:"login",hidden:!0,meta:{title:"登录"},component:()=>n.e(2162).then(n.bind(n,2162))},{path:"/home",component:_,name:"home",meta:{title:"首页"},children:[{path:"index",name:"index",meta:{title:"产线状态"},component:()=>Promise.all([n.e(8750),n.e(8432)]).then(n.bind(n,8432))}]},{path:"/siteMonitoring",component:_,name:"siteMonitoring",meta:{title:"现场监控"},children:[{path:"productionLineStatus",name:"productionLineStatus",meta:{title:"产线状态"},component:()=>n.e(9835).then(n.bind(n,9835))},{path:"deviceStatus",name:"deviceStatus",meta:{title:"设备状态"},component:()=>n.e(2505).then(n.bind(n,2505))}]},{path:"/productionScheduling",component:_,name:"productionScheduling",meta:{title:"生产调度"},children:[{path:"workOrderProgress",name:"workOrderProgress",meta:{title:"工单进度"},component:()=>Promise.all([n.e(8750),n.e(5640)]).then(n.bind(n,5640))},{path:"workOrderManagement",name:"workOrderManagement",meta:{title:"工单管理"},component:()=>n.e(2407).then(n.bind(n,2407))},{path:"productionData",name:"productionData",meta:{title:"生产数据"},component:()=>n.e(6354).then(n.bind(n,6354))},{path:"offShelfPackaging",name:"offShelfPackaging",meta:{title:"下架包装"},component:()=>n.e(9796).then(n.bind(n,9796))},{path:"reLaunching",name:"reLaunching",meta:{title:"复投上架"},component:()=>n.e(9705).then(n.bind(n,9705))}]},{path:"/deviceManagement",component:_,name:"deviceManagement",meta:{title:"设备管理"},children:[{path:"performanceAnalysis",name:"performanceAnalysis",meta:{title:"绩效分析"},component:()=>n.e(7378).then(n.bind(n,7378)),redirect:"/deviceManagement/performanceAnalysis/devicePage",children:[{path:"devicePage",name:"devicePage",meta:{title:"设备OEE"},component:()=>Promise.all([n.e(8750),n.e(3101)]).then(n.bind(n,3101))},{path:"utilizationRateAnalysis",name:"utilizationRateAnalysis",meta:{title:"利用率分析"},component:()=>Promise.all([n.e(8750),n.e(4344)]).then(n.bind(n,4344))},{path:"mtbrf",name:"mtbrf",meta:{title:"MTBR-F"},component:()=>Promise.all([n.e(8750),n.e(5323)]).then(n.bind(n,5323))},{path:"analysisOfPallet",name:"analysisOfPallet",meta:{title:"托盘指标分析"},component:()=>Promise.all([n.e(8750),n.e(5067)]).then(n.bind(n,5067))}]},{path:"spareParts",name:"spareParts",meta:{title:"备品备件"},component:()=>n.e(1082).then(n.bind(n,1082)),redirect:"/deviceManagement/spareParts/sparePartsStock",children:[{path:"sparePartsStock",name:"sparePartsStock",meta:{title:"备件库存"},component:()=>n.e(6729).then(n.bind(n,6729))},{path:"sparePartsRecord",name:"sparePartsRecord",meta:{title:"备件记录"},component:()=>n.e(919).then(n.bind(n,919))}]},{path:"maintenanceManagement",name:"maintenanceManagement",meta:{title:"维护管理"},component:()=>n.e(2765).then(n.bind(n,2765)),redirect:"/deviceManagement/maintenanceManagement/plannedMaintenance",children:[{path:"plannedMaintenance",name:"plannedMaintenance",meta:{title:"计划维护"},component:()=>n.e(4922).then(n.bind(n,4922))},{path:"selfMaintenance",name:"selfMaintenance",meta:{title:"自主维护"},component:()=>n.e(4048).then(n.bind(n,4048))}]},{path:"alarmInformation",name:"alarmInformation",meta:{title:"报警信息"},component:()=>n.e(1738).then(n.bind(n,9460)),redirect:"/deviceManagement/alarmInformation/realTimeAlarm",children:[{path:"realTimeAlarm",name:"realTimeAlarm",meta:{title:"实时报警"},component:()=>n.e(6831).then(n.bind(n,6831))},{path:"historyAlarm",name:"historyAlarm",meta:{title:"历史报警"},component:()=>n.e(4362).then(n.bind(n,4362))}]}]},{path:"/consumablesManagement",component:_,name:"consumablesManagement",meta:{title:"耗材管理"},children:[{path:"inAndOutManagement",name:"inAndOutManagement",meta:{title:"出入库管理"},component:()=>n.e(5783).then(n.bind(n,5783))},{path:"inAndOutRecords",name:"inAndOutRecords",meta:{title:"出入库记录"},component:()=>n.e(2990).then(n.bind(n,2990))},{path:"materialTracking",name:"materialTracking",meta:{title:"在线耗材跟踪"},component:()=>n.e(2312).then(n.bind(n,9568))}]},{path:"/processManagement",component:_,name:"processManagement",meta:{title:"工艺管理"},children:[{path:"processMonitoring",name:"processMonitoring",meta:{title:"工艺监测"},component:()=>Promise.all([n.e(8750),n.e(2125)]).then(n.bind(n,2125))},{path:"abnormalAlert",name:"abnormalAlert",meta:{title:"异常警示"},component:()=>n.e(9881).then(n.bind(n,9881))},{path:"processConfiguration",name:"processConfiguration",meta:{title:"工艺配置"},component:()=>n.e(9809).then(n.bind(n,9809))}]},{path:"/qualityManagement",component:_,name:"qualityManagement",meta:{title:"质量管理"},children:[{path:"processSampling",name:"processSampling",meta:{title:"过程抽检"},component:()=>n.e(5984).then(n.bind(n,5984))},{path:"processFullInspection",name:"processFullInspection",meta:{title:"过程全检"},component:()=>n.e(3790).then(n.bind(n,3790)),redirect:"/qualityManagement/processFullInspection/fullInspection",children:[{path:"fullInspection",name:"fullInspection",meta:{title:"过程全检"},component:()=>n.e(5096).then(n.bind(n,5096))},{path:"fullInspectionDetail",name:"fullInspectionDetail",meta:{title:"全检详情"},component:()=>n.e(3899).then(n.bind(n,3899))},{path:"defectScatterPlot",name:"defectScatterPlot",meta:{title:"缺陷散点图"},component:()=>Promise.all([n.e(8750),n.e(5159)]).then(n.bind(n,5159))},{path:"particleLineChart",name:"particleLineChart",meta:{title:"颗粒折线图"},component:()=>Promise.all([n.e(8750),n.e(3813)]).then(n.bind(n,3813))},{path:"thicknessDistributionMap",name:"thicknessDistributionMap",meta:{title:"厚度分布图"},component:()=>Promise.all([n.e(8750),n.e(889)]).then(n.bind(n,889))}]},{path:"productTraceability",name:"productTraceability",meta:{title:"产品追溯"},component:()=>n.e(3058).then(n.bind(n,3058))},{path:"finalInspectionDailyReport",name:"finalInspectionDailyReport",meta:{title:"终检日报表"},component:()=>n.e(4591).then(n.bind(n,4591))}]},{path:"/reportManagement",component:_,name:"reportManagement",meta:{title:"报表管理"},children:[{path:"productionReport",name:"productionReport",meta:{title:"后工程日报表"},component:()=>n.e(4061).then(n.bind(n,4061))},{path:"finalInspectionData",name:"finalInspectionData",meta:{title:"终检数据"},component:()=>n.e(5271).then(n.bind(n,5271))},{path:"reportTools",name:"reportTools",meta:{title:"报表工具"},component:()=>n.e(4350).then(n.bind(n,4350)),redirect:"/reportManagement/reportTools/reportList",children:[{path:"reportList",name:"reportList",meta:{title:"报表列表"},component:()=>n.e(2740).then(n.bind(n,2740))},{path:"reportListDetail",name:"reportListDetail",hidden:!0,meta:{title:"报表列表明细"},component:()=>n.e(5748).then(n.bind(n,5748))},{path:"reportView",name:"reportView",meta:{title:"报表预览"},component:()=>n.e(1909).then(n.bind(n,1909))},{path:"reportDesign",name:"reportDesign",meta:{title:"报表设计"},component:()=>n.e(5797).then(n.bind(n,5797))},{path:"reportClassification",name:"reportClassification",meta:{title:"报表分类"},component:()=>n.e(9707).then(n.bind(n,9707))}]}]},{path:"/basicConfig",component:_,name:"basicConfig",meta:{title:"基础配置"},children:[{path:"accountConfig",name:"accountConfig",meta:{title:"账号配置"},component:()=>n.e(1487).then(n.bind(n,1487))},{path:"sparePartsConfig",name:"sparePartsConfig",meta:{title:"备件配置"},component:()=>n.e(698).then(n.bind(n,698))},{path:"consumablesConfig",name:"consumablesConfig",meta:{title:"耗材配置"},component:()=>n.e(4337).then(n.bind(n,4337))},{path:"lineSideLibraryConfig",name:"lineSideLibraryConfig",meta:{title:"线边库配置"},component:()=>n.e(2413).then(n.bind(n,2413))},{path:"deviceConfig",name:"deviceConfig",meta:{title:"设备配置"},component:()=>n.e(5304).then(n.bind(n,5304))}]},{path:"*",redirect:"/home/index",hidden:!0}],te=new o.Z({mode:"hash",base:"/",routes:ee});var ne=te},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(144),o=n(629);const a={topModuleList:e=>e.menu.topModuleList,leftMenuList:e=>e.menu.leftMenuList,activeModule:e=>e.menu.activeModule,activeMenu:e=>e.menu.activeMenu,token:e=>e.user.token,visitedViews:e=>e.tagsView.visitedViews,cachedViews:e=>e.tagsView.cachedViews,username:e=>e.user.username,roles:e=>e.user.roles};var s=a;i["default"].use(o.ZP);const r=n(2645),A=r.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),i=r(t);return e[n]=i.default,e}),{}),l=new o.ZP.Store({modules:A,getters:s});var c=l},1811:function(e,t,n){"use strict";n.r(t);var i=n(1192);const o={topModuleList:sessionStorage.getItem("topModuleList")&&"undefined"!==sessionStorage.getItem("topModuleList")?JSON.parse(sessionStorage.getItem("topModuleList")):[],leftMenuList:sessionStorage.getItem("leftMenuList")&&"undefined"!==sessionStorage.getItem("leftMenuList")?JSON.parse(sessionStorage.getItem("leftMenuList")):[],activeModule:sessionStorage.getItem("activeModule"),activeMenu:sessionStorage.getItem("activeMenu")},a={SET_TOPMODULE:(e,t)=>{e.topModuleList=t,sessionStorage.setItem("topModuleList",JSON.stringify(t))},SET_LEFTMENU:(e,t)=>{e.leftMenuList=t,sessionStorage.setItem("leftMenuList",JSON.stringify(t))},SET_ACTIVEMODULE:(e,t)=>{e.activeModule=t,sessionStorage.setItem("activeModule",t)},SET_ACTIVEMENU:(e,t)=>{e.activeMenu=t||(e.leftMenuList[0]?e.leftMenuList[0].name:""),sessionStorage.setItem("activeMenu",e.activeMenu)}},s={getTopModuleList({commit:e}){let t=[];i._&&i._.map((e=>{if(e.hidden)return!0;let n={};n.name=e.name,n.label=e.meta.title,t.push(n)})),e("SET_TOPMODULE",t)},setActiveModule({commit:e,dispatch:t},n){const{activeModule:i}=n;t("getLeftMenuList",n),e("SET_ACTIVEMODULE",i)},getLeftMenuList({commit:e,dispatch:t},n){const{activeModule:o,activeMenu:a}=n;let s=[];for(let r=0;r{e.visitedViews.some((e=>e.path===t.path))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:(e,t)=>{e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:(e,t)=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t.path){e.visitedViews.splice(n,1);break}},DEL_CACHED_VIEW:(e,t)=>{const n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)}},a={addView({dispatch:e},t){e("addVisitedView",t),e("addCachedView",t)},addVisitedView({commit:e},t){e("ADD_VISITED_VIEW",t)},addCachedView({commit:e},t){e("ADD_CACHED_VIEW",t)},delView({dispatch:e,state:t},n){return new Promise((i=>{e("delVisitedView",n),e("delCachedView",n),i({visitedViews:[...t.visitedViews],cachedViews:[...t.cachedViews]})}))},delVisitedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_VISITED_VIEW",n),i([...t.visitedViews])}))},delCachedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_CACHED_VIEW",n),i([...t.cachedViews])}))}};t["default"]={namespaced:!0,state:i,mutations:o,actions:a}},9535:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(8859);function o(e){const t=Object.assign(e,{appType:1,userType:1});return(0,i.Z)({url:"/passport/login",method:"post",data:t})}function a(){return(0,i.Z)({url:"/passport/getLoginUser",method:"post"})}var s=n(1836),r=n(4858);const A={token:(0,s.LP)(),name:"",avatar:"",introduction:"",roles:JSON.parse(localStorage.getItem("roles")),menus:[],username:r.Z.get("username")||""},l={SET_TOKEN:(e,t)=>{e.token=t},SET_USERNAME:(e,t)=>{e.username=t},SET_INTRODUCTION:(e,t)=>{e.introduction=t},SET_NAME:(e,t)=>{e.name=t},SET_AVATAR:(e,t)=>{e.avatar=t},SET_MENUS:(e,t)=>{e.menus=t},SET_ROLES:(e,t)=>{e.roles=t}},c={login({commit:e},t){const{mobile:n,password:i}=t;return new Promise(((t,a)=>{o({mobile:n.trim(),password:i}).then((n=>{if(console.log(n),0===n.code){const{token:i,name:o}=n.data;e("SET_TOKEN",i),e("SET_USERNAME",o),r.Z.set("username",o),(0,s.o4)(i),t()}else a(n)})).catch((e=>{a(e)}))}))},getInfo({commit:e}){return new Promise(((t,n)=>{a().then((i=>{console.log(i);const{data:o}=i;o||n("获取用户信息失败,重新登录");const{role:a}=o;e("SET_ROLES",a||""),localStorage.setItem("roles",JSON.stringify(a)),t(o)})).catch((e=>{n(e)}))}))},logout(){return new Promise((e=>{(0,s.gy)(),e()}))}};var d={namespaced:!0,state:A,mutations:l,actions:c}},1836:function(e,t,n){"use strict";n.d(t,{LP:function(){return a},gy:function(){return r},o4:function(){return s}});var i=n(4858);const o="Admin-Token";function a(){return i.Z.get(o)}function s(e){return i.Z.set(o,e)}function r(){return i.Z.remove(o)}},475:function(e,t,n){"use strict";n.d(t,{oJ:function(){return c},b9:function(){return d},fW:function(){return l},NC:function(){return s},g6:function(){return r}});var i=n(381),o=n.n(i),a={packageState:[{dataCode:0,dataName:"包装中"},{dataCode:1,dataName:"复投中"},{dataCode:2,dataName:"已下架"}]};function s(e){return window.innerHeight-e}function r(e){return e?o()(e).format("YYYY-MM-DD HH:mm:ss"):"-"}const A=JSON.parse(localStorage.getItem("publicList"));function l(e){return function(t){const n={},i=A?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function c(e){return function(t){const n={},i=a?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function d(e){return/^(https?:|mailto:|tel:)/.test(e)}},4457:function(e,t,n){var i={"./avatar.png":4480,"./basicConfig.png":9504,"./consumablesManagement.png":8011,"./deviceManagement.png":4489,"./home.png":1056,"./processManagement.png":9198,"./productionScheduling.png":9353,"./qualityManagement.png":336,"./reportManagement.png":4425,"./siteMonitoring.png":1714};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id=4457},9364:function(e,t,n){var i={"./Breadcrumb/index.vue":4966,"./SvgIcon/index.vue":2610};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id=9364},7886:function(e,t,n){var i={"./device_edit.svg":803,"./home_alarm.svg":3869,"./home_plan.svg":3270,"./home_product.svg":1966,"./home_title1.svg":4186,"./home_title2.svg":2896,"./home_title3.svg":5467,"./home_title4.svg":4400};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id=7886},2645:function(e,t,n){var i={"./menu.js":1811,"./tagsView.js":6941,"./user.js":9535};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=a,e.exports=o,o.id=2645},4480:function(e,t,n){"use strict";e.exports=n.p+"img/avatar.7d43196d.png"},9504:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQzElEQVR4Ae0dCXQURfb3TDI5CUm4QQhgODQG5VhF1JVVFMQDlCsIi4q4Ki7C6kNUXDbKc/HAfaLwUHQX8ORSEUEILHLoyuUuch9yakgEDCF3Mlfv/z3pnj6qe7pnMpMAU+9NuurXv+rXXf2rAxDuwIkCknJ4XozrPSsWcVyMOrP8Uz8keaQ/LsZsYkT+bN1/kZCUE4v5CgJH9U8CvDQ9R8zXPBUEzvhOAoKcszxOmQoCAjTKcQLpLqr16ZpjBJaCptA85xAySS2RCNI76hNIORhhlUWSkHLOZxk5gTpeoQY0jLTQlsy0I1I39LYk1qpkf4YVNDVNOKL97Z5SDYmCQGzOoqSSJSnQJl1JoyCgLFKHCGetBGh29zY4NEdJYGglqv3StOEAnI8vWUmI6TULoSy1yCKOpbakVK6hpKRhiRRKHslvxMHp5lCVa9UM4o+8zdUQH0W16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Wm9q5ng1bxlAdALgFvuwhZBlDnQUFtQ+9PzkKB14/A/8+TftaAK6Y3wi3XDcXmhOl2Q5Syk4TqgNwCVMZxtNZaL1/H7x69LwnjxuWzYSun66Eqni4D7enUB6VFSHl2//9Hyy8c2dB45Oe5CDCJZpKgIpwwHO7exy2NHDn2Xj1QhitXWZelKYyFtw0bF05pUMdglQVT+PwQ1tihhMrIROf6ckmlj4PDcl9kKPxRC2LylCfgMM9av/lgU4apz2YhYxPFiUcwlU9nVxVRlVvhuqATduOwaPP/dO3rJkq717PY6hCQ7KRjGFC6EPQY785CnQtnNcId968AK5e1AQtcxvx30iI4dygr1gnkxHRHDrxnpApTch6zwzBkZ4B2P3nU/COuVUbC2PNQppSVITqANolGsv0m3qQwrIb6XN7eP2p//JfhmDP3tf8ESE2yRgmhDoEpRquh9G6D4epn6+2SDaSMUzw8QQE844+WodTR7z0zBDEx0/h+umAmfYagwxwTjFlDEQ0mfhlYlQcg7KxRsRpwiPfF5hpMbLfGnlbSTugevT4kfH4vBVQxO52Vg1Sfiy2hC0KND1e04L/eq0lUJ5SzPA/IpOtpHARSXoIio+/N5h4fxfE0+dkeU85PLKNaSO0lazy0k+AyRC9W48vOSbgk5DRZ4Ch15b+tEdZbcLGw49bWjYFsSyu8tP/ArfAx1dHfw6wGqA7NmjOaCrgCzMrdrmlpYegchP8UpFH2gE4aRCeSn2pGCMoPfzYStoBMdCfxJN9owGnkJfQRqatCuFN1Es74FT3qp4GPYFHt8J+Sd5TEW0/2YhsJau81ycYTx7LWndWDw7rK7LZ7BzIGtKO9GRaaZW6ltV1/ez0huyho12roiG60vwXyRtZILJAZIHIAlPbAv8HLGfzgNUDg+8AAAAASUVORK5CYII="},9198:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQA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ZhB/046F9OcRoG2ulG9iSOrvpHyiNvBhApLHlXOd0Ew5fzh6K7EKAr74OJFuojIdqNLEvuz8QN3/OKsBzeeT1qAE11dHAbDQ+lcYl+R1nQ9/Q0ovN9J35wpgHnunJsgHDkky08TvshjQZIR0ldpQFTix0boCB6oLG84Q062dqn1vWfJg2wbpI6Il2ZiiyT7t4BZN2SpjUKMpo2xgN9afVK0zV2vjkaA00epEQHTRwakrM4TQUu9OHOABoFipAxgvGDvMXuhyw04HgIyoKGX9VGA44NQOtX2qnxgxMNuNGVYwMEEXiGxnp/wElnAdJRUlfp4LrKHRtg14prPy8NlLObAHnY+MFCA++xjlhXFuXdsjOevoy8ZmG4sTVweiKROBYJ2bEhu3FwOGcEpEQgENhbUZrYuHXRtf4QfTjb0ufd14CvAV8DvgaOPg38H2oK84p0sURaAAAAAElFTkSuQmCC"},336:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQiUlEQVR4Ae0dCXQURfbPhGSSkItbwimEW44g4gqCFwiyKIhIgoI+d0WUJ4LyEB7ikvUEXRCe+BBBn4IHyi2KIAILrmiAlUOOIAEjBBAI5CDHZJKZ2f9r6J7p7upjZjoMrF3vTbrq169/1dHVVfUrADUdbAKD2plerxBXe5Yts9nsvMzOLQBKP+PlANSSgwMRhXjCSD8Wl0PqgM8ZRuqAZX7MyzFugerGGTBt/m7Y8kGmooBCpMYDV8G5DcMQsQdDTsysBrD50RQcLtUZBiTKGx/9gs/l4A1AJgpBm1XklXRRqSCTKeBPWUD8KooypY20I5JZtS1RkxCahVw5RT0EIgbGhYKKAkKG2pNboP9TG1ht8wqJFReYuWnBQJbMP0tVVTswS9kfqO0LtV5SV9lamUgCgkCKEOXIAo4ok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4QoUnWdaathXigbya7+L31fabkUCjX3BnTuQhpPRE4jsmEXER5KvOLXnDoAndOhoUd0r8IQPcrLufGjUN5KPiK94rTfRBBGWJLp59e/GeJNj9iNCCTnEgrwe7Vjow6txNuGRMQg9vM8drZN8o6hmwh/mAqBIIAkSDHfkMNAubwa1Ih07zd0EdWwzs1d77gCQsZDhqdTZa177aGbGV9wBcEP4G2nrnQYnWUyJjyRfJcNrLecOwN615V/lC0X0n9+s5+TdGdHWUx9RX/Eazz0XpGc4eNJy39GAMCwajfYgkzXcgdTz6dB5wRUVBOFAcX506+cryp0mukMH01He8YDjAccDjgc6nQf+D5Fbs4bc5Rh5AAAAAElFTkSuQmCC"},1714:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAPtklEQVR4Ae0dCXQURfbPhJmckwORQ1h8KIgaFgXBKD4WQQVUZBdxISDoc3nuqisiuIq6HkF9rChkQVxvZD0WUASRS4JCBBUWueQSVFwUw5EQAslkJjOZo/f/7ume7pnqme7MkQl0vTfpql+//llV3V39qwKQ6GQSGWQXc5yYV7s6FplMZlZl/UIWVICFNSDkOQv3qbcQa2rsHEe/tZsrOBKPEl3HzxbgVEe4rcQGhSMX8dm61sX89Z7pm/DaD/55pwsKRy4T0SCi0iRezhg/IguSqyotkjtvCHFVqqksiZiBqyieHCzpkFsj6CCvDM07QgGpUebNqqUfkbhMs0bqR9QozKxPv7YDIjXizfrrm9QWoCCHPNsb/P7tWLqCh4l1VGiNlud16DB4oTQWRGeJXARv823h2NoxJlWlh3RaD8/d1xv6Pp4vYONfUlq1gYQly0hW0tItRBxdfUnGLIWyvJFEeXLGcF/gSB8glpt67XAuZByca3JTe0VPigdxInrsBLjoSknBQAAp/5p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return e[i].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,function(){var e=[];n.O=function(t,i,o,a){if(!i){var s=1/0;for(c=0;c=a)&&Object.keys(n.O).every((function(e){return n.O[e](i[A])}))?i.splice(A--,1):(r=!1,a0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[i,o,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{698:"686547a1",889:"fda67dfe",919:"4ed474aa",1082:"a5699b5a",1487:"2312df4b",1738:"9f169ad3",1909:"d4a91a98",2125:"35167988",2162:"d4c19cb6",2312:"895c96ce",2407:"b28312ac",2413:"b0006aaf",2505:"99efed6e",2740:"0ffcbd63",2765:"4d18b560",2990:"145272cf",3058:"afed5e8b",3101:"d040dc0a",3790:"3a99ab78",3813:"435d2e60",3899:"4bd3c5c8",4048:"0faf667a",4061:"83f9daf4",4337:"7bf28b84",4344:"788bebe9",4350:"0bda506f",4362:"954ff80f",4591:"fd241a34",4922:"6d343695",5067:"beaa119f",5096:"efa7f846",5159:"85e1127d",5271:"8199e756",5304:"a9d72581",5323:"90b7d9c4",5640:"a9590889",5748:"94b73395",5783:"fc0f3624",5797:"d5647f99",5984:"95a73c90",6354:"04b01f2e",6729:"3d089ae3",6831:"95f35749",7378:"45fc1dd5",8432:"2eb6638c",8750:"b8e81c1b",9705:"be26bec0",9707:"b2783b7b",9796:"8b5a0aa6",9809:"b6389288",9835:"280d7b4c",9881:"e55b56d1"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{889:"20426fed",919:"16921f1d",1082:"acf35185",1738:"5e5f5611",1909:"65f8bc12",2125:"93591f9e",2162:"6470fb2d",2407:"1f6aa78f",2505:"a57dc960",2740:"049013c2",2765:"53194d3a",3058:"de5828a6",3101:"e4d7b530",3790:"2ef8ea22",3813:"c8c00575",3899:"6e01028f",4048:"38e37843",4061:"68b9449b",4344:"30b50fa7",4350:"4dd461e8",4362:"63e90ebd",4922:"de98e773",5067:"0b4115dc",5096:"5db09865",5159:"4dc0d0ad",5271:"3daf5a00",5304:"95c8a4ad",5323:"9421f1cc",5640:"25c30150",5748:"d55bbb50",5783:"c4e5dd1b",5797:"81598d88",5984:"2c1d687d",6354:"776e0649",6729:"2b3c2c89",6831:"cd6787cf",7378:"adb3a5b7",8432:"8e7ab012",9707:"d55bbb50",9835:"2109528e",9881:"9c17623c"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="tft-mes:";n.l=function(i,o,a,s){if(e[i])e[i].push(o);else{var r,A;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;ce.meta&&e.meta.title));this.levelList=e.filter((e=>e.meta&&e.meta.title&&!1!==e.meta.breadcrumb))},isDashboard(e){const t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile(e){const{params:t}=this.$route;var n=a().compile(e);return n(t)},handleLink(e){const{redirect:t,path:n}=e;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},l=r,A=n(1001),c=(0,A.Z)(l,i,o,!1,null,"ef7651b6",null),d=c.exports},2610:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var i=function(){var e=this,t=e._self._c;return e.isExternal?t("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):t("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[t("use",{attrs:{"xlink:href":e.iconName}})])},o=[],s=n(475),a={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal(){return(0,s.b9)(this.iconClass)},iconName(){return`#icon-${this.iconClass}`},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon(){return{mask:`url(${this.iconClass}) no-repeat 50% 50%`,"-webkit-mask":`url(${this.iconClass}) no-repeat 50% 50%`}}}},r=a,l=n(1001),A=(0,l.Z)(r,i,o,!1,null,"60e838ce",null),c=A.exports},6700:function(e,t,n){var i={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":3939,"./es-us.js":3939,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=6700},803:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-device_edit",use:"icon-device_edit-usage",viewBox:"0 0 14 14",content:'\n icon/编辑_蓝\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3869:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_alarm",use:"icon-home_alarm-usage",viewBox:"0 0 32 37",content:'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},3270:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_plan",use:"icon-home_plan-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},1966:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_product",use:"icon-home_product-usage",viewBox:"0 0 32 32",content:'\n 编组 8\n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4186:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title1",use:"icon-home_title1-usage",viewBox:"0 0 24 24",content:'\n 编组 6\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},2896:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title2",use:"icon-home_title2-usage",viewBox:"0 0 24 24",content:'\n 当前位置\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},5467:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title3",use:"icon-home_title3-usage",viewBox:"0 0 24 24",content:'\n 列表\n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},4400:function(e,t,n){"use strict";n.r(t);var i=n(9824),o=n.n(i),s=n(5348),a=n.n(s),r=new(o())({id:"icon-home_title4",use:"icon-home_title4-usage",viewBox:"0 0 24 24",content:'\n 信息、语音信息、提示信息-08\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'});a().add(r);t["default"]=r},8859:function(e,t,n){"use strict";n(1703);var i=n(9669),o=n.n(i),s=n(4720),a=n(5842),r=n(1192),l=n(1836);const A=o().create({baseURL:"/api",timeout:15e3});let c=null;function d(){c=s.Loading.service({fullscreen:!1,text:"拼命加载中......",background:"rgba(0, 0, 0, 0.1)"})}function m(){c.close()}let u=0;function g(){0===u&&d(),u++}function p(){u<=0||(u--,0===u&&m())}A.interceptors.request.use((e=>(g(),a.Z.getters.token&&(e.headers["token"]=(0,l.LP)()),e.formState&&(e.headers["Content-Type"]="application/json; charset=utf-8"),e)),(e=>(p(),console.log(e),Promise.reject(e)))),A.interceptors.response.use((e=>{p();const t=e.data;return"blob"===e.config.responseType?e:(401===t.code&&(console.log("111"),s.MessageBox.confirm("登录信息失效,请重新登录","提示",{confirmButtonText:"去登录",cancelButtonText:"取消",type:"warning"}).then((()=>{a.Z.dispatch("user/logout").then((()=>{r.Z.push({path:"/login"})}))}))),0!==t.code&&401!==t.code?((0,s.Message)({message:t.msg||"Error",type:"error",duration:5e3}),Promise.reject(new Error(t.message||"Error"))):t)}),(e=>(p(),console.log("err"+e),"err"+e==="errError: timeout of 15000ms exceeded"?(0,s.Message)({message:"网络连接超时",type:"error",duration:5e3}):(0,s.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)))),t["Z"]=A},3123:function(e,t,n){"use strict";var i=n(144),o=n(4720),s=n.n(o),a=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},r=[],l=n(1001),A={},c=(0,l.Z)(A,a,r,!1,null,null,null),d=c.exports,m=n(1192),u=n(5842);const g=n(7886),p=e=>e.keys().map(e);p(g);var h=n(4865),f=n.n(h),C=n(1836);m.Z.beforeEach((async(e,t,n)=>{f().start();const i=(0,C.LP)();if(i)if("/login"===e.path)n(),f().done();else{let t=e.path.split("/"),i={activeModule:t[1],activeMenu:t[2]};u.Z.dispatch("menu/setActiveModule",i),n(),f().done()}else"/login"===e.path?(n(),f().done()):(n(`/login?redirect=${e.path}`),f().done())}));var w=n(9439);function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}const v=n(9364);v.keys().forEach((e=>{const t=v(e);let n="";-1===e.indexOf("subcomponents")?n=L(e.substring(e.indexOf("/")+1,e.indexOf("/",2))):(n=L(e.substring(e.indexOf("/subcomponents")+15,e.indexOf(".",2))),console.log(n,"组件名")),i["default"].component(n,t.default||t)})),i["default"].config.productionTip=!1,i["default"].use(s()),i["default"].use(w.Z),new i["default"]({router:m.Z,store:u.Z,render:e=>e(d)}).$mount("#app")},1192:function(e,t,n){"use strict";n.d(t,{Z:function(){return ne},_:function(){return ee}});var i=n(144),o=n(8345),s=function(){var e=this,t=e._self._c;return t("el-container",{staticClass:"itemContainer"},[t("el-aside",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}],staticStyle:{"background-color":"rgb(238, 241, 246)"},attrs:{width:"248px"}},[t("menu-list")],1),t("el-container",{staticClass:"sectionBox"},[t("el-header",[t("navbar")],1),t("el-container",[t("div",{staticClass:"app-container"},[t("tags-view",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("app-main",{staticClass:"app-main"})],1),t("el-footer",{attrs:{height:"30px"}},[t("div",{staticClass:"footerFont"},[e._v("©中建材智能自动化研究院有限公司")])])],1)],1)],1)},a=[],r=function(){var e=this,t=e._self._c;return t("section",[t("router-view")],1)},l=[],A={name:"AppMain"},c=A,d=n(1001),m=(0,d.Z)(c,r,l,!1,null,null,null),u=m.exports,g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"menu-container"},[t("logo-vue"),t("el-menu",{attrs:{"default-active":e.activeMenu}},[e._l(e.leftMenuList,(function(n,i){return["offShelfPackaging"===n.name&&"加工人员"===e.role||"reLaunching"===n.name&&"质检人员"===e.role?e._e():t("el-menu-item",{key:n.name+i,attrs:{index:n.name},on:{click:function(t){return e.toggleMenu(n)}}},[t("i",{staticClass:"el-icon-s-operation"}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(n.meta.title))])])]}))],2)],1)},p=[],h={navbarHeight:"60px",menuWidth:"160px",footerHeight:"30px"},f=function(){var e=this;e._self._c;return e._m(0)},C=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("div",{staticClass:"title"},[t("p",[e._v("G8.5 TFT-LCD")]),t("p",[e._v("玻璃基板后工程段制造执行系统")])])])}],w={name:"LogoVue"},L=w,v=(0,d.Z)(L,f,C,!1,null,"8402ed2e",null),b=v.exports,B={name:"MenuList",computed:{variables(){return h},leftMenuList(){return this.$store.state.menu.leftMenuList},activeModule(){return this.$store.state.menu.activeModule},activeMenu:{get:function(){return this.$store.getters.activeMenu},set:function(){}},role(){return this.$store.getters.roles}},components:{LogoVue:b},mounted(){},methods:{toggleMenu(e){this.$store.dispatch("menu/setActiveMenu",e.name)}},watch:{activeModule:function(e,t){console.log(e),console.log(t)},activeMenu:function(e){this.$router.push({name:e})}}},M=B,V=(0,d.Z)(M,g,p,!1,null,"27f2221e",null),k=V.exports,x=function(){var e=this,t=e._self._c;return t("div",{staticClass:"navbar-container"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"home"===e.activeModule,expression:"activeModule === 'home'"}],staticClass:"logo-box"},[t("img",{staticClass:"logo-img",attrs:{src:n(6949),alt:"中建材"}}),t("span",{staticClass:"title"},[e._v("G8.5 TFT-LCD 玻璃基板后工程段制造执行系统")])]),t("breadcrumb",{directives:[{name:"show",rawName:"v-show",value:"home"!==e.activeModule,expression:"activeModule !== 'home'"}]}),t("div",{staticClass:"fr"},[t("div",{staticClass:"fr avatar-area"},[t("el-dropdown",[t("div",{staticStyle:{cursor:"pointer"}},[t("img",{attrs:{src:n(4480),alt:""}}),t("p",[e._v(e._s(e.userName))])]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[e._v("退出")])],1)],1)],1),t("div",{staticClass:"top-time fr"},[t("p",[e._v(e._s(e.topDate))]),t("p",[e._v(e._s(e.topTime))])]),t("ul",{staticClass:"topMenu-box"},e._l(e.topModuleList,(function(i,o){return t("li",{key:o,on:{click:function(t){return e.toggleModule(i)}}},[t("div",{staticClass:"icon"},[t("img",{attrs:{src:n(4457)("./"+i.name+".png"),alt:i.label}})]),t("span",{staticClass:"module",class:{active:e.activeModule===i.name}},[e._v(e._s(i.label))])])})),0)])],1)},Q=[],S=n(629),D=n(381),E=n.n(D),y={name:"NavbarPage",data(){return{topDate:"",topTime:"",timer:"",userName:this.$store.getters.username}},computed:{...(0,S.Se)(["topModuleList"]),activeModule:{get:function(){return this.$store.getters.activeModule},set:function(){}}},mounted(){this.$store.dispatch("menu/getTopModuleList"),this.getTime()},beforeDestroy(){clearInterval(this.timer)},methods:{getTime(){let e=this;this.timer=setInterval((function(){e.topDate=E()().format("YYYY.MM.DD"),e.topTime=E()().format("HH : mm : ss")}),1e3)},toggleModule(e){const t={activeModule:e.name,activeMenu:""};this.$store.dispatch("menu/setActiveModule",t)},logout(){this.$store.dispatch("user/logout").then((()=>{this.$router.push({path:"/login"})}))}}},j=y,G=(0,d.Z)(j,x,Q,!1,null,null,null),I=G.exports,R=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tags-view-container"},[t("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,(function(n){return t("router-link",{key:n.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(n)?"active":"",attrs:{to:{path:n.path,query:n.query,fullPath:n.fullPath}}},[e._v(" "+e._s(n.title)+" "),t("span",{staticClass:"el-icon-close",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.closeSelectedTag(n)}}})])})),1)],1)},P=[],U=function(){var e=this,t=e._self._c;return t("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll.apply(null,arguments)}}},[e._t("default")],2)},K=[];const O=4;var T={name:"ScrollPane",data(){return{left:0}},computed:{scrollWrapper(){return this.$refs.scrollContainer.$refs.wrap}},mounted(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll(e){const t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll(){this.$emit("scroll")},moveToTarget(e){const t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,o=this.$parent.$refs.tag;let s=null,a=null;if(o.length>0&&(s=o[0],a=o[o.length-1]),s===e)i.scrollLeft=0;else if(a===e)i.scrollLeft=i.scrollWidth-n;else{const t=o.findIndex((t=>t===e)),s=o[t-1],a=o[t+1],r=a.$el.offsetLeft+a.$el.offsetWidth+O,l=s.$el.offsetLeft-O;r>i.scrollLeft+n?i.scrollLeft=r-n:l{for(const t of e)if(t.to.path===this.$route.path){this.$refs.scrollPane.moveToTarget(t),t.to.fullPath!==this.$route.fullPath&&this.$store.dispatch("tagsView/updateVisitedView",this.$route);break}}))},closeSelectedTag(e){this.$store.dispatch("tagsView/delView",e).then((({visitedViews:t})=>{this.isActive(e)&&this.toLastView(t,e)}))}}},z=q,Z=(0,d.Z)(z,R,P,!1,null,"291d2ee4",null),N=Z.exports,J={name:"LayoutPage",data(){return{sHome:!0}},computed:{...(0,S.Se)(["activeModule"])},components:{AppMain:u,MenuList:k,Navbar:I,TagsView:N}},W=J,X=(0,d.Z)(W,s,a,!1,null,"186010b6",null),_=X.exports;i["default"].use(o.Z);const $=o.Z.prototype.push;o.Z.prototype.push=function(e){return $.call(this,e).catch((e=>e))};const ee=[{path:"/login",name:"login",hidden:!0,meta:{title:"登录"},component:()=>n.e(2162).then(n.bind(n,2162))},{path:"/home",component:_,name:"home",meta:{title:"首页"},children:[{path:"index",name:"index",meta:{title:"产线状态"},component:()=>Promise.all([n.e(8750),n.e(8432)]).then(n.bind(n,8432))}]},{path:"/siteMonitoring",component:_,name:"siteMonitoring",meta:{title:"现场监控"},children:[{path:"productionLineStatus",name:"productionLineStatus",meta:{title:"产线状态"},component:()=>n.e(9835).then(n.bind(n,9835))},{path:"deviceStatus",name:"deviceStatus",meta:{title:"设备状态"},component:()=>n.e(2505).then(n.bind(n,2505))}]},{path:"/productionScheduling",component:_,name:"productionScheduling",meta:{title:"生产调度"},children:[{path:"workOrderProgress",name:"workOrderProgress",meta:{title:"工单进度"},component:()=>Promise.all([n.e(8750),n.e(5640)]).then(n.bind(n,5640))},{path:"workOrderManagement",name:"workOrderManagement",meta:{title:"工单管理"},component:()=>n.e(2407).then(n.bind(n,2407))},{path:"generateReports",name:"generateReports",meta:{title:"生产报表"},component:()=>n.e(868).then(n.bind(n,868)),redirect:"/productionScheduling/generateReports/productionReport",children:[{path:"productionReport",name:"productionReport",meta:{title:"生产报表"},component:()=>n.e(7364).then(n.bind(n,7364))},{path:"substrateGlassQuality",name:"substrateGlassQuality",meta:{title:"基板玻璃品质"},component:()=>n.e(2801).then(n.bind(n,2801))},{path:"thicknessDetection",name:"thicknessDetection",meta:{title:"厚度检测"},component:()=>n.e(4093).then(n.bind(n,4093))}]},{path:"productionData",name:"productionData",meta:{title:"生产数据"},component:()=>n.e(6354).then(n.bind(n,6354))},{path:"offShelfPackaging",name:"offShelfPackaging",meta:{title:"下架包装"},component:()=>n.e(9796).then(n.bind(n,9796))},{path:"reLaunching",name:"reLaunching",meta:{title:"复投上架"},component:()=>n.e(9705).then(n.bind(n,9705))}]},{path:"/deviceManagement",component:_,name:"deviceManagement",meta:{title:"设备管理"},children:[{path:"performanceAnalysis",name:"performanceAnalysis",meta:{title:"绩效分析"},component:()=>n.e(7378).then(n.bind(n,7378)),redirect:"/deviceManagement/performanceAnalysis/devicePage",children:[{path:"devicePage",name:"devicePage",meta:{title:"设备OEE"},component:()=>Promise.all([n.e(8750),n.e(3101)]).then(n.bind(n,3101))},{path:"utilizationRateAnalysis",name:"utilizationRateAnalysis",meta:{title:"利用率分析"},component:()=>Promise.all([n.e(8750),n.e(4344)]).then(n.bind(n,4344))},{path:"mtbrf",name:"mtbrf",meta:{title:"MTBR-F"},component:()=>Promise.all([n.e(8750),n.e(5323)]).then(n.bind(n,5323))},{path:"analysisOfPallet",name:"analysisOfPallet",meta:{title:"托盘指标分析"},component:()=>Promise.all([n.e(8750),n.e(5067)]).then(n.bind(n,5067))}]},{path:"spareParts",name:"spareParts",meta:{title:"备品备件"},component:()=>n.e(1082).then(n.bind(n,1082)),redirect:"/deviceManagement/spareParts/sparePartsStock",children:[{path:"sparePartsStock",name:"sparePartsStock",meta:{title:"备件库存"},component:()=>n.e(6729).then(n.bind(n,6729))},{path:"sparePartsRecord",name:"sparePartsRecord",meta:{title:"备件记录"},component:()=>n.e(919).then(n.bind(n,919))}]},{path:"maintenanceManagement",name:"maintenanceManagement",meta:{title:"维护管理"},component:()=>n.e(2765).then(n.bind(n,2765)),redirect:"/deviceManagement/maintenanceManagement/plannedMaintenance",children:[{path:"plannedMaintenance",name:"plannedMaintenance",meta:{title:"计划维护"},component:()=>n.e(897).then(n.bind(n,897))},{path:"selfMaintenance",name:"selfMaintenance",meta:{title:"自主维护"},component:()=>n.e(4048).then(n.bind(n,4048))}]},{path:"alarmInformation",name:"alarmInformation",meta:{title:"报警信息"},component:()=>n.e(1738).then(n.bind(n,9460)),redirect:"/deviceManagement/alarmInformation/realTimeAlarm",children:[{path:"realTimeAlarm",name:"realTimeAlarm",meta:{title:"实时报警"},component:()=>n.e(6831).then(n.bind(n,6831))},{path:"historyAlarm",name:"historyAlarm",meta:{title:"历史报警"},component:()=>n.e(4362).then(n.bind(n,4362))}]}]},{path:"/consumablesManagement",component:_,name:"consumablesManagement",meta:{title:"耗材管理"},children:[{path:"inAndOutManagement",name:"inAndOutManagement",meta:{title:"出入库管理"},component:()=>n.e(5783).then(n.bind(n,5783))},{path:"inAndOutRecords",name:"inAndOutRecords",meta:{title:"出入库记录"},component:()=>n.e(2990).then(n.bind(n,2990))},{path:"materialTracking",name:"materialTracking",meta:{title:"在线耗材跟踪"},component:()=>n.e(2312).then(n.bind(n,9568))}]},{path:"/processManagement",component:_,name:"processManagement",meta:{title:"工艺管理"},children:[{path:"processMonitoring",name:"processMonitoring",meta:{title:"工艺监测"},component:()=>Promise.all([n.e(8750),n.e(2125)]).then(n.bind(n,2125))},{path:"abnormalAlert",name:"abnormalAlert",meta:{title:"异常警示"},component:()=>n.e(9881).then(n.bind(n,9881))},{path:"processConfiguration",name:"processConfiguration",meta:{title:"工艺配置"},component:()=>n.e(9809).then(n.bind(n,9809))}]},{path:"/qualityManagement",component:_,name:"qualityManagement",meta:{title:"质量管理"},children:[{path:"processSampling",name:"processSampling",meta:{title:"过程抽检"},component:()=>n.e(5984).then(n.bind(n,5984))},{path:"processFullInspection",name:"processFullInspection",meta:{title:"过程全检"},component:()=>n.e(3790).then(n.bind(n,3790)),redirect:"/qualityManagement/processFullInspection/fullInspection",children:[{path:"fullInspection",name:"fullInspection",meta:{title:"过程全检"},component:()=>n.e(5096).then(n.bind(n,5096))},{path:"fullInspectionDetail",name:"fullInspectionDetail",meta:{title:"全检详情"},component:()=>n.e(3899).then(n.bind(n,3899))},{path:"defectScatterPlot",name:"defectScatterPlot",meta:{title:"缺陷散点图"},component:()=>Promise.all([n.e(8750),n.e(5159)]).then(n.bind(n,5159))},{path:"particleLineChart",name:"particleLineChart",meta:{title:"颗粒折线图"},component:()=>Promise.all([n.e(8750),n.e(3813)]).then(n.bind(n,3813))},{path:"thicknessDistributionMap",name:"thicknessDistributionMap",meta:{title:"厚度分布图"},component:()=>Promise.all([n.e(8750),n.e(889)]).then(n.bind(n,889))}]},{path:"productTraceability",name:"productTraceability",meta:{title:"产品追溯"},component:()=>n.e(3058).then(n.bind(n,3058))},{path:"finalInspectionData",name:"finalInspectionData",meta:{title:"终检数据"},component:()=>n.e(6234).then(n.bind(n,6234))},{path:"finalInspectionDailyReport",name:"finalInspectionDailyReport",meta:{title:"终检日报表"},component:()=>n.e(4591).then(n.bind(n,4591))}]},{path:"/basicConfig",component:_,name:"basicConfig",meta:{title:"基础配置"},children:[{path:"accountConfig",name:"accountConfig",meta:{title:"账号配置"},component:()=>n.e(1487).then(n.bind(n,1487))},{path:"sparePartsConfig",name:"sparePartsConfig",meta:{title:"备件配置"},component:()=>n.e(698).then(n.bind(n,698))},{path:"consumablesConfig",name:"consumablesConfig",meta:{title:"耗材配置"},component:()=>n.e(4337).then(n.bind(n,4337))},{path:"lineSideLibraryConfig",name:"lineSideLibraryConfig",meta:{title:"线边库配置"},component:()=>n.e(2413).then(n.bind(n,2413))},{path:"deviceConfig",name:"deviceConfig",meta:{title:"设备配置"},component:()=>n.e(5304).then(n.bind(n,5304))},{path:"reportManagement",name:"reportManagement",meta:{title:"报表管理"},component:()=>n.e(7552).then(n.bind(n,7552)),redirect:"/basicConfig/reportManagement/reportList",children:[{path:"reportList",name:"reportList",meta:{title:"报表列表"},component:()=>n.e(2949).then(n.bind(n,2949))},{path:"reportListDetail",name:"reportListDetail",hidden:!0,meta:{title:"报表列表明细"},component:()=>n.e(5286).then(n.bind(n,5286))},{path:"reportView",name:"reportView",meta:{title:"报表预览"},component:()=>n.e(3366).then(n.bind(n,3366))},{path:"reportDesign",name:"reportDesign",meta:{title:"报表设计"},component:()=>n.e(4238).then(n.bind(n,4238))},{path:"reportClassification",name:"reportClassification",meta:{title:"报表分类"},component:()=>n.e(8311).then(n.bind(n,8311))}]}]},{path:"*",redirect:"/home/index",hidden:!0}],te=new o.Z({mode:"hash",base:"/",routes:ee});var ne=te},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(144),o=n(629);const s={topModuleList:e=>e.menu.topModuleList,leftMenuList:e=>e.menu.leftMenuList,activeModule:e=>e.menu.activeModule,activeMenu:e=>e.menu.activeMenu,token:e=>e.user.token,visitedViews:e=>e.tagsView.visitedViews,cachedViews:e=>e.tagsView.cachedViews,username:e=>e.user.username,roles:e=>e.user.roles};var a=s;i["default"].use(o.ZP);const r=n(2645),l=r.keys().reduce(((e,t)=>{const n=t.replace(/^\.\/(.*)\.\w+$/,"$1"),i=r(t);return e[n]=i.default,e}),{}),A=new o.ZP.Store({modules:l,getters:a});var c=A},1811:function(e,t,n){"use strict";n.r(t);var i=n(1192);const o={topModuleList:sessionStorage.getItem("topModuleList")&&"undefined"!==sessionStorage.getItem("topModuleList")?JSON.parse(sessionStorage.getItem("topModuleList")):[],leftMenuList:sessionStorage.getItem("leftMenuList")&&"undefined"!==sessionStorage.getItem("leftMenuList")?JSON.parse(sessionStorage.getItem("leftMenuList")):[],activeModule:sessionStorage.getItem("activeModule"),activeMenu:sessionStorage.getItem("activeMenu")},s={SET_TOPMODULE:(e,t)=>{e.topModuleList=t,sessionStorage.setItem("topModuleList",JSON.stringify(t))},SET_LEFTMENU:(e,t)=>{e.leftMenuList=t,sessionStorage.setItem("leftMenuList",JSON.stringify(t))},SET_ACTIVEMODULE:(e,t)=>{e.activeModule=t,sessionStorage.setItem("activeModule",t)},SET_ACTIVEMENU:(e,t)=>{e.activeMenu=t||(e.leftMenuList[0]?e.leftMenuList[0].name:""),sessionStorage.setItem("activeMenu",e.activeMenu)}},a={getTopModuleList({commit:e}){let t=[];i._&&i._.map((e=>{if(e.hidden)return!0;let n={};n.name=e.name,n.label=e.meta.title,t.push(n)})),e("SET_TOPMODULE",t)},setActiveModule({commit:e,dispatch:t},n){const{activeModule:i}=n;t("getLeftMenuList",n),e("SET_ACTIVEMODULE",i)},getLeftMenuList({commit:e,dispatch:t},n){const{activeModule:o,activeMenu:s}=n;let a=[];for(let r=0;r{e.visitedViews.some((e=>e.path===t.path))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:(e,t)=>{e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:(e,t)=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t.path){e.visitedViews.splice(n,1);break}},DEL_CACHED_VIEW:(e,t)=>{const n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)}},s={addView({dispatch:e},t){e("addVisitedView",t),e("addCachedView",t)},addVisitedView({commit:e},t){e("ADD_VISITED_VIEW",t)},addCachedView({commit:e},t){e("ADD_CACHED_VIEW",t)},delView({dispatch:e,state:t},n){return new Promise((i=>{e("delVisitedView",n),e("delCachedView",n),i({visitedViews:[...t.visitedViews],cachedViews:[...t.cachedViews]})}))},delVisitedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_VISITED_VIEW",n),i([...t.visitedViews])}))},delCachedView({commit:e,state:t},n){return new Promise((i=>{e("DEL_CACHED_VIEW",n),i([...t.cachedViews])}))}};t["default"]={namespaced:!0,state:i,mutations:o,actions:s}},9535:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(8859);function o(e){const t=Object.assign(e,{appType:1,userType:1});return(0,i.Z)({url:"/passport/login",method:"post",data:t})}function s(){return(0,i.Z)({url:"/passport/getLoginUser",method:"post"})}var a=n(1836),r=n(4858);const l={token:(0,a.LP)(),name:"",avatar:"",introduction:"",roles:JSON.parse(localStorage.getItem("roles")),menus:[],username:r.Z.get("username")||""},A={SET_TOKEN:(e,t)=>{e.token=t},SET_USERNAME:(e,t)=>{e.username=t},SET_INTRODUCTION:(e,t)=>{e.introduction=t},SET_NAME:(e,t)=>{e.name=t},SET_AVATAR:(e,t)=>{e.avatar=t},SET_MENUS:(e,t)=>{e.menus=t},SET_ROLES:(e,t)=>{e.roles=t}},c={login({commit:e},t){const{mobile:n,password:i}=t;return new Promise(((t,s)=>{o({mobile:n.trim(),password:i}).then((n=>{if(console.log(n),0===n.code){const{token:i,name:o}=n.data;e("SET_TOKEN",i),e("SET_USERNAME",o),r.Z.set("username",o),(0,a.o4)(i),t()}else s(n)})).catch((e=>{s(e)}))}))},getInfo({commit:e}){return new Promise(((t,n)=>{s().then((i=>{console.log(i);const{data:o}=i;o||n("获取用户信息失败,重新登录");const{role:s}=o;e("SET_ROLES",s||""),localStorage.setItem("roles",JSON.stringify(s)),t(o)})).catch((e=>{n(e)}))}))},logout(){return new Promise((e=>{(0,a.gy)(),e()}))}};var d={namespaced:!0,state:l,mutations:A,actions:c}},1836:function(e,t,n){"use strict";n.d(t,{LP:function(){return s},gy:function(){return r},o4:function(){return a}});var i=n(4858);const o="Admin-Token";function s(){return i.Z.get(o)}function a(e){return i.Z.set(o,e)}function r(){return i.Z.remove(o)}},475:function(e,t,n){"use strict";n.d(t,{oJ:function(){return c},b9:function(){return d},fW:function(){return A},NC:function(){return a},g6:function(){return r}});var i=n(381),o=n.n(i),s={packageState:[{dataCode:0,dataName:"包装中"},{dataCode:1,dataName:"复投中"},{dataCode:2,dataName:"已下架"}]};function a(e){return window.innerHeight-e}function r(e){return e?o()(e).format("YYYY-MM-DD HH:mm:ss"):"-"}const l=JSON.parse(localStorage.getItem("publicList"));function A(e){return function(t){const n={},i=l?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function c(e){return function(t){const n={},i=s?.[e];return i.map((e=>{n[e.dataCode]=e.dataName})),n?.[t]}}function d(e){return/^(https?:|mailto:|tel:)/.test(e)}},4457:function(e,t,n){var i={"./avatar.png":4480,"./basicConfig.png":9504,"./consumablesManagement.png":8011,"./deviceManagement.png":4489,"./home.png":1056,"./processManagement.png":9198,"./productionScheduling.png":9353,"./qualityManagement.png":336,"./siteMonitoring.png":1714};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=4457},9364:function(e,t,n){var i={"./Breadcrumb/index.vue":4966,"./SvgIcon/index.vue":2610};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=9364},7886:function(e,t,n){var i={"./device_edit.svg":803,"./home_alarm.svg":3869,"./home_plan.svg":3270,"./home_product.svg":1966,"./home_title1.svg":4186,"./home_title2.svg":2896,"./home_title3.svg":5467,"./home_title4.svg":4400};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=7886},2645:function(e,t,n){var i={"./menu.js":1811,"./tagsView.js":6941,"./user.js":9535};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=s,e.exports=o,o.id=2645},4480:function(e,t,n){"use strict";e.exports=n.p+"img/avatar.7d43196d.png"},9504:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAQzElEQVR4Ae0dCXQURfb3TDI5CUm4QQhgODQG5VhF1JVVFMQDlCsIi4q4Ki7C6kNUXDbKc/HAfaLwUHQX8ORSEUEILHLoyuUuch9yakgEDCF3Mlfv/z3pnj6qe7pnMpMAU+9NuurXv+rXXf2rAxDuwIkCknJ4XozrPSsWcVyMOrP8Uz8keaQ/LsZsYkT+bN1/kZCUE4v5CgJH9U8CvDQ9R8zXPBUEzvhOAoKcszxOmQoCAjTKcQLpLqr16ZpjBJaCptA85xAySS2RCNI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HLGfzgNUDg+8AAAAASUVORK5CYII="},9198:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAASG0lEQVR4Ae1dCZhU1ZX+a+2lunpjp2VvZJNGbAUGcAmQRCVEQGiW0THGSZx8aiCOEiQk04nOZxh0guGbqCjRRAUEZFFkFwGJiIB8QBMEWgRZuoGm9+6qrnXOea9fdS23ql9t3TTU+b567757z73n3HP3c8+9BcQbNAoB03S3W3EHe9et0Gi0/oG1ywH+BYOACN6I598MjBwQYXeRHTUWOVqKwekdX3Lr/X2WrjuBNUX9kV6xGr0mANXZ031QAjJ9fokNmWYj0mb44EkfnOkACgOnrJEx/VJWogdE8GdBQVTengjp5SsUv6DvuqAhrRogiVVNPWIug9alUFkIqBqVXqIQVcKACAatw0OAI6dVbfB8s8NTDopveS2glEm3x6bAnfEjJUh6B0QY/tDqgArnHSOApbHDuniHB7ilCAoLHLq2+O4AJPZQcDwsKR5C7Gva09NCmcu0Ge6d1DmJMx1GNrp0QHLxYk0DR/EphVgkzomWXIGV3ww+BGSvpmdaMnDu9QapxETVtgkzuCskgVriY/ysbTizYSq6/tC3R2GCXDPGdt6Ok/8XnICnGgVDefU3d+PJBftQ8INeWPSfvlgaKsH9/yzDzU/4+nt/+RSyqN9QRMOdf5efekcN7ea+hTFCikhJYs9xwJyifIX3blZEogElHBI+BGLZnJV+00dEj4+crguHu2C4JVtn+JRtMLyEf8tIwKcwRA0tEjaURsZxPbXIPMP9ciSJNRfHQ4C6amNzyJGEewiIIs+dLM9SuT/q0UGE0byfpyXr7CWjHAbfIX/+VHi66Ytbpgvnoc2R8BDQwB3Qir8+UwlOmOHRws/oeafk5ofSy7I7VH8VUkSjZl/g+LjpvvfxwdfDJD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J/Ogv8D1iz8/nKGmiLAAAAAElFTkSuQmCC"},1714:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAAGVn0euAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAPtklEQVR4Ae0dCXQURfbPhJmckwORQ1h8KIgaFgXBKD4WQQVUZBdxISDoc3nuqisiuIq6HkF9rChkQVxvZD0WUASRS4JCBBUWueQSVFwUw5EQAslkJjOZo/f/7ume7pnqme7MkQl0vTfpql+//llV3V39qwKQ6GQSGWQXc5yYV7s6FplMZlZl/UIWVICFNSDkOQv3qbcQa2rsHEe/tZsrOBKPEl3HzxbgVEe4rcQGhSMX8dm61sX89Z7pm/DaD/55pwsKRy4T0SCi0iRezhg/IguSqyotkjtvCHFVqqksiZiBqyieHCzpkFsj6CCvDM07QgGpUebNqqUfkbhMs0bqR9QozKxPv7YDIjXizfrrm9QWoCCHPNsb/P7tWLqCh4l1VGiNlud16DB4oTQWRGeJXARv823h2NoxJlWlh3RaD8/d1xv6Pp4vYONfUlq1gYQly0hW0tItRBxdfUnGLIWyvJFEeXLGcF/gSB8glpt67XAuZByca3JTe0VPigdxInrsBLjoSknBQAAp/5pRR+pUYsdS1kYvSV5WQ61bACD21vqyYuz6aphsuMIHmw4obw8etx2KH14F4vCgvncUmeSPA/D6BIKk2aYDQl7o9kK+38VCScFAy7whMml/F8Dx+YJ2ogByHWjUUDmqD+SNKE/EyGSRiMvb6NZA3jhSXtRA4WRxfEdqqLVOvIUoTPSXfsVpWglEwqN5MVK9UZdcCyicoWWgaRFP7KKEK/Ui2xhulpbGenEkBjgLWdUa52So1USHSwzUUHMzhTlHrT4aXGKQ5jl2DQv56NsAew6eavL9QGJgAk51FA/5axmLtyaYxICFTXP9vGU/8DPoP97e1SQtpG46b0195YhrstvKGd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dwn8WC4rbDNjaSWVajQaEUp9wBsB7ALY/hLAVwHsB89VmwRXrhuGwf0q/xIl/z6f6105qVyxIKQ1cZjdlV/HI79V6N1yjk/dxlAMtc7LuM9lXZVzqhIXdxtvxR1kCxZUynkbl0o2ihgyQspH3mapqn7flrSE427O3TuKbwGZI/AlhuY9vltO08Belyw6T99lTnIQN2VmGeJqppskGhpfoW0DbVmuahaarVVQudGPZo3tH/RCOnfJbSbzp34D1T/VjsTL3X6esWFMJngJwDsCgnykX0P+mzQ1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC"}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var s=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=e,function(){var e=[];n.O=function(t,i,o,s){if(!i){var a=1/0;for(c=0;c=s)&&Object.keys(n.O).every((function(e){return n.O[e](i[l])}))?i.splice(l--,1):(r=!1,s0&&e[c-1][2]>s;c--)e[c]=e[c-1];e[c]=[i,o,s]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,i){return n.f[i](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{698:"bdb8da01",868:"2820c60e",889:"5b9672f6",897:"6b02e069",919:"4ed474aa",1082:"a5699b5a",1487:"032bbb6c",1738:"9f169ad3",2125:"35167988",2162:"d4c19cb6",2312:"895c96ce",2407:"938a0c15",2413:"e3256bbf",2505:"99efed6e",2765:"4d18b560",2801:"7cc1950e",2949:"d1630ea2",2990:"9f7bfdd4",3058:"30864938",3101:"d040dc0a",3366:"fddfab50",3790:"3a99ab78",3813:"dc300e60",3899:"8d6b4056",4048:"f4813ceb",4093:"94763922",4238:"ef96ed59",4337:"a10def0f",4344:"788bebe9",4362:"954ff80f",4591:"fd241a34",5067:"beaa119f",5096:"4cb05e81",5159:"3d955bfa",5286:"4812cac9",5304:"57fa63b2",5323:"90b7d9c4",5640:"c5ff6e0f",5783:"c03b0c7f",5984:"65a39e51",6234:"864ef5ee",6354:"04b01f2e",6729:"fd1b5476",6831:"95f35749",7364:"63902e51",7378:"45fc1dd5",7552:"caf1693c",8311:"74c6e8f9",8432:"2eb6638c",8750:"b8e81c1b",9705:"2f82f16f",9796:"d66f9ab1",9809:"b6389288",9835:"280d7b4c",9881:"e55b56d1"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{868:"775f6802",889:"20426fed",897:"c8e5eefb",919:"16921f1d",1082:"acf35185",1738:"5e5f5611",2125:"93591f9e",2162:"6470fb2d",2407:"1f6aa78f",2505:"a57dc960",2765:"53194d3a",2801:"5bbc94e4",2949:"049013c2",3058:"de5828a6",3101:"e4d7b530",3366:"7459e497",3790:"2ef8ea22",3813:"c8c00575",3899:"6e01028f",4048:"38e37843",4093:"abe04878",4238:"05a640eb",4344:"30b50fa7",4362:"63e90ebd",5067:"0b4115dc",5096:"5db09865",5159:"4dc0d0ad",5286:"d55bbb50",5304:"95c8a4ad",5323:"9421f1cc",5640:"25c30150",5783:"c4e5dd1b",5984:"2c1d687d",6234:"3ff852d9",6354:"776e0649",6729:"2b3c2c89",6831:"cd6787cf",7364:"0642eca0",7378:"adb3a5b7",7552:"4dd461e8",8311:"d55bbb50",8432:"8e7ab012",9835:"2109528e",9881:"9c17623c"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="tft-mes:";n.l=function(i,o,s,a){if(e[i])e[i].push(o);else{var r,l;if(void 0!==s)for(var A=document.getElementsByTagName("script"),c=0;cdigMcM9$4mb z2}XqtOW7qJJy?w>rwgXEVKF5vS@mTbhAzbKCumJKir3iy96k{ zK%rrJNeCZ7Zc`N+3r8!6G@*D&UoE1ZE^){*j-rwb(6H55szL05ed5(>jk23|{6O-*)WGD7 zhCETjbnscAbjlw11Di1D^a>nq0KVKWvx&dc$C5(11;n#R43PzBTx93tEWbiDLB45J zg*&lce5JK-P0@IUkIKPHmj^V#Nc0?-Q9!Pult!sVg;T_ZW|;8eDgsDT?c*gfgQp1K zA(}mz2TO~iJjw1*?U`Y3Po;GH2w>?9C95RvxPp$qEFTMFSvm>V> zQ<6yqlpSB9FdI_-DyCmC6x)_E0-> z1~6bTkfDHxrw3;L{R0glebN7XK)1FblU&->f&kIwQAS9V&&Pj(#5n58#rH%|qPj23 zrFTOM)JQaa?zN;J)H;rnx-O~#pB`78SDph`wBe|_K%bVGQ@A><$J6H(0sh9VRW324 zFE^dfY22!z(YUDa$VyG29T~*}GNtg99Srq66alqsD;AS(SiK&>Y+evtcbKJd@Es2% z@_?q>rAHh*NA%U~!Ud%ADwSD}lkU7rL~Z>t*Cr!5OaqFhiv1&D>^355CwPSPM>Xvl z)r0BTXc(34q+}wonm(J1$TUDMO!a>Ic%b^xRJkOkj|&M!cZto#B6+PFU1Np-um9et zG#<`7oxDJL=a~j1(?W>K69maHM;LLLt#l?QX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u z?;z0B_P-47xo$Y7m7gS;+Z2qV^1)4{Dfu5({^wii*SkkP9-1){eR~$*{->(&+WH#B zHD$*a_}uq06cC1rN`!xBey)5KYbKVK0(_)`*Q>=xtE?|bp}?h z+mAaIZoqeBgVdy%>oh*Ndcr`=y?H3yS=P*Gl+3o?o zc3<-`aL@B$9QbAMS!REV7*L(6lTcEHz6_V$JkBk$-tSoI1)C;!sINAOy5 z+uj#4mu$Ibya_U6cqr$1_<~=P4bzQi_75eF@5>~o&02HbFzH7TJT3c>Oa5z;=yDV1 zpU9-i7NCg$kfZe4;R+O;XIg65SBeJmYrl)%SK4kx0*!saojZ_*lhG51?3hKwN0P5N zwdW3iCv@m&QQa%>gb#AE?tEy}H` zv5?`Z)Y)rZ`)FpySKI+`L--qM>zxKCSxkwKBwr=NYc1yvz}~gxU*!u$^q=3X=j7cP z(biKRQD5;I&pj8UXE=D$a^KN_Ff1C4_8^lr+=0~d>Ckz>6%_>GKyiL_>*p)VohG_N o2h&mB@qpt2#{-TBI-Ljp50P85hTP>Cc>n+a07*qoM6N<$g5Z|8-2eap literal 0 HcmV?d00001 diff --git a/src/assets/basic/report.png b/src/assets/reportManagement/report.png similarity index 100% rename from src/assets/basic/report.png rename to src/assets/reportManagement/report.png diff --git a/src/router/index.js b/src/router/index.js index 2928e68..765fce4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -112,45 +112,6 @@ export const routes = [ // }, // component: () => import('../views/productionScheduling/taskDcheduling') // }, - { - path: 'generateReports', - name: 'generateReports', - meta: { - title: '生产报表' - }, - component: () => - import('../views/productionScheduling/generateReports'), - redirect: '/productionScheduling/generateReports/productionReport', - children: [ - { - path: 'productionReport', - name: 'productionReport', - meta: { - title: '生产报表' - }, - component: () => - import('../views/productionScheduling/productionReport') - }, - { - path: 'substrateGlassQuality', - name: 'substrateGlassQuality', - meta: { - title: '基板玻璃品质' - }, - component: () => - import('../views/productionScheduling/substrateGlassQuality') - }, - { - path: 'thicknessDetection', - name: 'thicknessDetection', - meta: { - title: '厚度检测' - }, - component: () => - import('../views/productionScheduling/thicknessDetection') - } - ] - }, { path: 'productionData', name: 'productionData', @@ -521,15 +482,6 @@ export const routes = [ component: () => import('../views/qualityManagement/productTraceability') }, - { - path: 'finalInspectionData', - name: 'finalInspectionData', - meta: { - title: '终检数据' - }, - component: () => - import('../views/qualityManagement/finalInspectionData') - }, { path: 'finalInspectionDailyReport', name: 'finalInspectionDailyReport', @@ -542,61 +494,37 @@ export const routes = [ ] }, { - path: '/basicConfig', + path: '/reportManagement', component: Layout, - name: 'basicConfig', + name: 'reportManagement', meta: { - title: '基础配置' + title: '报表管理' }, children: [ { - path: 'accountConfig', - name: 'accountConfig', - meta: { - title: '账号配置' - }, - component: () => import('../views/basicConfig/accountConfig') - }, - { - path: 'sparePartsConfig', - name: 'sparePartsConfig', - meta: { - title: '备件配置' - }, - component: () => import('../views/basicConfig/sparePartsConfig') - }, - { - path: 'consumablesConfig', - name: 'consumablesConfig', - meta: { - title: '耗材配置' - }, - component: () => import('../views/basicConfig/consumablesConfig') - }, - { - path: 'lineSideLibraryConfig', - name: 'lineSideLibraryConfig', + path: 'productionReport', + name: 'productionReport', meta: { - title: '线边库配置' + title: '后工程日报表' }, - component: () => import('../views/basicConfig/lineSideLibraryConfig') + component: () => import('../views/reportManagement/productionReport') }, { - path: 'deviceConfig', - name: 'deviceConfig', + path: 'finalInspectionData', + name: 'finalInspectionData', meta: { - title: '设备配置' + title: '终检数据' }, - component: () => import('../views/basicConfig/deviceConfig') + component: () => import('../views/reportManagement/finalInspectionData') }, { - path: 'reportManagement', - name: 'reportManagement', + path: 'reportTools', + name: 'reportTools', meta: { - title: '报表管理' + title: '报表工具' }, - component: () => import('../views/basicConfig/reportManagement'), - redirect: '/basicConfig/reportManagement/reportList', + component: () => import('../views/reportManagement/reportTools'), + redirect: '/reportManagement/reportTools/reportList', children: [ { path: 'reportList', @@ -605,7 +533,7 @@ export const routes = [ title: '报表列表' }, component: () => - import('../views/basicConfig/reportManagement/reportList') + import('../views/reportManagement/reportTools/reportList') }, { path: 'reportListDetail', @@ -615,7 +543,7 @@ export const routes = [ title: '报表列表明细' }, component: () => - import('../views/basicConfig/reportManagement/reportListDetail') + import('../views/reportManagement/reportTools/reportListDetail') }, { path: 'reportView', @@ -624,7 +552,7 @@ export const routes = [ title: '报表预览' }, component: () => - import('../views/basicConfig/reportManagement/reportView') + import('../views/reportManagement/reportTools/reportView') }, { path: 'reportDesign', @@ -633,7 +561,7 @@ export const routes = [ title: '报表设计' }, component: () => - import('../views/basicConfig/reportManagement/reportDesign') + import('../views/reportManagement/reportTools/reportDesign') }, { path: 'reportClassification', @@ -643,13 +571,63 @@ export const routes = [ }, component: () => import( - '../views/basicConfig/reportManagement/reportClassification' + '../views/reportManagement/reportTools/reportClassification' ) } ] } ] }, + { + path: '/basicConfig', + component: Layout, + name: 'basicConfig', + meta: { + title: '基础配置' + }, + children: [ + { + path: 'accountConfig', + name: 'accountConfig', + meta: { + title: '账号配置' + }, + component: () => import('../views/basicConfig/accountConfig') + }, + { + path: 'sparePartsConfig', + name: 'sparePartsConfig', + meta: { + title: '备件配置' + }, + component: () => import('../views/basicConfig/sparePartsConfig') + }, + { + path: 'consumablesConfig', + name: 'consumablesConfig', + meta: { + title: '耗材配置' + }, + component: () => import('../views/basicConfig/consumablesConfig') + }, + { + path: 'lineSideLibraryConfig', + name: 'lineSideLibraryConfig', + meta: { + title: '线边库配置' + }, + component: () => import('../views/basicConfig/lineSideLibraryConfig') + }, + { + path: 'deviceConfig', + name: 'deviceConfig', + meta: { + title: '设备配置' + }, + component: () => import('../views/basicConfig/deviceConfig') + } + ] + }, { path: '*', redirect: '/home/index', hidden: true } ] diff --git a/src/views/basicConfig/reportManagement/reportClassification.vue b/src/views/basicConfig/reportManagement1/reportClassification.vue similarity index 100% rename from src/views/basicConfig/reportManagement/reportClassification.vue rename to src/views/basicConfig/reportManagement1/reportClassification.vue diff --git a/src/views/basicConfig/reportManagement/reportDesign.vue b/src/views/basicConfig/reportManagement1/reportDesign.vue similarity index 100% rename from src/views/basicConfig/reportManagement/reportDesign.vue rename to src/views/basicConfig/reportManagement1/reportDesign.vue diff --git a/src/views/basicConfig/reportManagement/reportList.vue b/src/views/basicConfig/reportManagement1/reportList.vue similarity index 100% rename from src/views/basicConfig/reportManagement/reportList.vue rename to src/views/basicConfig/reportManagement1/reportList.vue diff --git a/src/views/basicConfig/reportManagement/reportListDetail.vue b/src/views/basicConfig/reportManagement1/reportListDetail.vue similarity index 100% rename from src/views/basicConfig/reportManagement/reportListDetail.vue rename to src/views/basicConfig/reportManagement1/reportListDetail.vue diff --git a/src/views/basicConfig/reportManagement/reportView.vue b/src/views/basicConfig/reportManagement1/reportView.vue similarity index 100% rename from src/views/basicConfig/reportManagement/reportView.vue rename to src/views/basicConfig/reportManagement1/reportView.vue diff --git a/src/views/deviceManagement/maintenanceManagement/plannedMaintenance.vue b/src/views/deviceManagement/maintenanceManagement/plannedMaintenance.vue index 418b450..a63730b 100644 --- a/src/views/deviceManagement/maintenanceManagement/plannedMaintenance.vue +++ b/src/views/deviceManagement/maintenanceManagement/plannedMaintenance.vue @@ -172,17 +172,12 @@ const tableBtn = [ type: 'edit', btnName: '编辑', showParam: { - type: '|', + type: '&', data: [ { type: 'unequal', name: 'status', value: '未完成' - }, - { - type: 'unequal', - name: 'status', - value: '已超时' } ] } @@ -332,7 +327,7 @@ export default { console.log(val) switch (val.type) { case 'edit': - if (val.data.status === '未派工') { + if (val.data.status === '未派工' || val.data.status === '已超时') { this.addAndEdit = '编辑' this.centervisibleAdd = true this.$nextTick(() => { diff --git a/src/views/productionScheduling/substrateGlassQuality.vue b/src/views/productionScheduling/substrateGlassQuality.vue deleted file mode 100644 index 0c67d03..0000000 --- a/src/views/productionScheduling/substrateGlassQuality.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - diff --git a/src/views/productionScheduling/thicknessDetection.vue b/src/views/productionScheduling/thicknessDetection.vue deleted file mode 100644 index ebefb80..0000000 --- a/src/views/productionScheduling/thicknessDetection.vue +++ /dev/null @@ -1,254 +0,0 @@ - - - diff --git a/src/views/qualityManagement/finalInspectionDataReport/finalInspectionData.vue b/src/views/qualityManagement/finalInspectionDataReport/finalInspectionData.vue deleted file mode 100644 index ca06023..0000000 --- a/src/views/qualityManagement/finalInspectionDataReport/finalInspectionData.vue +++ /dev/null @@ -1,229 +0,0 @@ - - - diff --git a/src/views/productionScheduling/components/TableTags.vue b/src/views/reportManagement/components/TableTags.vue similarity index 100% rename from src/views/productionScheduling/components/TableTags.vue rename to src/views/reportManagement/components/TableTags.vue diff --git a/src/views/basicConfig/components/categorySelect.vue b/src/views/reportManagement/components/categorySelect.vue similarity index 100% rename from src/views/basicConfig/components/categorySelect.vue rename to src/views/reportManagement/components/categorySelect.vue diff --git a/src/views/basicConfig/components/reportClassAdd.vue b/src/views/reportManagement/components/reportClassAdd.vue similarity index 98% rename from src/views/basicConfig/components/reportClassAdd.vue rename to src/views/reportManagement/components/reportClassAdd.vue index 013258a..dd0750f 100644 --- a/src/views/basicConfig/components/reportClassAdd.vue +++ b/src/views/reportManagement/components/reportClassAdd.vue @@ -10,7 +10,7 @@ import { reportCategoryAdd, reportCategoryUpdate, getReportCategoryById -} from '@/api/basicConfig' +} from '@/api/reportManagement' export default { name: 'ReportClassAdd', data() { diff --git a/src/views/basicConfig/components/reportNameEdit.vue b/src/views/reportManagement/components/reportNameEdit.vue similarity index 95% rename from src/views/basicConfig/components/reportNameEdit.vue rename to src/views/reportManagement/components/reportNameEdit.vue index 0115197..6192c30 100644 --- a/src/views/basicConfig/components/reportNameEdit.vue +++ b/src/views/reportManagement/components/reportNameEdit.vue @@ -6,7 +6,7 @@ + diff --git a/src/views/reportManagement/reportTools/reportDesign.vue b/src/views/reportManagement/reportTools/reportDesign.vue new file mode 100644 index 0000000..5f0e65e --- /dev/null +++ b/src/views/reportManagement/reportTools/reportDesign.vue @@ -0,0 +1,36 @@ + + + diff --git a/src/views/reportManagement/reportTools/reportList.vue b/src/views/reportManagement/reportTools/reportList.vue new file mode 100644 index 0000000..0b076d4 --- /dev/null +++ b/src/views/reportManagement/reportTools/reportList.vue @@ -0,0 +1,149 @@ + + + diff --git a/src/views/reportManagement/reportTools/reportListDetail.vue b/src/views/reportManagement/reportTools/reportListDetail.vue new file mode 100644 index 0000000..0cf9620 --- /dev/null +++ b/src/views/reportManagement/reportTools/reportListDetail.vue @@ -0,0 +1,271 @@ + + + diff --git a/src/views/reportManagement/reportTools/reportView.vue b/src/views/reportManagement/reportTools/reportView.vue new file mode 100644 index 0000000..8fb4071 --- /dev/null +++ b/src/views/reportManagement/reportTools/reportView.vue @@ -0,0 +1,36 @@ + + +