Ver código fonte

专利申请修改

guhongwei 3 anos atrás
pai
commit
9709b585e2

+ 0 - 6
app/controller/patent/.patentapply.js

@@ -5,8 +5,6 @@ module.exports = {
       "user_name",
       "mech_id",
       "mech_name",
-      "admin_id",
-      "admin_name",
       "agentmech_id",
       "agentmech_name",
       "create_number",
@@ -34,8 +32,6 @@ module.exports = {
       "user_name",
       "mech_id",
       "mech_name",
-      "admin_id",
-      "admin_name",
       "agentmech_id",
       "agentmech_name",
       "create_number",
@@ -65,8 +61,6 @@ module.exports = {
         user_name: "%user_name%",
         mech_id: "mech_id",
         mechanism_name: "%mech_name%",
-        admin_id: "admin_id",
-        admin_name: "%admin_name%",
         agentmech_id: "agentmech_id",
         agentmech_name: "%agentmech_name%",
         create_number: "%create_number%",

+ 0 - 3
app/model/patent/patentapply.js

@@ -9,8 +9,6 @@ const patentapply = {
   user_name: { type: String }, // 用户姓名
   mech_id: { type: ObjectId }, // 机构id
   mech_name: { type: String }, // 机构名称
-  admin_id: { type: ObjectId }, // 管理员id
-  admin_name: { type: String }, // 管理员姓名
   agentmech_id: { type: ObjectId }, // 代理机构id
   agentmech_name: { type: String }, // 代理机构姓名
   create_number: { type: String }, // 申请号
@@ -32,7 +30,6 @@ const schema = new Schema(patentapply, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });
 schema.index({ user_id: 1 });
 schema.index({ mech_id: 1 });
-schema.index({ admin_id: 1 });
 schema.index({ agentmech_id: 1 });
 schema.index({ create_number: 1 });
 schema.index({ name: 1 });