Browse Source

水上客运和疏浚项目更改

zk 1 year ago
parent
commit
547cb108b9
2 changed files with 22 additions and 5 deletions
  1. 20 3
      src/views/hdsj/Index.vue
  2. 2 2
      src/views/ssky/Index.vue

+ 20 - 3
src/views/hdsj/Index.vue

@@ -74,11 +74,11 @@
             </div>
           </div>
         </div>
-        <div class="part2">
-          <div @click="toggleShujunState('before')" :class="{'highlight': shujunState==='before'}">
+        <div class="part2"  >
+          <div   @click="toggleShujunState('before')" :class="{'disableClick': showShuJunBut,'highlight': shujunState==='before'}">
             <span class="text-emp1">疏浚前</span><span>地形</span>
           </div>
-          <div @click="toggleShujunState('after')" :class="{'highlight': shujunState==='after'}">
+          <div  @click="toggleShujunState('after')" :class="{'disableClick': showShuJunBut,'highlight': shujunState==='after'}">
             <span class="text-emp2">疏浚后</span><span>地形</span>
           </div>
         </div>
@@ -177,6 +177,8 @@ export default {
 
   const listShow_whss = ref(false)
 
+  const showShuJunBut = ref(false)
+
   function handlePickWhss(item) {
     data_ssgl.value[0].value = Math.abs(+item.height)
     ueCallCloseMaintain()
@@ -306,9 +308,20 @@ export default {
         case '1648914259771392000':
           areaLength = 1.364
           break
+        case '1FAF5519-C64E-4414-A616-2CE989C7560B':
+          areaLength = 2.9
+          break
       }
       data_gcgk.sta[0].value = areaLength || '-'
       data_gcgk.sta[1].value = res.data.data || '-'
+      if (id=='1FAF5519-C64E-4414-A616-2CE989C7560B')
+      {
+        showShuJunBut.value=true
+        data_gcgk.sta[1].value =7
+      }else {
+        showShuJunBut.value=false
+      }
+
     })
   }
 
@@ -457,6 +470,10 @@ export default {
 </script>
 
 <style lang="scss" scoped>
+  .disableClick{
+    pointer-events: none;
+  }
+
 #hdsj {
   
   .panel-left, .panel-right {

+ 2 - 2
src/views/ssky/Index.vue

@@ -206,8 +206,8 @@ export default {
   function getYlzy() {
     GetYlzy().then(res => {
       ylzyData.boatNum = res.data.shipNumber
-      // ylzyData.dockNum = res.data.pierNumber
-      ylzyData.dockNum = 10
+      ylzyData.dockNum = res.data.pierNumber
+      // ylzyData.dockNum = 10
       ylzyData.boatList = res.data.shipNames
       ylzyData.dockList = res.data.pierNames
     })