From 4981b8578a3c3566a546eaed719bae6cd5eb07c9 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 15 Aug 2023 18:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=B7=A5=E8=89=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/iconfont.styl | 12 +- src/assets/css/iconfont/iconfont.json | 37 - src/assets/css/iconfont/iconfont.ttf | Bin 2052 -> 2172 bytes src/assets/css/iconfont/iconfont.woff | Bin 1376 -> 1492 bytes src/assets/css/iconfont/iconfont.woff2 | Bin 944 -> 1096 bytes src/assets/css/mixin.styl | 8 + src/assets/js/getData2.js | 101 +- src/pages/shunhe/LogisticsProcess.vue | 1680 ++++++++++-------------- 8 files changed, 786 insertions(+), 1052 deletions(-) delete mode 100644 src/assets/css/iconfont/iconfont.json diff --git a/src/assets/css/iconfont.styl b/src/assets/css/iconfont.styl index f4c4bae..3b75b12 100644 --- a/src/assets/css/iconfont.styl +++ b/src/assets/css/iconfont.styl @@ -1,8 +1,8 @@ @font-face { - font-family: "iconfont"; /* Project id 1255596 */ - src: url('iconfont/iconfont.woff2?t=1620977303191') format('woff2'), - url('iconfont/iconfont.woff?t=1620977303191') format('woff'), - url('iconfont/iconfont.ttf?t=1620977303191') format('truetype'); + font-family: "iconfont"; + src: url('iconfont/iconfont.woff2') format('woff2'), + url('iconfont/iconfont.woff') format('woff'), + url('iconfont/iconfont.ttf') format('truetype'); } @font-face { @@ -25,4 +25,8 @@ .icon-guanbi:before { content: "\e60f"; +} + +.icon_arrow:before { + content: '\e601' } \ No newline at end of file diff --git a/src/assets/css/iconfont/iconfont.json b/src/assets/css/iconfont/iconfont.json deleted file mode 100644 index 34ac18f..0000000 --- a/src/assets/css/iconfont/iconfont.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "id": "1255596", - "name": "nl-hht-hl", - "font_family": "iconfont", - "css_prefix_text": "icon-", - "description": "", - "glyphs": [ - { - "icon_id": "2229060", - "name": "无信号", - "font_class": "no-signal", - "unicode": "e76b", - "unicode_decimal": 59243 - }, - { - "icon_id": "400034", - "name": "下拉", - "font_class": "htmal5icon03", - "unicode": "e626", - "unicode_decimal": 58918 - }, - { - "icon_id": "731140", - "name": "选择", - "font_class": "guanbi1", - "unicode": "e608", - "unicode_decimal": 58888 - }, - { - "icon_id": "4736203", - "name": "关闭", - "font_class": "guanbi", - "unicode": "e60f", - "unicode_decimal": 58895 - } - ] -} diff --git a/src/assets/css/iconfont/iconfont.ttf b/src/assets/css/iconfont/iconfont.ttf index d19ae0d69deb508c110d24f379a84e2089fd95d5..a0a439843bdf4c32c5972949d0bdc94431d3b5ec 100644 GIT binary patch delta 1218 zcmY*XOKclu5T5z>y&HQsWOwtd94DzA+X*;{prv57%7s>;qCB#3+$3sZr;tE$ zaw@{Dhrn_{;sEqQg(`920-}Wj66yh|TtGa;m^u9|7<(0L+)x-1RTcW(UZ>L-zX8>h}3>cK^Nsz`Y5;vdd+6aVYxB!<73I zS$>%U(huA#gg+)5TwdGQG6<0NcbbgVYRSd3uuu9u^3^qWYaKgam-sI7qZN0pTr;jr zy$>MVq6SOr)fYD2{q8UgAWu@lF+h^;GPn+HxNR|Xd7{Yn(v0>O*n1%anZd){kU=!d%AYzo}>utQ1rwq)Ku#!t-$ z(WiiGq7 z+`g)1{+8>s3*Y>1b-iVN4viVu$DS5LvYYHPZ~!{8`EkL{=d$_S3`VdY?al~_I*QIj zBJ0G5Vxw#tow4Kyo=l8zn3#H^mYPcrM6huGpM#@_{k?~8gpPED5kDG^Fx30Z2hBk< zb3Fc7tfxD5wExp1`cSne#00&!D@WZ0fW~d^ExKcb2u#8`cnM%A%{lRyXqlaMr)^52 z6h_Om$1@Z8iF`KUa9Jl2@DVg?qC}ZKo1Q_=A&)*^-EP_i+P+O^AaVw$F`pwTXIg2} zC!Ar7Il1<1zJSfb6YZwOtz1$>P1lRbR4Q4N6kU_#GwJb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|;thXPcN78}NyVEa2j0C`oDkHBY`x?bogUp2=KaPpPizetEl3SM^K% zr0|V1*Kn$KFHFgLp&aM)W{bqR^=16qZu%_06kT@KW8FI4E0=yAx;gQ=n9MaxyPeB> zy0%_hv##RAtJ!b&TJM{BoW16(v@ZAFGyS)>&1pL~|MAmIOZCUsJskC3xn0{iv~=qHpfQr=p7&KxIF%Rzw@lIS z`d!mpulG=t@zaTJ`QSg(V%p4%KCGKm?s0gD##iTC7FJA_6J1@!{&agB_SaBa$(nVk z=c9vZaF)OdO|vr}tvWU?6lK^bFo*&bgFp^L6~hFELr{wnQa2`R1Jtw^YEf5Mu?sPR{DbzVeB*7w+w`^)@hYjr9gUwehQK(6lq zrv=lU2I~(V>a)$J9lyV)GTEQu&I5M2zWci0C)&msSr_q&?+{-XTrZF}A--jH#^cZ( zu77=R95-HeD7PfBvibUsq;DH@3u^G|{6#XIF%)SgBp|J!zqsjrZ=Rh6&D&`BbtsI){o@ASMWCKKb% zdJ1iFio3Qg#OW2IS!#HnU{%b;PJ4}XkN*suQF$kTAr1=aqy`2(wl@t^Cw5MpIk9!( y)QP=~#`^KwEsSmT4cpZhtC$-eH!-%fKYw6`?Oqc@ea*`gc%6(57#I{yc|8GvlLSrx diff --git a/src/assets/css/iconfont/iconfont.woff2 b/src/assets/css/iconfont/iconfont.woff2 index f9b361d1d545ec87b1e7878f7d73ee25fdfc77f1..9bf17007480fdedbe504c72109c8d609db86aa89 100644 GIT binary patch literal 1096 zcmV-O1h@NlPew8T0RR9100c+?3jhEB00?{l00aC00RR9100000000000000000000 z0000SR0d!GgA@vcG=p{lHUcCA5DN+b1Rw>3X9q$Xa0gLTPLgC_VN-^CkrZ1yIZ!-| z#)RM@7mwt@&2k!rAVDBQ@Bzfb*Bbi%?%st_G1$0Fbhv=3D!LOHTh$6%BT2IBcqCnY z^RE5&RU!E>lk_zqC);tHzTH0N6-vRoH=0&!R1cL#=on)@Xon@OF9pDrPHOu(|KyGR zph}ysc6tA}S2b&iJ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w*(?5&f7V;bv&rtASM)db`TFUZ`v7fxvql zGeazQpgBk?Ac4+N^Ww~d)T=<0eY<@eQrOFe_Z}#a60j&2U7R& z509)!f~bM=5pbfU3ZK0(LgsUjuu3&aMo4@yh@a)43iKFo4R`^t7G2W_A+=32(fO5J z&xe%uvZplaMSma5x$>rY@MT5jO;_rN*VoKE+LF?aM*DbuKZ`=C4OCx%FwzT#~_4jTa@R^Z)i*D@h zMU|D|P*b8s#QRhjptY2osJ#GUh#G6CU9U`7KoD{D9g- zxIynqgl#xj4#l^cVvb=E@$--(Sj+@jn6Iep!qO}wN7E9{?!#15A}BL0BcG|qW=yA; zqRp1F7$b;KiwV_9$6=$sw?PkFP(_LyC90@(4=gh^MKW_nf0>!6BKIK% SWn_Cvvp6%aWO{M~0001s6S_M9 diff --git a/src/assets/css/mixin.styl b/src/assets/css/mixin.styl index d940186..60b45f3 100644 --- a/src/assets/css/mixin.styl +++ b/src/assets/css/mixin.styl @@ -6,6 +6,14 @@ $blue = #6798ef $gray = #c9c9c9 $fc1 = #323232 +.green + background-color #11ff0d +.yellow + background-color #fdfd0f +.gray + background-color #bfbfbf +.red + background-color #ff1016 //宽高 _wh(w, h) diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index 39acfde..80289e0 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -4,25 +4,112 @@ import {post, post1} from '@js/http.js' export const queryDevice = (url) => post1(url + '/api/screen/pdm/queryDevice', {}) /** 1.1大屏左一 */ -export const planReached = (id) => post('api/bigscreen/product/planReached', {}) +// export const planReached = (id) => post('api/bigscreen/product/planReached', {}) +export const planReached = (id) => { + let res = { + code: '1', + dayResult: { + jo1: {plan_qty: '100', real_qty: '200', finish_rate: '200'}, + jo2: {plan_qty: '100', real_qty: '200', finish_rate: '200'}, + jo3: {plan_qty: '100', real_qty: '200', finish_rate: '200'} + }, + monthResult: { + joo1: {plan_qty: '100', real_qty: '200', finish_rate: '200'}, + joo2: {plan_qty: '100', real_qty: '200', finish_rate: '200'}, + joo3: {plan_qty: '100', real_qty: '200', finish_rate: '200'} + } + } + return res +} /** 1.2大屏左二 */ -export const worksectionHarvest = (id) => post('api/bigscreen/product/worksectionHarvest', {}) +// export const worksectionHarvest = (id) => post('api/bigscreen/product/worksectionHarvest', {}) +export const worksectionHarvest = (id) => { + let res = { + code: '1', + result: [ + { + 'device_name': '运行', + 'failure': 0, + 'shutdown': 0, + 'standby': 0, + 'running': 5 + }, + { + 'device_name': '暂停', + 'failure': 0, + 'shutdown': 0, + 'standby': 1, + 'running': 0 + }, + { + 'device_name': '停机', + 'failure': 0, + 'shutdown': 2, + 'standby': 0, + 'running': 0 + }, + { + 'device_name': '故障', + 'failure': 1, + 'shutdown': 0, + 'standby': 0, + 'running': 0 + } + ] + } + return res +} /** 1.3大屏左三 */ -export const monthHarvest = (id) => post('api/bigscreen/product/monthHarvest', {}) +// export const monthHarvest = (id) => post('api/bigscreen/product/monthHarvest', {}) +export const monthHarvest = (id) => { + let res = { + code: '1', + result: [{date: '混料', real_qty: '10', rate: '10'}, {date: '压制', real_qty: '8', rate: '15'}, {date: '干燥', real_qty: '3', rate: '2'}, {date: '分拣', real_qty: '7', rate: '5'}] + } + return res +} /** 1.4大屏右一 */ -export const output = (id) => post('api/bigscreen/product/output', {}) +// export const output = (id) => post('api/bigscreen/product/output', {}) +export const output = (id) => { + let res = { + code: '1', + result: {finish_rate: '80', plan_qty: '10', real_qty: '20', sum_qty: '100', normal_qty: '20', delayed_qty: '10'} + } + return res +} /** 1.5大屏右二 */ -export const topHarvest = (id) => post('api/bigscreen/product/topHarvest', {}) +// export const topHarvest = (id) => post('api/bigscreen/product/topHarvest', {}) +export const topHarvest = (id) => { + let res = { + code: '1', + result: [{sort: '1', material_spec: 'aa', real_qty: '10'}, {sort: '1', material_spec: 'aa', real_qty: '10'}, {sort: '1', material_spec: 'aa', real_qty: '10'}] + } + return res +} /** 1.6大屏右三 */ -export const monthOrder = (id) => post('api/bigscreen/product/monthOrder', {}) +// export const monthOrder = (id) => post('api/bigscreen/product/monthOrder', {}) +export const monthOrder = (id) => { + let res = { + code: '1', + result: [{material_spec: '1', real_qty: '10'}] + } + return res +} /** 1.7大屏中一 */ -export const productSchedule = (id) => post('api/bigscreen/product/productSchedule', {}) +// export const productSchedule = (id) => post('api/bigscreen/product/productSchedule', {}) +export const productSchedule = (id) => { + let res = { + code: '1', + result: [{a1: 'hn01', a2: 'wl01', a3: '1号混料', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '2号混料', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '1号砖', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '2号砖', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '3号砖', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '1号砖', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '2号砖', a4: '1.05吨'}, {a1: 'hn01', a2: 'wl01', a3: '3号砖', a4: '1.05吨'}] + } + return res +} /** 1.8大屏中二 */ export const unfinishOrder = (id) => post('api/bigscreen/product/unfinishOrder', {}) diff --git a/src/pages/shunhe/LogisticsProcess.vue b/src/pages/shunhe/LogisticsProcess.vue index cec78a4..8166a3f 100644 --- a/src/pages/shunhe/LogisticsProcess.vue +++ b/src/pages/shunhe/LogisticsProcess.vue @@ -1,121 +1,17 @@