Browse Source

修改演练登记问题

凉纪 2 years ago
parent
commit
c506081de3
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/core/drill/task/dialog.select.drillDictionary.vue

+ 8 - 1
src/views/core/drill/task/dialog.select.drillDictionary.vue

@@ -13,9 +13,11 @@
         ref="st"
         url="/core/drillDictionary/list"
         method="GET"
+        type="multiple"
         :search-data="search"
         :pageable="true"
         :select="true"
+        :selectLimit="1"
         :select-default="selectList"
         :drag="false"
         @select="onSelect"
@@ -77,7 +79,11 @@ export default {
       isShow: false,
       selectList: [],
       // ruleList: [],
-      search: this.emptySearch(),
+      search: {
+        id: null,
+        drillType: null,
+        orgId: this.$store.getters.orgId,
+      },
     };
   },
   computed: {},
@@ -97,6 +103,7 @@ export default {
     show(type) {
       console.log("show", type)
       this.search = this.emptySearch();
+      this.search.drillType =  type.toString();
       this.isShow = true;
       this.selectList = this.defaultSelect;
       console.log("this.selectList", this.selectList)