#2765 Resources Management

Merged
chenshihai merged 1 commits from res-manage into res-manage-v2 1 year ago
  1. +10
    -8
      web_src/vuepages/pages/resources/components/SceneDialog.vue

+ 10
- 8
web_src/vuepages/pages/resources/components/SceneDialog.vue View File

@@ -38,7 +38,8 @@
<span>{{ $t('resourcesManagement.exclusiveOrg') }}</span>
</div>
<div class="content">
<el-input v-model="dataInfo.ExclusiveOrg" :placeholder="$t('resourcesManagement.exclusiveOrgTips')" maxlength="255">
<el-input v-model="dataInfo.ExclusiveOrg" :placeholder="$t('resourcesManagement.exclusiveOrgTips')"
maxlength="255">
</el-input>
</div>
</div>
@@ -146,14 +147,15 @@ export default {
v: `${item.QueueCode}(${getListValueWithKey(this.clusterList, item.Cluster)} - ${item.AiCenterName})`,
});
}
if (this.dataInfo.Cluster === 'C2Net') {
list.unshift({
k: '-1',
v: this.$t('resourcesManagement.allResQueue'),
});
}
list.unshift({
k: '-1',
v: this.$t('resourcesManagement.allResQueue'),
});
this.queueList.splice(0, Infinity, ...list);
if (next) {
if (this.type === 'add') {
this.dataInfo.QueueId = '-1';
}
this.getResSpecificationList();
}
}
@@ -195,7 +197,7 @@ export default {
this.dataInfo.SpecIds = [];
this.queueList.splice(0, Infinity);
this.specsList.splice(0, Infinity);
this.getQueueList();
this.getQueueList(true);
},
changeQueue() {
this.dataInfo.SpecIds = [];


Loading…
Cancel
Save