zhangyun hace 4 años
padre
commit
d8d6aed36b

+ 1 - 1
config/index.js

@@ -21,7 +21,7 @@ module.exports = {
     },
 
     // Various Dev Server settings
-    host: '192.168.1.108', // can be overwritten by process.env.HOST
+    host: '192.168.1.116', // can be overwritten by process.env.HOST
     port: 8000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: false,
     errorOverlay: true,

BIN
dist.zip


BIN
src/assets/images/equipdistribute/irrigate.png


+ 1 - 0
src/components/index.vue

@@ -437,6 +437,7 @@ export default {
                   "pur_id": "101"
                 }]
               }
+
               // if(item.name == '智能灌溉'){
               //   item.children = [{
               //     "name": "灌溉示范点",

+ 4 - 0
src/pages/plantGuard/equipManage/equipManage.vue

@@ -20,6 +20,7 @@
               <el-option label="性诱设备" value="8"></el-option>
               <el-option label="糖醋测报" value="9"></el-option>
               <el-option label="灾害预警" value="1112"></el-option>
+               <el-option label="智能灌溉" value="13"></el-option>
             </el-select>
             <el-input
               style="cursor: pointer"
@@ -86,6 +87,9 @@
                 <template v-if="item.device_type_id == '12'">
                   <img src="@/assets/images/equipdistribute/warnOn12.png" />
                 </template>
+                <template v-if="item.device_type_id == '13'">
+                  <img src="@/assets/images/equipdistribute/irrigate.png" />
+                </template>
                 <div class="equipName">
                   <span>
                     {{ item.device_name || "无" }}