Quellcode durchsuchen

新增按照执行科室查询

xiaochan vor 5 Monaten
Ursprung
Commit
d6cded00e7

+ 12 - 0
src/components/xmlr/components/TableFee.vue

@@ -11,8 +11,11 @@ import {xcMessage} from "@/utils/xiaochan-element-plus";
 import {receiveAndRecalculateCost} from "@/api/inpatient/patient";
 import GenerateMedicineReturnOrder
   from "@/components/medical-insurance/medicine-return-order/GenerateMedicineReturnOrder.vue";
+import {useUserStore} from "@/pinia/user-store";
 
 const {store, mutation, feeTableRef, medicalTechnology} = inject(key) as ProjectInput
+const userInfo = useUserStore().userInfo;
+const deptList = userInfo.partTimeDeptMap;
 
 const chargeTypeOptions = [
   {code: 0, name: "全部"},
@@ -92,6 +95,15 @@ function rcvrcalcost() {
             <xc-el-option :data="refundSymbol"/>
           </el-select>
         </el-form-item>
+        <el-form-item label="执行科室">
+          <el-select v-model="store.searchFeeParams.execDept" style="width: 120px;">
+            <el-option
+                v-for="(value, key) in deptList"
+                :value="key"
+                :label="value"
+            />
+          </el-select>
+        </el-form-item>
         <el-form-item>
           <el-button type="primary" icon="Search" @click="mutation.getFee">查询</el-button>
           <el-button type="warning" icon="RefreshRight" @click="rcvrcalcost">费用接受重算</el-button>

+ 5 - 1
src/components/xmlr/index.ts

@@ -8,6 +8,7 @@ import {refund} from "@/api/hospitalization-costs/hospitalization-costs-api";
 import {isDev} from "@/utils/public";
 import cyRefList from "@/utils/cyRefList";
 import {UseDialogType} from "@/components/cy/CyDialog/index";
+import {useUserStore} from "@/pinia/user-store";
 
 type PatInfo = {
     name?: string;
@@ -36,6 +37,8 @@ export type XmlrProps = {
 }
 
 export const useXmlr = (props: XmlrProps, emits: UseDialogType.Emits) => {
+    const userInfo = useUserStore().userInfo;
+
     const store = reactive({
         // 住院号
         searchPatNo: '',
@@ -50,8 +53,9 @@ export const useXmlr = (props: XmlrProps, emits: UseDialogType.Emits) => {
             chargeType: 0,
             feeSources: 2,
             refundSymbol: 3,
+            execDept: props.medicalTechnology ? userInfo.deptCode : "",
         },
-        tabsVal: isDev ? "项目录入" : "费用",
+        tabsVal: "费用",
 
         feeTotal: 0,
         feeData: [],

+ 0 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/plugins/opinion/index.vue

@@ -38,7 +38,6 @@ const audit = data => {
 
     getLinkQuality(data.emrCategoryCode).then(res => {
       store.state.auditTemplate = res;
-      console.log(res)
     });
   }
 };