From e21c05d2c0d67629c81e5cc54238e6678a055055 Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期三, 17 七月 2024 09:00:22 +0800 Subject: [PATCH] 修改模型提交功能 --- web/src/views/modules/taskReliability/RBD-edit-img.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/modules/taskReliability/RBD-edit-img.vue b/web/src/views/modules/taskReliability/RBD-edit-img.vue index a30b513..db1bed4 100644 --- a/web/src/views/modules/taskReliability/RBD-edit-img.vue +++ b/web/src/views/modules/taskReliability/RBD-edit-img.vue @@ -16,7 +16,7 @@ </el-form-item> <el-form-item> <el-button type="primary" @click="saveDiagram()">鏆傚瓨</el-button> - <el-button type="primary" @click="analyzeDiagram()">淇濆瓨</el-button> + <el-button type="primary" @click="analyzeDiagram()">鎻愪氦</el-button> <el-button type="primary" @click="clearDiagram()">娓呯┖鍥惧舰</el-button> <el-button @click="leftAlign()"> <i style="font-size: 1rem;" class="wt-iconfont icon-zuoduiqi"></i> @@ -1451,7 +1451,7 @@ // 妫�鏌ラ櫎褰撳墠鑺傜偣涔嬪鐨勬墍鏈夎妭鐐圭殑鍖呭洿妗嗘槸鍚︾浉浜� for (const node of nodes) { console.log(node, 'saveDiagram node') - if (node.getData().nodeType == 'node' && node.getData().productType != 'product_xdy' && node.getData().dataId) { + if (node.getData().nodeType == 'node' && node.getData().dataId) { nodeArr2.push(node.getData().dataId) } } @@ -1485,7 +1485,7 @@ return false; // 鍙栨秷娣诲姞鑺傜偣鎿嶄綔 } } - if (node.getData().nodeType === 'node' && node.getData().productType !== 'product_xdy' && node.getData().dataId) { + if (node.getData().nodeType === 'node' && node.getData().dataId) { nodeArr2.push(node.getData().dataId) } } -- Gitblit v1.9.1