ソースを参照

Merge tag 'Hotfix-zh-51' into develop

Finish Hotfix-zh-51
howie 3 年 前
コミット
d49856fb5b
1 ファイル変更11 行追加10 行削除
  1. 11 10
      src/views/engin_deposit/components/deposit_list-detail.vue

+ 11 - 10
src/views/engin_deposit/components/deposit_list-detail.vue

@@ -280,7 +280,9 @@
                 <img
                   v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
                   class="file"
+                  style="cursor: pointer;"
                   src="@/assets/common/pdf.png"
+                  @click="openPdf(scope.row.fileUrl)"
                 >
 
                 <img
@@ -313,15 +315,14 @@
                   class="textColor"
                   @click="downLoadFn(scope.row.fileUrl,scope.row.fileName)"
                 >下载</el-button>
-
-                <el-button
-                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
-                  type="text"
-                  class="textColor"
-                  @click="openPdf(scope.row.fileUrl)"
-                >
-                  查看
-                </el-button>
+                <!--                <el-button-->
+                <!--                  v-if="checkFileType(scope.row.fileUrl) == 'pdf'"-->
+                <!--                  type="text"-->
+                <!--                  class="textColor"-->
+                <!--                  @click="openPdf(scope.row.fileUrl)"-->
+                <!--                >-->
+                <!--                  查看-->
+                <!--                </el-button>-->
               </template>
             </el-table-column>
           </el-table>
@@ -385,7 +386,7 @@
             <div class="label">验收说明</div>
             <div class="value">{{ details.checkNote }}</div>
           </el-col>
-          <el-col :xs="24" :sm="24" :lg="24" v-if="details.confirmName" class="item">
+          <el-col v-if="details.confirmName" :xs="24" :sm="24" :lg="24" class="item">
             <div class="label">驳回说明</div>
             <div class="value">{{ details.confirmName }}</div>
           </el-col>