Bläddra i källkod

分诊人体词维护添加添加部位类型

zhangxc 5 år sedan
förälder
incheckning
5b18927c54

+ 5 - 4
src/components/icss/AddMedicalMultRelation.vue

@@ -113,7 +113,7 @@ import api from '@api/icss.js';
       ];
 
       return{
-        minTitle:'医学术语多层关联维护-添加',
+        minTitle:'分诊人体图数据维护-添加',
         list: JSON.parse(JSON.stringify(data)),
         defaultProps: {
           children: 'nodeList',
@@ -135,7 +135,7 @@ import api from '@api/icss.js';
       if(isEdit) {
           // console.log('dataa', data)
           this.isEdit = isEdit
-          this.minTitle = '医学术语多层关联维护-修改'
+          this.minTitle = '分诊人体图数据维护-修改'
           const item = JSON.parse(JSON.stringify(data))
           item.level = 0
           item.nodeList = this.IteraNodeList(item.nodeList, [], 1)
@@ -222,8 +222,9 @@ import api from '@api/icss.js';
           "excludedConceptIds": this.excludedConceptIds,
           "relationId": 17,
           "relationPosition": 1,
+          "typeId": this.addLevel === 0 ? 52 : this.addLevel === 1 ? 3 : 1
         }
-        if(this.addLevel == '1') {
+        if(this.addLevel > 0) {
           param.relationPosition = 2
           param.relationConceptId = this.relationConceptId
         }
@@ -261,7 +262,7 @@ import api from '@api/icss.js';
         this.$refs['conceptSearch'].style.display = "none";
       },
       append(data, e) {
-          this.addLevel = 1;
+          this.addLevel = data.level+1;
           this.relationConceptId = data.conceptId
           this.operaList = data;
           this.openSearch(e);

+ 5 - 3
src/components/icss/MedicalMultRelation.vue

@@ -1,6 +1,6 @@
 <template>
     <div>
-        <crumbs title="医学术语多层关联维护" minWidth="995px">
+        <crumbs title="分诊人体图数据维护" minWidth="995px">
             <el-form :inline="true" class="demo-form-inline">
                 <el-form-item label="标准术语名词:">
                     <el-input size="mini" v-model="filter.term" placeholder="输入术语"></el-input>
@@ -190,8 +190,10 @@
           name: this.filter.term,
           current: this.currentPage,
           size: this.pageSize,
-          type:this.filter.type,
-          isDeleted:this.isState
+          type: this.filter.type,
+          isDeleted: this.isState,
+          relationId: 17,
+          startTypeIds: [52]
         };
         return param;
       },