소스 검색

文字对比改比对

yuhan 1 년 전
부모
커밋
6f9c3b8492
2개의 변경된 파일17개의 추가작업 그리고 17개의 파일을 삭제
  1. 3 3
      src/api/kzksApi.js
  2. 14 14
      src/views/module_kzks/projectCostList/ProjectCostList.vue

+ 3 - 3
src/api/kzksApi.js

@@ -17,11 +17,11 @@ const proCostContractdetail = (params)=>getAction("/xmcbDetail/comContractInfoEx
 // 项目成本成本详情-已收款
 const proCostYSKdetail = (params)=>getAction("/xmcbDetail/comContractInfoExchange/getCrmYskDetail", params);
 
-// 项目成本比————总体
+// 项目成本比————总体比
 const getDbList = (params)=>getAction("/projectCost/projectCost/compareList", params);
-// 项目汇集比————总体
+// 项目汇集比————总体比
 const getHjList = (params)=>getAction("/projectCostHuiji/projectCostHuiji/compareList", params);
-// 项目成本比————材料费
+// 项目成本比————材料费比
 const getDbClList = (params)=>getAction("wzOutboundOrder/wzOutboundOrderH/compareCLFDetailList", params);
 // 成本模型——通过id查询详情
 const getModalIdList = (params)=>getAction("/costModelList/costModelList/queryByIdBeforeEdit", params);

+ 14 - 14
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -297,10 +297,10 @@
       @cancel="handleGb">
 
       <a-tabs default-active-key="1">
-        <a-tab-pane key="1" tab="总体比">
+        <a-tab-pane key="1" tab="总体比">
           <all-list :duibiList="duibiList"></all-list>
         </a-tab-pane>
-        <a-tab-pane key="2" tab="材料费比" force-render>
+        <a-tab-pane key="2" tab="材料费比" force-render>
           <wuliao-list :duibiclList="duibiclList"></wuliao-list>
         </a-tab-pane>
       </a-tabs>
@@ -310,7 +310,7 @@
       </template>
     </j-modal>
 
-    <!-- 虚实成本比(堆叠图) -->
+    <!-- 虚实成本比(堆叠图) -->
     <contrast-modal ref="xushi"></contrast-modal>
 
     <!-- 导入弹框 -->
@@ -377,15 +377,15 @@ import { number } from 'echarts';
         expandedRowKeys: [],
         // 是否全部展开
         isExpanded: false,
-        // 获取比级
+        // 获取比
         chooseRowType: undefined,
-        // 比状态
+        // 比状态
         chooseStatus: true,
-        // 获取到的比数据
+        // 获取到的比数据
         duibiList: {},
-        // 获取到的材料费比数据
+        // 获取到的材料费比数据
         duibiclList: [],
-        // 比弹框是否显示
+        // 比弹框是否显示
         duiBi: false,
         // 表头:当前显示的列,初始为全部
         columns: [],
@@ -1028,7 +1028,7 @@ import { number } from 'echarts';
         //   this.duiBi = true
         // })
       },
-      // 关闭比弹框
+      // 关闭比弹框
       handleGb(){
         this.duiBi = false
         this.duibiList = {}
@@ -1060,7 +1060,7 @@ import { number } from 'echarts';
           }
         }
       },
-      // 虚实比(堆叠图)
+      // 虚实比(堆叠图)
       handleXushi(record){
         console.log(record)
         this.$refs.xushi.open(record)
@@ -1075,7 +1075,7 @@ import { number } from 'echarts';
           this.loadData()
         })
       },
-      // 比禁选判断
+      // 比禁选判断
       onSelectChange(selectedRowKeys, selectionRows) {
         this.selectedRowKeys = selectedRowKeys;
         this.selectionRows = selectionRows;
@@ -1091,7 +1091,7 @@ import { number } from 'echarts';
             if (this.chooseRowType != record.ji) {
               this.chooseRowType = this.chooseRowType
               this.chooseStatus = true
-              this.$message.error("请选择同级项进行比");
+              this.$message.error("请选择同级项进行比");
             } else{
               // this.chooseStatus = false
               for (let i = 0; i < selectedRows.length; i++) {
@@ -1116,7 +1116,7 @@ import { number } from 'echarts';
               console.log(888,this.chooseRowType,element)
               if (this.chooseRowType != element) {
                 this.chooseStatus = true
-                this.$message.error("请选择同级项进行比");
+                this.$message.error("请选择同级项进行比");
               } else {
                 this.chooseStatus = false
               }
@@ -1125,7 +1125,7 @@ import { number } from 'echarts';
             // if (this.chooseRowType != record.ji) {
             //   this.chooseRowType = this.chooseRowType
             //   this.chooseStatus = true
-            //   this.$message.error("请选择同级项进行比");
+            //   this.$message.error("请选择同级项进行比");
             // }else{
             //   // this.chooseStatus = false
             //   for (let i = 0; i < selectedRows.length; i++) {