소스 검색

增加状态限制

zhouhao 2 년 전
부모
커밋
ec00d65c84
1개의 변경된 파일69개의 추가작업 그리고 65개의 파일을 삭제
  1. 69 65
      src/views/deposit_home/components/refund_list-detail.vue

+ 69 - 65
src/views/deposit_home/components/refund_list-detail.vue

@@ -601,7 +601,7 @@
       </el-row>
     </div>
 
-    <div v-if="detailList.examineStatus == 'OK' || detailList.examineStatus == 'FAIL'"  class="diy-table-1">
+    <div v-if="detailList.examineStatus == 'OK' || detailList.examineStatus == 'FAIL'" class="diy-table-1">
       <el-row :gutter="0">
         <el-col :xs="12" :sm="12" :lg="12" class="item">
           <div class="label">验收人</div>
@@ -639,71 +639,76 @@
     </div>
     <div>
       <div>
-        <h3 class="gdzl">补充资料</h3>
-        <el-divider />
-        <div class="mymain-container">
-          <div class="table">
-            <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
-              highlight-current-row stripe>
-              <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
-              <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
-              <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
-                <template slot-scope="scope">
-                  <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
-                    :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
-                    :preview-src-list="[imageURL + scope.row.fileUrl]" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
-                    src="@/assets/common/excel.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
-                  <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
-                    src="@/assets/common/zip.jpeg" />
-                </template>
-              </el-table-column>
-              <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
-                <template slot-scope="scope">
-                  {{ '资料_' + scope.row.fileName }}
-                </template>
-              </el-table-column>
-              <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
-                <template slot-scope="scope">
-                  <el-button type="text" class="textColor"
-                    @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
-                </template>
-              </el-table-column>
-            </el-table>
-          </div>
-          <div class="diy-table-1">
-            <el-row :gutter="0">
-              <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  上传人
-                </div>
-                <div class="value">
-                  {{ detailList.amendBy }}
-                </div>
-              </el-col>
-              <el-col :xs="12" :sm="12" :lg="12" class="item">
-                <div class="label">
-                  上传时间
-                </div>
-                <div class="value">
-                  {{ detailList.amendTime }}
-                </div>
-              </el-col>
-              <el-col :xs="12" :sm="24" :lg="24" class="item">
-                <div class="label">
-                  补充说明
-                </div>
-                <div class="value">
-                  {{ detailList.amendRemark }}
-                </div>
-              </el-col>
+        <div
+          v-if="detailList.examineStatus == 'AMEND' || detailList.examineStatus == 'WAIT_REVIEW' || detailList.examineStatus == 'REVIEW'">
+          <h3 class="gdzl">补充资料</h3>
+          <el-divider />
+          <div class="mymain-container">
+            <div class="table">
+              <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
+                highlight-current-row stripe>
+                <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
+                <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
+                <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
+                  <template slot-scope="scope">
+                    <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
+                      :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
+                      :preview-src-list="[imageURL + scope.row.fileUrl]" />
+                    <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file"
+                      src="@/assets/common/word.png" />
+                    <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
+                      src="@/assets/common/excel.png" />
+                    <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
+                    <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
+                    <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
+                      src="@/assets/common/zip.jpeg" />
+                  </template>
+                </el-table-column>
+                <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
+                  <template slot-scope="scope">
+                    {{ '资料_' + scope.row.fileName }}
+                  </template>
+                </el-table-column>
+                <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
+                  <template slot-scope="scope">
+                    <el-button type="text" class="textColor"
+                      @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
+                  </template>
+                </el-table-column>
+              </el-table>
+            </div>
+            <div class="diy-table-1">
+              <el-row :gutter="0">
+                <el-col :xs="12" :sm="12" :lg="12" class="item">
+                  <div class="label">
+                    上传人
+                  </div>
+                  <div class="value">
+                    {{ detailList.amendBy }}
+                  </div>
+                </el-col>
+                <el-col :xs="12" :sm="12" :lg="12" class="item">
+                  <div class="label">
+                    上传时间
+                  </div>
+                  <div class="value">
+                    {{ detailList.amendTime }}
+                  </div>
+                </el-col>
+                <el-col :xs="12" :sm="24" :lg="24" class="item">
+                  <div class="label">
+                    补充说明
+                  </div>
+                  <div class="value">
+                    {{ detailList.amendRemark }}
+                  </div>
+                </el-col>
 
-            </el-row>
+              </el-row>
+            </div>
           </div>
-          <div v-if=" detailList.examineStatus=='REVIEW'">
+        </div>
+        <div v-if="(detailList.examineStatus == 'REVIEW' || detailList.examineStatus == 'AMEND')">
           <h3 class="gdzl">复核</h3>
           <el-divider />
           <div class="diy-table-1">
@@ -737,7 +742,6 @@
             </el-row>
           </div>
         </div>
-        </div>
       </div>
     </div>
     <br />