更新登录代码

保存坐席的信息,用于获取业绩数据。
This commit is contained in:
2023-05-09 22:42:20 +08:00
parent 8e9e36bb58
commit d0c9383bf8
12 changed files with 68 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
*/
import { service as instance } from "./api/request.js";
import { API_URL } from "./api/config.js";
import { type Department } from "@/types/cpicxim/Department.js";
// import { type AxiosResponse } from "axios";
interface Archievement
@@ -28,7 +29,7 @@ interface Archievement
* 获取部门业绩数据,并调用回调函数进行渲染。
* @param render 用于给组件更新数据的回调函数
*/
function queryDepartmentArchievement( render: any ): void
function queryDepartmentArchievement( departmentInfo: Department, render: any ): void
{
instance.request({
method: "post",