作者 张晓杰

展示设计图条件

@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 <th scop="col" class="table_lable">产品类型:</th> 24 <th scop="col" class="table_lable">产品类型:</th>
25 <th scop="col"> 25 <th scop="col">
26 {{model.productType}} 26 {{model.productType}}
27 - </th> 27 + </th>
28 </tr> 28 </tr>
29 <tr> 29 <tr>
30 <th scop="col" class="table_lable">任务下达时间:</th> 30 <th scop="col" class="table_lable">任务下达时间:</th>
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 </tr> 52 </tr>
53 <tr v-if="model.files != null"> 53 <tr v-if="model.files != null">
54 <th scop="col" class="table_lable">设计图文件:</th> 54 <th scop="col" class="table_lable">设计图文件:</th>
55 - <th scop="col"> 55 + <th scop="col">
56 <div v-for="(item,index) in model.files.split(',')" :key="index"> 56 <div v-for="(item,index) in model.files.split(',')" :key="index">
57 <a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br> 57 <a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br>
58 </div> 58 </div>
@@ -61,37 +61,23 @@ @@ -61,37 +61,23 @@
61 </table> 61 </table>
62 </div> 62 </div>
63 <div class="imgDiv"> 63 <div class="imgDiv">
64 - <div v-if="model.pics">  
65 - <a-carousel arrows>  
66 - <div  
67 - slot="prevArrow"  
68 - slot-scope="props"  
69 - class="custom-slick-arrow"  
70 - style="left: 10px;zIndex: 1"  
71 - >  
72 - <a-icon type="left-circle" />  
73 - </div>  
74 - <div slot="nextArrow" slot-scope="props" class="custom-slick-arrow" style="right: 10px">  
75 - <a-icon type="right-circle" />  
76 - </div>  
77 - <div v-for="(item,index) in picList" :key="index" @click="onImg(index)">  
78 - <img :src="getImgView(item)" class="imgg" alt="" :preview="num"/>  
79 - </div>  
80 - </a-carousel>  
81 - <div class="tipCss">设计图</div>  
82 - </div> 64 + <div v-if="model.designPic">
  65 + <a-carousel arrows>
  66 + <div slot="prevArrow" slot-scope="props" class="custom-slick-arrow" style="left: 10px;zIndex: 1">
  67 + <a-icon type="left-circle" />
  68 + </div>
  69 + <div slot="nextArrow" slot-scope="props" class="custom-slick-arrow" style="right: 10px">
  70 + <a-icon type="right-circle" />
  71 + </div>
  72 + <div v-for="(item, index) in picList" :key="index" @click="onImg(index)">
  73 + <img :src="getImgView(item)" class="imgg" alt="" :preview="num" />
  74 + </div>
  75 + </a-carousel>
  76 + <div class="tipCss">设计图</div>
  77 + </div>
83 </div> 78 </div>
84 - <a-table  
85 - ref="table"  
86 - size="middle"  
87 - bordered  
88 - rowKey="id"  
89 - class="j-table-force-nowrap"  
90 - :scroll="{ x: true }"  
91 - :columns="columns"  
92 - :dataSource="res"  
93 - :pagination="false"  
94 - > 79 + <a-table ref="table" size="middle" bordered rowKey="id" class="j-table-force-nowrap" :scroll="{ x: true }"
  80 + :columns="columns" :dataSource="res" :pagination="false">
95 </a-table> 81 </a-table>
96 </a-form-model> 82 </a-form-model>
97 </j-form-container> 83 </j-form-container>