| | |
| | | } |
| | | |
| | | |
| | | const getDatas=(dataDate)=>{ |
| | | console.log('获取数据', dataDate) |
| | | const getDatas=()=>{ |
| | | console.log(userInfo.patient.patientInfo.code) |
| | | // const pagedata={ |
| | | // patCode :'PAT9121102427442HIiL', |
| | |
| | | 'Content-Type': 'application/x-www-form-urlencoded', |
| | | }, |
| | | } |
| | | const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=PAT9121102427442HIiL` |
| | | const pasm=`date1=${dataDate.value.startDate}&date2=${dataDate.value.endDate}&isGroupByFeeItem=1&patCode=${userInfo.patient.patientInfo.code}` |
| | | loading.value = true // 开始加载 |
| | | reportList.value=[] |
| | | const toast = Toast.loading({ |
| | |
| | | threeMonthsAgo.setMonth(now.getMonth() - 3) |
| | | dataDate.value.startDate = formatDate(threeMonthsAgo) |
| | | dataDate.value.endDate = formatDate(now) |
| | | console.log('dataDate', dataDate.value) |
| | | getDatas() |
| | | }) |
| | | </script> |