Merge pull request 'zjl' (#30) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #30
This commit is contained in:
朱菊兰 2023-08-11 16:03:06 +08:00
commit ebef126a9e
97 changed files with 226 additions and 193 deletions

View File

@ -1 +1 @@
.self-maintenance[data-v-7f3d9a89]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} .plan-maintenance[data-v-63dc5e22]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff}

View File

@ -1 +0,0 @@
.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-b1bb2734]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-b1bb2734]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-b1bb2734]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-4c764f8e]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-4c764f8e]{position:absolute;bottom:0;right:32px}

1
dist/css/2927.2c809e9b.css vendored Normal file
View File

@ -0,0 +1 @@
.bottom-box[data-v-4b7be4b1]{overflow-x:auto;display:flex}.bottom-box .bottom-left[data-v-4b7be4b1],.bottom-box .bottom-right[data-v-4b7be4b1]{display:inline-block}.bottom-box .bottom-left[data-v-4b7be4b1]{width:290px;margin-right:8px}.bottom-box .bottom-left .dataTab li[data-v-4b7be4b1]{width:65px}.bottom-box .bottom-right[data-v-4b7be4b1]{width:calc(100% - 300px)}.bottom-box .bottom-right .dataTab li[data-v-4b7be4b1]{width:7.7%;min-width:60px}.title[data-v-4b7be4b1]{display:inline-block;height:66px;width:30px;font-size:14px;line-height:14px;font-weight:500;padding:5px 8px 0;color:rgba(0,0,0,.85);background-color:#fafafa;border-top-left-radius:5px;border-bottom-left-radius:5px}.dataTab[data-v-4b7be4b1]{display:flex;flex-flow:row nowrap}.dataTab li[data-v-4b7be4b1]{font-size:14px;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.dataTab li p[data-v-4b7be4b1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dataTab li .tabHead[data-v-4b7be4b1]{height:31px;background:#e9ebf0}.dataTab li .tabHead[data-v-4b7be4b1],.dataTab li .tabValue[data-v-4b7be4b1]{padding:8px}.dataTab li .tabValue[data-v-4b7be4b1]{height:35px}.box[data-v-557638a7]{position:relative}.box .text1[data-v-557638a7],.box .text2[data-v-557638a7],.box .text3[data-v-557638a7],.box .text4[data-v-557638a7]{position:absolute}.box .text1[data-v-557638a7]{top:30px;left:0}.box .text2[data-v-557638a7]{top:30px;right:0}.box .text3[data-v-557638a7]{bottom:10px;left:0}.box .text4[data-v-557638a7]{bottom:10px;right:0}.defectScatterPlot[data-v-37cc2088]{height:calc(100vh - 206px);overflow:auto}.defectScatterPlot .split-pane[data-v-37cc2088]{height:100%;border-radius:8px}.defectScatterPlot .left-box[data-v-37cc2088]{margin-left:16px;padding:16px 16px 0;background-color:#fff}.defectScatterPlot .right-box[data-v-37cc2088]{margin-right:16px}.defectScatterPlot .right-box .inner-box[data-v-37cc2088]{height:100%;margin-left:16px;padding:16px 16px 0;border-radius:8px;overflow:auto;background-color:#fff;font-size:14px}.defectScatterPlot .right-box .inner-box .line1[data-v-37cc2088]{margin-bottom:18px}.defectScatterPlot .right-box .inner-box .line2[data-v-37cc2088]{margin-bottom:12px}.defectScatterPlot .right-box .inner-box .line2 .el-checkbox[data-v-37cc2088]{margin-right:8px}.defectScatterPlot .title[data-v-37cc2088]{font-size:14px;color:rgba(0,0,0,.85)}.defectScatterPlot .title[data-v-37cc2088]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;vertical-align:middle;margin-right:8px}

1
dist/css/3180.971e8d95.css vendored Normal file
View File

@ -0,0 +1 @@
.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-617720a2]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-617720a2]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-617720a2]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-fd8cce48]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-fd8cce48]{position:absolute;bottom:0;right:32px}

View File

