| | |
| | | <template> |
| | | <div class="report"> |
| | | <div style="border: 1pt solid #707070;"> |
| | | <van-nav-bar title="" :left-text="typeName"> |
| | | <div> |
| | | <van-nav-bar @click="fanhui" title="" left-arrow :left-text="typeName"> |
| | | <template #right> |
| | | <van-button |
| | | icon="todo-list-o" |
| | |
| | | import itembody from './item/index.vue' |
| | | import { ajaxPost } from '@/utils/axios' |
| | | import { AxiosRequestConfig } from 'axios' |
| | | import {useRouter} from 'vue-router' |
| | | const router=useRouter() |
| | | const showPopup = ref(false) |
| | | const userInfo = userInfoStore() |
| | | const typeName=ref('近三个月') |
| | |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | } |
| | | const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=PAT9121102427442HIiL` |
| | | let pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}` |
| | | if (!dataDate.value.startDate||!dataDate.value.endDate){ |
| | | pasm=`date1=2020-01-01&date2=2030-01-01&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}` |
| | | } |
| | | loading.value = true // 开始加载 |
| | | reportList.value=[] |
| | | const toast = Toast.loading({ |
| | |
| | | }).catch((error:any)=>{ |
| | | console.error('获取数据失败', error) |
| | | }) |
| | | } |
| | | const fanhui=()=>{ |
| | | router.go(-1) |
| | | } |
| | | onMounted(() => { |
| | | const now = new Date() |
| | |
| | | border-radius: 5pt; |
| | | margin-bottom: 10pt; |
| | | padding: 7pt; |
| | | border-bottom: 1px solid #b4afaf; |
| | | } |
| | | |
| | | .icon { |