提交 ea29acb8 authored 作者: thy's avatar thy

回显数据修改

上级 7d070366
...@@ -290,8 +290,8 @@ ...@@ -290,8 +290,8 @@
<li :class="{'box-nav-title':true,'active':isOpen1}" @click="open1"> <li :class="{'box-nav-title':true,'active':isOpen1}" @click="open1">
系统部署架构 系统部署架构
<img <img
v-show="systemStructure.application.deploy == '' && systemStructure.application.code == '' && systemStructure.application.other == '' && systemStructure.application.edition == '' && systemStructure.database.other == '' && systemStructure.database.deploy == '' && systemStructure.database.code == '' && systemStructure.database.edition == '' && systemStructure.storage.edition == '' && systemStructure.storage.other == '' && systemStructure.storage.deploy == '' && systemStructure.storage.code == '' && systemStructure.otherEquipment.code == '' && systemStructure.otherEquipment.edition == '' && systemStructure.otherEquipment.deploy == '' && systemStructure.otherEquipment.other == '' && systemStructure.slb.code == '' && systemStructure.slb.edition == '' && systemStructure.slb.deploy == '' && systemStructure.slb.other == '' && v-show="(systemStructure.application.deploy == '' || systemStructure.application.deploy == -1) && (systemStructure.application.code == '' || systemStructure.application.code == -1) && systemStructure.application.other == '' && systemStructure.application.edition == '' && systemStructure.database.other == '' && (systemStructure.database.deploy == '' || systemStructure.database.deploy == -1 )&&( systemStructure.database.code == '' || systemStructure.database.code == -1) && systemStructure.database.edition == '' && systemStructure.storage.edition == '' && systemStructure.storage.other == '' && (systemStructure.storage.deploy == '' || systemStructure.storage.deploy == -1) && (systemStructure.storage.code == '' || systemStructure.storage.code == -1 )&&( systemStructure.otherEquipment.code == '' || systemStructure.otherEquipment.code == -1) && systemStructure.otherEquipment.edition == '' && (systemStructure.otherEquipment.deploy == '' || systemStructure.otherEquipment.deploy == -1) && systemStructure.otherEquipment.other == '' && (systemStructure.slb.code == '' || systemStructure.slb.code == -1) && systemStructure.slb.edition == '' && (systemStructure.slb.deploy == '' || systemStructure.slb.deploy == -1) && systemStructure.slb.other == '' &&
systemStructure.vps.code == '' && systemStructure.vps.edition == '' && systemStructure.vps.deploy == '' && systemStructure.vps.other == '' &&systemStructure.cdn.code == '' && systemStructure.cdn.edition == '' && systemStructure.cdn.deploy == '' && systemStructure.cdn.other == '' &&systemStructure.nas.code == '' && systemStructure.nas.edition == '' && systemStructure.nas.deploy == '' && systemStructure.nas.other == '' &&systemStructure.otherDemand == '' && systemStructure.loadBalance == '' && systemStructure.disaster == '' && systemStructure.distributed == '' && systemStructure.nas.cpuNum == '' && systemStructure.nas.num == '' && systemStructure.nas.ghz == '' && systemStructure.cdn.cpuNum == '' && systemStructure.cdn.num == '' && systemStructure.cdn.ghz == '' && systemStructure.slb.ghz == '' && systemStructure.slb.cpuNum == '' && systemStructure.slb.num == '' && systemStructure.vps.cpuNum == '' && systemStructure.vps.ghz == '' && systemStructure.vps.num == '' && systemStructure.application.cpuNum == '' && systemStructure.application.num == '' && systemStructure.application.ghz == '' && systemStructure.database.cpuNum == '' && systemStructure.database.num == '' && systemStructure.database.ghz == '' && systemStructure.otherEquipment.num == '' && systemStructure.otherEquipment.ghz == '' && systemStructure.otherEquipment.cpuNum == '' && systemStructure.cdn.memory == '' && (systemStructure.vps.code == '' || systemStructure.vps.code == -1) && systemStructure.vps.edition == '' && (systemStructure.vps.deploy == '' || systemStructure.vps.deploy == -1 ) && systemStructure.vps.other == '' &&(systemStructure.cdn.code == '' || systemStructure.cdn.code == -1) && systemStructure.cdn.edition == '' && (systemStructure.cdn.deploy == '' || systemStructure.cdn.deploy == -1) && systemStructure.cdn.other == '' &&(systemStructure.nas.code == '' || systemStructure.nas.code == -1) && systemStructure.nas.edition == '' && (systemStructure.nas.deploy == '' || systemStructure.nas.deploy == -1) && systemStructure.nas.other == '' &&systemStructure.otherDemand == '' && systemStructure.loadBalance == '' && systemStructure.disaster == '' && systemStructure.distributed == '' && systemStructure.nas.cpuNum == '' && systemStructure.nas.num == '' && systemStructure.nas.ghz == '' && systemStructure.cdn.cpuNum == '' && systemStructure.cdn.num == '' && systemStructure.cdn.ghz == '' && systemStructure.slb.ghz == '' && systemStructure.slb.cpuNum == '' && systemStructure.slb.num == '' && systemStructure.vps.cpuNum == '' && systemStructure.vps.ghz == '' && systemStructure.vps.num == '' && systemStructure.application.cpuNum == '' && systemStructure.application.num == '' && systemStructure.application.ghz == '' && systemStructure.database.cpuNum == '' && systemStructure.database.num == '' && systemStructure.database.ghz == '' && systemStructure.otherEquipment.num == '' && systemStructure.otherEquipment.ghz == '' && systemStructure.otherEquipment.cpuNum == '' && systemStructure.cdn.memory == '' &&
systemStructure.slb.memory == '' && systemStructure.slb.memory == '' &&
systemStructure.vps.memory == '' && systemStructure.vps.memory == '' &&
systemStructure.application.memory == '' && systemStructure.application.memory == '' &&
...@@ -4197,14 +4197,27 @@ export default { ...@@ -4197,14 +4197,27 @@ export default {
} }
} }
}); });
Object.keys(this.systemStructure).forEach(key => { Object.keys(this.systemStructure).forEach(key => {
if (res.data.data.systemStructure[key] != -1) { if (res.data.data.systemStructure[key] != -1) {
if (res.data.data.systemStructure[key] == undefined) { if (res.data.data.systemStructure[key] == undefined) {
} else { } else {
this.systemStructure[key] = res.data.data.systemStructure[key]; if(res.data.data.systemStructure[key].deploy == -1){
}else{
// console.log(this.systemStructure[key].deploy,'deploy')
this.systemStructure[key] = res.data.data.systemStructure[key];
}
} }
} }
}); });
// Object.keys(this.systemStructure).forEach(key => {
// if (res.data.data.systemStructure[key] != -1) {
// if (res.data.data.systemStructure[key] == undefined) {
// } else {
// this.systemStructure[key] = res.data.data.systemStructure[key];
// }
// }
// });
Object.keys(this.developLanguageSystem).forEach(key => { Object.keys(this.developLanguageSystem).forEach(key => {
if (res.data.data.developLanguageSystem[key] != -1) { if (res.data.data.developLanguageSystem[key] != -1) {
if (res.data.data.developLanguageSystem[key] == undefined) { if (res.data.data.developLanguageSystem[key] == undefined) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论