|
@@ -420,33 +420,36 @@ export default {
|
|
|
}
|
|
|
break
|
|
|
case 2:
|
|
|
- ElMessageBox.alert('医保科驳回了此患者的' + dismissBtnText.value + '申请,驳回意见为【' + res.handleComment + '】', '提示', {
|
|
|
+ ElMessageBox.confirm('医保科驳回了此患者的' + dismissBtnText.value + '申请,驳回意见为【' + res.handleComment + '】', '提示', {
|
|
|
type: 'error',
|
|
|
+ distinguishCancelAndClose: true,
|
|
|
confirmButtonText: '我知道了',
|
|
|
cancelButtonText: '重新提交',
|
|
|
showCancelButton: true,
|
|
|
- }).catch(() => {
|
|
|
- patient.value.sid = store.getters['user/sid']
|
|
|
- patient.value.zjdzDatetime = res.settleDatetime
|
|
|
- dismissCalculate(patient.value)
|
|
|
- .then(() => {
|
|
|
- settleApply.value.patNo = patient.value.inpatientNo
|
|
|
- settleApply.value.times = patient.value.admissTimes
|
|
|
- settleApply.value.ledgerSn = patient.value.ledgerSn
|
|
|
- settleApply.value.type = res.type
|
|
|
- settleApply.value.inputComment = null
|
|
|
- settleApply.value.settleDatetime = res.settleDatetime
|
|
|
- showSettleApplyForm.value = true
|
|
|
- })
|
|
|
- .catch((res) => {
|
|
|
- if (res.code && res.code === 1004) {
|
|
|
- negativeFees.value = res.data
|
|
|
- showNegativeFee.value = true
|
|
|
- dismissCalMsg.value = res.message
|
|
|
- } else {
|
|
|
- dismissCalMsg.value = res.toString()
|
|
|
- }
|
|
|
- })
|
|
|
+ }).catch((action) => {
|
|
|
+ if (action === 'cancel') {
|
|
|
+ patient.value.sid = store.getters['user/sid']
|
|
|
+ patient.value.zjdzDatetime = res.settleDatetime
|
|
|
+ dismissCalculate(patient.value)
|
|
|
+ .then(() => {
|
|
|
+ settleApply.value.patNo = patient.value.inpatientNo
|
|
|
+ settleApply.value.times = patient.value.admissTimes
|
|
|
+ settleApply.value.ledgerSn = patient.value.ledgerSn
|
|
|
+ settleApply.value.type = res.type
|
|
|
+ settleApply.value.inputComment = null
|
|
|
+ settleApply.value.settleDatetime = res.settleDatetime
|
|
|
+ showSettleApplyForm.value = true
|
|
|
+ })
|
|
|
+ .catch((res) => {
|
|
|
+ if (res.code && res.code === 1004) {
|
|
|
+ negativeFees.value = res.data
|
|
|
+ showNegativeFee.value = true
|
|
|
+ dismissCalMsg.value = res.message
|
|
|
+ } else {
|
|
|
+ dismissCalMsg.value = res.toString()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
break
|
|
|
}
|