Browse Source

前端 bug

xiaochan 3 years ago
parent
commit
d805d62851

+ 78 - 67
src/components/inpatient/YiZhuTuiFei.vue

@@ -5,13 +5,17 @@
       <el-tag>住院号: {{ patient.inpatientNo }}</el-tag>
       <el-tag>床号: {{ patient.bedNo }}</el-tag>
       <el-tag>住院次数: {{ patient.admissTimes }}</el-tag>
-      <el-tag>性别: {{ cptSex(patient.sex) }}</el-tag> <br /><br />
-      医嘱号:<el-input style="width: 120px" v-model="actOrderNo"></el-input> 医嘱名称:<el-select
-        v-model="orderCode"
-        remote
-        filterable
-        clearable
-        :remote-method="remoteMethodOrderCode"
+      <el-tag>性别: {{ cptSex(patient.sex) }}</el-tag>
+      <br/><br/>
+      医嘱号:
+      <el-input style="width: 120px" v-model="actOrderNo"></el-input>
+      医嘱名称:
+      <el-select
+          v-model="orderCode"
+          remote
+          filterable
+          clearable
+          :remote-method="remoteMethodOrderCode"
       >
         <el-option v-for="item in orderCodeNameData" :key="item.code" :label="item.name" :value="item.code">
           <span style="color: #8492a6; font-size: 12px">{{ item.code }}</span>
@@ -21,20 +25,22 @@
       </el-select>
       医嘱时间:
       <el-date-picker
-        v-model="dateRange"
-        type="daterange"
-        range-separator="至"
-        start-placeholder="开始日期"
-        end-placeholder="结束日期"
-        :shortcuts="shortcuts"
-        style="width: 260px"
+          v-model="dateRange"
+          type="daterange"
+          range-separator="至"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
+          :shortcuts="shortcuts"
+          style="width: 260px"
       ></el-date-picker>
       <el-button style="margin-left: 10px" type="primary" icon="el-icon-search" @click="queryActOrder">搜索</el-button>
-      <el-button style="margin-left: 10px" type="danger" icon="el-icon-delete-solid" @click="yiZhuTuiFeiClick">医嘱退费</el-button>
+      <el-button style="margin-left: 10px" type="danger" icon="el-icon-delete-solid" @click="yiZhuTuiFeiClick">医嘱退费
+      </el-button>
       <el-button style="margin-left: 10px" type="warning" icon="el-icon-close" @click="closeDialog">关闭</el-button>
     </el-header>
     <el-main style="margin-top: 50px">
-      <el-table :data="yzActOrderData" :height="tableHeight - 20" stripe highlight-current-row @selection-change="selectionTuiFeiYiZhu">
+      <el-table :data="yzActOrderData" :height="tableHeight - 20" stripe highlight-current-row
+                @selection-change="selectionTuiFeiYiZhu">
         <el-table-column type="selection"></el-table-column>
         <el-table-column prop="actOrderNo" label="医嘱号"></el-table-column>
         <el-table-column prop="orderCode" label="医嘱编码"></el-table-column>
@@ -57,29 +63,31 @@
         </el-table-column>
       </el-table>
       <el-pagination
-        @size-change="handleSizeChange"
-        @current-change="handleCurrentChange"
-        :current-page="currentPage"
-        :page-sizes="[20, 30, 40, 50, 100]"
-        :page-size="pageSize"
-        layout="total, sizes, prev, pager, next, jumper"
-        :total="total"
-        style="margin-top: 5px"
+          @size-change="handleSizeChange"
+          @current-change="handleCurrentChange"
+          :current-page="currentPage"
+          :page-sizes="[20, 30, 40, 50, 100]"
+          :page-size="pageSize"
+          layout="total, sizes, prev, pager, next, jumper"
+          :total="total"
+          style="margin-top: 5px"
       ></el-pagination>
     </el-main>
   </el-container>
 </template>
 
 <script>
-import { onMounted, ref, watch } from '@vue/runtime-core'
+import {onMounted, ref, watch} from '@vue/runtime-core'
 import store from '@/store'
