feat:创建module弹窗根据接口修改(60%)

This commit is contained in:
zhangyu
2021-04-13 19:06:34 +08:00
parent e21320fc32
commit e3729418cb
12 changed files with 662 additions and 370 deletions

View File

@@ -432,7 +432,7 @@ export default {
this.topologyLoading = false
}
res.data.list.forEach((item) => {
axiosAll.push(axios.get(`/project/topo?projectId=${item.id}`))
axiosAll.push(axios.get(`monitor/project/topo?projectId=${item.id}`))
})
axios.all(axiosAll).then(res2 => {
res2 = res2.map((item, index) => {
@@ -460,7 +460,7 @@ export default {
this.$get('/module/stat', { id: item.id }).then(res => {
item.state = res.data
})
promiseArr.push(this.dealImg(`/project/topo/icon/${item.iconId}`))
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.iconId}`))
})
Promise.all(promiseArr).then(res => {
arr.forEach((item, index) => {