Browse Source

修改企业信息不显示的问题

zk 1 year ago
parent
commit
bb0d0be948
1 changed files with 10 additions and 10 deletions
  1. 10 10
      src/views/yyjg/cpns/EntInfo.vue

+ 10 - 10
src/views/yyjg/cpns/EntInfo.vue

@@ -114,7 +114,7 @@ export default {
 
 <script setup>
   import { onMounted, reactive, ref, watch, computed } from 'vue'
-  import {GetQysb,PostVideoForUnit} from '@/apis/yyjg'
+  import {GetQyxx,GetQysb,PostVideoForUnit} from '@/apis/yyjg'
   import { ElCarousel, ElCarouselItem, ElTooltip,ElPagination} from 'element-plus'
   import 'element-plus/es/components/pagination/style/css'
   import { ElTable, ElTableColumn } from 'element-plus'
@@ -124,7 +124,6 @@ export default {
   import PicViewerForPhotos from "@/views/home/cpns/PicViewerForPhotos";
   import VideoForHK from "@/views/home/cpns/VideoForHK";
 
-
   const props = defineProps(['ent-data'])
 
   const isExpand = computed(() => {
@@ -183,13 +182,12 @@ export default {
       for(let key in entInfo) {
         entInfo[key] = '查询中...'
       }
-      // GetQyxx(n.objectId).then(res => {
-      //   tab_usable.vedio = Boolean(res.data.Rows[0].cameraId)
-      //   for(let key in entInfo) {
-      //     entInfo[key] = res.data.Rows.length>0? res.data.Rows[0][key]: '无数据'
-      //   }
-      //
-      // })
+      GetQyxx(n.objectId).then(res => {
+        tab_usable.vedio = Boolean(res.data.Rows[0].cameraId)
+        for(let key in entInfo) {
+          entInfo[key] = res.data.Rows.length>0? res.data.Rows[0][key]: '无数据'
+        }
+      })
       tab_usable.vedio=true
       tab_usable.overGrade=true
     } else {
@@ -213,7 +211,9 @@ export default {
       }else if(name=='overGrade')
       {
         console.log("企业id:",props.entData.certNumber)
-      }
+      } else if(name==='goods') {
+          getQysb()
+    }
 
   }