xiaochan 10 ماه پیش
والد
کامیت
c54b56bc57

+ 0 - 37
public/test.html

@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>Title</title>
-    <style>
-        html, body {
-            height: 100%;
-            width: 100%;
-            margin: 0;
-            padding: 0;
-        }
-
-        iframe {
-            width: 100%;
-            height: 100%;
-            border-style: unset;
-            display: block;
-            padding: 0;
-            margin: 0;
-        }
-
-    </style>
-</head>
-<script>
-    function test() {
-        console.log(123)
-    }
-</script>
-<body>
-<iframe
-        id="iframe"
-        class="layout_full_iframe"
-        src="http://172.16.30.66:5173/#/hospitalEmr?patNo=0425985&times=1"
-/>
-</body>
-</html>

+ 92 - 79
src/App.vue

@@ -1,65 +1,66 @@
 <template>
-  <router-view/>
-  <soctet-dialog v-if="socketErrDialog"/>
-  <progress-bar/>
-  <JsDialogComp/>
-  <CyDialogV2/>
+  <router-view />
+  <SocketDialog v-if="socketErrDialog" />
+  <progress-bar />
+  <JsDialogComp />
+  <CyDialogV2 />
 </template>
 
 <script setup lang="jsx">
-import {setCallback, socketErrDialog} from "@/utils/websocket";
-import {ElMessageBox, ElNotification} from "element-plus";
+import { setCallback, socketErrDialog } from "@/utils/websocket";
+import { ElMessageBox, ElNotification } from "element-plus";
 import sleep from "@/utils/sleep";
-import SoctetDialog from "@/components/xiao-chan/websocket/SoctetDialog.vue";
+import SocketDialog from "@/components/xiao-chan/websocket/SocketDialog.vue";
 import router from "@/router";
 import ProgressBar from "@/components/xiao-chan/progress-bar/ProgressBar.vue";
-import {formatDateToStr} from '@/utils/moment-utils'
-import {ElLink} from 'element-plus'
+import { formatDateToStr } from "@/utils/moment-utils";
+import { ElLink } from "element-plus";
 import JsDialogComp from "@/components/js-dialog-comp/JsDialogComp.vue";
-import {CyMessageBox} from "@/components/cy/message-box";
-import {useProgressBarStore} from "@/pinia/progress-bar-store";
-import {useUserStore} from "@/pinia/user-store";
-import {useSystemStore} from "@/pinia/system-store";
+import { CyMessageBox } from "@/components/cy/message-box";
+import { useProgressBarStore } from "@/pinia/progress-bar-store";
+import { useUserStore } from "@/pinia/user-store";
+import { useSystemStore } from "@/pinia/system-store";
 import useChangeToken from "@/utils/cy-use/useChangeToken";
 import CyDialogV2 from "@/components/cy/CyDialog/index.vue";
 
-const progressBarStore = useProgressBarStore()
-const systemStore = useSystemStore()
+const progressBarStore = useProgressBarStore();
+const systemStore = useSystemStore();
 
-useChangeToken()
+useChangeToken();
 
 progressBarStore.initialize({
-  title: '数据上传',
+  title: "数据上传",
   isOpen: false,
   abnormalClosing: false,
-})
+});
 
 function avatarNotification(data) {
   const message = (
-      <div>
-        <div>
-          科室: {data.deptName}
-        </div>
-        <div>
-          {data.msg}
-        </div>
-      </div>
-  )
+    <div>
+      <div>科室: {data.deptName}</div>
+      <div>{data.msg}</div>
+    </div>
+  );
 
   ElNotification({
-    icon: <img src={data.avatar} style={{width: '32px', height: "32px", borderRadius: '16px'}} alt=""/>,
+    icon: (
+      <img
+        src={data.avatar}
+        style={{ width: "32px", height: "32px", borderRadius: "16px" }}
+        alt=""
+      />
+    ),
     title: data.title,
     message: message,
     dangerouslyUseHTMLString: true,
     duration: 0,
-  })
+  });
 }
 
