|
@@ -304,7 +304,7 @@ export default {
|
|
|
items.isChoice = true;
|
|
|
this.$emit("setCmdType", items.type);
|
|
|
},
|
|
|
- showDrawer(item) {
|
|
|
+ async showDrawer(item) {
|
|
|
this.showDrawerItem = item;
|
|
|
this.isExtract = false;
|
|
|
if (item.isChoice) {
|
|
@@ -327,16 +327,14 @@ export default {
|
|
|
GraphCategoryIds: this.categoryId,
|
|
|
Type: item.type
|
|
|
};
|
|
|
-
|
|
|
- queryGroup(data).then(res => {
|
|
|
+ await queryGroup(data).then(res => {
|
|
|
this.itemList = res.Data;
|
|
|
});
|
|
|
const arr = {
|
|
|
InfoSystems: this.categoryIdS,
|
|
|
Type: item.type
|
|
|
};
|
|
|
-
|
|
|
- graphElementGroup(arr).then(res => {
|
|
|
+ await graphElementGroup(arr).then(res => {
|
|
|
this.spinning = false;
|
|
|
res.Data.map(item => {
|
|
|
this.itemList.push(item);
|