seimin 1 year ago
parent
commit
7d8c8c9831
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/views/newIncident.vue

+ 9 - 0
src/views/newIncident.vue

@@ -716,6 +716,14 @@ export default {
716 716
           },
717 717
           rules: {
718 718
             required: true
719
+          },
720
+          events: {
721
+            change: (value, index, text) => {
722
+              console.log(value, index, text);
723
+              console.log(this.model);
724
+              this.model.placeValue = [];
725
+              this.selectedPlaceTxt = '';
726
+            }
719 727
           }
720 728
         },
721 729
       ]
@@ -1613,6 +1621,7 @@ export default {
1613 1621
       this.$router.push(`/searchDept?type=searchDept`);
1614 1622
     },
1615 1623
     getAreaData(branchId) {
1624
+      this.placeSelectData = [];
1616 1625
       this.$http
1617 1626
         .post("service/user/data/fetchDataList/area", {
1618 1627
           idx: 0,