Browse Source

修改数据统计->同期对比数据

李书文 1 year ago
parent
commit
8955af1041
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/views/TQSJ/index.vue

+ 10 - 0
src/views/TQSJ/index.vue

@@ -43,6 +43,11 @@
         <template slot="header" slot-scope="scope">
           {{ timeValue[0] ? timeValue[0] : '月份' }}
         </template>
+        <el-table-column label="对比值(去年)" align="center" prop="colName" width="150px">
+          <template slot-scope="scope">
+            {{ scope.row.oldCollValue }}
+          </template>
+        </el-table-column>
         <el-table-column label="当前" align="center" prop="colName">
           <template slot-scope="scope">
             {{ scope.row.collValue }}
@@ -60,6 +65,11 @@
         <template slot="header" slot-scope="scope">
           {{ timeValue[0] ? timeValue[0] : '年度' }}
         </template>
+        <el-table-column label="对比值(去年)" align="center" prop="colName" width="150px">
+          <template slot-scope="scope">
+            {{ scope.row.oldCollValue }}
+          </template>
+        </el-table-column>
         <el-table-column label="当前" align="center" prop="colName">
           <template slot-scope="scope">
             {{ scope.row.collValue }}