-
-function checkTheCallbacks({data, isAdd}) {
+function checkTheCallbacks({ data, isAdd }) {
   const message = (
-      <table style="width: 100%">
-        <tbody>
+    <table style="width: 100%">
+      <tbody>
         <tr>
           <td style="padding-right: 8px">患者:</td>
           <td>{data.patientName}</td>
@@ -74,82 +75,94 @@ function checkTheCallbacks({data, isAdd}) {
         </tr>
         <tr>
           <td colspan="2" style="text-ali">
-            <ElLink type="primary" target="_blank"
-                    href={`http://172.16.32.122:8099/mReport?REQUISITIONID=${data.reqNo}`}>
+            <ElLink
+              type="primary"
+              target="_blank"
+              href={`http://172.16.32.122:8099/mReport?REQUISITIONID=${data.reqNo}`}
+            >
               查看图像
             </ElLink>
           </td>
         </tr>
-        </tbody>
-      </table>
-  )
+      </tbody>
+    </table>
+  );
 
   ElNotification({
-    title: isAdd ? '检查结果返回' : '修改检查结果',
+    title: isAdd ? "检查结果返回" : "修改检查结果",
     message: message,
     dangerouslyUseHTMLString: true,
-    type: 'success',
-    position: 'bottom-right',
-    duration: 0
-  })
+    type: "success",
+    position: "bottom-right",
+    duration: 0,
+  });
 }
 
 function systemNotification(data) {
   if (data.count) {
-    systemStore.addUnreadMessageCount(data.count)
+    systemStore.addUnreadMessageCount(data.count);
   }
 
   if (data.refreshDelay) {
     sleep(data.refreshDelay).then(() => {
       location.reload();
-    })
+    });
   }
 
   if (data?.donTDisplay) {
-    return
+    return;
   }
 
   ElNotification({
-    title: data.title ?? '新消息',
-    message: h('pre', {
-      class: 'message_pre'
-    }, data.message),
+    title: data.title ?? "新消息",
+    message: h(
+      "pre",
+      {
+        class: "message_pre",
+      },
+      data.message
+    ),
     dangerouslyUseHTMLString: true,
-    type: data.title ?? 'warning',
+    type: data.title ?? "warning",
     duration: 0,
-  })
+  });
 }
 
 onMounted(() => {
-  setCallback('refreshToken', (data) => {
-    useUserStore().setToken(data.token)
-  })
-
-  setCallback('sidSingle', async () => {
-    localStorage.clear()
-    await router.push('/login')
-    await ElMessageBox.alert('您的账号已在其他地方登陆,如需修改密码请在个人中心中修改。', '提示', {
-      type: 'warning',
-    })
-  })
-
-  setCallback('criticalValue', (data) => {
+  setCallback("refreshToken", data => {
+    useUserStore().setToken(data.token);
+  });
+
+  setCallback("sidSingle", async () => {
+    localStorage.clear();
+    await router.push("/login");
+    await ElMessageBox.alert(
+      "您的账号已在其他地方登陆,如需修改密码请在个人中心中修改。",
+      "提示",
+      {
+        type: "warning",
+      }
+    );
+  });
+
+  setCallback("criticalValue", data => {
     CyMessageBox({
-      title: '患者危急值',
+      title: "患者危急值",
       message: data.message,
-      type: 'error',
-      confirmButtonText: '前往处理',
-      cancelButtonText: '关闭'
-    }).then(() => {
-      router.push(`/inpatient/zhuYuanYiSheng/criticalValue?id=${data.id}`)
-    }).catch(() => {
+      type: "error",
+      confirmButtonText: "前往处理",
+      cancelButtonText: "关闭",
     })
-  })
-
-  setCallback('systemNotification', systemNotification)
-  setCallback('checkTheCallbacks', checkTheCallbacks)
-  setCallback('avatarNotification', avatarNotification);
-})
+      .then(() => {
+        router.push(`/inpatient/zhuYuanYiSheng/criticalValue?id=${data.id}`);
+      })
+      .catch(() => {});
+  });
+
+  setCallback("systemNotification", systemNotification);
+  setCallback("checkTheCallbacks", checkTheCallbacks);
+  setCallback("avatarNotification", avatarNotification);
+});
 </script>
 
 <style lang="scss">

+ 15 - 18
src/components/xiao-chan/websocket/SoctetDialog.vue → src/components/xiao-chan/websocket/SocketDialog.vue

@@ -1,30 +1,28 @@
 <template>
   <div class="dialog_main">
     <div class="loading">
