新增前端vue
This commit is contained in:
@@ -16,12 +16,12 @@ export interface BizListItem extends BasicModel<BizListItem> {
|
||||
createTime?: string; // 创建时间
|
||||
avatar?: string; // 头像图标
|
||||
title: string; // 通知标题
|
||||
titleDelete?: string; // 是否删除
|
||||
titleDelete?: boolean;
|
||||
datetime?: string; // 发送时间
|
||||
type: string; // 类型标识
|
||||
readFlag?: string; // 是否已读
|
||||
readFlag?: boolean; // 是否已读
|
||||
description: string; // 描述信息
|
||||
clickClose?: string; // 是否关闭
|
||||
clickClose?: boolean; // 是否关闭
|
||||
extra?: string; // 待办状态
|
||||
color?: string; // 颜色值
|
||||
updateTime: string; // 更新时间
|
||||
@@ -34,8 +34,11 @@ export interface BizListItem extends BasicModel<BizListItem> {
|
||||
export interface TabItem {
|
||||
key: string;
|
||||
name: string;
|
||||
count: number;
|
||||
count?: number;
|
||||
btnHref?: string;
|
||||
btnText?: string;
|
||||
list: BizListItem[];
|
||||
unreadlist?: BizListItem[];
|
||||
}
|
||||
|
||||
export const tabListDataAll = () =>
|
||||
|
||||
58
web-vue/packages/biz/api/biz/projectInfo.ts
Normal file
58
web-vue/packages/biz/api/biz/projectInfo.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
|
||||
* No deletion without permission, or be held responsible to law.
|
||||
* @author gaoxq
|
||||
*/
|
||||
import { defHttp } from '@jeesite/core/utils/http/axios';
|
||||
import { useGlobSetting } from '@jeesite/core/hooks/setting';
|
||||
import { BasicModel, Page } from '@jeesite/core/api/model/baseModel';
|
||||
import { UploadApiResult } from '@jeesite/core/api/sys/upload';
|
||||
import { UploadFileParams } from '@jeesite/types/axios';
|
||||
import { AxiosProgressEvent } from 'axios';
|
||||
|
||||
const { ctxPath, adminPath } = useGlobSetting();
|
||||
|
||||
export interface BizProjectInfo extends BasicModel<BizProjectInfo> {
|
||||
createTime?: string; // 记录时间
|
||||
projectId?: string; // 唯一标识
|
||||
projectCode: string; // 项目编码
|
||||
projectName: string; // 项目名称
|
||||
projectDesc: string; // 项目描述
|
||||
startDate?: string; // 开始日期
|
||||
endDate?: string; // 预计结束日期
|
||||
actualEndDate?: string; // 实际结束日期
|
||||
employeeId: string; // 员工列表
|
||||
projectType: string; // 项目类型
|
||||
projectStatus: string; // 项目状态
|
||||
ftenantId?: string; // 租户id
|
||||
fflowId?: string; // 流程id
|
||||
fflowTaskId?: string; // 流程任务主键
|
||||
fflowState?: number; // 流程任务状态
|
||||
}
|
||||
|
||||
export const bizProjectInfoList = (params?: BizProjectInfo | any) =>
|
||||
defHttp.get<BizProjectInfo>({ url: adminPath + '/biz/projectInfo/list', params });
|
||||
|
||||
export const bizProjectInfoListData = (params?: BizProjectInfo | any) =>
|
||||
defHttp.post<Page<BizProjectInfo>>({ url: adminPath + '/biz/projectInfo/listData', params });
|
||||
|
||||
export const bizProjectInfoForm = (params?: BizProjectInfo | any) =>
|
||||
defHttp.get<BizProjectInfo>({ url: adminPath + '/biz/projectInfo/form', params });
|
||||
|
||||
export const bizProjectInfoSave = (params?: any, data?: BizProjectInfo | any) =>
|
||||
defHttp.postJson<BizProjectInfo>({ url: adminPath + '/biz/projectInfo/save', params, data });
|
||||
|
||||
export const bizProjectInfoImportData = (
|
||||
params: UploadFileParams,
|
||||
onUploadProgress: (progressEvent: AxiosProgressEvent) => void,
|
||||
) =>
|
||||
defHttp.uploadFile<UploadApiResult>(
|
||||
{
|
||||
url: ctxPath + adminPath + '/biz/projectInfo/importData',
|
||||
onUploadProgress,
|
||||
},
|
||||
params,
|
||||
);
|
||||
|
||||
export const bizProjectInfoDelete = (params?: BizProjectInfo | any) =>
|
||||
defHttp.get<BizProjectInfo>({ url: adminPath + '/biz/projectInfo/delete', params });
|
||||
Reference in New Issue
Block a user