Compare commits

31 Commits

Author SHA1 Message Date
2304fe94ae Merge pull request 'zjl' (#29) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #29
2023-07-19 15:47:03 +08:00
8ceb47038d Merge pull request '工单进度' (#28) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #28
2023-07-05 16:46:16 +08:00
ea9fad130c Merge pull request '7.4修改bug' (#27) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #27
2023-07-04 09:26:12 +08:00
4956f4e0cd Merge pull request 'zjl' (#26) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #26
2023-06-30 14:01:45 +08:00
42ce5fb67c Merge pull request '6.28' (#25) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #25
2023-06-28 17:06:15 +08:00
b054cd476a Merge pull request '报表样式修改' (#24) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #24
2023-06-26 16:04:13 +08:00
dc4e1fd389 Merge pull request 'zjl' (#23) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #23
2023-06-16 16:25:06 +08:00
6d64016d57 Merge pull request '增加报表管理模块' (#22) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #22
2023-05-30 09:05:20 +08:00
1e06c04ddd Merge pull request '5.25' (#21) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #21
2023-05-25 15:16:56 +08:00
37188fe760 Merge pull request '5.24' (#20) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #20
2023-05-24 10:37:31 +08:00
dead1e5a40 Merge pull request '5.22' (#19) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2023-05-22 14:21:50 +08:00
9c6bf70008 Merge pull request '5.18' (#18) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #18
2023-05-18 11:14:36 +08:00
194b2f0e0d Merge pull request '修bug' (#17) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #17
2023-05-16 16:14:28 +08:00
34d7b8682d Merge pull request '修改bug' (#16) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #16
2023-05-15 17:25:59 +08:00
6f8f692852 Merge pull request 'zjl' (#15) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #15
2023-05-04 16:20:39 +08:00
c75999ea93 Merge pull request '报表模块小问题' (#14) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #14
2023-03-23 15:50:36 +08:00
76b88ed75a Merge pull request '报表模块' (#13) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #13
2023-03-23 15:40:58 +08:00
a7b39f3ce1 Merge pull request 'fix: 🐛 修正构建脚本' (#12) from cicd into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
2023-03-14 14:39:39 +08:00
8dc73bd098 fix: 🐛 修正构建脚本 2023-03-14 14:38:01 +08:00
523a9d9767 Merge pull request 'zjl' (#11) from zjl into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #11
2023-03-14 14:15:38 +08:00
4aad193bb0 Merge pull request '工艺&设备' (#10) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2023-02-23 16:56:56 +08:00
64f4251159 Merge pull request '上传dist文件' (#9) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
2023-02-22 13:59:57 +08:00
8810012a03 Merge pull request 'zjl' (#8) from zjl into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #8
2023-02-22 11:06:10 +08:00
c74f27cbf3 Merge pull request '构建失败,修改package-lock.json' (#7) from zjl into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #7
2023-02-22 09:24:37 +08:00
a9c6dfeb0b Merge pull request '修bug&更改散点图样式' (#6) from zjl into master
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #6
2023-02-21 16:36:44 +08:00
d775dc7371 Merge pull request '修复bug' (#5) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2023-02-14 15:35:34 +08:00
d3de840af1 Merge pull request '颗粒折线图' (#4) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2023-02-14 11:03:07 +08:00
6237b3a8f3 Merge pull request 'zjl' (#3) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2023-02-13 17:25:34 +08:00
df8c022982 Merge pull request '基础报表管理样式' (#2) from zjl into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #2
2023-02-08 17:23:35 +08:00
781877fca5 Merge pull request 'feat: 👷 添加自动构建功能' (#1) from cicd4tftfe into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
2023-02-08 08:56:40 +08:00
be198b6046 feat: 👷 添加自动构建功能 2023-02-08 08:54:17 +08:00
107 changed files with 298 additions and 364 deletions

7
.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
.vscode/
.idea/
node_modules/
**/*.log
LICENSE
README.md
README.en.md

41
.drone.yml Normal file
View File

@@ -0,0 +1,41 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
- name: dockerconfig
path: /root/.docker
commands:
- docker build -t harbor.picaiba.com/kszny/mes-ui:1.0.0-tft ./ && docker push harbor.picaiba.com/kszny/mes-ui:1.0.0-tft
- name: deploy
image: harbor.picaiba.com/tools/kubectl:1.19.8
commands:
- echo "172.27.0.20 lb.kubesphere.local" >> /etc/hosts
#- echo "52.74.223.119 github.com" >> /etc/hosts
- sleep 1
- kubectl scale --replicas=0 deployment/mes-ui -n mes-tft
- sleep 3
- kubectl scale --replicas=1 deployment/mes-ui -n mes-tft
depends_on:
- build
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: dockerconfig
host:
path: /root/.docker
trigger:
branch:
- master
event:
- push

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
#FROM node:12 AS builder
#WORKDIR /app
#ADD package.json /app/
#RUN npm config set registry https://registry.npmmirror.com && npm install
#ADD . /app
#RUN npm run build
#
#FROM busybox
#LABEL maintainer thomas.hairong@gmail.com
#COPY --from=builder /app/dist /html
FROM busybox
LABEL maintainer thomas.hairong@gmail.com
COPY dist/ /html

1
dist/css/1327.2c1d687d.css vendored Normal file
View File

@@ -0,0 +1 @@
.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}

View File

@@ -1 +0,0 @@
.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}

View File

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

View File

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

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-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}
.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}

1
dist/css/5343.fe8a2064.css vendored Normal file
View File

@@ -0,0 +1 @@
.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}

1
dist/css/6015.049013c2.css vendored Normal file
View File

@@ -0,0 +1 @@
.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}

View File

@@ -1 +0,0 @@
.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}}

View File

@@ -1 +0,0 @@
.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}

1
dist/css/9498.c0680631.css vendored Normal file
View File

@@ -0,0 +1 @@
.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.7970aba0.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>
<!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>

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/1327.daa08983.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/1487.2312df4b.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/2312.895c96ce.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/2413.b0006aaf.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/4048.be97e15e.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/4337.7bf28b84.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/4922.1a644d47.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

1
dist/js/5343.f5fb7ef2.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/5748.f061a26b.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/5783.fc0f3624.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

1
dist/js/6015.c6917d38.js vendored Normal file
View File

@@ -0,0 +1 @@
"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"}}]);

File diff suppressed because one or more lines are too long

1
dist/js/6729.b293e22e.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/698.686547a1.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/7671.f1c440e0.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/7789.e0aebf36.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

File diff suppressed because one or more lines are too long

1
dist/js/9498.46292c6f.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/9705.f7a7bcfb.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/9707.fb92bd08.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/9796.bb11da4f.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/app.11e7f529.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

View File

@@ -127,14 +127,6 @@ export function unloadPalletUpdate(data) {
})
}
export function unloadPalletDelete(data) {
return request({
url: '/order/unloadPallet/delete',
method: 'post',
data
})
}
// 验证玻璃架id
export function unloadPalletVerify(data) {
return request({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 965 B

View File

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

View File

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

View File

@@ -120,6 +120,15 @@ export const routes = [
},
component: () => import('../views/productionScheduling/productionData')
},
{
path: 'offShelfPackaging',
name: 'offShelfPackaging',
meta: {
title: '下架包装'
},
component: () =>
import('../views/productionScheduling/offShelfPackaging')
},
{
path: 'reLaunching',
name: 'reLaunching',
@@ -472,16 +481,6 @@ export const routes = [
},
component: () =>
import('../views/qualityManagement/productTraceability')
},
// 2023、8/23要求将下架包装从生成管理换到质量管理
{
path: 'offShelfPackaging',
name: 'offShelfPackaging',
meta: {
title: '下架包装'
},
component: () =>
import('../views/productionScheduling/offShelfPackaging')
}
]
},

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;
// size
$navbarHeight: 64px; // 导航栏高度
$navbarHeight: 60px; // 导航栏高度
$menuWidth: 160px;
$footerHeight: 30px;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,45 +0,0 @@
<template>
<div>
<span :style="'color: ' + showColor">{{ injectData.glassRackId }}</span>
</div>
</template>
<script>
export default {
name: 'innerSpan',
props: {
injectData: {
type: Object,
default: () => ({})
}
},
data() {
return {
showColor: 'green'
}
},
mounted() {
this.init()
},
methods: {
init() {
switch (this.injectData.status) {
case 3:
this.showColor = '#37D97F'
break
case 1:
this.showColor = '#FF4E4ED9'
break
default:
this.showColor = '#606266'
}
}
},
watch: {
injectData(newVal, oldVal) {
if (oldVal.enabled !== newVal.enabled) {
this.init()
}
}
}
}
</script>

View File

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

View File

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

View File

@@ -78,7 +78,6 @@
<script>
import { tableHeight, timeFormatter } from '@/utils/index'
import { getDetail, glassIdTrace } from '@/api/productionScheduling'
import InnerSpan from './InnerSpan'
const tableProps = [
{
prop: 'proLineName',
@@ -98,8 +97,7 @@ const tableProps = [
{
prop: 'glassId',
label: '玻璃ID',
minWidth: 160,
subcomponent: InnerSpan
minWidth: 160
},
{
prop: 'loadTime',

View File

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

View File

@@ -15,7 +15,7 @@
<method-btn
v-if="tableBtn.length"
slot="handleBtn"
:width="260"
:width="220"
label="操作"
fixed="right"
:method-list="tableBtn"
@@ -68,8 +68,7 @@ import OffShelfPackagingDetail from './components/OffShelfPackagingDetail.vue'
import OffShelfPackagingContinue from './components/OffShelfPackagingContinue.vue'
import {
unloadPalletPage,
unloadPalletFinish,
unloadPalletDelete
unloadPalletFinish
} from '@/api/productionScheduling'
const tableProps = [
{
@@ -151,11 +150,6 @@ const tableBtn = [
type: 'equal',
name: 'status',
value: 2
},
{
type: 'unequal',
name: 'num',
value: 0
}
]
}
@@ -177,25 +171,6 @@ const tableBtn = [
}
]
}
},
{
type: 'clean',
btnName: '清空',
showParam: {
type: '&',
data: [
{
type: 'equal',
name: 'status',
value: 2
},
{
type: 'unequal',
name: 'num',
value: 0
}
]
}
}
]
export default {
@@ -334,52 +309,41 @@ export default {
},
handleClick(val) {
console.log(val)
switch (val.type) {
case 'edit':
this.centervisible = true
this.addOrEditTitle = '编辑'
this.$nextTick(() => {
this.$refs.offShelfPackagingAdd.init(val.data.id)
})
break
case 'end':
this.$confirm(
'确认结束包装玻璃架ID" ' + val.data.glassRackId + ' "吗?',
{
type: 'warning'
}
)
.then(() => {
unloadPalletFinish({ id: val.data.id }).then(() => {
this.$message({
message: '结束包装成功',
type: 'success'
})
this.getList()
if (val.type === 'edit') {
this.centervisible = true
this.addOrEditTitle = '编辑'
this.$nextTick(() => {
this.$refs.offShelfPackagingAdd.init(val.data.id)
})
} else if (val.type === 'end') {
this.$confirm(
'确认结束包装玻璃架ID" ' + val.data.glassRackId + ' "吗?',
{
type: 'warning'
}
)
.then(() => {
unloadPalletFinish({ id: val.data.id }).then(() => {
this.$message({
message: '结束包装成功',
type: 'success',
duration: 1500,
onClose: () => {}
})
this.getList()
})
.catch(() => {})
break
case 'continue':
this.centervisible2 = true
this.$nextTick(() => {
this.$refs.offShelfPackagingContinue.init(val.data.id)
})
break
case 'detail':
this.detailVisible = true
this.$nextTick(() => {
this.$refs.packagingDetail.init(val.data.id)
})
break
default:
unloadPalletDelete({ id: val.data.id }).then(() => {
this.$message({
message: '操作成功',
type: 'success'
})
this.getList()
})
.catch(() => {})
} else if (val.type === 'continue') {
this.centervisible2 = true
this.$nextTick(() => {
this.$refs.offShelfPackagingContinue.init(val.data.id)
})
} else if (val.type === 'detail') {
this.detailVisible = true
this.$nextTick(() => {
this.$refs.packagingDetail.init(val.data.id)
})
}
},
handleCancel() {

View File

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

View File

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

View File

@@ -123,8 +123,6 @@ export default {
this.chart = echarts.init(chartDom)
let legendList = []
let seriesList = []
let num = 0 // 计算点的数量判断后续bursh是否需要延迟
let delayTime = 0
for (let i in this.defectMsg) {
legendList.push(this.transLabel(i))
let arr1 = []
@@ -134,7 +132,6 @@ export default {
arr2.push(2600 - parseInt(j.ypos))
arr2.push(2250 - parseInt(j.xpos))
arr1.push(arr2)
num++
}
obj.name = this.transLabel(i)
obj.type = 'scatter'
@@ -142,15 +139,6 @@ export default {
obj.symbolSize = 5
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 = {
color: [
'#5d7ab7',
@@ -182,12 +170,7 @@ export default {
},
brush: {
toolbox: ['rect', 'clear'],
xAxisIndex: 0,
throttleType: 'debounce',
throttleDelay: delayTime
},
tooltip: {
formatter: '{c},{a}'
xAxisIndex: 0
},
grid: {
x: 60,
@@ -205,13 +188,9 @@ export default {
splitLine: {
show: true,
lineStyle: {
type: 'dashed',
color: 'rgba(0, 0, 0, 0.15)'
}
},
axisLabel: {
rotate: 45
},
max: 2600,
min: 0,
interval: 100
@@ -226,7 +205,6 @@ export default {
splitLine: {
show: true,
lineStyle: {
type: 'dashed',
color: 'rgba(0, 0, 0, 0.15)'
}
},

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More