|
@@ -87,7 +87,6 @@ const history = ref(true)
|
|
|
const getHuiZhenDataClick = () => {
|
|
|
let {startTime, endTime} = getDateRangeFormatDate(dateRange.value)
|
|
|
getHuiZhenData(startTime, endTime, history.value).then((res) => {
|
|
|
- console.log(res)
|
|
|
huanZeData.value = res
|
|
|
})
|
|
|
}
|
|
@@ -134,11 +133,11 @@ const baoCunHuiZhenClick = () => {
|
|
|
cancelButtonText: '仅保存',
|
|
|
confirmButtonText: '完成会诊',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
+ .then(async () => {
|
|
|
huanZheXinXi.value.statusFlag = 2
|
|
|
// 完成 会诊 发送 axios
|
|
|
- wanChenHuiZhen(huanZheXinXi.value)
|
|
|
- getHuiZhenDataClick()
|
|
|
+ await wanChenHuiZhen(huanZheXinXi.value)
|
|
|
+ await getHuiZhenDataClick()
|
|
|
huanZheXinXi.value = {}
|
|
|
daYingHuiZhenRef.value.huanZheXinXi.value = {}
|
|
|
})
|
|
@@ -151,7 +150,6 @@ const baoCunHuiZhenClick = () => {
|
|
|
}
|
|
|
|
|
|
///////////////////////////////////////////////////////// 开启打印 ///////////////////////////////////////////////////////////////////////////////
|
|
|
-
|
|
|
const daYingClick = () => {
|
|
|
if (!huanZheXinXi.value.inpatientNo) {
|
|
|
ElMessage.error({
|
|
@@ -218,17 +216,6 @@ function hzJiBie(val) {
|
|
|
return '主任医生'
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-function hzLeiBie(val) {
|
|
|
- switch (val) {
|
|
|
- case '1':
|
|
|
- return '常规会诊'
|
|
|
- case '2':
|
|
|
- return '疑难病例会诊'
|
|
|
- case '3':
|
|
|
- return '急救会诊'
|
|
|
- }
|
|
|
-}
|
|
|
</script>
|
|
|
|
|
|
<style></style>
|