diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 706c735..d0b829d 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -864,6 +864,7 @@ export default { this.patientRegister.query.startDate && this.patientRegister.query.endDate ) { + body.dateType = this.patientRegister.query.dateType body.startDate = moment(this.patientRegister.query.startDate).format( "yyyy-MM-DD" ); diff --git a/src/components/patientRegister/patientRegisterQuery.vue b/src/components/patientRegister/patientRegisterQuery.vue index 735a103..921f771 100644 --- a/src/components/patientRegister/patientRegisterQuery.vue +++ b/src/components/patientRegister/patientRegisterQuery.vue @@ -4,7 +4,14 @@
- 登记日期 + + + + + + + + @@ -104,7 +111,7 @@ export default { pagePriv: { routeUrlorPageName: 'patientRegister', //当前页面归属路由或归属页面权限名称 privs: [] // 页面权限 - }, + }, pickerOptions: { disabledDate(time) { return time.getTime() > Date.now(); @@ -143,6 +150,7 @@ export default { let ldate = new Date(); this.patientRegister.query.startDate = ldate; this.patientRegister.query.endDate = ldate; + this.patientRegister.query.dateType = '2' }, //挂载完成