@ -1 +1 @@
.plan-maintenance[data-v-2348839c]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff} .self-maintenance[data-v-c0a045c8]{height:calc(100vh - 203px);padding:12px 16px;margin:0 16px;border-radius:8px;background-color:#fff}

View File

@ -1 +0,0 @@
.bottom-box[data-v-5624e103]{overflow-x:auto;display:flex}.bottom-box .bottom-left[data-v-5624e103],.bottom-box .bottom-right[data-v-5624e103]{display:inline-block}.bottom-box .bottom-left[data-v-5624e103]{width:290px;margin-right:8px}.bottom-box .bottom-left .dataTab li[data-v-5624e103]{width:65px}.bottom-box .bottom-right[data-v-5624e103]{width:calc(100% - 300px)}.bottom-box .bottom-right .dataTab li[data-v-5624e103]{width:7.7%;min-width:60px}.title[data-v-5624e103]{display:inline-block;height:66px;width:30px;font-size:14px;line-height:14px;font-weight:500;padding:5px 8px 0;color:rgba(0,0,0,.85);background-color:#fafafa;border-top-left-radius:5px;border-bottom-left-radius:5px}.dataTab[data-v-5624e103]{display:flex;flex-flow:row nowrap}.dataTab li[data-v-5624e103]{font-size:14px;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.dataTab li p[data-v-5624e103]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dataTab li .tabHead[data-v-5624e103]{height:31px;background:#e9ebf0}.dataTab li .tabHead[data-v-5624e103],.dataTab li .tabValue[data-v-5624e103]{padding:8px}.dataTab li .tabValue[data-v-5624e103]{height:35px}.box[data-v-499108ae]{position:relative}.box .text1[data-v-499108ae],.box .text2[data-v-499108ae],.box .text3[data-v-499108ae],.box .text4[data-v-499108ae]{position:absolute}.box .text1[data-v-499108ae]{top:30px;left:0}.box .text2[data-v-499108ae]{top:30px;right:0}.box .text3[data-v-499108ae]{bottom:10px;left:0}.box .text4[data-v-499108ae]{bottom:10px;right:0}.defectScatterPlot[data-v-046d3a89]{height:calc(100vh - 206px);overflow:auto}.defectScatterPlot .split-pane[data-v-046d3a89]{height:100%;border-radius:8px}.defectScatterPlot .left-box[data-v-046d3a89]{margin-left:16px;padding:16px 16px 0;background-color:#fff}.defectScatterPlot .right-box[data-v-046d3a89]{margin-right:16px}.defectScatterPlot .right-box .inner-box[data-v-046d3a89]{height:100%;margin-left:16px;padding:16px 16px 0;border-radius:8px;overflow:auto;background-color:#fff;font-size:14px}.defectScatterPlot .right-box .inner-box .line1[data-v-046d3a89]{margin-bottom:18px}.defectScatterPlot .right-box .inner-box .line2[data-v-046d3a89]{margin-bottom:12px}.defectScatterPlot .right-box .inner-box .line2 .el-checkbox[data-v-046d3a89]{margin-right:8px}.defectScatterPlot .title[data-v-046d3a89]{font-size:14px;color:rgba(0,0,0,.85)}.defectScatterPlot .title[data-v-046d3a89]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;vertical-align:middle;margin-right:8px}

View File

@ -1 +1 @@
.device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-0a02c89e]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-0a02c89e]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-0a02c89e]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-50aec75c]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-50aec75c],.main-box .right-box[data-v-50aec75c]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-50aec75c]{padding:16px 0 0}.main-box .right-box[data-v-50aec75c]{padding:16px 10px 0} .device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-903287c4]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-903287c4]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-903287c4]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-46e8c84b]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-46e8c84b],.main-box .right-box[data-v-46e8c84b]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-46e8c84b]{padding:16px 0 0}.main-box .right-box[data-v-46e8c84b]{padding:16px 10px 0}

View File

@ -1 +0,0 @@
.reoprtManager{padding-left:16px;padding-top:8px;display:flex;flex-flow:row wrap;height:calc(100vh - 210px);align-content:flex-start;overflow:auto}.reoprtManager .report{width:768px;height:456px;background:#fff;border-radius:4px;margin:0 16px 16px 0;position:relative}.reoprtManager .report .imgBox{display:inline-block;width:480px;height:100%;padding:80px 0 0 80px}.reoprtManager .report .numBox{position:absolute;display:inline-block;height:100%;top:120px}.reoprtManager .reportDesc{width:376px;height:456px;background:#fff;border-radius:4px;text-align:center;padding-top:120px;margin:0 16px 16px 0}.reoprtManager .reportNum .num{display:inline-block;font-size:80px;font-weight:600;color:#161616;margin-right:36px}.reoprtManager .reportNum .text{display:inline-block}.reoprtManager .reportNum .text .font{font-size:18px;letter-spacing:2px;margin-bottom:5px}.reoprtManager .reportNum .text .letter{font-size:32px;font-weight:300}.reoprtManager .detail{width:200px;height:30px;font-size:14px;line-height:30px;text-align:center;color:#fff;background:#0b58ff;border-radius:4px;margin:139px auto 0;cursor:pointer}

1
dist/css/6714.cd2c7c18.css vendored Normal file
View File

@ -0,0 +1 @@
.reoprtManager[data-v-a6efde02]{padding-left:16px;padding-top:8px;display:flex;flex-flow:row wrap;height:calc(100vh - 210px);align-content:flex-start;overflow:auto}.reoprtManager .report[data-v-a6efde02]{width:calc(50vw - 152px);height:456px;background:#fff;border-radius:4px;margin:0 16px 16px 0;position:relative}.reoprtManager .report .reportBox[data-v-a6efde02]{margin:auto;width:685px}.reoprtManager .report .imgBox[data-v-a6efde02]{display:inline-block;width:445px;height:100%;padding-top:80px}.reoprtManager .report .imgBox img[data-v-a6efde02]{width:355px;height:314px}.reoprtManager .report .numBox[data-v-a6efde02]{position:absolute;display:inline-block;height:100%;top:120px}.reoprtManager .reportDesc[data-v-a6efde02]{position:relative;width:calc(25vw - 84px);height:456px;background:#fff;border-radius:4px;text-align:center;padding-top:120px;margin:0 16px 16px 0}.reoprtManager .reportNum .num[data-v-a6efde02]{display:inline-block;font-size:80px;font-weight:600;color:#161616;margin-right:18px}.reoprtManager .reportNum .text[data-v-a6efde02]{display:inline-block;text-align:left}.reoprtManager .reportNum .text .font[data-v-a6efde02]{font-size:18px;letter-spacing:2px;margin-bottom:5px}.reoprtManager .reportNum .text .font img[data-v-a6efde02]{vertical-align:middle}.reoprtManager .reportNum .text .font .title[data-v-a6efde02]{display:inline-block;vertical-align:middle;max-width:150px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reoprtManager .reportNum .text .letter[data-v-a6efde02]{padding-left:4px;font-size:32px;font-weight:300}.reoprtManager .detail[data-v-a6efde02]{position:absolute;width:200px;height:30px;font-size:14px;line-height:30px;text-align:center;color:#fff;background:#0b58ff;border-radius:4px;cursor:pointer}.reoprtManager .detail1[data-v-a6efde02]{position:absolute;bottom:200px}.reoprtManager .detail2[data-v-a6efde02]{position:absolute;bottom:80px;right:calc(12.5vw - 142px)}@media only screen and (max-width:1600px){.reoprtManager .report .reportBox[data-v-a6efde02]{width:550px}.reoprtManager .report .imgBox[data-v-a6efde02]{width:320px;height:100%}.reoprtManager .report .imgBox img[data-v-a6efde02]{width:300px;height:314px}.reoprtManager .report .numBox[data-v-a6efde02]{height:100%;top:120px}}

1
dist/css/9498.4183d899.css vendored Normal file
View File

@ -0,0 +1 @@
.bottom-box[data-v-4b7be4b1]{overflow-x:auto;display:flex}.bottom-box .bottom-left[data-v-4b7be4b1],.bottom-box .bottom-right[data-v-4b7be4b1]{display:inline-block}.bottom-box .bottom-left[data-v-4b7be4b1]{width:290px;margin-right:8px}.bottom-box .bottom-left .dataTab li[data-v-4b7be4b1]{width:65px}.bottom-box .bottom-right[data-v-4b7be4b1]{width:calc(100% - 300px)}.bottom-box .bottom-right .dataTab li[data-v-4b7be4b1]{width:7.7%;min-width:60px}.title[data-v-4b7be4b1]{display:inline-block;height:66px;width:30px;font-size:14px;line-height:14px;font-weight:500;padding:5px 8px 0;color:rgba(0,0,0,.85);background-color:#fafafa;border-top-left-radius:5px;border-bottom-left-radius:5px}.dataTab[data-v-4b7be4b1]{display:flex;flex-flow:row nowrap}.dataTab li[data-v-4b7be4b1]{font-size:14px;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.dataTab li p[data-v-4b7be4b1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dataTab li .tabHead[data-v-4b7be4b1]{height:31px;background:#e9ebf0}.dataTab li .tabHead[data-v-4b7be4b1],.dataTab li .tabValue[data-v-4b7be4b1]{padding:8px}.dataTab li .tabValue[data-v-4b7be4b1]{height:35px}.full-inspection-detail[data-v-ea5a76cc]{margin:0 16px;padding:16px;border-radius:8px;height:calc(100vh - 205px);background-color:#fff}.full-inspection-detail .plot-total[data-v-ea5a76cc]{position:relative;height:115px}.full-inspection-detail .plot-total .plot-total-box[data-v-ea5a76cc]{position:absolute;width:100%;top:25px;left:0}

View File

@ -1 +0,0 @@
.bottom-box[data-v-5624e103]{overflow-x:auto;display:flex}.bottom-box .bottom-left[data-v-5624e103],.bottom-box .bottom-right[data-v-5624e103]{display:inline-block}.bottom-box .bottom-left[data-v-5624e103]{width:290px;margin-right:8px}.bottom-box .bottom-left .dataTab li[data-v-5624e103]{width:65px}.bottom-box .bottom-right[data-v-5624e103]{width:calc(100% - 300px)}.bottom-box .bottom-right .dataTab li[data-v-5624e103]{width:7.7%;min-width:60px}.title[data-v-5624e103]{display:inline-block;height:66px;width:30px;font-size:14px;line-height:14px;font-weight:500;padding:5px 8px 0;color:rgba(0,0,0,.85);background-color:#fafafa;border-top-left-radius:5px;border-bottom-left-radius:5px}.dataTab[data-v-5624e103]{display:flex;flex-flow:row nowrap}.dataTab li[data-v-5624e103]{font-size:14px;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.dataTab li p[data-v-5624e103]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dataTab li .tabHead[data-v-5624e103]{height:31px;background:#e9ebf0}.dataTab li .tabHead[data-v-5624e103],.dataTab li .tabValue[data-v-5624e103]{padding:8px}.dataTab li .tabValue[data-v-5624e103]{height:35px}.full-inspection-detail[data-v-ea5a76cc]{margin:0 16px;padding:16px;border-radius:8px;height:calc(100vh - 205px);background-color:#fff}.full-inspection-detail .plot-total[data-v-ea5a76cc]{position:relative;height:115px}.full-inspection-detail .plot-total .plot-total-box[data-v-ea5a76cc]{position:absolute;width:100%;top:25px;left:0}

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>tft-mes</title><script defer="defer" src="/js/chunk-vendors.60a1a666.js"></script><script defer="defer" src="/js/app.11e7f529.js"></script><link href="/css/chunk-vendors.330963ff.css" rel="stylesheet"><link href="/css/app.eea12e50.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tft-mes doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>tft-mes</title><script defer="defer" src="/js/chunk-vendors.60a1a666.js"></script><script defer="defer" src="/js/app.41e2ca26.js"></script><link href="/css/chunk-vendors.330963ff.css" rel="stylesheet"><link href="/css/app.82c5423c.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tft-mes doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

1
dist/js/1007.46d74164.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/1102.efee27f4.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/2927.208556f9.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/3180.e1f2d9a6.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/3385.f4dbd292.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/4954.5ae1ce52.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/5255.486406d0.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/5855.8d1accb7.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/5931.6dfaad39.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
"use strict";(self["webpackChunktft_mes"]=self["webpackChunktft_mes"]||[]).push([[6015],{6015:function(t,r,e){e.r(r),e.d(r,{default:function(){return c}});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")])])}],u=e(6527),s={name:"ReportList",data(){return{totalReports:0,reportList:[]}},mounted(){this.getList()},methods:{getList(){(0,u.J_)({}).then((t=>{0===t.code&&t.data.length>0?this.reportList=t.data:this.reportList=[]})),(0,u.up)({}).then((t=>{0===t.code&&t.data.length>0?this.totalReports=t.data[0].reportNum:this.totalReports=0}))},toDetail(t){this.$router.push({name:"reportListDetail",params:{categoryId:t||""}})}}},a=s,i=e(1001),p=(0,i.Z)(a,o,n,!1,null,null,null),c=p.exports},6527:function(t,r,e){e.d(r,{AT:function(){return C},Hg:function(){return f},J_:function(){return n},Kx:function(){return x},QL:function(){return i},V0:function(){return g},W0:function(){return h},a:function(){return d},an:function(){return y},bu:function(){return Z},fL:function(){return k},gc:function(){return G},kB:function(){return u},m3:function(){return l},oR:function(){return _},sy:function(){return s},uW:function(){return v},uj:function(){return R},up:function(){return c},wF:function(){return m},wy:function(){return a},yk:function(){return p}});var o=e(8859);function n(t){return(0,o.Z)({url:"/report/report-sheet-category/list",method:"post",data:t})}function u(t){return(0,o.Z)({url:"/report/report-sheet/page",method:"post",data:t})}function s(t){return(0,o.Z)({url:"/report/report-sheet/update",method:"post",data:t})}function a(t){return(0,o.Z)({url:"/report/report-sheet/delete",method:"post",data:t})}function i(t){return(0,o.Z)({url:"/report/report-sheet/get",method:"post",data:t})}function p(t){return(0,o.Z)({url:"/report/report-sheet-category/page",method:"post",data:t})}function c(t){return(0,o.Z)({url:"/report/GlassReport/getReportNum",method:"post",data:t})}function l(t){return(0,o.Z)({url:"/report/report-sheet-category/add",method:"post",data:t})}function d(t){return(0,o.Z)({url:"/report/report-sheet-category/update",method:"post",data:t})}function f(t){return(0,o.Z)({url:"/report/report-sheet-category/get",method:"post",data:t})}function h(t){return(0,o.Z)({url:"/report/report-sheet-category/delete",method:"post",data:t})}function m(t){return(0,o.Z)({url:"/order/proReport/getProductReportData",method:"post",data:t})}function g(t){return(0,o.Z)({url:"/order/proReport/exportProductReport",method:"post",responseType:"blob",data:t,timeout:6e4})}function v(t){return(0,o.Z)({url:"/report/GlassReport/listGlass",method:"post",data:t})}function R(t){return(0,o.Z)({url:"/report/GlassReport/qualityReport",method:"post",data:t})}function _(t){return(0,o.Z)({url:"/report/GlassReport/qualityReportexport",method:"post",responseType:"blob",data:t})}function Z(t){return(0,o.Z)({url:"/report/GlassReport/thickReport",method:"post",data:t})}function y(t){return(0,o.Z)({url:"/report/GlassReport/thickReportexport",method:"post",responseType:"blob",data:t})}function C(t){return(0,o.Z)({url:"/quality/finalpackaging/queryGlassData",method:"post",data:t})}function k(t){return(0,o.Z)({url:"/quality/finalpackaging/claGlassData",method:"post",data:t})}function x(t){return(0,o.Z)({url:"/report/GlassReport/getGlassVoid",method:"post",data:t})}function G(t){return(0,o.Z)({url:"/report/GlassReport/getUnitVoid",method:"post",data:t})}},5002:function(t,r,e){t.exports=e.p+"img/report.b2b3c253.png"}}]);

1
dist/js/6714.804e6476.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/6931.b0bb7c51.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/7238.e55b25d3.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/7705.3d0d7729.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/8000.881d30b2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/8388.d7dca021.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/8674.7395549d.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/9021.5001494f.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/9498.37992c37.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/9546.478d0389.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/app.41e2ca26.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

View File

@ -97,6 +97,7 @@ export default {
@import '@/styles/variables.module.scss'; @import '@/styles/variables.module.scss';
.navbar-container { .navbar-container {
height: 64px; height: 64px;
min-width: 1300px;
background: #fff; background: #fff;
box-shadow: 0px 1px 4px 0px rgba(0, 21, 41, 0.12); box-shadow: 0px 1px 4px 0px rgba(0, 21, 41, 0.12);
padding-right: 24px; padding-right: 24px;

View File

@ -8,7 +8,7 @@
<menu-list /> <menu-list />
</el-aside> </el-aside>
<el-container class="sectionBox"> <el-container class="sectionBox">
<el-header> <el-header class="el-header" style="height: 64px">
<navbar /> <navbar />
</el-header> </el-header>
<el-container> <el-container>
@ -43,16 +43,17 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/variables.module.scss'; @import '@/styles/variables.module.scss';
.itemContainer { .itemContainer {
min-width: 1500px;
.el-header { .el-header {
padding: 0; padding: 0;
overflow-x: auto;
overflow-y: hidden;
} }
.sectionBox { .sectionBox {
height: 100%; height: 100%;
background-color: $background-color-secondary; background-color: $background-color-secondary;
.app-container { .app-container {
height: calc(100vh - #{$navbarHeight} - #{$footerHeight} - 10px); height: calc(100vh - #{$navbarHeight} - #{$footerHeight} - 10px);
margin-top: 7px; margin-top: 3px;
.app-main { .app-main {
height: calc(100vh - #{$navbarHeight} - #{$footerHeight} - 50px); height: calc(100vh - #{$navbarHeight} - #{$footerHeight} - 50px);
} }

View File

@ -44,7 +44,7 @@ $color-success-light-8: mix($color-white, $color-success, 80%) !default;
$color-success-light-9: mix($color-white, $color-success, 90%) !default; $color-success-light-9: mix($color-white, $color-success, 90%) !default;
// size // size
$navbarHeight: 60px; // 导航栏高度 $navbarHeight: 64px; // 导航栏高度
$menuWidth: 160px; $menuWidth: 160px;
$footerHeight: 30px; $footerHeight: 30px;

View File

@ -114,8 +114,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -125,8 +124,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -135,8 +133,7 @@ export default {
} else { } else {
this.$message({ this.$message({
message: '用户名格式不正确应为数字或者字母,请检查', message: '用户名格式不正确应为数字或者字母,请检查',
type: 'error', type: 'error'
duration: 1500
}) })
} }
} else { } else {

View File

@ -94,8 +94,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -105,8 +104,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -302,8 +302,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -313,8 +312,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -82,8 +82,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -93,8 +92,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -95,8 +95,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -106,8 +105,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -239,9 +239,7 @@ export default {
updateTreeData(list).then(() => { updateTreeData(list).then(() => {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getTree() this.getTree()
}) })

View File

@ -87,8 +87,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -321,8 +321,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -332,8 +331,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -344,8 +342,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -162,8 +162,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -351,9 +351,7 @@ export default {
console.log(res) console.log(res)
this.$message({ this.$message({
message: '派工成功', message: '派工成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })
@ -377,9 +375,7 @@ export default {
console.log(res) console.log(res)
this.$message({ this.$message({
message: '工单删除成功', message: '工单删除成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()

View File

@ -214,8 +214,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -225,8 +224,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -297,8 +297,7 @@ export default {
maintainManageConfirm({ ...this.form }).then(() => { maintainManageConfirm({ ...this.form }).then(() => {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
}) })
@ -306,8 +305,7 @@ export default {
maintainManageUCompleted({ ...this.form }).then(() => { maintainManageUCompleted({ ...this.form }).then(() => {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
}) })

View File

@ -244,9 +244,7 @@ export default {
console.log(res) console.log(res)
this.$message({ this.$message({
message: '工单删除成功', message: '工单删除成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()

View File

@ -232,8 +232,7 @@ export default {
autoMaintainUpdate({ ...this.form }).then(() => { autoMaintainUpdate({ ...this.form }).then(() => {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
}) })
@ -241,8 +240,7 @@ export default {
autoMaintainAdd({ ...this.form }).then(() => { autoMaintainAdd({ ...this.form }).then(() => {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
}) })

View File

@ -188,8 +188,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -191,8 +191,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -228,8 +228,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -135,8 +135,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -146,8 +145,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -157,8 +155,7 @@ export default {
this.$message({ this.$message({
message: message:
'玻璃架ID与目前是包装或者复投状态的玻璃架ID重复请重新编辑输入', '玻璃架ID与目前是包装或者复投状态的玻璃架ID重复请重新编辑输入',
type: 'error', type: 'error'
duration: 1500
}) })
} }
} else { } else {

View File

@ -72,8 +72,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit2') this.$emit('successSubmit2')
} }

View File

@ -271,8 +271,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -282,8 +281,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -326,9 +326,7 @@ export default {
unloadPalletFinish({ id: val.data.id }).then(() => { unloadPalletFinish({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '结束包装成功', message: '结束包装成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })

View File

@ -311,9 +311,7 @@ export default {
reloadRackEnd({ id: val.data.id }).then(() => { reloadRackEnd({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '结束复投成功', message: '结束复投成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })
@ -330,9 +328,7 @@ export default {
reloadRack({ id: val.data.id }).then(() => { reloadRack({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '复投上架成功', message: '复投上架成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })

View File

@ -452,9 +452,7 @@ export default {
workOrderRelease({ id: val.data.id }).then(() => { workOrderRelease({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '工单下发成功', message: '工单下发成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })
@ -468,9 +466,7 @@ export default {
workOrderFinish({ id: val.data.id }).then(() => { workOrderFinish({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '工单结束成功', message: '工单结束成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.getList() this.getList()
}) })
@ -484,9 +480,7 @@ export default {
workOrderDelete({ id: val.data.id }).then(() => { workOrderDelete({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '工单删除成功', message: '工单删除成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()
@ -511,9 +505,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '工单导入成功', message: '工单导入成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()
@ -523,9 +515,7 @@ export default {
if (err) { if (err) {
this.$message({ this.$message({
message: '工单导入失败,请检查格式是否正确', message: '工单导入失败,请检查格式是否正确',
type: 'error', type: 'error'
duration: 1500,
onClose: () => {}
}) })
} }
} }

View File

@ -123,6 +123,8 @@ export default {
this.chart = echarts.init(chartDom) this.chart = echarts.init(chartDom)
let legendList = [] let legendList = []
let seriesList = [] let seriesList = []
let num = 0 // bursh
let delayTime = 0
for (let i in this.defectMsg) { for (let i in this.defectMsg) {
legendList.push(this.transLabel(i)) legendList.push(this.transLabel(i))
let arr1 = [] let arr1 = []
@ -132,6 +134,7 @@ export default {
arr2.push(2600 - parseInt(j.ypos)) arr2.push(2600 - parseInt(j.ypos))
arr2.push(2250 - parseInt(j.xpos)) arr2.push(2250 - parseInt(j.xpos))
arr1.push(arr2) arr1.push(arr2)
num++
} }
obj.name = this.transLabel(i) obj.name = this.transLabel(i)
obj.type = 'scatter' obj.type = 'scatter'
@ -139,6 +142,15 @@ export default {
obj.symbolSize = 5 obj.symbolSize = 5
seriesList.push(obj) seriesList.push(obj)
} }
if (num <= 3000) {
delayTime = 0
} else if (3000 < num <= 7000) {
delayTime = 1000
} else if (7000 < num <= 10000) {
delayTime = 2000
} else {
delayTime = 3000
}
var option = { var option = {
color: [ color: [
'#5d7ab7', '#5d7ab7',
@ -170,7 +182,12 @@ export default {
}, },
brush: { brush: {
toolbox: ['rect', 'clear'], toolbox: ['rect', 'clear'],
xAxisIndex: 0 xAxisIndex: 0,
throttleType: 'debounce',
throttleDelay: delayTime
},
tooltip: {
formatter: '{c},{a}'
}, },
grid: { grid: {
x: 60, x: 60,
@ -188,9 +205,13 @@ export default {
splitLine: { splitLine: {
show: true, show: true,
lineStyle: { lineStyle: {
type: 'dashed',
color: 'rgba(0, 0, 0, 0.15)' color: 'rgba(0, 0, 0, 0.15)'
} }
}, },
axisLabel: {
rotate: 45
},
max: 2600, max: 2600,
min: 0, min: 0,
interval: 100 interval: 100
@ -205,6 +226,7 @@ export default {
splitLine: { splitLine: {
show: true, show: true,
lineStyle: { lineStyle: {
type: 'dashed',
color: 'rgba(0, 0, 0, 0.15)' color: 'rgba(0, 0, 0, 0.15)'
} }
}, },

View File

@ -5,7 +5,7 @@
<div class="title">颗粒数据</div> <div class="title">颗粒数据</div>
<li v-for="(item, index) in leftList" :key="index"> <li v-for="(item, index) in leftList" :key="index">
<p class="tabHead">{{ item.name }}</p> <p class="tabHead">{{ item.name }}</p>
<p class="tabValue">{{ item.value }}</p> <p class="tabValue" :title="item.value">{{ item.value }}</p>
</li> </li>
</ul> </ul>
</div> </div>
@ -14,7 +14,7 @@
<div class="title">面检数据</div> <div class="title">面检数据</div>
<li v-for="(item, index) in rightList" :key="index"> <li v-for="(item, index) in rightList" :key="index">
<p class="tabHead">{{ item.name }}</p> <p class="tabHead">{{ item.name }}</p>
<p class="tabValue">{{ item.value }}</p> <p class="tabValue" :title="item.value">{{ item.value }}</p>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -196,8 +196,7 @@ export default {
if (this.tableData.length === 0) { if (this.tableData.length === 0) {
this.$message({ this.$message({
message: '请先到标准设置中添加该检测项目的检测点', message: '请先到标准设置中添加该检测项目的检测点',
type: 'error', type: 'error'
duration: 2000
}) })
return false return false
} }
@ -229,9 +228,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '保存成功', message: '保存成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
this.formClear() this.formClear()

View File

@ -48,6 +48,7 @@
<el-row> <el-row>
<el-col :span="24" style="margin-bottom: 20px"> <el-col :span="24" style="margin-bottom: 20px">
<base-table <base-table
:key="standardSettingNum"
:table-props="tableProps" :table-props="tableProps"
:table-data="tableData" :table-data="tableData"
:max-height="tableH" :max-height="tableH"
@ -126,6 +127,7 @@ export default {
{ required: true, message: '请选择检验项目', trigger: 'change' } { required: true, message: '请选择检验项目', trigger: 'change' }
] ]
}, },
standardSettingNum: 0,
tableProps, tableProps,
tableData: [], tableData: [],
tableBtn, tableBtn,
@ -163,7 +165,9 @@ export default {
}) })
}, },
handleClick(val) { handleClick(val) {
this.tableData.splice(val._pageIndex, 1) console.log(val)
this.tableData.splice(val.data._pageIndex - 1, 1)
this.standardSettingNum++
}, },
submitForm() { submitForm() {
this.$refs['form'].validate((valid) => { this.$refs['form'].validate((valid) => {
@ -171,8 +175,7 @@ export default {
if (this.tableData.length === 0) { if (this.tableData.length === 0) {
this.$message({ this.$message({
message: '请点击新增按钮添加标准值后再保存', message: '请点击新增按钮添加标准值后再保存',
type: 'error', type: 'error'
duration: 1500
}) })
return false return false
} }
@ -180,8 +183,7 @@ export default {
if (!item.detectItem || !item.detectPoint || !item.detectStandard) { if (!item.detectItem || !item.detectPoint || !item.detectStandard) {
this.$message({ this.$message({
message: '表格中有数据空缺,请检查', message: '表格中有数据空缺,请检查',
type: 'error', type: 'error'
duration: 1500
}) })
return false return false
} }
@ -193,9 +195,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '保存成功', message: '保存成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
this.formClear() this.formClear()
@ -223,8 +223,7 @@ export default {
if (!this.form.detectItem) { if (!this.form.detectItem) {
this.$message({ this.$message({
message: '请先选择检验项目', message: '请先选择检验项目',
type: 'error', type: 'error'
duration: 1500
}) })
return false return false
} }

View File

@ -231,18 +231,14 @@ export default {
if (this.selectedGlassId.length === 0) { if (this.selectedGlassId.length === 0) {
this.$message({ this.$message({
message: '请先勾选左侧的玻璃', message: '请先勾选左侧的玻璃',
type: 'error', type: 'error'
duration: 1500,
onClose: () => {}
}) })
return false return false
} }
if (this.checkList.length === 0) { if (this.checkList.length === 0) {
this.$message({ this.$message({
message: '请先勾选缺陷', message: '请先勾选缺陷',
type: 'error', type: 'error'
duration: 1500,
onClose: () => {}
}) })
return false return false
} }
@ -255,6 +251,17 @@ export default {
defectType: this.checkList defectType: this.checkList
}).then((res) => { }).then((res) => {
if (res.code === 0) { if (res.code === 0) {
// console.log(res.data)
// let arr = []
// let aobj = {}
// for (let i = 0; i < 10000; i++) {
// let obj = {}
// obj.xpos = Math.floor(Math.random() * 2250)
// obj.ypos = Math.floor(Math.random() * 2600)
// arr.push(obj)
// }
// aobj.BL = arr
// this.defectList = aobj
this.defectList = res.data this.defectList = res.data
} else { } else {
this.defectList = {} this.defectList = {}

View File

@ -49,8 +49,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }
@ -62,8 +61,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -41,8 +41,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.$emit('successSubmit') this.$emit('successSubmit')
} }

View File

@ -136,9 +136,7 @@ export default {
reportCategoryDelete({ id: val.data.id }).then(() => { reportCategoryDelete({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '工单删除成功', message: '工单删除成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()

View File

@ -1,24 +1,28 @@
<template> <template>
<div class="reoprtManager"> <div class="reoprtManager">
<div class="report"> <div class="report">
<div class="imgBox"> <div class="reportBox">
<img <div class="imgBox">
src="./../../../assets/reportManagement/report.png" <img src="./../../../assets/reportManagement/report.png" alt="" />
alt="" </div>
width="355px" <div class="numBox">
height="314px"
/>
</div>
<div class="numBox">
<div>
<div class="reportNum"> <div class="reportNum">
<div class="num">{{ totalReports }}</div> <div class="num">{{ totalReports }}</div>
<div class="text"> <div class="text">
<p class="font">全部报表</p> <p class="font">
<p class="letter">Reports</p> <img
src="./../../../assets/reportManagement/reportAll.png"
alt=""
style="width: 32px; height: 32px"
/>
<span>全部报表</span>
</p>
<p class="letter">
{{ totalReports > 1 ? 'Reports' : 'Report' }}
</p>
</div> </div>
</div> </div>
<div class="detail" @click="toDetail()">了解详情</div> <div class="detail detail1" @click="toDetail()">了解详情</div>
</div> </div>
</div> </div>
</div> </div>
@ -27,11 +31,21 @@
<div class="reportNum"> <div class="reportNum">
<div class="num">{{ item.quantity }}</div> <div class="num">{{ item.quantity }}</div>
<div class="text"> <div class="text">
<p class="font">{{ item.name }}</p> <p class="font">
<p class="letter">Reports</p> <img
src="./../../../assets/reportManagement/reportIcon.png"
alt=""
style="width: 32px; height: 32px"
/>
<span class="title" :title="item.name">{{ item.name }}</span>
<!-- <span class="title" :title="item.name">
测试测试测试测试报表测试报表
</span> -->
</p>
<p class="letter">{{ item.quantity > 1 ? 'Reports' : 'Report' }}</p>
</div> </div>
</div> </div>
<div class="detail" @click="toDetail(item.id)">了解详情</div> <div class="detail detail2" @click="toDetail(item.id)">了解详情</div>
</div> </div>
</div> </div>
</div> </div>
@ -76,7 +90,7 @@ export default {
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.reoprtManager { .reoprtManager {
padding-left: 16px; padding-left: 16px;
padding-top: 8px; padding-top: 8px;
@ -86,27 +100,39 @@ export default {
align-content: flex-start; align-content: flex-start;
overflow: auto; overflow: auto;
.report { .report {
width: 768px; width: calc(((100vw - 272px) / 2) - 16px);
// width: 808px;
height: 456px; height: 456px;
background: #fff; background: #fff;
border-radius: 4px; border-radius: 4px;
margin: 0 16px 16px 0; margin: 0 16px 16px 0;
position: relative; position: relative;
.reportBox {
margin: auto;
width: 685px;
}
.imgBox { .imgBox {
display: inline-block; display: inline-block;
width: 480px; width: 445px;
height: 100%; height: 100%;
padding: 80px 0 0 80px; padding-top: 80px;
img {
width: 355px;
height: 314px;
}
} }
.numBox { .numBox {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
height: 100%; height: 100%;
// padding-top: 120px;
top: 120px; top: 120px;
} }
} }
.reportDesc { .reportDesc {
width: 376px; position: relative;
width: calc(((100vw - 272px) / 4) - 16px);
// width: 396px;
height: 456px; height: 456px;
background: #fff; background: #fff;
border-radius: 4px; border-radius: 4px;
@ -120,22 +146,36 @@ export default {
font-size: 80px; font-size: 80px;
font-weight: 600; font-weight: 600;
color: #161616; color: #161616;
margin-right: 36px; margin-right: 18px;
} }
.text { .text {
display: inline-block; display: inline-block;
text-align: left;
.font { .font {
font-size: 18px; font-size: 18px;
letter-spacing: 2px; letter-spacing: 2px;
margin-bottom: 5px; margin-bottom: 5px;
img {
vertical-align: middle;
}
.title {
display: inline-block;
vertical-align: middle;
max-width: 150px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
} }
.letter { .letter {
padding-left: 4px;
font-size: 32px; font-size: 32px;
font-weight: 300; font-weight: 300;
} }
} }
} }
.detail { .detail {
position: absolute;
width: 200px; width: 200px;
height: 30px; height: 30px;
font-size: 14px; font-size: 14px;
@ -144,8 +184,37 @@ export default {
color: #fff; color: #fff;
background: #0b58ff; background: #0b58ff;
border-radius: 4px; border-radius: 4px;
margin: 139px auto 0;
cursor: pointer; cursor: pointer;
} }
.detail1 {
position: absolute;
bottom: 200px;
}
.detail2 {
position: absolute;
bottom: 80px;
right: calc((((100vw - 272px) / 4) - 16px - 200px) / 2);
}
}
@media only screen and (max-width: 1600px) {
.reoprtManager {
.report {
.reportBox {
width: 550px;
}
.imgBox {
width: 320px;
height: 100%;
img {
width: 300px;
height: 314px;
}
}
.numBox {
height: 100%;
top: 120px;
}
}
}
} }
</style> </style>

View File

@ -204,9 +204,7 @@ export default {
delReportlist({ id: val.data.id }).then(() => { delReportlist({ id: val.data.id }).then(() => {
this.$message({ this.$message({
message: '报表删除成功', message: '报表删除成功',
type: 'success', type: 'success'
duration: 1500,
onClose: () => {}
}) })
this.listQuery.current = 1 this.listQuery.current = 1
this.getList() this.getList()
@ -250,8 +248,7 @@ export default {
if (res.code === 0) { if (res.code === 0) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success'
duration: 1500
}) })
this.getList() this.getList()
} }