-      <div class="header">
-        服务器断开连接
-      </div>
+      <div class="header">服务器断开连接</div>
       <div class="dialog_body">
-       <span class="svg-icon">
-        <i>
-          <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-ea893728="">
-            <path fill="currentColor"
-                  d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"></path>
-          </svg>
+        <span class="svg-icon">
+          <i>
+            <svg
+              viewBox="0 0 1024 1024"
+              xmlns="http://www.w3.org/2000/svg"
+              data-v-ea893728=""
+            >
+              <path
+                fill="currentColor"
+                d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
+              ></path>
+            </svg>
           </i>
-        <span style="color: red">
-          服务器升级中,重新连接 ...
+          <span style="color: red"> 服务器升级中,重新连接 ... </span>
         </span>
-      </span>
       </div>
     </div>
   </div>
 </template>
 
-<script setup name='SoctetDialog'>
-
-</script>
-
 <style scoped lang="scss">
 .dialog_main {
   position: fixed;
@@ -34,7 +32,7 @@
   left: 0;
   display: flex;
   justify-content: center;
-  background-color: rgba(0, 0, 0, .5);
+  background-color: rgba(0, 0, 0, 0.5);
   z-index: 99;
 
   .header {
@@ -80,7 +78,6 @@
   }
 }
 
