新增查看页面
This commit is contained in:
39
web-vue/packages/biz/api/biz/areaSource.ts
Normal file
39
web-vue/packages/biz/api/biz/areaSource.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* 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, TreeDataModel, TreeModel } from '@jeesite/core/api/model/baseModel';
|
||||
const { adminPath } = useGlobSetting();
|
||||
|
||||
export interface BizAreaSource extends BasicModel<BizAreaSource> {
|
||||
createTime: string; // 记录时间
|
||||
areaId: string; // 区域标识
|
||||
areaCode?: string; // 区域编号
|
||||
areaName?: string; // 区域名称
|
||||
pareaCode?: string; // 上级编号
|
||||
areaLevel: number; // 区域级别
|
||||
treeName?: string; // 区域地址
|
||||
updateTime?: string; // 更新时间
|
||||
areaStatus?: string; // 区域状态
|
||||
}
|
||||
|
||||
export const bizAreaSourceList = (params?: BizAreaSource | any) =>
|
||||
defHttp.get<BizAreaSource>({ url: adminPath + '/biz/areaSource/list', params });
|
||||
|
||||
export const bizAreaSourceListData = (params?: BizAreaSource | any) =>
|
||||
defHttp.post<Page<BizAreaSource>>({ url: adminPath + '/biz/areaSource/listData', params });
|
||||
|
||||
export const bizAreaSourceForm = (params?: BizAreaSource | any) =>
|
||||
defHttp.get<BizAreaSource>({ url: adminPath + '/biz/areaSource/form', params });
|
||||
|
||||
export const bizAreaSourceSave = (params?: any, data?: BizAreaSource | any) =>
|
||||
defHttp.postJson<BizAreaSource>({ url: adminPath + '/biz/areaSource/save', params, data });
|
||||
|
||||
export const bizAreaSourceDelete = (params?: BizAreaSource | any) =>
|
||||
defHttp.get<BizAreaSource>({ url: adminPath + '/biz/areaSource/delete', params });
|
||||
|
||||
export const bizAreaSourceTreeData = (params?: any) =>
|
||||
defHttp.get<TreeDataModel[]>({ url: adminPath + '/biz/areaSource/treeData', params });
|
||||
@@ -5,11 +5,10 @@
|
||||
*/
|
||||
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 { BasicModel, Page, TreeDataModel, TreeModel } from '@jeesite/core/api/model/baseModel';
|
||||
import { UploadApiResult } from '@jeesite/core/api/sys/upload';
|
||||
import { UploadFileParams } from '@jeesite/types/axios';
|
||||
import { AxiosProgressEvent } from 'axios';
|
||||
import { TreeDataModel, TreeModel, Page } from '@jeesite/core/api/model/baseModel';
|
||||
|
||||
const { ctxPath, adminPath } = useGlobSetting();
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ export interface BizProjectRequirements extends BasicModel<BizProjectRequirement
|
||||
requirementId?: string; // 需求标识
|
||||
requirementName: string; // 需求名称
|
||||
requirementCode?: string; // 需求编号
|
||||
areaLevel?: string;
|
||||
areaCode: string; // 项目区域
|
||||
requirementDescription?: string; // 需求描述
|
||||
startTime?: string; // 开始时间
|
||||
|
||||
Reference in New Issue
Block a user