guhongwei 3 年之前
父节点
当前提交
c25f11f6fc
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      app/controller/patent/.patentanalysis.js
  2. 1 0
      app/model/patent/patentanalysis.js

+ 2 - 0
app/controller/patent/.patentanalysis.js

@@ -15,6 +15,7 @@ module.exports = {
       "email",
       "questions",
       "status",
+      "file",
     ],
   },
   destroy: {
@@ -38,6 +39,7 @@ module.exports = {
       "email",
       "questions",
       "status",
+      "file",
     ],
   },
   show: {

+ 1 - 0
app/model/patent/patentanalysis.js

@@ -18,6 +18,7 @@ const patentanalysis = {
   phone: { type: String }, // 联系人电话
   email: { type: String }, // 联系人邮箱
   questions: { type: Object }, // 问题
+  file: { type: Array }, // 报告文件
   record: { type: Array }, // 记录
   status: { type: String, default: '0' }, // 状态
   remark: { type: String },