From d63e6915b164ff94738f1848295406db79da45a7 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 10 十二月 2024 18:08:50 +0800 Subject: [PATCH] 图标管理 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/lifeCycle/index.vue | 46 +++++++--------------------------------------- 1 files changed, 7 insertions(+), 39 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/lifeCycle/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/lifeCycle/index.vue index 719c75d..7782758 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/lifeCycle/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/lifeCycle/index.vue @@ -1,6 +1,6 @@ <template> <el-container> - <el-aside width="15.7%"> + <el-aside style="width:310px;"> <basic-container> <div ref="TreeBox" style="height: calc(100vh - 144px);!important;"> <div class="headerCon"> @@ -14,8 +14,7 @@ </el-button> <el-button icon="el-icon-upload2" plain size="small" type="primary" @click="uploadClickHandler">瀵煎叆 </el-button> - <el-button class="smallBtn" plain size="small" type="primary" - @click="checkViewClickHandler">鏌ョ湅浣跨敤鑼冨洿 + <el-button icon="el-icon-view" plain size="small" type="primary" @click="checkViewClickHandler">鏌ョ湅浣跨敤鑼冨洿 </el-button> </div> <!-- 宸︿晶鏍� --> @@ -100,6 +99,7 @@ searchMenuSpan: 8, refreshBtn: false, selection: false, + header:false, column: [ { label: '鍚嶇О', @@ -374,6 +374,8 @@ startStatus: params.startStatus, startStatusName: params.startStatusName, description: params.description, + ts:params.ts, + oid:params.oid, bounds: params.nodes.map(node => ({ name: node.id, cellx: String(node.x), @@ -392,10 +394,12 @@ : () => addLifeCycle(transformedData); getFunction().then(res => { + console.log(res); if (res.data.code === 200) { this.$message.success(res.data.obj); this.createdHandler(); // this.handleResetTree(); + this.rowData = {}; this.$store.dispatch('updateMethodBtn', Object.keys(this.rowData).length > 0); } }); @@ -417,42 +421,6 @@ .el-scrollbar__wrap { overflow: auto !important; } - .headerCon{ - .el-button { - width: 65px; - padding-left: 9.5px; - } - } } - -.headerCon { - display: flex; - flex-wrap: wrap; - margin-bottom: 5px; - - .el-button + .el-button { - margin-left: 5px; - } - - .el-button { - margin-top: 5px; - } -} - -.headerCon > .el-button:nth-child(4) { - margin-left: 0; -} - -//.headerCon > .el-button:nth-child(6) { -// margin-left: 0; -//} - -.smallBtn { - width: 77px !important; - //font-size: 11px !important; - text-align: center !important; - padding-left: 1px !important; -} - </style> -- Gitblit v1.9.3