瀏覽代碼

专利挖掘详情附件没有显示问题

zhuliu 1 年之前
父節點
當前提交
abd843fc1a
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/views/patentMining/components/details/components/basicMessage.vue

+ 7 - 1
src/views/patentMining/components/details/components/basicMessage.vue

@@ -82,8 +82,14 @@
           <template slot="label">
             <i class="el-icon-office-building"></i> 附件
           </template>
-          <span>{{ getArrJoin(row.systemFileList, 'name') }}</span>
+          <!-- <span>{{ getArrJoin(row.systemFileList, 'name') }}</span> -->
           <!-- <span v-html="$commonJS.getColumnData(row.systemFileList, {name:'附件',value:'name'})"></span> -->
+          <div v-if="row.systemFileList" class="upload-file">
+                <div v-for="(file, index) in row.systemFileList" :key="index" style="margin:0;display:flex;justify-content:space-around;">
+                  <p style="margin:0;width:calc(100% - 40px);overflow: hidden;white-space: nowrap;text-overflow:ellipsis;cursor: pointer;">{{file.originalName}}</p> 
+                  <myMenu :data="file" @delFile="delFile(file,row)" :deleted="false" ></myMenu>
+                </div>
+              </div>
         </el-descriptions-item>
       </el-descriptions>
     </div>