zs 2 maanden geleden
bovenliggende
commit
252fa20f4a
1 gewijzigde bestanden met toevoegingen van 55 en 7 verwijderingen
  1. 55 7
      src/views/detail/matchDetail.vue

+ 55 - 7
src/views/detail/matchDetail.vue

@@ -148,9 +148,31 @@
               <template #empty>
                 <el-empty description="暂无数据" />
               </template>
-              <el-table-column align="center" prop="no" label="编号" width="100" />
-              <el-table-column align="center" prop="user_name" label="姓名" />
-              <el-table-column align="center" prop="start_time" label="初审时间" />
+              <el-table-column align="center" prop="no" label="编号" width="100">
+                <template #default="scope">
+                  {{ scope.row.no || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="user_name" label="姓名">
+                <template #default="scope">
+                  {{ scope.row.user_name || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="project_name" label="项目名称">
+                <template #default="scope">
+                  {{ scope.row.project_name || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="person_unit" label="单位名称">
+                <template #default="scope">
+                  {{ scope.row.person_unit || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="start_time" label="初审时间">
+                <template #default="scope">
+                  {{ scope.row.start_time || '——' }}
+                </template>
+              </el-table-column>
             </el-table>
           </div>
         </div>
@@ -161,10 +183,36 @@
               <template #empty>
                 <el-empty description="暂无数据" />
               </template>
-              <el-table-column align="center" prop="no" label="编号" width="100" />
-              <el-table-column align="center" prop="user_name" label="姓名" />
-              <el-table-column align="center" prop="start_time" label="初审时间" />
-              <el-table-column align="center" prop="final_start_time" label="决赛时间" />
+              <el-table-column align="center" prop="no" label="编号" width="100">
+                <template #default="scope">
+                  {{ scope.row.no || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="user_name" label="姓名">
+                <template #default="scope">
+                  {{ scope.row.user_name || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="project_name" label="项目名称">
+                <template #default="scope">
+                  {{ scope.row.project_name || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="person_unit" label="单位名称">
+                <template #default="scope">
+                  {{ scope.row.person_unit || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="start_time" label="初审时间">
+                <template #default="scope">
+                  {{ scope.row.start_time || '——' }}
+                </template>
+              </el-table-column>
+              <el-table-column align="center" prop="final_start_time" label="决赛时间">
+                <template #default="scope">
+                  {{ scope.row.final_start_time || '——' }}
+                </template>
+              </el-table-column>
             </el-table>
           </div>
         </div>