feat:asset 列表机房弹框 及其他调整
1.机房配置抽取组件 2.idc配置组件增加详情查看 3.idc配置组件增加联动更新
This commit is contained in:
@@ -57,9 +57,11 @@
|
||||
<el-menu-item :index="'3-' + index">
|
||||
<div @click="jumpToAsset('asset',item.id)">
|
||||
<span>{{item.name}}</span>
|
||||
<idc-config-box :post-idc="item" placement="left" @after="getIDCOptionData" :button-class="'menu-edit'">
|
||||
<idc-config-box :post-idc="item" ref="idcConfigBox" placement="left" @after="getIDCOptionData" :button-class="'menu-edit'">
|
||||
<template v-slot:optionZone>
|
||||
<i class="el-icon-edit-outline" @click="getIDCOptionData(item.id)" style="color: inherit"></i>
|
||||
<div @click="closeAllPop">
|
||||
<i class="el-icon-edit-outline" @click="getIDCOptionData(item.id)" style="color: inherit"></i>
|
||||
</div>
|
||||
</template>
|
||||
</idc-config-box>
|
||||
<!--<el-popover
|
||||
@@ -425,6 +427,11 @@
|
||||
window.location.reload();
|
||||
}
|
||||
},
|
||||
closeAllPop:function(){
|
||||
this.$refs.idcConfigBox.forEach((item)=>{
|
||||
item.show(false)
|
||||
})
|
||||
},
|
||||
getProjectList() {
|
||||
this.$get('project', {}).then(response => {
|
||||
if (response.code == 200) {
|
||||
|
||||
Reference in New Issue
Block a user