Commit 3e1dd25b authored by 任鸿志's avatar 任鸿志

refactor(jiesuan): 移除结算模块中的 console.log 语句

- 删除了多个组件和文件中的 console.log 语句
- 优化了代码结构,提高了代码可读性
- 减少了开发过程中的冗余输出
parent 90c0a87f
...@@ -263,7 +263,6 @@ export function hisybbalance (data) { ...@@ -263,7 +263,6 @@ export function hisybbalance (data) {
}) })
} }
export function patient (data) { export function patient (data) {
console.log(data,'ppppppppppppppppppp')
return request({ return request({
// url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`, // url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`,
url: `/api/patient/${data.card_no}`, url: `/api/patient/${data.card_no}`,
......
...@@ -264,7 +264,6 @@ export function hisybbalance (data) { ...@@ -264,7 +264,6 @@ export function hisybbalance (data) {
}) })
} }
export function patient (data) { export function patient (data) {
console.log(data,'ppppppppppppppppppp')
return requestSFC({ return requestSFC({
// url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`, // url: `${Vue.prototype.$api.jiesuan.settlementPre}/${patient_id}`,
url: `/api/patient/${data.card_no}`, url: `/api/patient/${data.card_no}`,
......
...@@ -453,7 +453,6 @@ export default { ...@@ -453,7 +453,6 @@ export default {
printcard(e) { printcard(e) {
const _this = this const _this = this
console.log(e)
printmis({ printmis({
patient_id: e.his_patient_id, patient_id: e.his_patient_id,
...@@ -673,7 +672,6 @@ export default { ...@@ -673,7 +672,6 @@ export default {
// </body> // </body>
// </html> // </html>
// ` // `
console.log(getLodop(), 'uuuuuuuuuuuuuuuuuuuuuuuuuuuuu')
// printProof(user) // printProof(user)
var LODOP = getLodop() var LODOP = getLodop()
if (LODOP) { if (LODOP) {
......
...@@ -117,7 +117,6 @@ export default { ...@@ -117,7 +117,6 @@ export default {
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'
console.log(this.form.physicalCard,'身份证')
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
} }
......
...@@ -293,7 +293,6 @@ export default { ...@@ -293,7 +293,6 @@ export default {
// 接收websocket返回的数据值 // 接收websocket返回的数据值
// 卡类型:就诊卡1,身份证4,社保卡3,山东省健康码8,医保电子凭证2 // 卡类型:就诊卡1,身份证4,社保卡3,山东省健康码8,医保电子凭证2
setOnmessageMessage(evt) { setOnmessageMessage(evt) {
console.log(evt,'.............................')
let data = '' let data = ''
if (this.isJSON(evt.data) && evt?.data) { if (this.isJSON(evt.data) && evt?.data) {
data = JSON.parse(evt.data) data = JSON.parse(evt.data)
......
...@@ -291,7 +291,6 @@ export default { ...@@ -291,7 +291,6 @@ export default {
// 接收websocket返回的数据值 // 接收websocket返回的数据值
// 卡类型:就诊卡1,身份证4,社保卡3,山东省健康码8,医保电子凭证2 // 卡类型:就诊卡1,身份证4,社保卡3,山东省健康码8,医保电子凭证2
setOnmessageMessage(evt) { setOnmessageMessage(evt) {
console.log(evt, '.............................')
let data = '' let data = ''
if (this.isJSON(evt.data) && evt?.data) { if (this.isJSON(evt.data) && evt?.data) {
data = JSON.parse(evt.data) data = JSON.parse(evt.data)
......
...@@ -119,7 +119,6 @@ export default { ...@@ -119,7 +119,6 @@ export default {
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'
console.log(this.form.physicalCard,'身份证')
this.$emit('getyibaoinfo', this.form) this.$emit('getyibaoinfo', this.form)
} }
......
...@@ -437,8 +437,6 @@ export default { ...@@ -437,8 +437,6 @@ export default {
}, },
printcard(e) { printcard(e) {
const _this = this const _this = this
console.log(e)
printmis({ printmis({
channel: '3', channel: '3',
patient_id: e.his_patient_id, patient_id: e.his_patient_id,
......
...@@ -50,7 +50,6 @@ export function download(response, filename) { ...@@ -50,7 +50,6 @@ export function download(response, filename) {
let blob = new Blob([response]); let blob = new Blob([response]);
let downloadElement = document.createElement("a"); let downloadElement = document.createElement("a");
let href = window.URL.createObjectURL(blob); //创建下载的链接 let href = window.URL.createObjectURL(blob); //创建下载的链接
console.log(href)
downloadElement.href = href; downloadElement.href = href;
downloadElement.download = filename; //下载后文件名 downloadElement.download = filename; //下载后文件名
document.body.appendChild(downloadElement); document.body.appendChild(downloadElement);
......
...@@ -29,11 +29,9 @@ service.interceptors.request.use( ...@@ -29,11 +29,9 @@ service.interceptors.request.use(
config.headers['job_number'] = localStorage.getItem('jobNumber') config.headers['job_number'] = localStorage.getItem('jobNumber')
config.headers['dept_code'] = localStorage.getItem('deptCode') config.headers['dept_code'] = localStorage.getItem('deptCode')
console.log(localStorage.getItem('deptCode'),'pppppppppppppp')
if (localStorage.getItem('deptCode')=='') { if (localStorage.getItem('deptCode')=='') {
let urlParams = new URLSearchParams(window.location.search) let urlParams = new URLSearchParams(window.location.search)
config.headers['dept_code'] = urlParams.get('dept') config.headers['dept_code'] = urlParams.get('dept')
console.log( urlParams.get('dept'),'kkkkkkkkkkkkkkkkkkk')
} }
if (getToken() && !isToken) { if (getToken() && !isToken) {
config.headers['Authorization'] = getToken() config.headers['Authorization'] = getToken()
......
...@@ -22,7 +22,6 @@ const service = axios.create({ ...@@ -22,7 +22,6 @@ const service = axios.create({
service.interceptors.request.use( service.interceptors.request.use(
config => { config => {
// 是否需要设置 token请根据实际情况自行修改 // 是否需要设置 token请根据实际情况自行修改
console.log(location.search.slice(1).split('=')[3],location.search,'kkkkkkkkkkkkkkk')
config.headers['ksbm']='111111111111111' config.headers['ksbm']='111111111111111'
config.headers['dataType']="json" config.headers['dataType']="json"
config.headers['contentType']="application/json" config.headers['contentType']="application/json"
......
...@@ -28,11 +28,9 @@ service.interceptors.request.use( ...@@ -28,11 +28,9 @@ service.interceptors.request.use(
config.headers['job_number'] = localStorage.getItem('jobNumber') config.headers['job_number'] = localStorage.getItem('jobNumber')
config.headers['token'] = 'outside' config.headers['token'] = 'outside'
config.headers['dept_code'] = localStorage.getItem('deptCode') config.headers['dept_code'] = localStorage.getItem('deptCode')
console.log(localStorage.getItem('deptCode'),'pppppppppppppp')
if (localStorage.getItem('deptCode')=='') { if (localStorage.getItem('deptCode')=='') {
let urlParams = new URLSearchParams(window.location.search) let urlParams = new URLSearchParams(window.location.search)
config.headers['dept_code'] = urlParams.get('dept') config.headers['dept_code'] = urlParams.get('dept')
console.log( urlParams.get('dept'),'kkkkkkkkkkkkkkkkkkk')
} }
// if (getToken() && !isToken) { // if (getToken() && !isToken) {
// config.headers['Authorization'] = getToken() // config.headers['Authorization'] = getToken()
......
...@@ -27,11 +27,9 @@ service.interceptors.request.use( ...@@ -27,11 +27,9 @@ service.interceptors.request.use(
const isToken = (config.headers || {}).isToken === false const isToken = (config.headers || {}).isToken === false
config.headers['job_number'] = localStorage.getItem('jobNumber') config.headers['job_number'] = localStorage.getItem('jobNumber')
config.headers['dept_code'] = localStorage.getItem('deptCode') config.headers['dept_code'] = localStorage.getItem('deptCode')
console.log(localStorage.getItem('deptCode'),'pppppppppppppp')
if (localStorage.getItem('deptCode')=='') { if (localStorage.getItem('deptCode')=='') {
let urlParams = new URLSearchParams(window.location.search) let urlParams = new URLSearchParams(window.location.search)
config.headers['dept_code'] = urlParams.get('dept') config.headers['dept_code'] = urlParams.get('dept')
console.log( urlParams.get('dept'),'kkkkkkkkkkkkkkkkkkk')
} }
if (getToken() && !isToken) { if (getToken() && !isToken) {
config.headers['Authorization'] = getToken() config.headers['Authorization'] = getToken()
......
...@@ -46,7 +46,6 @@ export function getDay(day, hours) { ...@@ -46,7 +46,6 @@ export function getDay(day, hours) {
var tYear = today.getFullYear() var tYear = today.getFullYear()
var tMonth = today.getMonth() var tMonth = today.getMonth()
var tDate = today.getDate() var tDate = today.getDate()
console.log(today)
// var getHours = today.getHours() // var getHours = today.getHours()
tMonth = doHandleMonth(tMonth + 1) tMonth = doHandleMonth(tMonth + 1)
tDate = doHandleMonth(tDate) tDate = doHandleMonth(tDate)
......
...@@ -350,7 +350,6 @@ export default { ...@@ -350,7 +350,6 @@ export default {
for (var i = 0; i < e.length; i++) { for (var i = 0; i < e.length; i++) {
arr.push(formatDate(e[i], 'yyyy-MM-dd')) arr.push(formatDate(e[i], 'yyyy-MM-dd'))
} }
console.log(arr)
this.form.fysfsj_date_start = arr[0] this.form.fysfsj_date_start = arr[0]
this.form.fysfsj_date_end = arr[1] this.form.fysfsj_date_end = arr[1]
// this.form.brjsrq = arr.toString() // this.form.brjsrq = arr.toString()
...@@ -371,7 +370,6 @@ export default { ...@@ -371,7 +370,6 @@ export default {
}, },
//批量上传 //批量上传
uploadMore() { uploadMore() {
console.log(this.selectedList,'lklkllkll')
// uploadSett // uploadSett
var that = this var that = this
that.isToday = 0 that.isToday = 0
...@@ -395,7 +393,6 @@ export default { ...@@ -395,7 +393,6 @@ export default {
return false return false
} }
this.loading = true this.loading = true
console.log(hisInpatientNoArr)
uploadSett(hisInpatientNoArr) uploadSett(hisInpatientNoArr)
.then(() => { .then(() => {
that.getList() that.getList()
...@@ -406,7 +403,6 @@ export default { ...@@ -406,7 +403,6 @@ export default {
}, },
//上传当日 //上传当日
uploadToday(x) { uploadToday(x) {
console.log(x)
var that = this var that = this
// if (x) { // if (x) {
this.loading = true this.loading = true
...@@ -414,7 +410,6 @@ export default { ...@@ -414,7 +410,6 @@ export default {
his_inpatient_no: this.current.his_inpatient_no, his_inpatient_no: this.current.his_inpatient_no,
day: this.current.fysfsj_date, day: this.current.fysfsj_date,
} }
console.log([qyparams])
uploadSett([qyparams]) uploadSett([qyparams])
.then(response => { .then(response => {
that.getList() that.getList()
......
...@@ -306,7 +306,6 @@ export default { ...@@ -306,7 +306,6 @@ export default {
non_preliminary: false, non_preliminary: false,
out_charge_no: this.banlist.serial_number, out_charge_no: this.banlist.serial_number,
} }
console.log(t, e, '9999999')
//预退款 //预退款
// await // await
refund(t).then(response => { refund(t).then(response => {
...@@ -414,7 +413,6 @@ export default { ...@@ -414,7 +413,6 @@ export default {
this.sprice_show = false this.sprice_show = false
this.loading = true this.loading = true
this.list = [] this.list = []
console.log(this.tuidata.type.value, this.tuidata, this.tuidata.type.value == 'RECHARGE')
if (this.tuidata.type.value == 'RECHARGE') { if (this.tuidata.type.value == 'RECHARGE') {
this.tuiybbank(this.tuidata) this.tuiybbank(this.tuidata)
} else if (this.tuidata.source.value == 'BANK' || this.tuidata.source.value == 'MIS_BANK') { } else if (this.tuidata.source.value == 'BANK' || this.tuidata.source.value == 'MIS_BANK') {
...@@ -452,7 +450,6 @@ export default { ...@@ -452,7 +450,6 @@ export default {
// .then(() => { // .then(() => {
// this.loading = true // this.loading = true
// this.list = [] // this.list = []
// console.log(row.type.value, row, row.type.value == 'RECHARGE')
// if (row.type.value == 'RECHARGE') { // if (row.type.value == 'RECHARGE') {
// this.tuiybbank(row) // this.tuiybbank(row)
// } else if (row.source.value == 'BANK' || row.source.value == 'MIS_BANK') { // } else if (row.source.value == 'BANK' || row.source.value == 'MIS_BANK') {
......
...@@ -82,9 +82,7 @@ export default { ...@@ -82,9 +82,7 @@ export default {
}, },
methods: { methods: {
getListApi() { getListApi() {
console.log("getList");
list().then(response => { list().then(response => {
console.log('🚀 ~ getList ~ response:', response)
this.listData = response.data this.listData = response.data
}) })
.catch((e) => { .catch((e) => {
...@@ -96,12 +94,10 @@ export default { ...@@ -96,12 +94,10 @@ export default {
.finally(() => { }) .finally(() => { })
}, },
addApi(convert_text, original_text) { addApi(convert_text, original_text) {
console.log("addApi");
add({ add({
'convert_text': convert_text, 'convert_text': convert_text,
'original_text': original_text, 'original_text': original_text,
}).then(response => { }).then(response => {
console.log('🚀 ~ addApi ~ response:', response)
}) })
.catch((e) => { .catch((e) => {
this.$message({ this.$message({
...@@ -112,13 +108,11 @@ export default { ...@@ -112,13 +108,11 @@ export default {
.finally(() => { }) .finally(() => { })
}, },
editApi(id, convert_text, original_text) { editApi(id, convert_text, original_text) {
console.log("editApi");
edit({ edit({
'id': id, 'id': id,
'convert_text': convert_text, 'convert_text': convert_text,
'original_text': original_text 'original_text': original_text
}).then(response => { }).then(response => {
console.log('🚀 ~ editApi ~ response:', response)
}) })
.catch((e) => { .catch((e) => {
this.$message({ this.$message({
...@@ -132,7 +126,6 @@ export default { ...@@ -132,7 +126,6 @@ export default {
del({ del({
id: textId id: textId
}).then(response => { }).then(response => {
console.log('🚀 ~ delApi ~ response:', response)
}) })
.catch((e) => { .catch((e) => {
this.$message({ this.$message({
...@@ -143,12 +136,10 @@ export default { ...@@ -143,12 +136,10 @@ export default {
.finally(() => { }) .finally(() => { })
}, },
updateStatus(item) { updateStatus(item) {
console.log(item);
edit({ edit({
'id': item.id, 'id': item.id,
'status': item.status, 'status': item.status,
}).then(response => { }).then(response => {
console.log('🚀 ~ editApi ~ response:', response)
}) })
.catch((e) => { .catch((e) => {
this.$message({ this.$message({
...@@ -172,7 +163,6 @@ export default { ...@@ -172,7 +163,6 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
console.log(user.id);
this.delApi(user.id); this.delApi(user.id);
this.$message.success('删除成功'); this.$message.success('删除成功');
}).catch(() => { }).catch(() => {
......
...@@ -2261,7 +2261,6 @@ export default { ...@@ -2261,7 +2261,6 @@ export default {
}, },
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
console.log(this.patientData.patient_id)
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id, patient_id:this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
<div class="userInfo_sex">{{ patientData.sex ? patientData.sex.name : '' }}</div> <div class="userInfo_sex">{{ patientData.sex ? patientData.sex.name : '' }}</div>
<div class="userInfo_age">{{ patientData.age }}</div> <div class="userInfo_age">{{ patientData.age }}</div>
<div class="yibaoInfo_div"> <div class="yibaoInfo_div">
<div class="yibaoInfo_div_1">{{ patientData.cbd_type=='1'?'本地':patientData.cbd_type=='2'?'省直':patientData.cbd_type=='3'?'省内异地':patientData.cbd_type=='4'?'省外异地':patientData.cbd_type=='0'?'自费':'' }}</div> <div class="yibaoInfo_div_1">{{ patientData.cbd_type_name }}济南职工</div>
<!-- <div class="yibaoInfo_div_1">{{ patientData.cbd_type=='1'?'济南':patientData.cbd_type=='2'?'省直':patientData.cbd_type=='3'?'省内异地':patientData.cbd_type=='4'?'省外异地':patientData.cbd_type=='0'?'自费':'' }}</div> -->
</div> </div>
<div class="yibaoInfo_div_2">就诊卡:{{ patientData.patient_id }}</div> <div class="yibaoInfo_div_2">就诊卡:{{ patientData.patient_id }}</div>
<div class="yibaoInfo_div_2">身份证号:{{ patientData.id_card }}</div> <div class="yibaoInfo_div_2">身份证号:{{ patientData.id_card }}</div>
...@@ -31,10 +32,7 @@ ...@@ -31,10 +32,7 @@
<el-date-picker size="mini" v-model="GSdatatime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> </el-date-picker> <el-date-picker size="mini" v-model="GSdatatime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> </el-date-picker>
</div> </div>
<div style="display: flex"> <div style="display: flex">
<!-- <el-checkbox v-model="gz_name" style="margin-right: 10px">转为个账账单</el-checkbox> -->
<!-- <el-checkbox v-model="man_name">转为自费账单</el-checkbox> -->
<el-checkbox v-model="is_sy">计划生育</el-checkbox> <el-checkbox v-model="is_sy">计划生育</el-checkbox>
<!-- <el-checkbox v-model="insurance_payment">智慧医保支付</el-checkbox> -->
</div> </div>
<div style="display: flex" class="tableScopeSwitchBox"> <div style="display: flex" class="tableScopeSwitchBox">
<div>开启自费结算:</div> <div>开启自费结算:</div>
...@@ -42,13 +40,12 @@ ...@@ -42,13 +40,12 @@
</div> </div>
<div style="display: flex" v-if="patientInfo.yblx != '01'"> <div style="display: flex" v-if="patientInfo.yblx != '01'">
<div style="line-height: 28px; width: 75px">结算类型:</div> <div style="line-height: 28px; width: 75px">结算类型:</div>
<div class="selectinput" style="margin-left: 20px"> <div class="selectinput">
<el-select v-model="man_name" placeholder="请选择" @change="changePersonType(man_name)" clearable="true"> <el-select v-model="man_name" placeholder="请选择" @change="changePersonType(man_name)" clearable="true">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> </el-option> <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"> </el-option>
</el-select> </el-select>
</div> </div>
</div> </div>
<!-- <el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button> -->
</div> </div>
</div> </div>
...@@ -88,7 +85,7 @@ ...@@ -88,7 +85,7 @@
<el-table-column prop="serial_no" label="费用流水号" width="100" :show-overflow-tooltip="true"> </el-table-column> <el-table-column prop="serial_no" label="费用流水号" width="100" :show-overflow-tooltip="true"> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="box-card"> <div class="box-card-right">
<div class="box_card_title" style="margin-bottom: 25px"> <div class="box_card_title" style="margin-bottom: 25px">
<div @click="addEventListener()">费用明细</div> <div @click="addEventListener()">费用明细</div>
<div><el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button></div> <div><el-button type="primary" size="mini" round @click="jshistory">结算历史</el-button></div>
...@@ -147,13 +144,13 @@ ...@@ -147,13 +144,13 @@
<span style="color: red">{{ <span style="color: red">{{
man_name == '1' man_name == '1'
? selectTableArr[0].settle_type.name+'-转-自费' ? selectTableArr[0].settle_type.name + '-转-自费'
: man_name == '2' : man_name == '2'
? selectTableArr[0].settle_type.name+'-转-门诊统筹' ? selectTableArr[0].settle_type.name + '-转-门诊统筹'
: man_name == '3' : man_name == '3'
? selectTableArr[0].settle_type.name+'-转-医保个账' ? selectTableArr[0].settle_type.name + '-转-医保个账'
: man_name == '4' : man_name == '4'
? selectTableArr[0].settle_type.name+'-转-门诊慢性病' ? selectTableArr[0].settle_type.name + '-转-门诊慢性病'
: selectTableArr[0] : selectTableArr[0]
? selectTableArr[0].settle_type.name ? selectTableArr[0].settle_type.name
: '' : ''
...@@ -384,7 +381,13 @@ ...@@ -384,7 +381,13 @@
<el-form-item> <el-form-item>
<div class="form_item"> <div class="form_item">
<el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600"><span>医保个账支付</span></el-tag> <el-tag class="label" color="#E7EEFF" style="color: #1a5bfd; font-weight: 600"><span>医保个账支付</span></el-tag>
<el-input v-model="bxxxinfo.grzhzf" @input="gjzhifu()" @blur="grzhzfBlur()" type="number" :disabled="form.insurance_type == 'LONGDISTANCE' || bxxxinfo.personal_pay_syd * 1 !=0"></el-input> <el-input
v-model="bxxxinfo.grzhzf"
@input="gjzhifu()"
@blur="grzhzfBlur()"
type="number"
:disabled="form.insurance_type == 'LONGDISTANCE' || bxxxinfo.personal_pay_syd * 1 != 0"
></el-input>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -551,7 +554,15 @@ ...@@ -551,7 +554,15 @@
<!-- 读卡 --> <!-- 读卡 -->
<Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" /> <Readcards :isOpenCarded="carddialogFormVisible" @getyibaoinfo="getyibaoinfo" @closeReadcard="closeReadcard" />
<!-- 确认结算-新-不选择卡类型 --> <!-- 确认结算-新-不选择卡类型 -->
<ReadcardsNew :isOpenCarded="yibaoshowNew" :man_name='man_name' :patientcard="form" :patientData="patientData" :selectTableArr="selectTableArr" @getyibaoinfo="selectCardYiboPreselect" @close="closeSelectCard" /> <ReadcardsNew
:isOpenCarded="yibaoshowNew"
:man_name="man_name"
:patientcard="form"
:patientData="patientData"
:selectTableArr="selectTableArr"
@getyibaoinfo="selectCardYiboPreselect"
@close="closeSelectCard"
/>
<invoicepost :isOpenCarded="invoicepostVisible" :patientData="invoicepostData" @success="invoicepostSuccess"></invoicepost> <invoicepost :isOpenCarded="invoicepostVisible" :patientData="invoicepostData" @success="invoicepostSuccess"></invoicepost>
<!-- loaidng 动画 --> <!-- loaidng 动画 -->
<div v-if="false" class="grey-cloth" id="loading"> <div v-if="false" class="grey-cloth" id="loading">
...@@ -647,7 +658,7 @@ export default { ...@@ -647,7 +658,7 @@ export default {
name: 'Outpatient', name: 'Outpatient',
data() { data() {
return { return {
zhenduanData:'', zhenduanData: '',
zifei_disable: false, zifei_disable: false,
is_sy: false, is_sy: false,
saveLoding: false, saveLoding: false,
...@@ -863,9 +874,11 @@ export default { ...@@ -863,9 +874,11 @@ export default {
ybewmsfid: '', ybewmsfid: '',
misdataYB: {}, misdataYB: {},
titleshow: '', titleshow: '',
selectTableArr: [{ selectTableArr: [
settle_type:{} {
}], settle_type: {},
},
],
cardNoShow: false, cardNoShow: false,
visitNo: '', visitNo: '',
visitDate: '', visitDate: '',
...@@ -922,8 +935,7 @@ export default { ...@@ -922,8 +935,7 @@ export default {
}, },
}, },
methods: { methods: {
invoicepostSuccess(){ invoicepostSuccess() {
console.log('invoicepostSuccess')
this.invoicepostVisible = false this.invoicepostVisible = false
}, },
async deleteViolation() { async deleteViolation() {
...@@ -1243,7 +1255,6 @@ export default { ...@@ -1243,7 +1255,6 @@ export default {
let chongzhi = this.source_pay_amount * 1 + this.xj_amount * 1 let chongzhi = this.source_pay_amount * 1 + this.xj_amount * 1
//充值成功后的代缴费金额 //充值成功后的代缴费金额
this.form.djf = this.round(this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2) - chongzhi, 2) //this.round(- chongzhi, 2) this.form.djf = this.round(this.round(this.round(djsold - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.gjzhzf, 2) - chongzhi, 2) //this.round(- chongzhi, 2)
console.log(response, '充值成功++++++++++++++++')
//微信支付宝弹窗 //微信支付宝弹窗
this.uploadfeeshow = false this.uploadfeeshow = false
// 总的大弹窗 // 总的大弹窗
...@@ -1761,15 +1772,18 @@ export default { ...@@ -1761,15 +1772,18 @@ export default {
this.ismb = true this.ismb = true
} }
}) })
// 医技预约channel=4不走审核 省职也要加审核 25-7-10 慢病审核 // 医技预约channel=4不走审核 省职也要加审核 25-7-10 慢病审核
if ( ( this.channel != '4' && (this.man_name =='4' || (this.ismb && this.man_name == '')) )||this.form.insurance_type == 'PROVINCE' && this.ztvalue.value != 'SELF_PAY' && this.ztvalue.value != 'LOCAL_YB' && this.man_name != '1' && this.man_name != '3' ) { if (
this.yujiesuanLoading=true (this.channel != '4' && (this.man_name == '4' || (this.ismb && this.man_name == ''))) ||
(this.form.insurance_type == 'PROVINCE' && this.ztvalue.value != 'SELF_PAY' && this.ztvalue.value != 'LOCAL_YB' && this.man_name != '1' && this.man_name != '3')
) {
this.yujiesuanLoading = true
const { code, data } = await verifyFeeStatus({ const { code, data } = await verifyFeeStatus({
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
serial_no: this.cost_id.toString(), serial_no: this.cost_id.toString(),
}) })
if (code == 200) { if (code == 200) {
this.yujiesuanLoading=false this.yujiesuanLoading = false
if (data.status == 2) { if (data.status == 2) {
this.$message.error(data.msg) this.$message.error(data.msg)
return false return false
...@@ -1781,20 +1795,17 @@ export default { ...@@ -1781,20 +1795,17 @@ export default {
this.yujiesuanload = false this.yujiesuanload = false
} }
} }
}else{ } else {
this.yujiesuanLoading = false
this.yujiesuanLoading=false
} }
} else {
}else{ if (this.orders.length > 0) {
if (this.orders.length > 0) {
this.ybjs() this.ybjs()
} else { } else {
this.$message.error('请勾选结算类型和待结算的费用清单') this.$message.error('请勾选结算类型和待结算的费用清单')
this.yujiesuanload = false this.yujiesuanload = false
} }
} }
// if ((!this.ismb && this.man_name != '1') || this.channel == '4' && this.form.insurance_type != 'PROVINCE') { // if ((!this.ismb && this.man_name != '1') || this.channel == '4' && this.form.insurance_type != 'PROVINCE') {
// if (this.orders.length > 0) { // if (this.orders.length > 0) {
...@@ -1823,7 +1834,7 @@ export default { ...@@ -1823,7 +1834,7 @@ export default {
// } // }
// } // }
// }else{ // }else{
// this.yujiesuanLoading=false // this.yujiesuanLoading=false
// } // }
// } // }
...@@ -1951,7 +1962,6 @@ export default { ...@@ -1951,7 +1962,6 @@ export default {
if (this.bxxxinfo.personal_balance < djf) { if (this.bxxxinfo.personal_balance < djf) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance
} }
console.log(this.form.insurance_type)
if (this.form.insurance_type == 'OFFSITE') { if (this.form.insurance_type == 'OFFSITE') {
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
} }
...@@ -1985,15 +1995,15 @@ export default { ...@@ -1985,15 +1995,15 @@ export default {
} }
if (this.select_type == '01') { if (this.select_type == '01') {
// if (this.form.insurance_type == 'LOCAL') { // if (this.form.insurance_type == 'LOCAL') {
this.jeizhishow = true this.jeizhishow = true
const that = this const that = this
setTimeout(function () { setTimeout(function () {
that.handleSetFocusLast() that.handleSetFocusLast()
}, 300) }, 300)
// } else { // } else {
// this.qrjs() // this.qrjs()
// } // }
} else if ((this.ztvalue.value == 'SELF_PAY' || this.man_name == '1') && this.man_name != '2' && this.man_name != '3'&& this.man_name != '4') { } else if ((this.ztvalue.value == 'SELF_PAY' || this.man_name == '1') && this.man_name != '2' && this.man_name != '3' && this.man_name != '4') {
this.selfPre() this.selfPre()
} else { } else {
this.qrjs() this.qrjs()
...@@ -2210,12 +2220,12 @@ export default { ...@@ -2210,12 +2220,12 @@ export default {
let that = this let that = this
let x = array let x = array
if (array.length > 1) { if (array.length > 1) {
if (!(array.every(item => item.doct_name === array[0].doct_name))) { if (!array.every(item => item.doct_name === array[0].doct_name)) {
that.$message({ that.$message({
message: '本次勾选账单,含多个医生开立的费用', message: '本次勾选账单,含多个医生开立的费用',
type: 'warning', type: 'warning',
}) })
} }
var set = new Set() var set = new Set()
for (var i = 0; i < array.length; i++) { for (var i = 0; i < array.length; i++) {
set.add(array[i].distinct_no) set.add(array[i].distinct_no)
...@@ -2371,7 +2381,6 @@ export default { ...@@ -2371,7 +2381,6 @@ export default {
// this.man_name = '' // this.man_name = ''
// return false // return false
// } // }
// if (x == '2') { // if (x == '2') {
// try { // try {
// var array = ['first', 'second', 'third', 'fourth'] // var array = ['first', 'second', 'third', 'fourth']
...@@ -2388,7 +2397,6 @@ export default { ...@@ -2388,7 +2397,6 @@ export default {
// }) // })
// return false // return false
// }+` ```````` // }+` ````````
// var that = this // var that = this
// if (!that.cost_id || that.cost_id.length == 0) { // if (!that.cost_id || that.cost_id.length == 0) {
// that.$message({ // that.$message({
...@@ -2404,7 +2412,7 @@ export default { ...@@ -2404,7 +2412,7 @@ export default {
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id, patient_id: this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
//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,
...@@ -2467,11 +2475,9 @@ export default { ...@@ -2467,11 +2475,9 @@ export default {
}) })
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
console.log(data,'多病种慢病')
// 判断慢病 // 判断慢病
if ((this.selectTableArr[0]?.settle_type.is_mb || this.man_name == '4') && this.man_name!='1' && this.man_name!='2' && this.man_name!='3') { if ((this.selectTableArr[0]?.settle_type.is_mb || this.man_name == '4') && this.man_name != '1' && this.man_name != '2' && this.man_name != '3') {
// 判断多病种慢病 // 判断多病种慢病
console.log(data,'多病种慢病')
if (data?.mzdbjbs_arr.length > 1) { if (data?.mzdbjbs_arr.length > 1) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
...@@ -2506,26 +2512,13 @@ export default { ...@@ -2506,26 +2512,13 @@ export default {
// } // }
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
// if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) {
// this.moreshow = true
// this.moreshowdata = {
// data: data,
// x: x,
// y: y,
// }
// } else if (data?.mzdbjbs_arr.length == 1 && this.selectTableArr[0]?.settle_type.is_mb) {
// this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0].code)
// } else {
// this.selectCardYiboPre(data, x, y)
// }
}, },
// 医保预结算 // 医保预结算
selectCardYiboPre(data, x, y, zhenduan) { selectCardYiboPre(data, x, y, zhenduan) {
if (this.man_name == '2' || this.man_name == '3' || this.man_name == '1') { if (this.man_name == '2' || this.man_name == '3' || this.man_name == '1') {
zhenduan = '' zhenduan = ''
}else{ } else {
//this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].name //this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].name
} }
this.yujiesuanLoading = true this.yujiesuanLoading = true
...@@ -2543,7 +2536,7 @@ export default { ...@@ -2543,7 +2536,7 @@ export default {
channel: this.channel, channel: this.channel,
// is_gz: this.man_name == '3' ? true : false, // is_gz: this.man_name == '3' ? true : false,
injury_date: this.GSdatatime, injury_date: this.GSdatatime,
p_jbbm: this.man_name == '1' ? '' : this.man_name == '2' ? '' : this.man_name == '3' ? '' :this.man_name == '4'?zhenduan: this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '', p_jbbm: this.man_name == '1' ? '' : this.man_name == '2' ? '' : this.man_name == '3' ? '' : this.man_name == '4' ? zhenduan : this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '',
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
...@@ -2556,14 +2549,13 @@ export default { ...@@ -2556,14 +2549,13 @@ export default {
this.bxxxinfo = res.data this.bxxxinfo = res.data
this.bxxxinfo.his_deduct_amount = 0 this.bxxxinfo.his_deduct_amount = 0
this.bxxxinfo.settle_type = this.bxxxinfo.settle_type =
this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
if (res.data.mzxets != '') { if (res.data.mzxets != '') {
this.dataText = res.data.mzxets this.dataText = res.data.mzxets
this.GSshow = true this.GSshow = true
} }
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.moreLoading = false this.moreLoading = false
console.log(res.data.his_deduct_amount, '*********************')
familybalanceinfor({ familybalanceinfor({
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
pre_key: res.data.pre_key, pre_key: res.data.pre_key,
...@@ -2582,27 +2574,24 @@ export default { ...@@ -2582,27 +2574,24 @@ export default {
} }
this.bxxxinfo.family_balance = res2.data.gjzhye this.bxxxinfo.family_balance = res2.data.gjzhye
// this.dialogVisible = true // this.dialogVisible = true
// console.log(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2),this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2), this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2), this.round(this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) - this.bxxxinfo.personal_pay_syd,2),'oooooooooooooooooo')
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
let djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) //this.round(this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) - this.bxxxinfo.personal_pay_syd,2) let djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) //this.round(this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) - this.bxxxinfo.personal_pay_syd,2)
if (this.bxxxinfo.personal_balance >= djf) { if (this.bxxxinfo.personal_balance >= djf) {
this.bxxxinfo.grzhzf = djf this.bxxxinfo.grzhzf = djf
if (this.bxxxinfo.personal_pay_syd * 1 != 0) { if (this.bxxxinfo.personal_pay_syd * 1 != 0) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_pay_syd this.bxxxinfo.grzhzf = this.bxxxinfo.personal_pay_syd
} }
if (this.form.insurance_type == 'LONGDISTANCE' &&this.bxxxinfo.personal_pay_syd * 1 == 0) { if (this.form.insurance_type == 'LONGDISTANCE' && this.bxxxinfo.personal_pay_syd * 1 == 0) {
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
} }
} }
if (this.bxxxinfo.personal_balance < djf) { if (this.bxxxinfo.personal_balance < djf) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance this.bxxxinfo.grzhzf = this.bxxxinfo.personal_balance
// 省外异地患者预结算异地不为0,个账为异地值,异地为0,个账为0 // 省外异地患者预结算异地不为0,个账为异地值,异地为0,个账为0
if (this.bxxxinfo.personal_pay_syd * 1 != 0) { if (this.bxxxinfo.personal_pay_syd * 1 != 0) {
this.bxxxinfo.grzhzf = this.bxxxinfo.personal_pay_syd this.bxxxinfo.grzhzf = this.bxxxinfo.personal_pay_syd
} }
if (this.form.insurance_type == 'LONGDISTANCE' &&this.bxxxinfo.personal_pay_syd * 1 == 0) { if (this.form.insurance_type == 'LONGDISTANCE' && this.bxxxinfo.personal_pay_syd * 1 == 0) {
this.bxxxinfo.grzhzf = 0 this.bxxxinfo.grzhzf = 0
} }
// if (this.form.insurance_type == 'LONGDISTANCE') { // if (this.form.insurance_type == 'LONGDISTANCE') {
...@@ -2627,15 +2616,11 @@ export default { ...@@ -2627,15 +2616,11 @@ export default {
} }
} }
} }
// console.log(this.bxxxinfo.his_deduct_amount, this.form.insurance_type, '++++++++++++')
this.form.djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) //this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) this.form.djf = this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2) //this.round(this.round(this.round(this.bxxxinfo.patient_burden - this.bxxxinfo.gjzhzf, 2) - this.bxxxinfo.his_deduct_amount, 2) - this.bxxxinfo.grzhzf, 2)
// this.form.djf=0 // this.form.djf=0
console.log(this.form.djf, 'djf') this.dialogVisible = true
this.dialogVisible = true
// 验证违规 // 验证违规
prescription({ prescription({
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '', settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '',
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
...@@ -2649,7 +2634,6 @@ export default { ...@@ -2649,7 +2634,6 @@ export default {
// } else { // } else {
// } // }
}) })
}) })
}) })
.catch(err => { .catch(err => {
...@@ -2679,11 +2663,9 @@ export default { ...@@ -2679,11 +2663,9 @@ export default {
channel: this.channel, channel: this.channel,
}) })
.then(res => { .then(res => {
console.log('=----------------------')
this.yujiesuanLoading = false this.yujiesuanLoading = false
this.dialogVisible = true this.dialogVisible = true
this.bxxxinfo = res.data this.bxxxinfo = res.data
console.log(this.bxxxinfo, '++++++++++++++++++++')
this.bxxxinfo.settle_type = this.bxxxinfo.settle_type =
this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
this.bxxxinfo.gjzhzf = 0 this.bxxxinfo.gjzhzf = 0
...@@ -3389,6 +3371,7 @@ export default { ...@@ -3389,6 +3371,7 @@ export default {
// flex-direction: column; // flex-direction: column;
.yibaoInfo_div_1 { .yibaoInfo_div_1 {
background-color: rgb(224 232 250);
width: max-content; width: max-content;
border-radius: 3px; border-radius: 3px;
border: 1px solid #004aff; border: 1px solid #004aff;
...@@ -3446,7 +3429,7 @@ export default { ...@@ -3446,7 +3429,7 @@ export default {
} }
.box-card { .box-card {
width: 49%; width: 55%;
background: #fff; background: #fff;
border-radius: 5px; border-radius: 5px;
...@@ -3459,7 +3442,20 @@ export default { ...@@ -3459,7 +3442,20 @@ export default {
justify-content: space-between; justify-content: space-between;
} }
} }
.box-card-right {
width: 44%;
background: #fff;
border-radius: 5px;
.box_card_title {
box-sizing: border-box;
padding: 5px;
font-size: 16px;
font-weight: bold;
display: flex;
justify-content: space-between;
}
}
/*遮挡层样式*/ /*遮挡层样式*/
.grey-cloth { .grey-cloth {
/* min-width: 1920px; */ /* min-width: 1920px; */
......
...@@ -290,13 +290,10 @@ export default { ...@@ -290,13 +290,10 @@ export default {
var urlParams = new URLSearchParams(window.location.search) var urlParams = new URLSearchParams(window.location.search)
var encodedObject = urlParams.get('a') var encodedObject = urlParams.get('a')
var decodedObject = JSON.parse(decodeURIComponent(encodedObject)) var decodedObject = JSON.parse(decodeURIComponent(encodedObject))
console.log(decodedObject, 'ppppppppppppppppppppp')
this.out_patient = decodedObject this.out_patient = decodedObject
console.log(this.out_patient)
}, },
//首次进页面第一次刷卡返回的信息 //首次进页面第一次刷卡返回的信息
getyibaoinfo(e, x) { getyibaoinfo(e, x) {
console.log('=================--------------')
//第一次读二维码不需要from_web //第一次读二维码不需要from_web
if (x) { if (x) {
this.card_typeinfor = x this.card_typeinfor = x
...@@ -461,14 +458,10 @@ export default { ...@@ -461,14 +458,10 @@ export default {
name: this.patientInfo.xm, name: this.patientInfo.xm,
yb_cache_uuid: cache_uuid, yb_cache_uuid: cache_uuid,
} }
console.log(param)
// return false // return false
registration_pre(param).then(response => { registration_pre(param).then(response => {
this.sprice_show = true this.sprice_show = true
// console.log(response)
this.price_data = response.data this.price_data = response.data
console.log('66666666666666registration_pre')
console.log(this.price_data)
}) })
}, },
//结算 //结算
...@@ -537,7 +530,6 @@ export default { ...@@ -537,7 +530,6 @@ export default {
}) })
}, },
YBKerror(e) { YBKerror(e) {
console.log(e, 'kooooooooooooooo')
const _this = this const _this = this
let x = let x =
'Trans&15|00|' + 'Trans&15|00|' +
...@@ -866,7 +858,6 @@ export default { ...@@ -866,7 +858,6 @@ export default {
cardjiesuan() { cardjiesuan() {
this.jiezhiLoading = true this.jiezhiLoading = true
var that = this var that = this
console.log(this.jiezhi)
//第三次刷电子医保凭证,通过电子医保凭证获取cache_uuid,走结算 //第三次刷电子医保凭证,通过电子医保凭证获取cache_uuid,走结算
if (this.jiezhi == 'A') { if (this.jiezhi == 'A') {
let param = { let param = {
...@@ -901,7 +892,6 @@ export default { ...@@ -901,7 +892,6 @@ export default {
}) })
this.ckh = ret.TradeRef this.ckh = ret.TradeRef
this.misdataYB = ret this.misdataYB = ret
console.log(this.patientInfo, ret, '1111111111111111')
this.settleFun(this.patientInfo.cache_uuid, ret) this.settleFun(this.patientInfo.cache_uuid, ret)
this.fullscreenLoading = false this.fullscreenLoading = false
} else { } else {
......
...@@ -411,7 +411,6 @@ export default { ...@@ -411,7 +411,6 @@ export default {
//查询数据 //查询数据
getHisPatientInfo() { getHisPatientInfo() {
// this.price_data='' // this.price_data=''
console.log(location.search.slice(1), 'kkkkkkkkkkkkkkkk')
if (location.search.slice(1) != '') { if (location.search.slice(1) != '') {
if (location.search.slice(1).split('=').length == 4 || location.search.slice(1).split('=').length == 3) { if (location.search.slice(1).split('=').length == 4 || location.search.slice(1).split('=').length == 3) {
this.jshid = location.search.slice(1).split('&')[0] this.jshid = location.search.slice(1).split('&')[0]
...@@ -420,7 +419,6 @@ export default { ...@@ -420,7 +419,6 @@ export default {
this.jshid = location.search.slice(1) this.jshid = location.search.slice(1)
} }
} }
console.log(this.jshid, '****************')
registration_detil({ registration_detil({
jshid: this.jshid, //身份证号、社保卡号 jshid: this.jshid, //身份证号、社保卡号
}) })
...@@ -434,7 +432,6 @@ export default { ...@@ -434,7 +432,6 @@ export default {
var urlParams = new URLSearchParams(window.location.search) var urlParams = new URLSearchParams(window.location.search)
var encodedObject = urlParams.get('a') var encodedObject = urlParams.get('a')
var decodedObject = JSON.parse(decodeURIComponent(encodedObject)) var decodedObject = JSON.parse(decodeURIComponent(encodedObject))
console.log(decodedObject, 'ppppppppppppppppppppp')
this.out_patient = decodedObject this.out_patient = decodedObject
}, },
......
...@@ -2020,7 +2020,6 @@ export default { ...@@ -2020,7 +2020,6 @@ export default {
if (row.item_code == element.item_code) { if (row.item_code == element.item_code) {
// element.zfbl=response.data.dw_data[0].zfbl // element.zfbl=response.data.dw_data[0].zfbl
// element.zfbl_desc.push(response.data.zfbl_desc) // element.zfbl_desc.push(response.data.zfbl_desc)
console.log( response.data.zfbl_desc,element,'ppppppppppp')
// element.zfbl_desc = response.data.zfbl_desc // element.zfbl_desc = response.data.zfbl_desc
response.data.zfbl_desc.forEach(elements => { response.data.zfbl_desc.forEach(elements => {
element.zfbl_desc = response.data.zfbl_desc //[elements.key]=elements.value element.zfbl_desc = response.data.zfbl_desc //[elements.key]=elements.value
......
...@@ -1621,7 +1621,6 @@ export default { ...@@ -1621,7 +1621,6 @@ export default {
pdxq(obj) pdxq(obj)
.then(response => { .then(response => {
let depClass=localStorage.getItem('deptCode') let depClass=localStorage.getItem('deptCode')
console.log(" response.data", response.data.filter(item => item.executive_dept_code == depClass),response.data)
this.tableData.cost =response.data.filter(item => item.executive_dept_code == depClass) this.tableData.cost =response.data.filter(item => item.executive_dept_code == depClass)
this.tableDataList =response.data.filter(item => item.executive_dept_code == depClass) this.tableDataList =response.data.filter(item => item.executive_dept_code == depClass)
this.tylist = response.data.filter(item => item.executive_dept_code == depClass) this.tylist = response.data.filter(item => item.executive_dept_code == depClass)
...@@ -2324,7 +2323,6 @@ export default { ...@@ -2324,7 +2323,6 @@ export default {
}) })
.then(response => { .then(response => {
if (response.data.result.length>0) { if (response.data.result.length>0) {
console.log(response.data.result,'999999999999999')
this.weiguiList=response.data.result this.weiguiList=response.data.result
this.weiguiData=response.data.result this.weiguiData=response.data.result
this.ViolationShow=true this.ViolationShow=true
......
...@@ -110,7 +110,6 @@ export default { ...@@ -110,7 +110,6 @@ export default {
p_sbm:e.ksbm p_sbm:e.ksbm
}) })
.then(response => { .then(response => {
console.log('🚀 ~ getyibaoinfo ~ response:', response)
this.patientData = response.data this.patientData = response.data
......
...@@ -747,7 +747,6 @@ export default { ...@@ -747,7 +747,6 @@ export default {
2, 2,
) )
this.sprice_show = true this.sprice_show = true
console.log(this.blod_data, '+++++++++++++++')
}) })
}, },
retryparams() { retryparams() {
...@@ -974,7 +973,6 @@ export default { ...@@ -974,7 +973,6 @@ export default {
}) })
}, },
diseasefun(query) { diseasefun(query) {
console.log(this.patientform.channel,'oooooooooooooooo')
if (query !== '') { if (query !== '') {
this.loading = true this.loading = true
setTimeout(() => { setTimeout(() => {
...@@ -1111,7 +1109,6 @@ export default { ...@@ -1111,7 +1109,6 @@ export default {
if (!!window.navigator.clipboard) { if (!!window.navigator.clipboard) {
// 利用clipboard将文本写入剪贴板(这是一个异步promise) // 利用clipboard将文本写入剪贴板(这是一个异步promise)
window.navigator.clipboard.writeText(text).then((res) => { window.navigator.clipboard.writeText(text).then((res) => {
console.log('复制成功');
this.$message({ this.$message({
message: '复制成功!', message: '复制成功!',
type: 'success' type: 'success'
...@@ -1119,7 +1116,6 @@ export default { ...@@ -1119,7 +1116,6 @@ export default {
// 返回复制操作的最终结果 // 返回复制操作的最终结果
return copyResult; return copyResult;
}).catch((err) => { }).catch((err) => {
console.log('复制失败--采取第二种复制方案', err);
// clipboard方式复制失败 则采用document.execCommand()方式进行尝试 // clipboard方式复制失败 则采用document.execCommand()方式进行尝试
copyContent2(text) copyContent2(text)
}) })
...@@ -1148,13 +1144,11 @@ export default { ...@@ -1148,13 +1144,11 @@ export default {
const result = document.execCommand('copy') const result = document.execCommand('copy')
// 判断是否复制成功 // 判断是否复制成功
if (result) { if (result) {
console.log('复制成功');
this.$message({ this.$message({
message: '复制成功!', message: '复制成功!',
type: 'success' type: 'success'
}); });
} else { } else {
console.log('复制失败');
copyResult = false copyResult = false
} }
// 复制操作后再将构造的标签 移除 // 复制操作后再将构造的标签 移除
...@@ -1861,7 +1855,6 @@ export default { ...@@ -1861,7 +1855,6 @@ export default {
this.loadingRight = false this.loadingRight = false
this.tuishow = response.data.status.name this.tuishow = response.data.status.name
this.jshid = response.data.jshid this.jshid = response.data.jshid
console.log(this.tuishow, this.zhje * 1, this.zhje * 1 < 0 && this.tuishow == 'SUCCESS', '显示退款按钮')
this.$alert('出院成功', '出院成功', { this.$alert('出院成功', '出院成功', {
confirmButtonText: '确定', confirmButtonText: '确定',
callback: action => { callback: action => {
...@@ -2271,7 +2264,6 @@ export default { ...@@ -2271,7 +2264,6 @@ export default {
async preSettlementGetPatientInfo() { async preSettlementGetPatientInfo() {
this.gjchick = false this.gjchick = false
if (location.search.slice(1) != '') { if (location.search.slice(1) != '') {
console.log(location.search.slice(1).split('='))
if (location.search.slice(1).split('=').length == 4 || location.search.slice(1).split('=').length == 3) { if (location.search.slice(1).split('=').length == 4 || location.search.slice(1).split('=').length == 3) {
this.idcard = location.search.slice(1).split('&')[0] this.idcard = location.search.slice(1).split('&')[0]
this.idcard = this.idcard.split('=')[1] this.idcard = this.idcard.split('=')[1]
...@@ -2522,7 +2514,6 @@ export default { ...@@ -2522,7 +2514,6 @@ export default {
.then(response => { .then(response => {
this.tuishow = response.data.status.name this.tuishow = response.data.status.name
this.jshid = response.data.jshid this.jshid = response.data.jshid
console.log(this.tuishow, this.zhje * 1, this.zhje * 1 < 0 && this.tuishow == 'SUCCESS', '显示退款按钮')
this.$alert('出院成功', '出院成功', { this.$alert('出院成功', '出院成功', {
confirmButtonText: '确定', confirmButtonText: '确定',
callback: action => { callback: action => {
......
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