ソースを参照

修改演练登记问题

凉纪 2 年 前
コミット
c506081de3

+ 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)