/*
 * @Author: XianKaiQun
 * @Date: 2020-07-15 15:46:27
 * @LastEditors  : WuWei
 * @LastEditTime : 2021-05-27 10:20:18
 * @Description: 
 */
import 'package:app_package/app_package.dart';
import '../../src/models/dashboard_department.dart';
import '../../src/models/dashboard_person.dart';
import '../../src/models/dashboard_staff.dart';

////任务仪表盘
abstract class DashboardService {
  ///http://yapi.wisdomcity.com.cn/project/40/interface/api/8399
  ///任务仪表盘 - 个人相关任务和年度执行力指数
  Future<ResModel<DashboardPersonModel>> getPerson();

  ///http://yapi.wisdomcity.com.cn/project/40/interface/api/8401
  ///任务仪表盘 - 与登录人同部门的人员总计
  Future<ResModel<List<DashboardStaffModel>?>> getStaff();

  ///http://yapi.wisdomcity.com.cn/project/40/interface/api/8403
  ///任务仪表盘 - 登录人员部门角色下的任务总计
  Future<ResModel<DashboardDepartmentModel>> getDepartment();
}
