Bläddra i källkod

icu的患者在任何科室都可以看到

xiaochan 2 år sedan
förälder
incheckning
9703a390aa

+ 17 - 2
src/api/zhu-yuan-yi-sheng/resident-doctor.js

@@ -1,8 +1,23 @@
 import request from '@/utils/request'
 
-export function getAllWards() {
-    return request({
+export async function getAllWards() {
+    let data = await request({
         url: '/residentDoctor/getAllWards',
         method: 'get',
     })
+
+    data.push({
+        "code": "8000160",
+        "name": "ICU病室",
+        "pyCode": "ICUBS",
+        "ssfz": null,
+        "deptName": null,
+        "ybCode": null,
+        "statusFlag": null,
+        "disabled": false,
+        "value": "8000160",
+        "label": "ICU病室"
+    })
+
+    return data
 }

+ 5 - 0
src/components/xiao-chan/xc-table-v2/XcTableV2.vue

@@ -345,6 +345,11 @@ defineExpose({
       display: flex;
       align-items: center;
       border-bottom: 1px solid #ebeef5;
+
+      &:hover {
+        background-color: #e0ecff;
+      }
+
     }
 
     .cell {

+ 8 - 1
src/components/zhu-yuan-yi-sheng/emr/EmrSidebar.vue

@@ -268,6 +268,13 @@ const queryData = () => {
 }
 
 const fileName = (val) => {
+    if (val.jump) {
+        let tempDate = val.trueCreationTime
+        if (!tempDate) {
+            tempDate = val.createDate
+        }
+        return val.name + nullToEmpty(val.createName) + nullToEmpty(tempDate)
+    }
     if (templateType === 2) {
         return val.name + nullToEmpty(val.createName) + nullToEmpty(val.createDate)
     } else {
@@ -282,7 +289,7 @@ const nullToEmpty = (val) => {
 const mousePosition = ref()
 const opt = [
     {
-        name: '打开', click: (data) => {
+        name: '打开(只读)', click: (data) => {
             if (!data.unlock.id) {
                 xcMessage.error('请选中保存的病历。')
                 return