@gtrmt/document-manager-api
Advanced tools
Comparing version 1.0.146 to 1.0.153
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.146", | ||
"version": "1.0.153", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -37,2 +37,3 @@ "use strict"; | ||
addTv: api_1.HTTP([], ''), | ||
addPoster: api_1.HTTP([], ''), | ||
group: api_1.HTTP([], ''), | ||
@@ -44,4 +45,4 @@ // 获取个人统计数据 | ||
getExamineCompete: api_1.HTTP([], ''), | ||
// 获取领导对应的部门或人员 | ||
getRelatedPerson: api_1.HTTP([], '') | ||
// 根据姓名获取通讯员 | ||
getUser: api_1.HTTP([], ''), | ||
}; |
@@ -14,4 +14,3 @@ "use strict"; | ||
leaderNumber: api_1.DB_CRUD(DbSchema_1.schemas.leaderNumber, {}, ['user'], 'admin'), | ||
taskFlow: api_1.DB_CRUD(DbSchema_1.schemas.taskFlow, {}, ['user'], 'admin'), | ||
correspondent: api_1.DB_CRUD(DbSchema_1.schemas.correspondent, {}, ['user'], 'admin') | ||
}; |
@@ -76,3 +76,3 @@ "use strict"; | ||
}), | ||
taskFlow: new api_1.DbSchema( | ||
correspondent: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
@@ -87,3 +87,3 @@ {}, | ||
}), | ||
correspondent: new api_1.DbSchema( | ||
appraising: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
@@ -98,12 +98,8 @@ {}, | ||
}), | ||
appraising: new api_1.DbSchema( | ||
// 测试数据库 | ||
test: new api_1.DbSchema( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}) | ||
{}), | ||
}); |
{ | ||
"name": "@gtrmt/document-manager-api", | ||
"version": "1.0.146", | ||
"version": "1.0.153", | ||
"description": "稿件管理api", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -34,3 +34,3 @@ /** | ||
), | ||
getDocumentList: HTTP< | ||
@@ -124,2 +124,6 @@ { type: string, task: string, skip: number, deptName: string, title: string }, | ||
>([], ''), | ||
addPoster: HTTP< | ||
{ title: string, content: string }, | ||
{ status: number; data?: any; msg?: string } | ||
>([], ''), | ||
group: HTTP< | ||
@@ -143,7 +147,7 @@ { taskTile: string }, | ||
>([], ''), | ||
// 获取领导对应的部门或人员 | ||
getRelatedPerson: HTTP< | ||
{ userid: string, userName: string}, | ||
// 根据姓名获取通讯员 | ||
getUser: HTTP< | ||
{ name: string }, | ||
{ status: number; data?: any; msg?: string } | ||
>([], '') | ||
>([], ''), | ||
}; |
@@ -12,4 +12,3 @@ import { DB_CRUD, DB_R, DB_RU } from '@vmm/api'; | ||
leaderNumber: DB_CRUD(schemas.leaderNumber, {}, ['user'], 'admin'), | ||
taskFlow: DB_CRUD(schemas.taskFlow, {}, ['user'], 'admin'), | ||
correspondent: DB_CRUD(schemas.correspondent, {}, ['user'], 'admin') | ||
}; |
@@ -31,3 +31,8 @@ import { DbSchema, createDbSchemas } from '@vmm/api'; | ||
examine: Boolean, | ||
oneExamine: Boolean | ||
oneExamine: Boolean, | ||
release: Boolean, //下达权限 | ||
report: Boolean, //上报权限 | ||
deptPower: Boolean, //设置部门任务权限 | ||
centrePower: Boolean, //设置中心任务权限 | ||
statistics: Boolean, //设置统计权限 | ||
} | ||
@@ -87,3 +92,3 @@ export interface ILeaderNumber { | ||
inventory_docs: object[], | ||
oneAgree:object[] | ||
oneAgree: object[] | ||
} | ||
@@ -109,15 +114,3 @@ export interface IDocumentUser { | ||
} | ||
// 定义任务流程表 | ||
export interface ITaskFlow { | ||
id: string, | ||
taskName: string, | ||
taskType: string, | ||
taskDetail: string, | ||
taskEndTime: Date, | ||
assign: string, | ||
leaderAdvice: string, | ||
feedback: object[], //层层下发 | ||
report: object[], //层层上报 | ||
isPublish: boolean | ||
} | ||
// 定义通讯员表 | ||
@@ -222,3 +215,3 @@ export interface ICorrespondent { | ||
), | ||
taskFlow: new DbSchema<ITaskFlow>( | ||
correspondent: new DbSchema<ICorrespondent>( | ||
// 数据库创建参数: | ||
@@ -234,3 +227,3 @@ {}, | ||
), | ||
correspondent: new DbSchema<ICorrespondent>( | ||
appraising: new DbSchema<IAppraising>( | ||
// 数据库创建参数: | ||
@@ -246,13 +239,9 @@ {}, | ||
), | ||
appraising: new DbSchema<IAppraising>( | ||
// 测试数据库 | ||
test: new DbSchema<any>( | ||
// 数据库创建参数: | ||
{}, | ||
// 数据库索引: | ||
{ | ||
id: { | ||
fields: { id: 1 }, | ||
options: { unique: true, sparse: false, dropDups: true }, | ||
}, | ||
}, | ||
) | ||
{}, | ||
), | ||
} | ||
@@ -259,0 +248,0 @@ ) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25429
19
763