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