Browse Source

增加查询条件问卷id

liuyu 5 năm trước cách đây
mục cha
commit
56f57a5152
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/uploadquestion.js

+ 1 - 1
app/service/uploadquestion.js

@@ -19,7 +19,7 @@ class UploadquestionService extends CrudService {
   // 完成度查询
   async completion(data) {
     const { type, typeid, trainplanid, questionnaireid } = data;
-    assert(type && typeid, '缺少部分信息项');
+    assert(type && typeid && questionnaireid, '缺少部分信息项');
     const datas = [];
     let answertotal = '';
     let alltotal = '';