From 95ce33be3765a681dfdce3b384b39dca27b3201e Mon Sep 17 00:00:00 2001 From: "2090205686@qq.com" Date: Tue, 20 May 2025 17:49:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E6=85=A7=E7=A7=8D=E6=A4=8D-=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/assets/images/smartFarm/broadcast.png | Bin 0 -> 3145 bytes .../src/assets/images/smartFarm/排水泵.png | Bin 0 -> 623 bytes .../assets/images/smartFarm/液位传感器.png | Bin 0 -> 608 bytes .../src/assets/images/smartFarm/电动闸阀.png | Bin 0 -> 1178 bytes sub-operation-service/src/router/index.js | 26 ++- .../src/views/smartFarm/components/common.vue | 24 ++ .../smartFarm/components/controlDevices.vue | 148 ++++++++++++ .../views/smartFarm/components/leftMenu.vue | 26 ++- .../views/smartFarm/components/myTable.vue | 28 ++- .../smartFarm/components/produceDevices.vue | 2 +- .../views/smartFarm/drainageControl/index.vue | 214 ++++++++++++++++++ .../views/smartFarm/growSeedlings/index.vue | 15 +- .../smartFarm/irrigationSystem/index.vue | 191 ++++++++++++++++ .../src/views/smartFarm/openCurtain/index.vue | 211 +++++++++++++++++ .../views/smartFarm/pestPrevention/index.vue | 191 ++++++++++++++++ 15 files changed, 1047 insertions(+), 29 deletions(-) create mode 100644 sub-operation-service/src/assets/images/smartFarm/broadcast.png create mode 100644 sub-operation-service/src/assets/images/smartFarm/排水泵.png create mode 100644 sub-operation-service/src/assets/images/smartFarm/液位传感器.png create mode 100644 sub-operation-service/src/assets/images/smartFarm/电动闸阀.png create mode 100644 sub-operation-service/src/views/smartFarm/components/controlDevices.vue create mode 100644 sub-operation-service/src/views/smartFarm/drainageControl/index.vue create mode 100644 sub-operation-service/src/views/smartFarm/irrigationSystem/index.vue create mode 100644 sub-operation-service/src/views/smartFarm/openCurtain/index.vue create mode 100644 sub-operation-service/src/views/smartFarm/pestPrevention/index.vue diff --git a/sub-operation-service/src/assets/images/smartFarm/broadcast.png b/sub-operation-service/src/assets/images/smartFarm/broadcast.png new file mode 100644 index 0000000000000000000000000000000000000000..8e6357d8b37a433549a1a7283f1056206d1f2075 GIT binary patch literal 3145 zcmV-P47T%$P)Px>14%?dRA@u(T6>sOWf}kdzB98fxp+w`$x010s>kkzmzJ5O6p)m}va+5uVa}TA z6Xb%KUC7i-AT+b&EO^Pvin8(&yT)Z^0WbNOq?LtOT91W6Nr?|MJLmi5cV^BoJ3GtF zAO(+d{yXQq-+SKgy}!Tj5PPo|j0X6E*~#9GV5g0#@iPxWi?=M&VIe<(%f9~Sz53j} z8rXSbPMS3e!1_phaSVH|{KM|u%HFTxh|r~ z=Re8iS3k8w`UZHufb_aswlc_=I$`!JkZLk<_HeWn-T|1A#hQr?Xf^lqwkw|*L_4wTLm<8b z(1Ua{d**%Yf47|%H|N2|OrP6^)_s?Nmv?{#2W#vfelY#?}C5sPL)S8P4pQtBGnSNO77B0W` zANA;q`#!gg*>7&Cq}98pzXDs;ik9#xW^dfq2%lzYYS+wDW)DX`{1Rxc<k&1a2RxCVU;vC<=+kBSmwjSoD(VKe-;t_kk=;W0;hw9ue#l= zCd?QK(~<>rWW!vGgpc7rg%npTc(TcL5xGtIzXWk~GiwHDH zOe;JDtK)dryl0zTZ&UtXL5ySp$H0agb|`1kTLt3P>@SSrn(L!^H%$B81g1CpT?l_M zx!^UCAyfX90*?XJ4sn&W`l_Hpf_ep#=yhpRE#BkKF-)%e4eId6BDAlA#|OBw`?p0o zGM@r?Ab~GBctyZv7B=g_tOW2h^Wi|m%mt@3BmWK~Qxm!_h2h1`FdRfH z&128JSaLbBbdNZTo(MR7LUkDWG^PoWe^@Vx!_He`_s70 z>CTvOTCcbF%J)MWQzw4<)$lxr@C<}3WfT{OmGwoI{>a{Hn>UYvsz&jr;FZn7nu|;L_v1~VF8K6=@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fJ@_Aw><)jqlyjf`x2`b{mj)g^oOHmcuNH8mrgV)j9fgn!n!2v z=rf#y2%6z#yRR-gObMwe0|8ZzqH#qOiog}j1{cNm&ox)yFkW(w!u|&VJWIi$OP5)T zvl4wlRD;WM#{ho9tl^679qynqGnC~uvFpa?yzYJ5IpTZlop-J#&OQaOO~Fin?qJXS zk2dOMr4-vntb0u@FLgMk1Gq87F;U#r~!5rU7TWNafR0xTvW5Bm*Ku*su~oz z9n+3S$WiW?$^qUL#w?yGmg=ngBLFsETJLRP-@;p~qu3eCj~b}`%U&)-m{?YxDfqbk>?n+wESkMKNHF{iEu+R_@%2?PUgzP=OHswe7G&M zIW|sH`;Et&FgZ3_w-4948M6$CxMwwZyF&&f%;xw!w3%-XZXO~iZ@;w=oBgw(&Uf`V zhPS558Ucofk2)J+5ZHh;8w_ jx4zey&s&9i4uk&!SV28|NWY*U00000NkvXXu0mjf#m@ql literal 0 HcmV?d00001 diff --git a/sub-operation-service/src/assets/images/smartFarm/排水泵.png b/sub-operation-service/src/assets/images/smartFarm/排水泵.png new file mode 100644 index 0000000000000000000000000000000000000000..718fbebf85bf599496ccb0f7e9de545e43b21685 GIT binary patch literal 623 zcmV-#0+9WQP)Px%DM>^@R9Hvt*v-pLQ547V&*L>SMM>TjGXpUorHmOcFc47~NMRyMQA`XN5EBC_ zN|_jlm?%Sve?Tcbr4)J$7|7dM+LzPq+`|w_TFRuJV$V$ z^!pJum3~k5*H>6vnq((#jtv0Zf@58d9hV}EG0v14aQz|}CG#QxcOi;(`49kWvi&memEzM_8h{_L zH>IXqX6mMRn1E++G5|v^wv8y@sQ|o)hgddZDUJxP2*8a+D8D7$8l@DUDCBB90B0nb zIWS@o4Dr4_sMY<;MUvHv@8W!urCG!0211k@wYu0W9KwP$VRW4hX%kR`;kW6RqA@%u zWbJkO=Y1-x=;e(7tF~K<@C5T45MECGI;5@p83;HB^GaTy@v>r|=?QRk1Hf2_S9t)dS%8)Ew}4$?>6hX*f;lzZMlhn(uH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|yD{^_NEuf6d&&ZYwQ2Km z!0i)JF9m)IV^*ger_@@d;ozBQc}<_*`1Wo*khtx~XEl`cYN>#>2{qJ;w+7JU7RW_O zIz1T{6bQC8)vy5kuU@>V@Ngoa-cwBY0;=+tP>LbRgh-9+L_%8}(QuWslWP({?S$a^6niaZAX}yj`XMvvH61=4f+S3+B1IfKP$r zL(q;&vt<&&(wT)&erafX)&_F90PI6)|4Iby1aC$3b|?_M5tOoBbfV=7P(h$Vu@D5} z<*K|pJEwpZxO3{h^6ot8G-G?RC)-V$Dx|B5bL3P-b`g89ZF5qq_{*RY?-y2PIr;$1 zdla@u1xKzoQKD9uzMquwtqrx@mP_LR%=^`s$Ho_l@{`CvK5D&KnN^iU6{4 import('@/views/userCenter/userLands.vue'), name: 'userLands', @@ -133,6 +133,30 @@ export const constantRoutes = [ name: 'growSeedlings', meta: { title: '一体育苗' }, }, + { + path: '/sub-operation-service/smartFarm/pestPrevention', + component: () => import('@/views/smartFarm/pestPrevention/index.vue'), + name: 'pestPrevention', + meta: { title: '病虫害防治' }, + }, + { + path: '/sub-operation-service/smartFarm/irrigationSystem', + component: () => import('@/views/smartFarm/irrigationSystem/index.vue'), + name: 'irrigationSystem', + meta: { title: '喷灌滴灌' }, + }, + { + path: '/sub-operation-service/smartFarm/drainageControl', + component: () => import('@/views/smartFarm/drainageControl/index.vue'), + name: 'drainageControl', + meta: { title: '排集水控制' }, + }, + { + path: '/sub-operation-service/smartFarm/openCurtain', + component: () => import('@/views/smartFarm/openCurtain/index.vue'), + name: 'openCurtain', + meta: { title: '开窗卷帘' }, + }, ], }, { diff --git a/sub-operation-service/src/views/smartFarm/components/common.vue b/sub-operation-service/src/views/smartFarm/components/common.vue index 0e048ba..81308e1 100644 --- a/sub-operation-service/src/views/smartFarm/components/common.vue +++ b/sub-operation-service/src/views/smartFarm/components/common.vue @@ -60,6 +60,30 @@ const menus = reactive([ icon: 'menu3.png', path: '/sub-operation-service/smartFarm/growSeedlings', }, + { + name: 'control', + title: '病虫害预防', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/pestPrevention', + }, + { + name: 'control', + title: '喷灌滴灌', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/irrigationSystem', + }, + { + name: 'control', + title: '排集水控制', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/drainageControl', + }, + { + name: 'control', + title: '开窗卷帘', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/openCurtain', + }, ], }, ]); diff --git a/sub-operation-service/src/views/smartFarm/components/controlDevices.vue b/sub-operation-service/src/views/smartFarm/components/controlDevices.vue new file mode 100644 index 0000000..42e1b5e --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/components/controlDevices.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/sub-operation-service/src/views/smartFarm/components/leftMenu.vue b/sub-operation-service/src/views/smartFarm/components/leftMenu.vue index 9207312..fdc9885 100644 --- a/sub-operation-service/src/views/smartFarm/components/leftMenu.vue +++ b/sub-operation-service/src/views/smartFarm/components/leftMenu.vue @@ -79,7 +79,7 @@ const leftMenu = reactive([ name: 'control', title: '生产管理控制', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/main', + path: '', isOpen: false, children: [ { @@ -88,6 +88,30 @@ const leftMenu = reactive([ icon: 'menu3.png', path: '/sub-operation-service/smartFarm/growSeedlings', }, + { + name: 'control', + title: '病虫害预防', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/pestPrevention', + }, + { + name: 'control', + title: '喷灌滴灌', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/irrigationSystem', + }, + { + name: 'control', + title: '排集水控制', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/drainageControl', + }, + { + name: 'control', + title: '开窗卷帘', + icon: 'menu3.png', + path: '/sub-operation-service/smartFarm/openCurtain', + }, ], }, ]); diff --git a/sub-operation-service/src/views/smartFarm/components/myTable.vue b/sub-operation-service/src/views/smartFarm/components/myTable.vue index 68c8f68..0709799 100644 --- a/sub-operation-service/src/views/smartFarm/components/myTable.vue +++ b/sub-operation-service/src/views/smartFarm/components/myTable.vue @@ -33,18 +33,22 @@ onMounted(() => {
{{ title }}
- - - - - - + + + + + + + + + +
- {{ item?.label || '' }} -
- {{ cell }} - {{ cell }} - {{ cell }} -
+ {{ item?.label || '' }} +
+ {{ cell }} + {{ cell }} + {{ cell }} +
diff --git a/sub-operation-service/src/views/smartFarm/components/produceDevices.vue b/sub-operation-service/src/views/smartFarm/components/produceDevices.vue index fd2e168..cc46717 100644 --- a/sub-operation-service/src/views/smartFarm/components/produceDevices.vue +++ b/sub-operation-service/src/views/smartFarm/components/produceDevices.vue @@ -52,7 +52,7 @@ const props = defineProps({
-
{{ item.name }}
+
{{ item.name }}
{{ item.serial }}
diff --git a/sub-operation-service/src/views/smartFarm/drainageControl/index.vue b/sub-operation-service/src/views/smartFarm/drainageControl/index.vue new file mode 100644 index 0000000..ad06448 --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/drainageControl/index.vue @@ -0,0 +1,214 @@ + + + + + diff --git a/sub-operation-service/src/views/smartFarm/growSeedlings/index.vue b/sub-operation-service/src/views/smartFarm/growSeedlings/index.vue index 24cb0e8..c5f3b67 100644 --- a/sub-operation-service/src/views/smartFarm/growSeedlings/index.vue +++ b/sub-operation-service/src/views/smartFarm/growSeedlings/index.vue @@ -188,17 +188,4 @@ const rightTableTitle = ref([ ]); - + diff --git a/sub-operation-service/src/views/smartFarm/irrigationSystem/index.vue b/sub-operation-service/src/views/smartFarm/irrigationSystem/index.vue new file mode 100644 index 0000000..59fec92 --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/irrigationSystem/index.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/sub-operation-service/src/views/smartFarm/openCurtain/index.vue b/sub-operation-service/src/views/smartFarm/openCurtain/index.vue new file mode 100644 index 0000000..d8f77fb --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/openCurtain/index.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/sub-operation-service/src/views/smartFarm/pestPrevention/index.vue b/sub-operation-service/src/views/smartFarm/pestPrevention/index.vue new file mode 100644 index 0000000..8955f6c --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/pestPrevention/index.vue @@ -0,0 +1,191 @@ + + + + +