From dedbadd96ab7e1533572b25511fd201678c64dad Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 17 十月 2024 09:56:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/views/modeling/cycle.vue | 129 ------------------------------------------ 1 files changed, 1 insertions(+), 128 deletions(-) diff --git a/Source/UBCS-WEB/src/views/modeling/cycle.vue b/Source/UBCS-WEB/src/views/modeling/cycle.vue index 6f00942..5194d87 100644 --- a/Source/UBCS-WEB/src/views/modeling/cycle.vue +++ b/Source/UBCS-WEB/src/views/modeling/cycle.vue @@ -243,6 +243,7 @@ }); this.nodesEdgesData = { nodes, edges }; this.visible = true; + console.log('nodesEdgesData',this.nodesEdgesData) }); } else { this.nodesEdgesData = {}; @@ -304,133 +305,6 @@ }); }, async submit() { - // const data = { - // startStatus: "Auditing", - // name: "22", - // id: "asas", - // nodes: [ - // { - // type: "node", - // size: "80*48", - // shape: "flow-rect", - // color: "#1890FF", - // label: "Auditing", - // x: 278.60856031183397, - // y: 84.12841612613737, - // id: "Auditing", - // change: true, - // index: 0, - // name: "Auditing", - // indexNum: 0, - // }, - // { - // type: "node", - // size: "80*48", - // shape: "flow-rect", - // color: "#1890FF", - // label: "Editing", - // x: 294.17388658989535, - // y: 299.9676071819219, - // id: "Editing", - // change: true, - // index: 1, - // name: "Editing", - // indexNum: 1, - // }, - // { - // type: "node", - // size: "80*48", - // shape: "flow-rect", - // color: "#1890FF", - // label: "drg", - // x: 278.60856031183397, - // y: 463.92237731083515, - // id: "drg", - // change: true, - // index: 3, - // name: "drg", - // indexNum: 3, - // }, - // ], - // edges: [ - // { - // source: "Auditing", - // sourceAnchor: 2, - // target: "Editing", - // targetAnchor: 0, - // id: "3083896f", - // index: 2, - // indexNum: 2, - // events: [ - // { - // eventFullName: - // "plm.bs.omd.lifecycle.server.pubimpl.TransationEvente", - // eventShowName: "TransationEventE", - // description: "", - // bizDomain: "mdm", - // oid: "5", - // creator: "", - // createTime: "", - // lastModifier: "", - // lastModifyTime: "", - // ts: "", - // }, - // ], - // }, - // { - // source: "Editing", - // sourceAnchor: 2, - // target: "drg", - // targetAnchor: 0, - // id: "b941a21d", - // index: 4, - // indexNum: 4, - // events: [ - // { - // eventFullName: - // "plm.bs.omd.lifecycle.server.pubimpl.TransationEventf", - // eventShowName: "TransationEventF", - // description: "", - // bizDomain: "mdm", - // oid: "6", - // creator: "", - // createTime: "", - // lastModifier: "", - // lastModifyTime: "", - // ts: "", - // }, - // { - // eventFullName: - // "plm.bs.omd.lifecycle.server.pubimpl.TransationEvente", - // eventShowName: "TransationEventE", - // description: "", - // bizDomain: "mdm", - // oid: "5", - // creator: "", - // createTime: "", - // lastModifier: "", - // lastModifyTime: "", - // ts: "", - // }, - // ], - // }, - // ], - // }; - // API.add(data) - // .then((res) => { - // this.submitLoading = false; - // if (res.data.code === 200) { - // this.$message.success( - // this.type === "edit" ? "淇敼鎴愬姛锛�" : "鏂板鎴愬姛锛�" - // ); - // this.visible = false; - // this.search(); - // } - // }) - // .catch(() => { - // this.submitLoading = false; - // }); - // return; const newRowData = await this.$refs.vueFlowchartEditor.getNewRowData(); if (!newRowData) { return; @@ -457,7 +331,6 @@ ...flowData, }; - console.log('params',params) this.submitLoading = true; let APIFun = API.add; if (this.type === "edit") { -- Gitblit v1.9.3