|
@@ -14,7 +14,7 @@
|
|
|
</el-dropdown>
|
|
|
|
|
|
<el-button type="success" icon="el-icon-top" @click="checkRegisterDatetime">医保入院登记</el-button>
|
|
|
- <el-button type="danger" icon="el-icon-bottom" @click="beforeCancelRegister">取消入院登记</el-button>
|
|
|
+ <el-button type="danger" icon="el-icon-bottom" @click="beforeCancelRegister">撤销入院登记</el-button>
|
|
|
<el-button type="success" icon="el-icon-s-claim" @click="xiangMuLuRuRouter">项目录入</el-button>
|
|
|
<el-button type="danger" icon="el-icon-warning" @click="yiZhuTuiFeiClick" v-if="greatestRole < 8">医嘱退费</el-button>
|
|
|
</el-header>
|
|
@@ -23,13 +23,13 @@
|
|
|
<div style="height: 4px"></div>
|
|
|
<el-row>
|
|
|
<el-col :span="2" style="text-align: right">住院号:</el-col>
|
|
|
- <el-col :span="4"><el-input v-model="patient.inpatientNo"></el-input></el-col>
|
|
|
+ <el-col :span="4"><el-input v-model="patient.inpatientNo" disabled></el-input></el-col>
|
|
|
<el-col :span="2" style="text-align: right">住院次数:</el-col>
|
|
|
- <el-col :span="4"><el-input v-model="patient.admissTimes"></el-input></el-col>
|
|
|
+ <el-col :span="4"><el-input v-model="patient.admissTimes" disabled></el-input></el-col>
|
|
|
<el-col :span="2" style="text-align: right">身份证号:</el-col>
|
|
|
<el-col :span="4"><el-input v-model="patient.socialNo"></el-input></el-col>
|
|
|
<el-col :span="2" style="text-align: right">出生日期:</el-col>
|
|
|
- <el-col :span="4"><el-input v-model="patient.birthDate"></el-input></el-col>
|
|
|
+ <el-col :span="4"><el-input v-model="patient.birthDate" disabled></el-input></el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="2" style="text-align: right">姓名:</el-col>
|
|
@@ -754,23 +754,40 @@ export default {
|
|
|
|
|
|
const beforeCancelRegister = () => {
|
|
|
if (nullPatient()) return
|
|
|
- ElMessageBox.confirm('确定取消此患者的医保入院登记?', '提示', {
|
|
|
- type: 'warning',
|
|
|
- }).then(() => {
|
|
|
- if (injuryMode.value) {
|
|
|
- cancelInjuryRegister(patient.value).then(() => {
|
|
|
- ElMessageBox.alert('取消入院登记成功。', '提示', {
|
|
|
- type: 'success',
|
|
|
- })
|
|
|
- })
|
|
|
- } else {
|
|
|
- revokeAdmission(patient.value).then(() => {
|
|
|
- ElMessageBox.alert('取消入院登记成功。', '提示', {
|
|
|
- type: 'success',
|
|
|
+ ElMessageBox.prompt('请输入撤销入院登记的原因:', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ })
|
|
|
+ .then(({ value }) => {
|
|
|
+ if (!value) {
|
|
|
+ ElMessage({
|
|
|
+ message: '撤销入院登记的原因不能为空!',
|
|
|
+ type: 'warning',
|
|
|
+ duration: 2500,
|
|
|
+ showClose: true,
|
|
|
})
|
|
|
+ return
|
|
|
+ }
|
|
|
+ ElMessageBox.confirm('撤销医保入院登记的原因为【' + value + '】确定撤销?', '提示', {
|
|
|
+ type: 'warning',
|
|
|
+ }).then(() => {
|
|
|
+ patient.value.revokeRemark = value
|
|
|
+ if (injuryMode.value) {
|
|
|
+ cancelInjuryRegister(patient.value).then(() => {
|
|
|
+ ElMessageBox.alert('撤销入院登记成功。', '提示', {
|
|
|
+ type: 'success',
|
|
|
+ })
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ revokeAdmission(patient.value).then(() => {
|
|
|
+ ElMessageBox.alert('撤销入院登记成功。', '提示', {
|
|
|
+ type: 'success',
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
- }
|
|
|
- })
|
|
|
+ })
|
|
|
+ .catch(() => {})
|
|
|
}
|
|
|
|
|
|
// 项目录入
|