DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
940ea46ced

+ 1 - 0
src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/yz-edit/YzEditor.vue

@@ -477,6 +477,7 @@ const pingLv = ref()
 const yaoPinPingLvData = ref([])
 // 获取药品频率
 const pinLvRemoteMethod = (val) => {
+  if (val.length < 0) return
   huoQuZhuYuanPinLv(val).then((res) => {
     yaoPinPingLvData.value = res
   })

+ 7 - 2
src/views/hospitalization/zhu-yuan-yi-sheng/Home.vue

@@ -12,7 +12,7 @@
         <div class="tag">
           <div v-for="(item,index) in pathList"
                :style="currentPagePosition(item.path)"
-               @click="item.func? item.func(index) :  handleClick(item.path,item.disable)">
+               @click="item.func? item.func(index) : handleClick(item.path,item.disable)">
               <span>
                 {{ item.title }}
               </span>
@@ -106,7 +106,6 @@ let pathList = $ref([
         })
         window.open(routeData.href, '_blank');
       }
-
     }
   },
   {
@@ -116,6 +115,12 @@ let pathList = $ref([
         window.open(res)
       })
     }
+  },
+  {
+    title: '病历模板', func: () => {
+      window.open('http://webhis.thyy.cn:9281/', '_blank')
+    },
+    disable: true
   }
 ])