Просмотр исходного кода

首页添加用户和机构排名信息

sunjh 6 лет назад
Родитель
Сommit
e2c38f4a48
2 измененных файлов с 6 добавлено и 3 удалено
  1. 4 1
      src/components/InstitutionRank.vue
  2. 2 2
      src/components/PersonRank.vue

+ 4 - 1
src/components/InstitutionRank.vue

@@ -8,7 +8,10 @@
         </template>
       </el-table-column>
       <el-table-column prop="name">
-        <template slot-scope="scope"><span class="institution-name">{{scope.row.name}}</span></template>
+        <template slot-scope="scope"><span class="institution-name" style="font-size: 12px">{{scope.row.name}}</span></template>
+      </el-table-column>
+      <el-table-column prop="name">
+        <template slot-scope="scope"><span class="institution-name" style="font-size: 12px">总任务金额:{{scope.row.allTaskPrice}}</span></template>
       </el-table-column>
     </el-table>
   </div>

+ 2 - 2
src/components/PersonRank.vue

@@ -8,10 +8,10 @@
         </template>
       </el-table-column>
       <el-table-column prop="name">
-        <template slot-scope="scope"><span class="institution-style">{{scope.row.name}}</span></template>
+        <template slot-scope="scope"><span class="institution-style" style="font-size: 12px">{{scope.row.name}}</span></template>
       </el-table-column>
       <el-table-column prop="number">
-        <template slot-scope="scope"><span class="institution-style">{{scope.row.number}}</span></template>
+        <template slot-scope="scope"><span class="institution-style" style="font-size: 12px">总项目金额:{{scope.row.allProjectPrice}}</span></template>
       </el-table-column>
     </el-table>
   </div>