更新登录代码
保存坐席的信息,用于获取业绩数据。
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user