luolei 4 lat temu
rodzic
commit
b2cabf31c7

+ 7 - 3
src/components/basicKnow/AddTerm.vue

@@ -841,7 +841,9 @@ export default {
         realData[i].conceptId = undefined;
         realData[i].status = undefined;
         realData[i].libType = this.data.code||this.data.typeId;
-
+        if(this.copy){
+          realData[i].libId = undefined
+        }
         // obj.isConcept=realData[i].isConcept
         // obj.remark=realData[i].remark
         // obj.spell=realData[i].spell
@@ -879,6 +881,7 @@ export default {
       //   this.warning('请输入填写单患者界面展示通俗内容');
       //   return;
       // }
+      console.log(this.data.typeId,this.data.code)
       let params,sexCode=null;
       if (this.showMore == 1) {// 下拉文字转code
         this.sex.map((v, i) => {
@@ -893,7 +896,7 @@ export default {
           remark: this.data.remark,
           spell: this.data.spell,
           status: this.data.status||1,
-          libType: this.data.typeId||this.data.code,
+          libType: this.data.code||this.data.typeId,
           // typeId:this.data.typeId,
           synonymName: this.data.synonymName,
           isHasCommon: 1,
@@ -915,7 +918,7 @@ export default {
           remark: this.data.remark,
           spell: this.data.spell,
           status: this.data.status||1,
-          libType: this.data.typeId||this.data.code,
+          libType: this.data.code||this.data.typeId,
           // typeId:this.data.typeId||this.data.code,
           libId: this.copy ? '' :this.data.libId,
           isHasCommon: this.data.isHasCommon||0,
@@ -958,6 +961,7 @@ export default {
       // console.log("输入年龄")
     },
     selectType(e) {
+      console.log(e)
       this.typeList.map((v, i) => {
         if (v.name == e) {
           this.showMore = v.isHasCommon;

+ 5 - 0
src/components/basicKnow/SearchList.vue

@@ -15,6 +15,7 @@
         :key="item.conceptId">
         {{item.conceptName}}
       </li>
+      <li class="noresult" v-if="conceptList.length==0">暂无结果~</li>
     </ul>
   </div>
 </template>
@@ -113,4 +114,8 @@ export default {
     }
   }
 }
+.noresult {
+  padding: 20px 0;
+  color: #ccc;
+}
 </style>

+ 1 - 1
src/components/basicKnow/TreeTab.vue

@@ -47,7 +47,7 @@ export default {
   right: 20px;
   left: 270px;
   z-index: 10;
-  border-top: 30px solid #dee2ea;
+  border-top: 28px solid #dee2ea;
   border-bottom: 10px solid #dee2ea;
   box-sizing: border-box;
   ul {

+ 7 - 4
src/components/knowledgeExtra/KnowledgeAll.vue

@@ -329,9 +329,9 @@ export default {
 <style lang="less" scoped>
 @import "../../less/admin.less";
 .updataData {
-  position:absolute;
+  position:fixed;
   right:20px;
-  top:0;
+  top:60px;
   z-index:100;
   height:40px;
   line-height:40px;
@@ -448,12 +448,15 @@ export default {
   background: #fff;
   padding: 40px 20px 30px;
   color: #545455;
- 
 }
 
 .btn {
-  text-align: center;
+  // text-align: center;
   margin-top: 20px;
+  position: fixed;
+  bottom: 30px;
+  width: 100%;
+  left: 60%;
 }
 .custom-tree-node-name {
   display: inline-block;

+ 1 - 1
src/components/knowledgeExtra/StaticInfo.vue

@@ -1,6 +1,6 @@
 <template>
     <div>
-        <crumbs title="医学术语静态知识维护">
+        <crumbs title="静态信息维护">
             <el-form :inline="true" class="demo-form-inline">
                 <el-form-item label="标准术语归类:">
                     <el-select size="mini" v-model="filter.libType" placeholder="标准术语归类" clearable>