소스 검색

update

pull/92/head
lb 10 달 전
부모
커밋
23c1b4b3c6
1개의 변경된 파일8개의 추가작업 그리고 6개의 파일을 삭제
  1. +8
    -6
      src/views/extend/processFlowView/components/ProcessDetail.vue

+ 8
- 6
src/views/extend/processFlowView/components/ProcessDetail.vue 파일 보기

@@ -223,12 +223,12 @@ export default {
node.attrs;
console.log('node clicked!', node)
this.currentDet = {};
this.$set(this.currentDet, 'detId', detId.text);
this.$set(this.currentDet, 'sectionId', sectionId.text);
this.$set(this.currentDet, 'detName', detName.text);
this.$set(this.currentDet, 'detDesc', detDesc.text);
this.$set(this.currentDet, 'flowId', processId.text);
this.$set(this.currentDet, 'sectionName', sectionName.text);
this.$set(this.currentDet, 'detId', detId?.text);
this.$set(this.currentDet, 'sectionId', sectionId?.text);
this.$set(this.currentDet, 'detName', detName?.text);
this.$set(this.currentDet, 'detDesc', detDesc?.text);
this.$set(this.currentDet, 'flowId', processId?.text);
this.$set(this.currentDet, 'sectionName', sectionName?.text);
this.currentNode = node;
});
this.graph.on('edge:click', ({ e, x, y, edge, view }) => {
@@ -257,6 +257,8 @@ export default {
const status = await this.handleDelete(id);
if (status) {
view.cell.remove();
// 更新布局,不然下次打开删除的节点还在
this.handleUpdateLayout();
}
})
.catch((err) => {


불러오는 중...
취소
저장