소스 검색

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

李书文 1 년 전
부모
커밋
8955af1041
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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 }}