From ea220d6bba2fefd738acce188607e327f13bfced Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期四, 07 三月 2024 21:58:06 +0800
Subject: [PATCH] 能解析5种模型(串联、并联、旁联、表决、桥联)的版本
---
web/src/views/modules/basicInfo/ProductModelTree.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/src/views/modules/basicInfo/ProductModelTree.vue b/web/src/views/modules/basicInfo/ProductModelTree.vue
index a2ec468..fba71fb 100644
--- a/web/src/views/modules/basicInfo/ProductModelTree.vue
+++ b/web/src/views/modules/basicInfo/ProductModelTree.vue
@@ -2,12 +2,12 @@
<div class="product-tree-container " :style="'height:' + tree_Hei +'px'">
<el-input
placeholder="杈撳叆鍚嶇О杩涜杩囨护"
- style="width: 80%"
+ style="width: 60%"
v-model="filterText"
size="small"
clearable
></el-input>
- <el-button type="primary" @click="add()" style="margin-top: 10px">鏂板</el-button>
+ <el-button type="primary" @click="add()" style="margin: 10px 0 0 10px;padding: 9px 18px !important;">鏂板</el-button>
<el-divider></el-divider>
<el-tree
style="height: 90%;overflow: auto"
@@ -59,6 +59,7 @@
async getProductList() {
let res = await this.$http.get('/basicInfo/XhProductModel/tree')
this.productList = res.data
+ console.log(res.data,'async getProductList()')
},
add() {
this.$refs.AddOrUpdate.$refs.dialog.init(null,{id: null, type: 'tree'})
--
Gitblit v1.9.1