ggooalice 2 anni fa
parent
commit
7870e2f621

BIN
fhKeeper/formulahousekeeper/timesheet/src/assets/image/hanglie_corp.png


+ 10 - 10
fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

@@ -121,9 +121,9 @@
                         </el-popover>
                     </div>
                 </el-form-item>
-                <el-form-item v-if="(radio == '项目' || radio == '部门' || radio == '项目分类') && exportParam.type == '0'">
+                <!-- <el-form-item v-if="(radio == '项目' || radio == '部门' || radio == '项目分类') && exportParam.type == '0'">
                     <el-checkbox v-model="exportParam.projectSum" >含单个项目数据汇总</el-checkbox>
-                </el-form-item>
+                </el-form-item> -->
             </el-form>
             <div slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="exportProjectData" style="width:100%;" >导出</el-button>
@@ -281,14 +281,14 @@
                         param.userId = this.exportParam.userId;
                     }
                 }
-                if (this.exportParam.type == 1) {
-                    this.exportParam.projectSum = null
-                }
-                if (this.exportParam.projectSum != null) {
-                    if(this.radio == '项目' || this.radio == '部门' || this.radio == '项目分类'){
-                        param.projectSum = this.exportParam.projectSum;
-                    }
-                }
+                // if (this.exportParam.type == 1) {
+                //     this.exportParam.projectSum = null
+                // }
+                // if (this.exportParam.projectSum != null) {
+                //     if(this.radio == '项目' || this.radio == '部门' || this.radio == '项目分类'){
+                //         param.projectSum = this.exportParam.projectSum;
+                //     }
+                // }
                 param.type = this.exportParam.type*1
                 this.http.post(url, param,
                     res => {