Browse Source

新增页面

cehn 7 months ago
parent
commit
1a00ac34ae

+ 2 - 2
projects/textbook/src/modules/nav-province-contact/page-process/process-list/process-list.component.html

@@ -220,7 +220,7 @@
           <div class="lable">评审数量:</div>
           <div class="val">未设置</div>
         </div>
-        <!-- <div class="examine-fonter">
+        <div class="examine-fonter">
           <button
             style="background: #3e49b3; border: 1px #3e49b3; margin-right: 50px"
             nz-button
@@ -245,7 +245,7 @@
           >
             计算平均分
           </button>
-        </div> -->
+        </div>
       </div>
     </nz-tab>
   </nz-tabset>

+ 50 - 0
server/db/schemas/ExpertGroup.js

@@ -0,0 +1,50 @@
+/* 评审表 */
+export const ExpertGroup = {
+  "className": "ExpertGroup",
+  "fields": {
+    "name":{//活动名称
+      "type": "String",
+      "required": false
+    },
+    "eduProcess": { //评审教材
+      "type": "Pointer",
+      "targetClass": "EduProcess",
+      "required": false
+    },
+    "textbookList": {//评审教材列表
+      "type": "Array",
+      "required": false
+    },
+    "reviewList": {//评审教师列表
+      "type": "Array",
+      "required": false
+    }
+  },
+  "classLevelPermissions": {
+    "find": {
+      "*": true
+    },
+    "get": {
+      "*": true
+    },
+    "count": {
+      "*": true
+    },
+    "create": {
+      "*": true
+    },
+    "update": {
+      "*": true
+    },
+    "delete": {
+      "*": true
+    },
+    "addField": {
+      "*": true
+    },
+    "protectedFields": {
+      "*": []
+    }
+  }
+}
+module.exports.ExpertGroup = ExpertGroup