Ver código fonte

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

zhuliu 1 ano atrás
pai
commit
abd843fc1a

+ 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>