소스 검색

修改列表和搜索传参

zhangxc 5 년 전
부모
커밋
50fe194827
2개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 2
      src/components/medicalTerm/AddAssistCheckMultRelation.vue
  2. 2 1
      src/components/medicalTerm/AssistCheckMultRelation.vue

+ 4 - 2
src/components/medicalTerm/AddAssistCheckMultRelation.vue

@@ -239,9 +239,11 @@ import apis from '@api/medicalTerm.js';
           "relationPosition": 1,
           "typeId": this.addLevel === 0 ? 71 : 16
         }
+        if(this.addLevel === 0) {
+          param.relationTypeId = 16
+        }
         if(this.addLevel > 0) {
-          param.relationPosition = 2
-          param.relationConceptId = this.relationConceptId
+          param.relationPosition = 0
         }
         
         api.getConceptInfoAssay(param).then((res) => {

+ 2 - 1
src/components/medicalTerm/AssistCheckMultRelation.vue

@@ -174,7 +174,8 @@
           current: this.currentPage,
           size: this.pageSize,
           relationId: 17,
-          startTypeIds: [71]
+          startTypeIds: [71],
+          isOnlyHasRoot: 0
         };
         return param;
       },