Browse Source

更改部门

Limengbo 5 years ago
parent
commit
40c45e01b3
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/api/teamApi.js
  2. 2 2
      src/pages/manage/index.vue

+ 1 - 1
src/api/teamApi.js

@@ -7,7 +7,7 @@ export function getTeamList (deptId) {
     url: baseApi + 'manageBase/dept/tree',
     method: 'get',
     params: {
-      deptId: 123456
+      deptId: 12345
     }
   })
 }

+ 2 - 2
src/pages/manage/index.vue

@@ -24,9 +24,9 @@
           </template>
         </el-table-column>
         <el-table-column
-          label="类型">
+          label="收入状态">
             <template slot-scope="props">
-              <span>{{ props.row.type == 'COST' ? '成本' : '收入' }}</span>
+              <span>{{ props.row.incomeStatus == 'INVOICE' ? '开票/应收' : props.row.incomeStatus == 'ARRIVAL' ? '到账' : '内部核算' }}</span>
             </template>
         </el-table-column>  
         <el-table-column