Explorar o código

修复一些小问题。

lighter %!s(int64=3) %!d(string=hai) anos
pai
achega
c2a8a09115

+ 1 - 2
src/views/dictionary/NationalSiMatch.vue

@@ -147,8 +147,7 @@
         <el-table-column prop="medicinalMaterialsFamily" label="药材科" v-if="queryParam.type === 2"></el-table-column>
         <el-table-column prop="medicinalMaterialsSpecies" label="药材种" v-if="queryParam.type === 2"></el-table-column>
         <el-table-column prop="medicinalParts" label="药用部位" v-if="queryParam.type === 2"></el-table-column>
-        <el-table-column prop="properties" label="性味" v-if="queryParam.type === 2"></el-table-column>
-        <el-table-column prop="channels" label="归经" v-if="queryParam.type === 2"></el-table-column>
+        <el-table-column prop="properties" label="性味与归经" v-if="queryParam.type === 2"></el-table-column>
         <el-table-column prop="usageDosage" label="用法用量" v-if="queryParam.type === 2"></el-table-column>
         <el-table-column prop="siPolicy" label="医保" v-if="queryParam.type === 2"></el-table-column>
         <el-table-column prop="localMedicalServiceCode" label="地方代码" v-if="queryParam.type === 3"></el-table-column>

+ 7 - 7
src/views/medical-insurance/allpatient/Catalogue.vue

@@ -6,13 +6,13 @@
       </el-select>
       <el-divider direction="vertical"></el-divider>
       <span v-show="showUpdtTime"> <el-date-picker v-model="updtTime" size="small" placeholder="请选择更新日期" style="width: 160px"></el-date-picker>&nbsp; </span>
-      <el-button type="primary" icon="el-icon-download" :disabled="!cataType" @click="beforeDownload">从中心获取</el-button>
+      <el-button size="mini" type="primary" icon="el-icon-download" :disabled="!cataType" @click="beforeDownload">从中心获取</el-button>
       <span v-show="!showUpdtTime && cataType !== '1901'">
-        &nbsp;<el-button type="primary" icon="el-icon-download" :disabled="!cataType" @click="fetchData">从医院获取</el-button>
+        &nbsp;<el-button size="mini" type="primary" icon="el-icon-download" :disabled="!cataType" @click="fetchData">从医院获取</el-button>
       </span>
     </el-header>
     <el-main>
-      <el-table :height="tableHeight" :data="data.list" stripe>
+      <el-table size="mini" :height="tableHeight" :data="data.list" stripe>
         <el-table-column v-if="!showUpdtTime" prop="code" label="医疗目录编码"></el-table-column>
         <!-- 西药中成药目录 -->
         <el-table-column v-if="cataType === '1301'" prop="drugTradeName" label="药品商品名"></el-table-column>
@@ -167,17 +167,17 @@
         style="margin-top: 5px"
       ></el-pagination>
       <el-dialog title="字典表查询" v-model="showDldDict" width="40%">
-        <el-select v-model="dictType" placeholder="请选择字典类型" filterable>
+        <el-select v-model="dictType" size="mini" placeholder="请选择字典类型" filterable>
           <el-option v-for="item in siDictTypes" :key="item.code" :value="item.code" :label="item.name"></el-option>
         </el-select>
         &nbsp;
-        <el-select v-model="valiFlag" style="width: 100px">
+        <el-select v-model="valiFlag" size="mini" style="width: 100px">
           <el-option label="有效" value="1"></el-option>
           <el-option label="已失效" value="0"></el-option>
         </el-select>
         <el-divider direction="vertical"></el-divider>
-        <el-button type="primary" icon="el-icon-search" @click="qrySiDicts">查询</el-button>
-        <el-table :data="dictVals" stripe height="300">
+        <el-button type="primary" size="mini" icon="el-icon-search" @click="qrySiDicts">查询</el-button>
+        <el-table :data="dictVals" stripe size="mini" height="300">
           <el-table-column prop="sort" label="序号" width="60"></el-table-column>
           <el-table-column prop="version" label="版本号" width="80"></el-table-column>
           <el-table-column prop="value" label="字典键值" width="120"></el-table-column>

+ 19 - 0
src/views/medical-insurance/outpatient/MzRegister.vue

@@ -29,6 +29,7 @@
         </template>
       </el-dropdown>
       <el-button type="primary" icon="el-icon-edit-outline" @click="mzPreSetl" style="margin-left: 8px"> 试算 </el-button>
+      <el-button type="danger" icon="el-icon-refresh" @click="clearinfo" style="margin-left: 8px"> 重置 </el-button>
     </el-header>
     <el-main>
       <el-row :gutter="5">
@@ -432,6 +433,23 @@ export default {
       })
     }
 
+    const clearinfo = () => {
+      patientId.value = ''
+      times.value = null
+      data.value = []
+      mzPatient.value = {}
+      psnBaseinfo.value = {}
+      mzVisit.value = {}
+      receipts.value = {}
+      orderNos.value = []
+      currentReceipts.value = []
+      totalFee.value = null
+      timesTable.value = null
+      ordersTable.value = null
+      currentOrder.value = {}
+      spcChrDiseAccts.value = []
+    }
+
     onMounted(() => {
       getMedTypesByFlag('clinic').then((res) => {
         medTypes.value = res
@@ -470,6 +488,7 @@ export default {
       spcChrDiseAccts,
       showSpcChrAccts,
       uploadFees,
+      clearinfo,
     }
   },
 }

+ 6 - 1
src/views/medical-insurance/outpatient/SpcChrRcd.vue

@@ -88,6 +88,7 @@
           <el-table-column prop="enddate" label="结束日期"></el-table-column>
           <el-table-column prop="opspDiseCode" label="病种编码"></el-table-column>
           <el-table-column prop="opspDiseName" label="病种名称"></el-table-column>
+          <el-table-column prop="ideFixmedinsName" label="备案机构"></el-table-column>
         </el-table>
         <div style="height: 8px"></div>
         <el-tag type="danger">用药记录</el-tag>
@@ -237,7 +238,7 @@ import { formatDatetime } from '@/utils/date'
 import { searchData } from '@/api/yibao/dictionary'
 export default {
   setup() {
-    const patNo = ref('430105196211120016')
+    const patNo = ref('')
     const dateRange = ref(null)
     const baseinfo = ref({})
     const currentInsuinfo = ref({})
@@ -318,8 +319,12 @@ export default {
       if (nullBaseinfo()) {
         return
       }
+      if (nullInsuinfo()) {
+        return
+      }
       querySpecialChronicDiseasesAccreditation({
         psnNo: baseinfo.value.psnNo,
+        admdvs: currentInsuinfo.value.insuplcAdmdvs,
         needAllRcd: 1,
       }).then((res) => {
         spcChrRcds.value = res