Parcourir la source

fix: handle appointment reset error

wangyuan il y a 2 ans
Parent
commit
a66a093cd6
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      ittpc/src/views/modules/appointment/appointment.vue

+ 3 - 0
ittpc/src/views/modules/appointment/appointment.vue

@@ -120,6 +120,9 @@ export default {
   methods: {
     handleReset () {
       this.selectedOptions = ['330000', '330100', '330102']
+      this.searchForm.province = CodeToText['330000']
+      this.searchForm.city = CodeToText['330100']
+      this.searchForm.county = CodeToText['330102']
       this.searchForm.status = ''
       this.appointmentTime = ''
       this.searchForm.name = ''