|
@@ -1,4 +1,4 @@
|
|
|
-import { ElMessage } from 'element-plus'
|
|
|
+import { ElMessageBox } from 'element-plus'
|
|
|
import { readCardCallback } from '../api/medical-insurance/si-inpatient'
|
|
|
|
|
|
export function prepareReadCard(type, inpatientNo, bizType) {
|
|
@@ -9,11 +9,9 @@ export function prepareReadCard(type, inpatientNo, bizType) {
|
|
|
const startReadCard = (param) => {
|
|
|
window.open('ReadCard://' + param, '_self')
|
|
|
readCardCallback(param).then((res) => {
|
|
|
- ElMessage({
|
|
|
- message: res.message,
|
|
|
+ ElMessageBox.alert(res.message, '提示', {
|
|
|
type: 'success',
|
|
|
- duration: 3000,
|
|
|
- showClose: true,
|
|
|
- })
|
|
|
+ showCancelButton: false,
|
|
|
+ }).then(() => {})
|
|
|
})
|
|
|
}
|