瀏覽代碼

调整getUserWorkTimeByCategory接口的传值

Lijy 1 年之前
父節點
當前提交
8e26c73950
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet/src/views/corpreport/list.vue

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/corpreport/list.vue

@@ -3440,7 +3440,7 @@ export default {
     async getProjectSort() {
       let { data } = await this.postData('/project-category/list', {})
       let dataList = data || []
-      dataList.push({id: 'null', name: '未分类'})
+      dataList.push({id: 0, name: '未分类'})
       this.projectSortList = dataList
       this.projectSortId = dataList[0].id
       this.projectSortName = dataList[0].name