-
 @keyframes fadenum {
   100% {
     transform: rotate(360deg);

+ 46 - 47
src/directives/v-waves.ts

@@ -1,53 +1,52 @@
-import {DirectiveBinding} from "vue";
+import { DirectiveBinding } from "vue";
 
 const VWaves = {
-    mounted(el: any, binding: DirectiveBinding<any>) {
-        el.classList.add('waves-effect');
-        binding.value && el.classList.add(`waves-${binding.value}`);
+  mounted(el: any, binding: DirectiveBinding) {
+    el.classList.add("waves-effect");
+    binding.value && el.classList.add(`waves-${binding.value}`);
 
-        function setConvertStyle(obj: { [key: string]: unknown }) {
-            let style: string = '';
-            for (let i in obj) {
-                if (obj.hasOwnProperty(i)) style += `${i}:${obj[i]};`;
-            }
-            return style;
-        }
+    function setConvertStyle(obj: { [key: string]: unknown }) {
+      let style: string = "";
+      for (let i in obj) {
+        if (obj.hasOwnProperty(i)) style += `${i}:${obj[i]};`;
+      }
+      return style;
+    }
 
-        function onCurrentClick(e: { [key: string]: unknown }) {
-            let elDiv = document.createElement('div');
-            elDiv.classList.add('waves-ripple');
-            el.appendChild(elDiv);
-            let styles = {
-                left: `${e.layerX}px`,
-                top: `${e.layerY}px`,
-                opacity: 1,
-                transform: `scale(${(el.clientWidth / 100) * 10})`,
-                'transition-duration': `750ms`,
-                'transition-timing-function': `cubic-bezier(0.250, 0.460, 0.450, 0.940)`,
-            };
-            elDiv.setAttribute('style', setConvertStyle(styles));
-            setTimeout(() => {
-                elDiv.setAttribute(
-                    'style',
-                    setConvertStyle({
-                        opacity: 0,
-                        transform: styles.transform,
-                        left: styles.left,
-                        top: styles.top,
-                    })
-                );
-                setTimeout(() => {
-                    elDiv && el.removeChild(elDiv);
-                }, 750);
-            }, 450);
-        }
+    function onCurrentClick(e: { [key: string]: unknown }) {
+      let elDiv = document.createElement("div");
+      elDiv.classList.add("waves-ripple");
+      el.appendChild(elDiv);
+      let styles = {
+        left: `${e.layerX}px`,
+        top: `${e.layerY}px`,
+        opacity: 1,
+        transform: `scale(${(el.clientWidth / 100) * 10})`,
+        "transition-duration": `750ms`,
+        "transition-timing-function": `cubic-bezier(0.250, 0.460, 0.450, 0.940)`,
+      };
+      elDiv.setAttribute("style", setConvertStyle(styles));
+      setTimeout(() => {
+        elDiv.setAttribute(
+          "style",
+          setConvertStyle({
+            opacity: 0,
+            transform: styles.transform,
+            left: styles.left,
+            top: styles.top,
+          })
+        );
+        setTimeout(() => {
+          elDiv && el.removeChild(elDiv);
+        }, 750);
+      }, 450);
+    }
 
-        el.addEventListener('mousedown', onCurrentClick, false);
-    },
-    unmounted(el: HTMLElement) {
-        el.addEventListener('mousedown', () => {
-        });
-    },
-}
+    el.addEventListener("mousedown", onCurrentClick, false);
+  },
+  unmounted(el: HTMLElement) {
+    el.addEventListener("mousedown", () => {});
+  },
+};
 
-export default VWaves
+export default VWaves;

+ 80 - 80
src/pinia/user-store.ts

@@ -1,88 +1,88 @@
 //@ts-nocheck
-import {defineStore} from 'pinia';
-import {getUserInfoByCode} from "@/api/login";
-import {useSystemStore} from "@/pinia/system-store";
+import { defineStore } from "pinia";
+import { getUserInfoByCode } from "@/api/login";
+import { useSystemStore } from "@/pinia/system-store";
 
 export declare type UserInfo = {
-    avatar: string;
-    token: string;
-    sid: string;
-    ip: string;
-    menus: string[]; // 菜单列表,字符串数组
-    code: string;
-    codeRs: string;
-    name: string;
-    deptCode: string;
-    deptName: string;
-    ybCode: string;
-    roles: number[]; // 角色列表,字符串数组
-    partTimeDept: string[]; // 兼职部门列表,字符串数组
-    partTimeDeptCode: string;
-    partTimeDeptName: string;
-    partTimeDeptMap: Record<string, string>; // 兼职部门映射,键为部门编码,值为部门名称
+  avatar: string;
+  token: string;
+  sid: string;
+  ip: string;
+  menus: string[]; // 菜单列表,字符串数组
+  code: string;
+  codeRs: string;
+  name: string;
+  deptCode: string;
+  deptName: string;
+  ybCode: string;
+  roles: number[]; // 角色列表,字符串数组
+  partTimeDept: string[]; // 兼职部门列表,字符串数组
+  partTimeDeptCode: string;
+  partTimeDeptName: string;
+  partTimeDeptMap: Record<string, string>; // 兼职部门映射,键为部门编码,值为部门名称
 };
 
-let initUserInfo = false
+let initUserInfo = false;
 
-export const useUserStore = defineStore('user', {
-    state: (): {
-        userInfo: UserInfo,
-        randomSid: string
-    } => ({
-        userInfo: {
-            avatar: '',
-            token: '',
-            sid: '',
-            ip: '',
-            menus: [],
-            code: '',
-            codeRs: '',
-            name: '',
-            deptCode: '',
-            deptName: '',
-            ybCode: '',
-            roles: [],
-            partTimeDept: [],
-            partTimeDeptCode: '',
-            partTimeDeptName: '',
-            partTimeDeptMap: {}
-        },
-        randomSid: ''
-    }),
-    getters: {
-        getUserInfo: async (state): Promise<boolean> => {
-            if (initUserInfo) return true
-            if (localStorage.token !== null) {
-                const userInfo = await getUserInfoByCode().catch(() => {
-                    return null
-                })
-                if (userInfo !== null) {
-                    state.userInfo = userInfo
-                    useSystemStore().setConfig(userInfo.userConfigJson)
-                    initUserInfo = true
-                    return true
-                } else {
-                    return false
-                }
-            }
-        },
-        getToken: () => {
-            return localStorage.token
-        },
-        getSid(state): string {
-            return state.userInfo.sid + state.randomSid
-        },
+export const useUserStore = defineStore("user", {
+  state: (): {
+    userInfo: UserInfo;
+    randomSid: string;
+  } => ({
+    userInfo: {
+      avatar: "",
+      token: "",
+      sid: "",
+      ip: "",
+      menus: [],
+      code: "",
+      codeRs: "",
+      name: "",
+      deptCode: "",
+      deptName: "",
+      ybCode: "",
+      roles: [],
+      partTimeDept: [],
+      partTimeDeptCode: "",
+      partTimeDeptName: "",
+      partTimeDeptMap: {},
     },
-    actions: {
-        setToken(val: string) {
-            localStorage.token = val
-        },
-        setUserInfo(val: UserInfo) {
-            localStorage.token = val.token
-            this.userInfo = val
-        },
-        setRandomSid(val: string) {
-            this.randomSid = val
+    randomSid: "",
+  }),
+  getters: {
+    getUserInfo: async (state): Promise<boolean> => {
+      if (initUserInfo) return true;
+      if (localStorage.token !== null) {
+        const userInfo = await getUserInfoByCode().catch(() => {
+          return null;
+        });
+        if (userInfo !== null) {
+          state.userInfo = userInfo;
+          useSystemStore().setConfig(userInfo.userConfigJson);
+          initUserInfo = true;
+          return true;
+        } else {
+          return false;
         }
-    }
-})
+      }
+    },
+    getToken: () => {
+      return localStorage.token;
+    },
+    getSid(state): string {
+      return state.userInfo.sid + state.randomSid;
+    },
+  },
+  actions: {
+    setToken(val: string) {
+      localStorage.token = val;
+    },
+    setUserInfo(val: UserInfo) {
+      localStorage.token = val.token;
+      this.userInfo = val;
+    },
+    setRandomSid(val: string) {
+      this.randomSid = val;
+    },
+  },
+});

+ 90 - 65
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/InspectionRequisition.vue

@@ -15,48 +15,51 @@
         <el-col :span="12">
           <el-form-item class="bi_tian" label="检查时间:">
             <el-date-picker
-                v-model="props.data.startTime"
-                ref="checkTheTimeRef"
-                format="YYYY-MM-DD HH:mm:ss"
-                style="width: 180px"
-                type="datetime"
-                value-format="YYYY-MM-DD HH:mm:ss">
+              v-model="props.data.startTime"
+              ref="checkTheTimeRef"
+              format="YYYY-MM-DD HH:mm:ss"
+              style="width: 180px"
+              type="datetime"
+              value-format="YYYY-MM-DD HH:mm:ss"
+            >
             </el-date-picker>
           </el-form-item>
         </el-col>
         <el-col :span="12">
           <el-form-item class="bi_tian" label="执行科室:">
             <xc-select-v3
-                style="width: 120px"
-                v-model="props.data"
-                :data="zhiXingKeShiData"
-                code="execDept"
-                name="execDeptName"
-                :remote-method="metZhiXingKeShi"/>
+              style="width: 120px"
+              v-model="props.data"
+              :data="zhiXingKeShiData"
+              code="execDept"
+              name="execDeptName"
+              :remote-method="metZhiXingKeShi"
+            />
           </el-form-item>
         </el-col>
         <el-col :span="12">
           <el-form-item label="急诊:">
             <el-switch
-                v-model="props.data.jzFlag"
-                :active-value="1"
-                :inactive-value="0"
-                active-color="#13ce66"
-                active-text="急诊"
-                inactive-color="#ff4949"
-                inactive-text="普通"/>
+              v-model="props.data.jzFlag"
+              :active-value="1"
+              :inactive-value="0"
+              active-color="#13ce66"
+              active-text="急诊"
+              inactive-color="#ff4949"
+              inactive-text="普通"
+            />
           </el-form-item>
         </el-col>
         <el-col :span="12">
           <el-form-item label="自费:">
             <el-switch
-                v-model="props.data.ybSelfFlag"
-                :active-value="1"
-                :inactive-value="0"
-                active-color="#13ce66"
-                active-text="自费"
-                inactive-color="#ff4949"
-                inactive-text="医保"
+              v-model="props.data.ybSelfFlag"
+              :active-value="1"
+              :inactive-value="0"
+              active-color="#13ce66"
+              active-text="自费"
+              inactive-color="#ff4949"
+              inactive-text="医保"
             >
             </el-switch>
           </el-form-item>
@@ -64,20 +67,33 @@
         <el-col v-if="jianCha" :span="12">
           <el-form-item class="bi_tian" label="临床诊断:" prop="diagCode">
             <xc-select-v3
-                v-model="props.data"
-                :data="props.diagnosis"
-                :remote-method="searchDiagnostics"
-                code="diagCode"
-                name="diagText"/>
+              v-model="props.data"
+              :data="props.diagnosis"
+              :remote-method="searchDiagnostics"
+              code="diagCode"
+              name="diagText"
+            />
           </el-form-item>
         </el-col>
         <el-col :span="24">
           <el-form-item v-if="!jianCha" class="bi_tian" label="标本:">
-            <el-select v-model="props.data.inspectStuff"
-                       :remote-method="specimenSearch" clearable filterable
-                       remote @change="bianBenMing">
-              <el-option v-for="item in biaoBenShuJu" :key="item.code" :label="item.name" :value="item.code">
-                <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
+            <el-select
+              v-model="props.data.inspectStuff"
+              :remote-method="specimenSearch"
+              clearable
+              filterable
+              remote
+              @change="bianBenMing"
+            >
+              <el-option
+                v-for="item in biaoBenShuJu"
+                :key="item.code"
+                :label="item.name"
+                :value="item.code"
+              >
+                <span style="color: #8492a6; font-size: 12px">{{
+                  item.code
+                }}</span>
                 <el-divider direction="vertical"></el-divider>
                 <span>{{ item.name }}</span>
               </el-option>
@@ -85,24 +101,39 @@
           </el-form-item>
         </el-col>
         <el-col :span="12">
-          <el-form-item :label="jianCha ? '病史摘要:' : '申请说明'" class="bi_tian">
-            <el-input v-model="props.data.reqComment" :rows="6" maxlength="125" show-word-limit
-                      type="textarea"></el-input>
+          <el-form-item
+            :label="jianCha ? '病史摘要:' : '申请说明'"
+            class="bi_tian"
+          >
+            <el-input
+              v-model="props.data.reqComment"
+              :rows="6"
+              maxlength="125"
+              show-word-limit
+              type="textarea"
+            ></el-input>
           </el-form-item>
         </el-col>
-        <!--        <el-col v-if="jianCha" :span="12">-->
-        <!--          <el-button @click="daKaiShuoMingMuBan">说明模板</el-button>-->
-        <!--        </el-col>-->
         <el-col v-if="jianCha" :span="24">
           <el-form-item class="bi_tian" label="体征信息:">
-            <el-input v-model="props.data.reqTzComment" :rows="6" maxlength="125" show-word-limit
-                      type="textarea"></el-input>
+            <el-input
+              v-model="props.data.reqTzComment"
+              :rows="6"
+              maxlength="125"
+              show-word-limit
+              type="textarea"
+            ></el-input>
           </el-form-item>
         </el-col>
         <el-col v-if="jianCha" :span="24">
           <el-form-item class="bi_tian" label="相关辅检结果:">
-            <el-input v-model="props.data.reqOtherResult" :rows="6" maxlength="125" show-word-limit
-                      type="textarea"></el-input>
+            <el-input
+              v-model="props.data.reqOtherResult"
+              :rows="6"
+              maxlength="125"
+              show-word-limit
+              type="textarea"
+            ></el-input>
           </el-form-item>
         </el-col>
       </el-row>
@@ -110,11 +141,11 @@
   </div>
 </template>
 
-<script setup name='InspectionRequisition'>
+<script setup name="InspectionRequisition">
 // 编辑检验检查
 import XcSelectV3 from "@/components/xiao-chan/select-v3/XcSelectV3";
-import {ref} from "vue";
-import {huoQuZhiXinKeShi} from "@/api/zhu-yuan-yi-sheng/yi-zhu-lu-ru";
+import { ref } from "vue";
+import { huoQuZhiXinKeShi } from "@/api/zhu-yuan-yi-sheng/yi-zhu-lu-ru";
 
 const props = defineProps({
   jianCha: {
@@ -127,28 +158,22 @@ const props = defineProps({
   // 临床诊断搜索
   searchDiagnostics: {
     type: Function,
-    default: (val) => {
-    }
+    default: val => {},
   },
   // 标本搜索
   specimenSearch: {
     type: Function,
-    default: (val) => {
-    }
+    default: val => {},
   },
-})
-
+});
 
 /* 获取执行科室 */
-const zhiXingKeShiData = ref([])
-const metZhiXingKeShi = (val) => {
-  huoQuZhiXinKeShi(val).then((res) => {
-    zhiXingKeShiData.value = res
-  })
-}
-
+const zhiXingKeShiData = ref([]);
+const metZhiXingKeShi = val => {
+  huoQuZhiXinKeShi(val).then(res => {
+    zhiXingKeShiData.value = res;
+  });
+};
 </script>
 
-<style scoped lang="scss">
-
-</style>
+<style scoped lang="scss"></style>