Commit 64a29ce5 authored by 任鸿志's avatar 任鸿志

feat(jiesuan): 添加异地和慢病标志功能

- 在 Readcards 组件中添加异地和慢病标志选择框
- 在 outpatientCharging 组件中添加生育标志列
- 在 patientInfo 组件中显示慢病标志、病种、医保类型等信息
- 修改 getyibaoinfo 方法以传递异地和慢病标志
parent 5e13d722
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
<div class="my-card-body"> <div class="my-card-body">
<!-- <div style="position: absolute;right: 24px;top: 15px;width: 19px;" @click="handleCloseModal">X</div> --> <!-- <div style="position: absolute;right: 24px;top: 15px;width: 19px;" @click="handleCloseModal">X</div> -->
<img :src="logo" style="display: block; " alt="logo" /> <img :src="logo" style="display: block; " alt="logo" />
<div style="text-align: center;line-height: 50px;">
<el-checkbox v-model="isYDpatint">是否异地</el-checkbox>
<el-checkbox v-model="isMBpatint">是否慢病</el-checkbox>
</div>
<!-- 目前因为开发阶段没有很多扫码设备,需要先设置输入框和下拉框满足当下情况 --> <!-- 目前因为开发阶段没有很多扫码设备,需要先设置输入框和下拉框满足当下情况 -->
<div class="swipe_user_select_content" style="margin:10px auto;"> <div class="swipe_user_select_content" style="margin:10px auto;">
<!-- <el-select ref="physicalCardType" v-model="form.physicalCardType" style="width: 30%;" placeholder="请选择卡类型" <!-- <el-select ref="physicalCardType" v-model="form.physicalCardType" style="width: 30%;" placeholder="请选择卡类型"
...@@ -37,6 +41,8 @@ export default { ...@@ -37,6 +41,8 @@ export default {
}, },
data() { data() {
return { return {
isMBpatint:false,
isYDpatint:false,
listinfo:{ listinfo:{
type:'', type:'',
...@@ -111,12 +117,16 @@ export default { ...@@ -111,12 +117,16 @@ export default {
if(this.form.physicalCard.toString().length === 11){ if(this.form.physicalCard.toString().length === 11){
this.form.physicalCard= this.form.physicalCard.substring(3) this.form.physicalCard= this.form.physicalCard.substring(3)
this.form.physicalCardType = 'PATIENT_ID' this.form.physicalCardType = 'PATIENT_ID'
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
} }
if(this.form.physicalCard.toString().length === 21){ if(this.form.physicalCard.toString().length === 21){
this.form.physicalCard= this.form.physicalCard.substring(3) this.form.physicalCard= this.form.physicalCard.substring(3)
this.form.physicalCardType = 'ID_CARD' this.form.physicalCardType = 'ID_CARD'
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
} }
...@@ -129,6 +139,8 @@ export default { ...@@ -129,6 +139,8 @@ export default {
this.form.physicalCardType = 'YBEWM' this.form.physicalCardType = 'YBEWM'
this.listinfo.type='YBEWM' this.listinfo.type='YBEWM'
this.listinfo.value=this.form.physicalCard this.listinfo.value=this.form.physicalCard
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form,this.listinfo) this.$emit('getyibaoinfo', this.form,this.listinfo)
} else if (this.form.physicalCard.toString().length === 15) { } else if (this.form.physicalCard.toString().length === 15) {
// 就诊卡 // 就诊卡
...@@ -146,6 +158,8 @@ export default { ...@@ -146,6 +158,8 @@ export default {
} else if (this.form.physicalCard.toString().length === 18) { } else if (this.form.physicalCard.toString().length === 18) {
// 身份证 // 身份证
this.form.physicalCardType = 'ID_CARD' this.form.physicalCardType = 'ID_CARD'
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
} }
...@@ -243,6 +257,8 @@ export default { ...@@ -243,6 +257,8 @@ export default {
} }
} }
} }
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
if (this.form.sfzhm) { if (this.form.sfzhm) {
...@@ -262,6 +278,8 @@ export default { ...@@ -262,6 +278,8 @@ export default {
} }
} }
} }
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
if (this.form.physicalCard) { if (this.form.physicalCard) {
clearInterval(this.interval) clearInterval(this.interval)
...@@ -286,6 +304,8 @@ export default { ...@@ -286,6 +304,8 @@ export default {
} }
} }
} }
this.form.isYD=this.isYDpatint
this.form.isMB=this.isMBpatint
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
if (this.form.physicalCard) { if (this.form.physicalCard) {
clearInterval(this.interval) clearInterval(this.interval)
......
...@@ -78,6 +78,11 @@ ...@@ -78,6 +78,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="total" align="center" label="总金额" width="80"> </el-table-column> <el-table-column prop="total" align="center" label="总金额" width="80"> </el-table-column>
<el-table-column prop="is_sy" label="生育" width="90" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span style="color: #1a5bfd;">{{ scope.row.is_sy }}</span>
</template>
</el-table-column>
<el-table-column prop="doct_name" label="医生姓名" width="90" :show-overflow-tooltip="true"> </el-table-column> <el-table-column prop="doct_name" label="医生姓名" width="90" :show-overflow-tooltip="true"> </el-table-column>
<el-table-column prop="occurrence_dept_name" label="开单科室" :show-overflow-tooltip="true" width="150"> </el-table-column> <el-table-column prop="occurrence_dept_name" label="开单科室" :show-overflow-tooltip="true" width="150"> </el-table-column>
...@@ -1892,7 +1897,7 @@ export default { ...@@ -1892,7 +1897,7 @@ export default {
//yltclb:row.settle_type.is_mb==true?'4':'6', //yltclb:row.settle_type.is_mb==true?'4':'6',
rqlb: this.is_sy ? 'E' : this.patientData.crowd_type, rqlb: this.is_sy ? 'E' : this.patientData.crowd_type,
//xzbz:row.settle_type.is_gs==true?'D':'C', //xzbz:row.settle_type.is_gs==true?'D':'C',
settle_type: row.settle_type.code, settle_type: this.man_name=='5'?'05': row.settle_type.code,
}) })
.then(response => { .then(response => {
this.$message({ this.$message({
......
...@@ -122,6 +122,33 @@ ...@@ -122,6 +122,33 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="boxmain">
<el-form-item>
<div class="form_item">
<el-tag class="label" color="#E7EEFF">慢病标志</el-tag>
<el-input v-model="patientData.mzdbjbsName" disabled></el-input>
</div>
</el-form-item>
<el-form-item>
<div class="form_item">
<el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">慢病病种</el-tag>
<el-input v-model="patientData.mzdbjbs" disabled></el-input>
</div>
</el-form-item>
<el-form-item>
<div class="form_item">
<el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">医保类型</el-tag>
<el-input v-model="patientData.cbd_type_name" disabled></el-input>
</div>
</el-form-item>
<el-form-item>
<div class="form_item">
<el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600">门诊大病备注</el-tag>
<el-input v-model="patientData.mzdbbz" disabled></el-input>
</div>
</el-form-item>
</div>
</div> </div>
...@@ -196,10 +223,14 @@ export default { ...@@ -196,10 +223,14 @@ export default {
}, },
//首次进页面第一次刷卡返回的信息 //首次进页面第一次刷卡返回的信息
getyibaoinfo(e, x) { getyibaoinfo(e, x) {
console.log(e,'ooooooooooooooooooo')
this.allLoading=true this.allLoading=true
this.carddialogFormVisible = false this.carddialogFormVisible = false
hisybbalance({ hisybbalance({
is_yd:e.isYD,
xzbz:e.isMB==true?'D':'C',
// card_no: e.physicalCard, // card_no: e.physicalCard,
p_grbh:e.physicalCard,
card_type: e.ksbm ? 'SOCIAL_CARD' : e.physicalCardType, card_type: e.ksbm ? 'SOCIAL_CARD' : e.physicalCardType,
p_ewm: x?.value, p_ewm: x?.value,
p_shbzhm: e.sfzh, p_shbzhm: e.sfzh,
...@@ -214,6 +245,7 @@ export default { ...@@ -214,6 +245,7 @@ export default {
this.patientData.yfdxbzName= this.patientData.yfdxbz== '' ? '' : this.patientData.yfdxbz this.patientData.yfdxbzName= this.patientData.yfdxbz== '' ? '' : this.patientData.yfdxbz
this.patientData.yfdxbzNameType=response.data.yfdxbzName == '1' ? '优抚对象' : '' this.patientData.yfdxbzNameType=response.data.yfdxbzName == '1' ? '优抚对象' : ''
this.patientData.rqlbName=this.patientData.rqlb == 'A' ? '职工' : '居民' this.patientData.rqlbName=this.patientData.rqlb == 'A' ? '职工' : '居民'
this.patientData.mzdbjbsName=this.patientData.mzdbjbs == '' ? '' : ''
if (response.data.family_data instanceof Array) { if (response.data.family_data instanceof Array) {
this.patientData.family_data={} this.patientData.family_data={}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment