Commit eee64886 by 史敦盼

架构资产字典

1 parent 62cd3579
Showing with 5 additions and 5 deletions
......@@ -32,9 +32,9 @@
}"
v-for="(item, index) in search_select1"
:key="item.belongId"
@click="showCurrentGraph(item.name, index)"
@click="showCurrentGraph(item.label, index)"
>
{{ item.name }}
{{ item.label }}
</div>
</div>
<div
......@@ -79,7 +79,7 @@
<script>
import {
query_jia_gou_gui_shu_belong_icon,
query_jia_gou_gui_shu,
query_jia_gou_ceng_ci_new,
} from '@/api/index'
export default {
props: {
......@@ -147,10 +147,10 @@ export default {
this.graphIndex = idx
},
handleOpen() {
query_jia_gou_gui_shu({}).then((res) => {
query_jia_gou_ceng_ci_new({"typeValue": "archi_belong"}).then((res) => {
if (res.code == 200) {
this.search_select1 = res.data
this.showCurrentGraph(this.search_select1[0]?.name, 0)
this.showCurrentGraph(this.search_select1[0]?.label, 0)
} else {
this.$message.warning(res.msg)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!