-import { getChargeCode } from '@/api/yibao/xiang-mu-lu-ru'
-import { cptSex } from '@/utils/computed'
-import { shortcuts } from '@/data/shortcuts'
-import { getDateRangeFormatDate } from '@/utils/date'
-import { getOrderList, yiZhuTuiFei } from '@/api/yibao/yi-zhu-tui-fei'
-import { ElMessage, ElMessageBox } from 'element-plus'
-import { baseinfo } from '@/data/inpatient'
+import {getChargeCode} from '@/api/yibao/xiang-mu-lu-ru'
+import {cptSex} from '@/utils/computed'
+import {shortcuts} from '@/data/shortcuts'
+import {getDateRangeFormatDate} from '@/utils/date'
+import {getOrderList, yiZhuTuiFei} from '@/api/yibao/yi-zhu-tui-fei'
+import {ElMessage, ElMessageBox} from 'element-plus'
+import {baseinfo} from '@/data/inpatient'
+import {computed} from "vue";
+
 export default {
   props: {
     initYiZhu: {
@@ -102,7 +110,9 @@ export default {
     const pageSize = ref(20)
     const total = ref(0)
 
-    const patient = baseinfo()
+    const patient = computed(() => {
+      return baseinfo()
+    })
 
     const yzActOrderData = ref([])
 
@@ -132,15 +142,15 @@ export default {
     }
 
     watch(
-      () => props.initYiZhu,
-      () => {
-        orderCode.value = ''
-        actOrderNo.value = ''
-        dateRange.value = null
-        currentPage.value = 1
-        pageSize.value = 20
-        queryActOrder()
-      }
+        () => props.initYiZhu,
+        () => {
+          orderCode.value = ''
+          actOrderNo.value = ''
+          dateRange.value = null
+          currentPage.value = 1
+          pageSize.value = 20
+          queryActOrder()
+        }
     )
 
     onMounted(() => {
@@ -154,21 +164,21 @@ export default {
         queryEndTime: date.endTime,
         orderCode: orderCode.value,
         actOrderNo: actOrderNo.value,
-        inpatientNo: patient.inpatientNo,
-        admissTimes: patient.admissTimes,
+        inpatientNo: patient.value.inpatientNo,
+        admissTimes: patient.value.admissTimes,
         currentPage: currentPage.value,
         pageSize: pageSize.value,
         tfFlag: tuiFeiCode.value,
       }
       getOrderList(queryTerm)
-        .then((res) => {
-          total.value = res.total
-          yzActOrderData.value = res.records
-        })
-        .catch(() => {
-          total.value = 0
-          yzActOrderData.value = []
-        })
+          .then((res) => {
+            total.value = res.total
+            yzActOrderData.value = res.records
+          })
+          .catch(() => {
+            total.value = 0
+            yzActOrderData.value = []
+          })
     }
 
     // 获取退费医嘱
@@ -190,26 +200,27 @@ export default {
       ElMessageBox.confirm(`共${tuiFaiYiZhu.value.length}条数据退费,请认真审核。`, '提示', {
         type: 'warning',
       })
-        .then(() => {
-          let tuiFei = {
-            inpatientNo: patient.inpatientNo,
-            admissTimes: patient.admissTimes,
-            tuiFeiList: tuiFaiYiZhu.value,
-          }
-          yiZhuTuiFei(tuiFei).then((res) => {
-            queryActOrder()
+          .then(() => {
+            let tuiFei = {
+              inpatientNo: patient.inpatientNo,
+              admissTimes: patient.admissTimes,
+              tuiFeiList: tuiFaiYiZhu.value,
+            }
+            yiZhuTuiFei(tuiFei).then((res) => {
+              queryActOrder()
+            })
+          })
+          .catch(() => {
           })
-        })
-        .catch(() => {})
     }
 
     // 监听如果选择的退费类型 那么就要从第一页开始 不然会有bug
     watch(
-      () => tuiFeiCode.value,
-      () => {
-        currentPage.value = 1
-        queryActOrder()
-      }
+        () => tuiFeiCode.value,
+        () => {
+          currentPage.value = 1
+          queryActOrder()
+        }
     )
 
     return {

+ 5 - 7
src/components/si-sheet-upload/jieSuanDanDaYing.vue

@@ -383,7 +383,7 @@
               <div class="w300 div-border-bottom"></div>
             </div>
           </div>
-          <span v-if="index === 0">page-break-after(before)</span>
+          <span v-if="index === 0"></span>
         </div>
         <div class="tanXingHeZiHeng div-border-bottom">
           <div class="wen-zi">
@@ -563,7 +563,6 @@
 
         </table>
         <!--第二页-->
-        page-break-after(before)
         <div class="tanXingHeZiHeng">
           <div style="width: 50%">
             <table>
@@ -666,12 +665,12 @@
 
             <div class="wen-zi">
               <div>医保机构</div>
-              <div class="w90"><span> {{ setlinfo.hsorg }}</span></div>
+              <div style="width: 230px;"><span> {{ setlinfo.hsorg }}</span></div>
             </div>
 
             <div class="wen-zi">
               <div>医保机构经办人</div>
-              <div class="w90"><span>{{ setlinfo.hsorgOpter }}</span></div>
+              <div style="width: 230px;"><span>{{ setlinfo.hsorgOpter }}</span></div>
             </div>
           </div>
         </div>
@@ -743,6 +742,7 @@ export default {
       LODOP.PRINT_INIT('湖南省长沙市医疗保障基金结算清单') // 初始化打印机 名字
       LODOP.SET_PRINT_PAGESIZE(1, '210mm', '297mm', '') // 设置纸张大小  A4
       LODOP.SET_PRINT_MODE('FULL_WIDTH_FOR_OVERFLOW', true) // 整宽不变形
+      LODOP.NewPage()
       LODOP.ADD_PRINT_HTM('2mm', '5mm', '100%', '100%', '<style>' + jieSuanDanYangShiCss + '</style>' + '<body>' + document.getElementById('setl').innerHTML + '</body>') //要打印的内容
       LODOP.PREVIEW() // 关闭
     }
@@ -775,8 +775,6 @@ export default {
 
     onMounted(() => {
       initLodop()
-
-
       if (opspdiseinfoData.value.length === 0) {
         for (let i = 0; i < 6; i++) {
           opspdiseinfoData.value.push([])
@@ -814,7 +812,7 @@ export default {
       nianYueRi,
       qiTaPayinfoData,
       diseinfoData,
-      isOpen
+      isOpen,
     }
   }
 }

+ 1 - 1
src/components/si-sheet-upload/jieSuanDanXiuGai.js

@@ -123,7 +123,7 @@ export function maZuiName(val) {
  * @param notNode 不需要的 code
  * @returns {*[]} 返回科室
  */
-export function xianZhongChuQu(arr, notNode) {
+export function huoQuZhongKongChaXunTiaoJian(arr, notNode) {
     let data = []
     arr.forEach(item => {
         if (notNode.indexOf(item.code) === -1) {

+ 241 - 239
src/data/index.js

@@ -1,278 +1,280 @@
 // A4: 210毫米 × 297毫米 = 793.70px *  1122.52px
 // A5: 148毫米 × 210毫米 = 559.37px * 793.70px
 
+import {ref} from "@vue/runtime-core";
+
 export const statusFlags = [
-  { code: '0', name: '全部' },
-  { code: '1', name: '待审核' },
-  { code: '2', name: '已审核' },
-  { code: '9', name: '未通过' },
+    {code: '0', name: '全部'},
+    {code: '1', name: '待审核'},
+    {code: '2', name: '已审核'},
+    {code: '9', name: '未通过'},
 ]
 export const yzZhuangTai = [
-  { code: '0', name: '全部' },
-  { code: '1', name: '待审核' },
-  { code: '2', name: '已审核' },
-  { code: '3', name: '未通过' },
-  { code: '4', name: '已回撤' },
+    {code: '0', name: '全部'},
+    {code: '1', name: '待审核'},
+    {code: '2', name: '已审核'},
+    {code: '3', name: '未通过'},
+    {code: '4', name: '已回撤'},
 ]
 
 export const medTypes = [
-  { code: '00', name: '全部' },
-  { code: '2101', name: '普通住院' },
-  { code: '2102', name: '单病种住院' },
-  { code: '2106', name: '生育平产(居民)' },
-  { code: '2107', name: '生育剖宫产(居民)' },
-  { code: '22', name: '外伤住院' },
-  { code: '52', name: '生育住院(职工)' },
-  { code: '42', name: '工伤住院' },
+    {code: '00', name: '全部'},
+    {code: '2101', name: '普通住院'},
+    {code: '2102', name: '单病种住院'},
+    {code: '2106', name: '生育平产(居民)'},
+    {code: '2107', name: '生育剖宫产(居民)'},
+    {code: '22', name: '外伤住院'},
+    {code: '52', name: '生育住院(职工)'},
+    {code: '42', name: '工伤住院'},
 ]
 
 export const sexes = [
-  { code: 0, name: '未知' },
-  { code: 1, name: '男' },
-  { code: 2, name: '女' },
-  { code: 9, name: '未说明的性别' },
+    {code: 0, name: '未知'},
+    {code: 1, name: '男'},
+    {code: 2, name: '女'},
+    {code: 9, name: '未说明的性别'},
 ]
 
 export const siDictTypes = [
-  { code: 'psn_type', name: '人员类别' },
-  { code: 'med_type', name: '医疗类别' },
-  { code: 'insutype', name: '险种类型' },
-  { code: 'adm_way', name: '入院途径' },
-  { code: 'dscg_way', name: '离院方式' },
-  { code: 'psn_cert_type', name: '人员证件类型' },
-  { code: 'mdtrt_cert_type', name: '就诊凭证类型' },
-  { code: 'gend', name: '性别' },
-  { code: 'naty', name: '民族' },
-  { code: 'ipt_med_type', name: '住院医疗类型' },
-  { code: 'trt_type', name: '治疗类别' },
-  { code: 'dcla_souc', name: '申报来源' },
-  { code: 'matn_type', name: '生育类别' },
-  { code: 'birctrl_type', name: '计划生育手术类别' },
-  { code: 'hosp_appr_flag', name: '医院审批标志' },
-  { code: 'tcmdrug_used_way', name: '中药使用方式' },
-  { code: 'fixmedins_type', name: '定点医疗服务机构类型' },
-  { code: 'prodplac_type', name: '生产地类别' },
-  { code: 'chrgitm_lv', name: '收费项目等级' },
-  { code: 'agnter_rlts', name: '代办人关系' },
-  { code: 'clr_type', name: '清算类别' },
-  { code: 'clr_way', name: '清算方式' },
-  { code: 'pay_loc', name: '支付地点' },
-  { code: 'cvlserv_lv', name: '公务员等级' },
-  { code: 'list_sp_item_flag', name: '目录特项标志' },
-  { code: 'dedc_hosp_lv', name: '起付线医院等级' },
-  { code: 'lmtpric_hosp_lv', name: '限价医院等级' },
-  { code: 'med_chrgitm_type', name: '医疗收费项目类别' },
-  { code: 'drord_type', name: '医嘱类别' },
-  { code: 'turnaround_hosp_lv', name: '转往医院等级' },
-  { code: 'fund_pay_type', name: '基金支付类型' },
-  { code: 'list_type', name: '目录类别' },
-  { code: 'biz_appy_type', name: '业务申请类型' },
-  { code: 'inv_chg_type', name: '库存变更类型' },
-  { code: 'hi_feesetl_type', name: '医保费用结算类型' },
-  { code: 'inout_diag_type', name: '出入院诊断类别' },
-  { code: 'diag_type', name: '诊断类别' },
-  { code: 'bank_type_code', name: '银行行别代码' },
-  { code: 'hosp_lv', name: '医院等级' },
-  { code: 'fix_onln_open_flag', name: '定点联网开通标志' },
-  { code: 'drug_dosform', name: '药品剂型' },
-  { code: 'tcmpat_flag', name: '中成药标志' },
-  { code: 'prcunt_type', name: '计价单位类型' },
-  { code: 'pacmatl', name: '包装材质' },
-  { code: 'min_useunt', name: '最小使用单位' },
-  { code: 'servitem_type', name: '服务项目类别' },
-  { code: 'prod_pacmatl', name: '产品包装材质' },
-  { code: 'impt_itvt_clss_flag', name: '植入或介入类标志' },
-  { code: 'trt_chk_type', name: '待遇检查类型' },
-  { code: 'vola_amt_stas', name: '违规金额计算状态' },
-  { code: 'sev_deg', name: '违规严重程度' },
-  { code: 'vola_bhvr_type', name: '违规行为分类' },
-  { code: 'vola_item_type', name: '违规明细类型' },
-  { code: 'transaction_type', name: '交易类型' },
-  { code: 'nwb_adm_type', name: '新生儿入院类型' },
-  { code: 'psn_idet_type', name: '人员身份类别' },
-  { code: 'disa_lv', name: '残疾等级' },
-  { code: 'nat_regn_code', name: '国家地区代码' },
-  { code: 'hi_paymtd', name: '医保支付方式' },
-  { code: 'dept', name: '科室代码' },
-  { code: 'rgst_type_code', name: '挂号类别代码' },
-  { code: 'rgst_way_code', name: '挂号方式代码' },
-  { code: 'ordr_way_code', name: '预约途径代码' },
-  { code: 'aise_code', name: '过敏源代码' },
-  { code: 'disa_info_code', name: '残疾情况代码' },
-  { code: 'symp_code', name: '症状代码' },
-  { code: 'rx_type_code', name: '处方类别代码' },
-  { code: 'rx_item_type_code', name: '处方项目分类代码' },
-  { code: 'tcmdrug_type_code', name: '中药类别代码' },
-  { code: 'medn_type_code', name: '药物类型代码' },
-  { code: 'drug_medc_way_code', name: '药物使用-途径代码' },
-  { code: 'mrg_stas', name: '婚姻状况类别代码' },
-  { code: 'blotype_abo', name: 'ABO血型代码' },
-  { code: 'blotype_rh', name: 'Rh血型代码' },
-  { code: 'medcas_qlt_code', name: '住院病例病案质量代码' },
-  { code: 'days_rinp_flag_31', name: '出院31天内再住院计划标志' },
-  { code: 'ipt_dise_crsp', name: '住院患者疾病诊断对照代码' },
-  { code: 'ipt_dise_inscp_code', name: '住院患者诊断符合情况代码' },
-  { code: 'dscg_trt_rslt_code', name: '出院诊疗结果代码' },
-  { code: 'hbsag', name: '乙肝表面抗原' },
-  { code: 'hcv-ab', name: '丙型肝炎抗体' },
-  { code: 'hiv-ab', name: '艾滋病毒抗体' },
-  { code: 'hif_pay_code', name: '医保付费方式代码' },
-  { code: 'medfee_paymtd_code', name: '医疗费用支付方式代码' },
-  { code: 'ipt_dise_type_code', name: '住院患者疾病诊断类型代码' },
-  { code: 'adm_dise_cond_code', name: '入院疾病病情代码' },
-  { code: 'adm_cond_code', name: '入院时情况代码' },
-  { code: 'high_dise_evid', name: '最高诊断依据' },
-  { code: 'bkup_deg_code', name: '分化程度代码' },
-  { code: 'oprn_oprt_lv_code', name: '手术级别代码' },
-  { code: 'sinc_heal_lv_code', name: '手术切口愈合等级代码' },
-  { code: 'anst_mtd_code', name: '麻醉-方法代码' },
-  { code: 'oprn_oper_part_code', name: '手术操作部位代码' },
-  { code: 'anst_lv_code', name: '麻醉分级代码' },
-  { code: 'oprn_patn_type _code', name: '手术患者类型' },
-  { code: 'drord_item_type', name: '医嘱项目分类代码' },
-  { code: 'exam_test_type', name: '检验检查类别' },
-  { code: 'rpt_type_code', name: '报告单类别代码' },
-  { code: 'reta_rslt_code', name: '抗药结果代码' },
-  { code: 'exam_test', name: '检查/检验标志' },
-  { code: 'bld_natu_code', name: '输血性质代码' },
-  { code: 'bld_cat_code', name: '输血品种代码' },
-  { code: 'bld_defs_type_code', name: '输血反应类型代码' },
-  { code: 'matn_stas', name: '生育状态' },
-  { code: 'drord_dr_profttl', name: '开单医生职称' },
-  { code: 'lmt_cpnd_type', name: '限复方使用类型' },
-  { code: 'matn_trt_dclaer_type', name: '生育待遇申报人类别' },
-  { code: 'medins_psn_type', name: '医务人员类别' },
-  { code: 'rute', name: '给药途径' },
-  { code: 'adm_cond_type', name: '入院病情类型' },
-  { code: 'hi_setl_lv', name: '医保结算等级' },
-  { code: 'hilist_lmtprc_type', name: '医保目录限价类型' },
-  { code: 'selfpay_prop_psn_type', name: '医保目录自付比例人员类型' },
-  { code: 'selfpay_prop_type', name: '目录自付比例类别' },
-  { code: 'refl_type', name: '转院类型' },
-  { code: 'oprn_oprt_type', name: '手术操作类别' },
-  { code: 'patn_cert_type', name: '患者证件类别' },
-  { code: 'prfs', name: '职业' },
-  { code: 'patn_rlts', name: '与患者关系' },
-  { code: 'mdcs_type', name: '医疗保障类型' },
-  { code: 'sp_psn_type', name: '特殊人员类型' },
-  { code: 'psn_setlway', name: '个人结算方式' },
-  { code: 'used_frqu', name: '使用频次' },
-  { code: 'hlcon', name: '健康状况' },
-  { code: 'delv_stas_codg', name: '配送状态' },
-  { code: 'delver_geo_type', name: '配送位置经纬度类型' },
-  { code: 'hilist_lmtpric_type', name: '医保目录限价类型' },
+    {code: 'psn_type', name: '人员类别'},
+    {code: 'med_type', name: '医疗类别'},
+    {code: 'insutype', name: '险种类型'},
+    {code: 'adm_way', name: '入院途径'},
+    {code: 'dscg_way', name: '离院方式'},
+    {code: 'psn_cert_type', name: '人员证件类型'},
+    {code: 'mdtrt_cert_type', name: '就诊凭证类型'},
+    {code: 'gend', name: '性别'},
+    {code: 'naty', name: '民族'},
+    {code: 'ipt_med_type', name: '住院医疗类型'},
+    {code: 'trt_type', name: '治疗类别'},
+    {code: 'dcla_souc', name: '申报来源'},
+    {code: 'matn_type', name: '生育类别'},
+    {code: 'birctrl_type', name: '计划生育手术类别'},
+    {code: 'hosp_appr_flag', name: '医院审批标志'},
+    {code: 'tcmdrug_used_way', name: '中药使用方式'},
+    {code: 'fixmedins_type', name: '定点医疗服务机构类型'},
+    {code: 'prodplac_type', name: '生产地类别'},
+    {code: 'chrgitm_lv', name: '收费项目等级'},
+    {code: 'agnter_rlts', name: '代办人关系'},
+    {code: 'clr_type', name: '清算类别'},
+    {code: 'clr_way', name: '清算方式'},
+    {code: 'pay_loc', name: '支付地点'},
+    {code: 'cvlserv_lv', name: '公务员等级'},
+    {code: 'list_sp_item_flag', name: '目录特项标志'},
+    {code: 'dedc_hosp_lv', name: '起付线医院等级'},
+    {code: 'lmtpric_hosp_lv', name: '限价医院等级'},
+    {code: 'med_chrgitm_type', name: '医疗收费项目类别'},
+    {code: 'drord_type', name: '医嘱类别'},
+    {code: 'turnaround_hosp_lv', name: '转往医院等级'},
+    {code: 'fund_pay_type', name: '基金支付类型'},
+    {code: 'list_type', name: '目录类别'},
+    {code: 'biz_appy_type', name: '业务申请类型'},
+    {code: 'inv_chg_type', name: '库存变更类型'},
+    {code: 'hi_feesetl_type', name: '医保费用结算类型'},
+    {code: 'inout_diag_type', name: '出入院诊断类别'},
+    {code: 'diag_type', name: '诊断类别'},
+    {code: 'bank_type_code', name: '银行行别代码'},
+    {code: 'hosp_lv', name: '医院等级'},
+    {code: 'fix_onln_open_flag', name: '定点联网开通标志'},
+    {code: 'drug_dosform', name: '药品剂型'},
+    {code: 'tcmpat_flag', name: '中成药标志'},
+    {code: 'prcunt_type', name: '计价单位类型'},
+    {code: 'pacmatl', name: '包装材质'},
+    {code: 'min_useunt', name: '最小使用单位'},
+    {code: 'servitem_type', name: '服务项目类别'},
+    {code: 'prod_pacmatl', name: '产品包装材质'},
+    {code: 'impt_itvt_clss_flag', name: '植入或介入类标志'},
+    {code: 'trt_chk_type', name: '待遇检查类型'},
+    {code: 'vola_amt_stas', name: '违规金额计算状态'},
+    {code: 'sev_deg', name: '违规严重程度'},
+    {code: 'vola_bhvr_type', name: '违规行为分类'},
+    {code: 'vola_item_type', name: '违规明细类型'},
+    {code: 'transaction_type', name: '交易类型'},
+    {code: 'nwb_adm_type', name: '新生儿入院类型'},
+    {code: 'psn_idet_type', name: '人员身份类别'},
+    {code: 'disa_lv', name: '残疾等级'},
+    {code: 'nat_regn_code', name: '国家地区代码'},
+    {code: 'hi_paymtd', name: '医保支付方式'},
+    {code: 'dept', name: '科室代码'},
+    {code: 'rgst_type_code', name: '挂号类别代码'},
+    {code: 'rgst_way_code', name: '挂号方式代码'},
+    {code: 'ordr_way_code', name: '预约途径代码'},
+    {code: 'aise_code', name: '过敏源代码'},
+    {code: 'disa_info_code', name: '残疾情况代码'},
+    {code: 'symp_code', name: '症状代码'},
+    {code: 'rx_type_code', name: '处方类别代码'},
+    {code: 'rx_item_type_code', name: '处方项目分类代码'},
+    {code: 'tcmdrug_type_code', name: '中药类别代码'},
+    {code: 'medn_type_code', name: '药物类型代码'},
+    {code: 'drug_medc_way_code', name: '药物使用-途径代码'},
+    {code: 'mrg_stas', name: '婚姻状况类别代码'},
+    {code: 'blotype_abo', name: 'ABO血型代码'},
+    {code: 'blotype_rh', name: 'Rh血型代码'},
+    {code: 'medcas_qlt_code', name: '住院病例病案质量代码'},
+    {code: 'days_rinp_flag_31', name: '出院31天内再住院计划标志'},
+    {code: 'ipt_dise_crsp', name: '住院患者疾病诊断对照代码'},
+    {code: 'ipt_dise_inscp_code', name: '住院患者诊断符合情况代码'},
+    {code: 'dscg_trt_rslt_code', name: '出院诊疗结果代码'},
+    {code: 'hbsag', name: '乙肝表面抗原'},
+    {code: 'hcv-ab', name: '丙型肝炎抗体'},
+    {code: 'hiv-ab', name: '艾滋病毒抗体'},
+    {code: 'hif_pay_code', name: '医保付费方式代码'},
+    {code: 'medfee_paymtd_code', name: '医疗费用支付方式代码'},
+    {code: 'ipt_dise_type_code', name: '住院患者疾病诊断类型代码'},
+    {code: 'adm_dise_cond_code', name: '入院疾病病情代码'},
+    {code: 'adm_cond_code', name: '入院时情况代码'},
+    {code: 'high_dise_evid', name: '最高诊断依据'},
+    {code: 'bkup_deg_code', name: '分化程度代码'},
+    {code: 'oprn_oprt_lv_code', name: '手术级别代码'},
+    {code: 'sinc_heal_lv_code', name: '手术切口愈合等级代码'},
+    {code: 'anst_mtd_code', name: '麻醉-方法代码'},
+    {code: 'oprn_oper_part_code', name: '手术操作部位代码'},
+    {code: 'anst_lv_code', name: '麻醉分级代码'},
+    {code: 'oprn_patn_type _code', name: '手术患者类型'},
+    {code: 'drord_item_type', name: '医嘱项目分类代码'},
+    {code: 'exam_test_type', name: '检验检查类别'},
+    {code: 'rpt_type_code', name: '报告单类别代码'},
+    {code: 'reta_rslt_code', name: '抗药结果代码'},
+    {code: 'exam_test', name: '检查/检验标志'},
+    {code: 'bld_natu_code', name: '输血性质代码'},
+    {code: 'bld_cat_code', name: '输血品种代码'},
+    {code: 'bld_defs_type_code', name: '输血反应类型代码'},
+    {code: 'matn_stas', name: '生育状态'},
+    {code: 'drord_dr_profttl', name: '开单医生职称'},
+    {code: 'lmt_cpnd_type', name: '限复方使用类型'},
+    {code: 'matn_trt_dclaer_type', name: '生育待遇申报人类别'},
+    {code: 'medins_psn_type', name: '医务人员类别'},
+    {code: 'rute', name: '给药途径'},
+    {code: 'adm_cond_type', name: '入院病情类型'},
+    {code: 'hi_setl_lv', name: '医保结算等级'},
+    {code: 'hilist_lmtprc_type', name: '医保目录限价类型'},
+    {code: 'selfpay_prop_psn_type', name: '医保目录自付比例人员类型'},
+    {code: 'selfpay_prop_type', name: '目录自付比例类别'},
+    {code: 'refl_type', name: '转院类型'},
+    {code: 'oprn_oprt_type', name: '手术操作类别'},
+    {code: 'patn_cert_type', name: '患者证件类别'},
+    {code: 'prfs', name: '职业'},
+    {code: 'patn_rlts', name: '与患者关系'},
+    {code: 'mdcs_type', name: '医疗保障类型'},
+    {code: 'sp_psn_type', name: '特殊人员类型'},
+    {code: 'psn_setlway', name: '个人结算方式'},
+    {code: 'used_frqu', name: '使用频次'},
+    {code: 'hlcon', name: '健康状况'},
+    {code: 'delv_stas_codg', name: '配送状态'},
+    {code: 'delver_geo_type', name: '配送位置经纬度类型'},
+    {code: 'hilist_lmtpric_type', name: '医保目录限价类型'},
 ]
 
 export const tuiFeiLeiXin = [
-  { code: 0, name: '未退' },
-  { code: 1, name: '已退' },
-  { code: 2, name: '被退' },
-  { code: 3, name: '全部' },
+    {code: 0, name: '未退'},
+    {code: 1, name: '已退'},
+    {code: 2, name: '被退'},
+    {code: 3, name: '全部'},
 ]
 
 export const yiZhuTuiFeiLeiXing = [
-  { code: 0, name: '护士' },
-  { code: 2, name: '全部' },
-  { code: 1, name: '医嘱' },
-  { code: 3, name: '医技' },
+    {code: 0, name: '护士'},
+    {code: 2, name: '全部'},
+    {code: 1, name: '医嘱'},
+    {code: 3, name: '医技'},
 ]
 
 export const feiYongLeiXing = [
-  { code: 0, name: '项目' },
-  { code: 1, name: '药品' },
+    {code: 0, name: '项目'},
+    {code: 1, name: '药品'},
 ]
 
 export const admdvs = [
-  { code: 119900, name: '北京市市本级' },
-  { code: 129900, name: '天津市市本级' },
-  { code: 139900, name: '河北省省本级' },
-  { code: 149900, name: '山西省省本级' },
-  { code: 159900, name: '内蒙古自治区区本级' },
-  { code: 219900, name: '辽宁省省本级' },
-  { code: 229900, name: '吉林省省本级' },
-  { code: 239900, name: '黑龙江省省本级' },
-  { code: 319900, name: '上海市市本级' },
-  { code: 329900, name: '江苏省省本级' },
-  { code: 339900, name: '浙江省省本级' },
-  { code: 349900, name: '安徽省省本级' },
-  { code: 359900, name: '福建省省本级' },
-  { code: 369900, name: '江西省省本级' },
-  { code: 379900, name: '山东省省本级' },
-  { code: 419900, name: '河南省省本级' },
-  { code: 429900, name: '湖北省省本级' },
-  { code: 439900, name: '湖南省省本级' },
-  { code: 810000, name: '香港特别行政区' },
-  { code: 820000, name: '澳门特别行政区' },
-  { code: 430199, name: '长沙市市本级' },
-  { code: 430102, name: '长沙市芙蓉区' },
-  { code: 430103, name: '长沙市天心区' },
-  { code: 430104, name: '长沙市岳麓区' },
-  { code: 430105, name: '长沙市开福区' },
-  { code: 430111, name: '长沙市雨花区' },
-  { code: 430140, name: '长沙市高新区' },
-  { code: 430121, name: '长沙市长沙县' },
-  { code: 430112, name: '长沙市望城区' },
-  { code: 430181, name: '浏阳市' },
-  { code: 430182, name: '宁乡市' },
-  { code: 449900, name: '广东省省本级' },
-  { code: 459900, name: '广西壮族自治区区本级' },
-  { code: 469900, name: '海南省省本级' },
-  { code: 509900, name: '重庆市市本级' },
-  { code: 519900, name: '四川省省本级' },
-  { code: 529900, name: '贵州省省本级' },
-  { code: 539900, name: '云南省省本级' },
-  { code: 549900, name: '西藏自治区区本级' },
-  { code: 619900, name: '陕西省省本级' },
-  { code: 629900, name: '甘肃省省本级' },
-  { code: 639900, name: '青海省省本级' },
-  { code: 649900, name: '宁夏回族自治区区本级' },
-  { code: 659900, name: '新疆维吾尔自治区区本级' },
-  { code: 669900, name: '新疆生产建设兵团本级' },
+    {code: 119900, name: '北京市市本级'},
+    {code: 129900, name: '天津市市本级'},
+    {code: 139900, name: '河北省省本级'},
+    {code: 149900, name: '山西省省本级'},
+    {code: 159900, name: '内蒙古自治区区本级'},
+    {code: 219900, name: '辽宁省省本级'},
+    {code: 229900, name: '吉林省省本级'},
+    {code: 239900, name: '黑龙江省省本级'},
+    {code: 319900, name: '上海市市本级'},
+    {code: 329900, name: '江苏省省本级'},
+    {code: 339900, name: '浙江省省本级'},
+    {code: 349900, name: '安徽省省本级'},
+    {code: 359900, name: '福建省省本级'},
+    {code: 369900, name: '江西省省本级'},
+    {code: 379900, name: '山东省省本级'},
+    {code: 419900, name: '河南省省本级'},
+    {code: 429900, name: '湖北省省本级'},
+    {code: 439900, name: '湖南省省本级'},
+    {code: 810000, name: '香港特别行政区'},
+    {code: 820000, name: '澳门特别行政区'},
+    {code: 430199, name: '长沙市市本级'},
+    {code: 430102, name: '长沙市芙蓉区'},
+    {code: 430103, name: '长沙市天心区'},
+    {code: 430104, name: '长沙市岳麓区'},
+    {code: 430105, name: '长沙市开福区'},
+    {code: 430111, name: '长沙市雨花区'},
+    {code: 430140, name: '长沙市高新区'},
+    {code: 430121, name: '长沙市长沙县'},
+    {code: 430112, name: '长沙市望城区'},
+    {code: 430181, name: '浏阳市'},
+    {code: 430182, name: '宁乡市'},
+    {code: 449900, name: '广东省省本级'},
+    {code: 459900, name: '广西壮族自治区区本级'},
+    {code: 469900, name: '海南省省本级'},
+    {code: 509900, name: '重庆市市本级'},
+    {code: 519900, name: '四川省省本级'},
+    {code: 529900, name: '贵州省省本级'},
+    {code: 539900, name: '云南省省本级'},
+    {code: 549900, name: '西藏自治区区本级'},
+    {code: 619900, name: '陕西省省本级'},
+    {code: 629900, name: '甘肃省省本级'},
+    {code: 639900, name: '青海省省本级'},
+    {code: 649900, name: '宁夏回族自治区区本级'},
+    {code: 659900, name: '新疆维吾尔自治区区本级'},
+    {code: 669900, name: '新疆生产建设兵团本级'},
 ]
 
 export const getPsnType = [
-  { code: '11', name: '在职' },
-  { code: '12', name: '退休' },
-  { code: '1204', name: '提前退休' },
-  { code: '13', name: '离休' },
-  { code: '1401', name: '新生儿' },
-  { code: '1402', name: '学龄前儿童' },
-  { code: '1403', name: '中小学生' },
-  { code: '1404', name: '大学生' },
-  { code: '1405', name: '未成年(未入学)' },
-  { code: '15', name: '居民(成年)' },
-  { code: '16', name: '居民(老年)' },
-  { code: '1701', name: '城乡居民' },
+    {code: '11', name: '在职'},
+    {code: '12', name: '退休'},
+    {code: '1204', name: '提前退休'},
+    {code: '13', name: '离休'},
+    {code: '1401', name: '新生儿'},
+    {code: '1402', name: '学龄前儿童'},
+    {code: '1403', name: '中小学生'},
+    {code: '1404', name: '大学生'},
+    {code: '1405', name: '未成年(未入学)'},
+    {code: '15', name: '居民(成年)'},
+    {code: '16', name: '居民(老年)'},
+    {code: '1701', name: '城乡居民'},
 ]
 
 export const clrOptinsData = [
-  { code: '439900', name: '省本级' },
-  { code: '430100', name: '长沙市' },
-  { code: '430121', name: '长沙县' },
-  { code: '430199', name: '长沙市市本级' },
-  { code: '430102', name: '长沙市芙蓉区' },
-  { code: '430103', name: '长沙市天心区' },
-  { code: '430104', name: '长沙市岳麓区' },
-  { code: '430105', name: '长沙市开福区' },
-  { code: '430111', name: '长沙市雨花区' },
-  { code: '430140', name: '长沙市高新区' },
-  { code: '430112', name: '长沙市望城区' },
+    {code: '439900', name: '省本级'},
+    {code: '430100', name: '长沙市'},
+    {code: '430121', name: '长沙县'},
+    {code: '430199', name: '长沙市市本级'},
+    {code: '430102', name: '长沙市芙蓉区'},
+    {code: '430103', name: '长沙市天心区'},
+    {code: '430104', name: '长沙市岳麓区'},
+    {code: '430105', name: '长沙市开福区'},
+    {code: '430111', name: '长沙市雨花区'},
+    {code: '430140', name: '长沙市高新区'},
+    {code: '430112', name: '长沙市望城区'},
 ]
 
 export const operations = [
-  { code: '0', name: '非手术' },
-  { code: '1', name: '传统手术' },
-  { code: '2', name: '介入手术' },
-  { code: '3', name: '微创手术' },
-  { code: '4', name: '恶性肿瘤放射治疗' },
-  { code: '5', name: '恶性肿瘤化学治疗' },
-  { code: '6', name: '恶性肿瘤放疗加化疗' },
-  { code: '7', name: '恶性肿瘤姑息治疗' },
+    {code: '0', name: '非手术'},
+    {code: '1', name: '传统手术'},
+    {code: '2', name: '介入手术'},
+    {code: '3', name: '微创手术'},
+    {code: '4', name: '恶性肿瘤放射治疗'},
+    {code: '5', name: '恶性肿瘤化学治疗'},
+    {code: '6', name: '恶性肿瘤放疗加化疗'},
+    {code: '7', name: '恶性肿瘤姑息治疗'},
 ]
 export const decTypes = [
-  { code: 0, name: '有对照', dis: true },
-  { code: 1, name: '治疗未完成' },
-  { code: 2, name: '无对照', dis: true },
-  { code: 3, name: '转科' },
-  { code: 4, name: '单列', dis: true },
+    {code: 0, name: '有对照', dis: true},
+    {code: 1, name: '治疗未完成'},
+    {code: 2, name: '无对照', dis: true},
+    {code: 3, name: '转科'},
+    {code: 4, name: '单列', dis: true},
 ]

+ 5 - 5
src/views/medical-insurance/allpatient/SetSheetUpload.vue

@@ -190,7 +190,7 @@
             </el-form-item>
           </el-col>
           <el-col :span="spanWidth">
-            <el-form-item label="结算机构" prop="psnType">
+            <el-form-item label="结算机构" prop="clrOptins">
               <el-select v-model="queryTerm.clrOptins" placeholder="结算机构" filterable clearable multiple
                          :collapse-tags="true"
               >
@@ -279,7 +279,7 @@ import {
   auditFlags,
   auditName,
   shenHeQuanXian,
-  xianZhongChuQu
+  huoQuZhongKongChaXunTiaoJian
 } from "../../../components/si-sheet-upload/jieSuanDanXiuGai";
 import XianZhiShiJian from "../../../components/si-sheet-upload/XianZhiShiJian.vue";
 import {stringNotBlank} from "../../../utils/blank-utils";
@@ -538,9 +538,9 @@ export default {
         referPhysicians.value = [{code: store.state.user.info.code, name: store.state.user.info.name}]
       }
       queryTerm.value.medType = ['22', '2101']
-      queryTerm.value.insutype = xianZhongChuQu(insutypes.value, ['340', '350', '360', '510', '410'])
-      queryTerm.value.psnType = xianZhongChuQu(getPsnType, ["13"])
-      queryTerm.value.clrOptins = xianZhongChuQu(clrOptins.value, ["439900", "430121"])
+      queryTerm.value.insutype = huoQuZhongKongChaXunTiaoJian(insutypes.value, ['340', '350', '360', '510', '410'])
+      queryTerm.value.psnType = huoQuZhongKongChaXunTiaoJian(getPsnType, ["13"])
+      queryTerm.value.clrOptins = huoQuZhongKongChaXunTiaoJian(clrOptins.value, ["439900", "430121"])
     }
 
     const daYingJieSuanDanRef = ref(null)