|
@@ -388,10 +388,10 @@ class IndexService extends CrudService {
|
|
|
const unread = await patentExamine.count({ to: id, is_read: false });
|
|
|
// 专利申请
|
|
|
const papply = this.ctx.model.Patent.Patentapply;
|
|
|
- const apply = await papply.count({ status: [ '0', '1', '-1', '-2' ], user_id: id });
|
|
|
+ const apply = await papply.count({ status: [ '0', '1', '-1', '2', '-2' ], user_id: id });
|
|
|
// 查询检索
|
|
|
const palysis = this.ctx.model.Patent.Patentanalysis;
|
|
|
- const analysis = await palysis.count({ status: [ '0', '-1' ], user_id: id });
|
|
|
+ const analysis = await palysis.count({ status: [ '0', '1', '-1', '2' ], user_id: id });
|
|
|
// 价值评估
|
|
|
const paccess = this.ctx.model.Patent.Patentassess;
|
|
|
const access = await paccess.count({ status: [ '0', '-1' ], user_id: id });
|