瀏覽代碼

提交修改

zk 1 年之前
父節點
當前提交
a9511778b4
共有 3 個文件被更改,包括 8 次插入6 次删除
  1. 3 2
      src/views/home/cpns/PicViewerForPhotos.vue
  2. 4 3
      src/views/yyjg/cpns/EntInfo.vue
  3. 1 1
      src/views/yyjg/cpns/UnitJYXK.vue

+ 3 - 2
src/views/home/cpns/PicViewerForPhotos.vue

@@ -41,7 +41,7 @@ const props = defineProps(['picImg'])
 
 const emits = defineEmits(['closePicViewerOne'])
 
-let indexs=1
+let indexs=0
 //
 // let title = computed(()=>{
 //   return  props.picImg.type[1]
@@ -51,7 +51,8 @@ const title = ref('')
 onBeforeMount(()=>{
     if (props.picImg.length>0)
 {
-    title.value = ref(props.picImg[indexs].boatstatus)
+    title.value = props.picImg[indexs].boatstatus
+    indexs=1
 }else {
         ElMessage.warning('所选未查到图片')
         emits('closePicViewerOne')

+ 4 - 3
src/views/yyjg/cpns/EntInfo.vue

@@ -43,14 +43,15 @@
         <div class="head coloumn"><span>船舶名称</span><span>货物名称</span><span>起运港</span><span>目的港</span><span>申报数</span></div>
         <el-carousel
           v-if="tableData_goods_len>0"
+          style="height:25vh"
           trigger="click"
           indicator-position="outside"
           arrow="never"
           :autoplay="false"
         >
-          <el-carousel-item v-for="page in tableData_goods_len" :key="page">
+          <el-carousel-item    v-for="page in tableData_goods_len" :key="page">
             <ul class="tc-list">
-              <li v-for="item,index in tableData_goods.value.slice((page-1)*3, (page-1)*3+3)" class="coloumn">
+              <li v-for="item,index in tableData_goods.value.slice((page-1)*6, (page-1)*6+6)" class="coloumn">
                 <el-tooltip v-for="item2 in item" effect="dark" :content="item2.toString()" placement="top">
                   <span>{{item2}}</span>
                 </el-tooltip>
@@ -270,7 +271,7 @@ function getQydt(id) {
   },{immediate:true})
 
   const tableData_goods_len = computed(() => {
-    return Math.ceil(tableData_goods.value.length/3)
+    return Math.ceil(tableData_goods.value.length/6)
   })
 
 

+ 1 - 1
src/views/yyjg/cpns/UnitJYXK.vue

@@ -13,7 +13,7 @@
                                 <span>{{ scope.row.effectiveEndDate.slice(0,10)}}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="提醒内容" prop="type" min-width="80" show-overflow-tooltip />
+<!--                        <el-table-column label="提醒内容" prop="type" min-width="80" show-overflow-tooltip />-->
                     </el-table>
                     <el-pagination
                             class="pagi-default"