Browse Source

自定义查询-列表bug修复

jun.zhang 1 year ago
parent
commit
c7bd1d374d
1 changed files with 15 additions and 3 deletions
  1. 15 3
      src/views/statistics/custom/custom/index.vue

+ 15 - 3
src/views/statistics/custom/custom/index.vue

@@ -582,7 +582,11 @@
         <el-table-column prop="xfType" label="活动性质"></el-table-column>
         <el-table-column prop="xfNumber" label="人数"></el-table-column>
         <el-table-column prop="createPerson" label="登记人"></el-table-column>
-        <el-table-column prop="createTime" label="登记时间"></el-table-column>
+        <el-table-column label="登记时间">
+          <template slot-scope="scope">
+            <span>{{ scope.row.createTime }}</span>
+          </template>
+        </el-table-column>
         <!-- <el-table-column
           v-for="(item, index) in tableHeaderData"
           :key="index"
@@ -635,8 +639,16 @@
           width="100"
         ></el-table-column>
 
-        <el-table-column prop="createPerson" label="登记人"></el-table-column>
-        <el-table-column prop="createTime" label="登记时间"></el-table-column>
+        <el-table-column label="登记人">
+          <template slot-scope="scope">
+            <span>{{ scope.row.createPerson }}</span>
+          </template></el-table-column
+        >
+        <el-table-column label="登记时间">
+          <template slot-scope="scope">
+            <span>{{ scope.row.createTime }}</span>
+          </template>
+        </el-table-column>
         <el-table-column label="操作方式">
           <template slot-scope="scope">
             <el-button