Explorar o código

全网商机BUG修改

youchen hai 1 ano
pai
achega
662c152263
Modificáronse 1 ficheiros con 7 adicións e 4 borrados
  1. 7 4
      src/views/business/bid/index/biding.vue

+ 7 - 4
src/views/business/bid/index/biding.vue

@@ -220,8 +220,10 @@
       <el-table-column prop="infoTitle" label="产品" width="200" align="center"></el-table-column>
       <el-table-column prop="infoNewFile" label="公告原文链接"  show-overflow-tooltip width="200" align="center" >
         <template scope="scope">
-          <a :href="scope.row.infoFileUrl" target="_blank" class="buttonText" style="color: #00afff">
-            {{ scope.row.infoFileName}}</a>
+          <div v-for="(v,ind) in scope.row.filearr" :key="ind">
+            <a :href="v.infoFileUrl" target="_blank" class="buttonText" style="color: #00afff">
+              {{ v.infoFileName}}</a>
+          </div>
         </template>
       </el-table-column>
       <el-table-column prop="address" label="操作" align="center">
@@ -321,8 +323,9 @@ export default {
           this.dataList.dataTable.map((v) => {
             const ins = JSON.parse(v.infoNewFile)
             if (ins.length) {
-              v.infoFileName = ins[0].infoFileName
-              v.infoFileUrl = ins[0].infoFileUrl
+              v.filearr = ins
+              // v.infoFileName = ins[0].infoFileName
+              // v.infoFileUrl = ins[0].infoFileUrl
             }
           })
         }