From dc41f433072b1dd362f70905010ec77a625fc606 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 01 十一月 2024 15:46:36 +0800
Subject: [PATCH] 调整页面
---
Source/plt-web/plt-web-ui/src/App.vue | 4 ++++
Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue | 39 ++++++++++++++++++++++++---------------
2 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/Source/plt-web/plt-web-ui/src/App.vue b/Source/plt-web/plt-web-ui/src/App.vue
index eaab0d9..58b46ce 100644
--- a/Source/plt-web/plt-web-ui/src/App.vue
+++ b/Source/plt-web/plt-web-ui/src/App.vue
@@ -158,4 +158,8 @@
width: 30px;
height: 30px;
}
+
+.el-descriptions__header{
+ margin-bottom: 10px;
+}
</style>
diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue
index 6ed866a..dddbe14 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue
@@ -33,8 +33,8 @@
<el-button icon="el-icon-delete" plain size="small" type="danger" @click="checkClickHandler">鍒犻櫎鍏ㄩ儴绫诲瀷</el-button>
<el-button icon="el-icon-view" plain size="small" type="primary" @click="checkViewClickHandler">鏌ョ湅浣跨敤鑼冨洿</el-button>
</div>
- <div style="display: flex;justify-content: center; height: 230px;margin-top: 10px;">
- <div class="descBox" style="max-height: 100px">
+ <div style="display: flex;justify-content:left;margin-top: 15px;">
+ <div class="descBox">
<el-descriptions :column="1" border class="margin-top" size="medium" title="灞炴�т俊鎭�">
<el-descriptions-item :contentStyle="descriptionOption.contentStyle"
:labelStyle="descriptionOption.labelStyle">
@@ -57,8 +57,7 @@
</template>
<el-tooltip v-if="nodeRow.implClass" :content="nodeRow.implClass" class="item" effect="dark"
placement="top-start">
- <el-tag style="max-width: 250px;overflow: hidden">{{ nodeRow.implClass }}
- </el-tag>
+ <el-tag style="max-width: 100%;overflow: hidden;display: block">{{ nodeRow.implClass }}</el-tag>
</el-tooltip>
</el-descriptions-item>
<el-descriptions-item :contentStyle="descriptionOption.contentStyle"
@@ -134,8 +133,8 @@
</el-descriptions>
</div>
</div>
- <div style="margin-top: 30px">
- <h3>灞炴�у垪琛�</h3>
+ <div style="margin-top: 25px;position: relative">
+ <h3 style="margin: 0;position: absolute;top:0;z-index: 1000;">灞炴�у垪琛�</h3>
<avue-crud
:data="attrData"
:option="attrOption">
@@ -153,7 +152,7 @@
class="avue-dialog"
width="75%"
@close="addDialogClose">
- <el-form ref="form" :model="form" :rules="rules" label-width="95px">
+ <el-form ref="form" :model="form" :rules="rules" label-width="95px" size="small">
<div class="dialogForm">
<div class="leftForm">
<el-form-item label="绫诲瀷鍚嶇О锛�" prop="id">
@@ -264,7 +263,7 @@
</div>
</el-form>
<div class="bottomForm">
- <h3>灞炴�ф睜鍒楄〃</h3>
+ <h3 style="margin-bottom: 10px;">灞炴�ф睜鍒楄〃</h3>
<avue-crud
:data="dialogAttrData"
:option="dialogAttrOption"
@@ -274,9 +273,9 @@
</template>
</avue-crud>
</div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="addDialogClose">鍙� 娑�</el-button>
+ <span slot="footer" class="dialog-footer avue-dialog__footer">
<el-button type="primary" @click="addDialogSavaHandler">纭� 瀹�</el-button>
+ <el-button @click="addDialogClose">鍙� 娑�</el-button>
</span>
</el-dialog>
@@ -387,8 +386,8 @@
</span>
</avue-tree>
<span slot="footer" class="dialog-footer">
- <el-button @click="inheritClose">鍙� 娑�</el-button>
<el-button type="primary" @click="inheritSaveClickHandler">纭� 瀹�</el-button>
+ <el-button @click="inheritClose">鍙� 娑�</el-button>
</span>
</el-dialog>
@@ -431,8 +430,8 @@
:table-loading="conCheckLoading">
</avue-crud>
<span slot="footer" class="dialog-footer">
- <el-button @click="conCheckVisible = false">鍙� 娑�</el-button>
<el-button type="primary" @click="repairClickHandler">淇� 澶�</el-button>
+ <el-button @click="conCheckVisible = false">鍙� 娑�</el-button>
</span>
</el-dialog>
@@ -491,13 +490,13 @@
:option="indexAttrOption"
@row-click="indexAttrRowClick"></avue-crud>
<span slot="footer" class="dialog-footer">
- <el-button @click="indexAttrVisible = false">鍙� 娑�</el-button>
<el-button type="primary" @click="indexAttrClickAddHandler">纭� 瀹�</el-button>
+ <el-button @click="indexAttrVisible = false">鍙� 娑�</el-button>
</span>
</el-dialog>
<span slot="footer" class="dialog-footer">
- <el-button @click="indexDialogClose">鍙� 娑�</el-button>
<el-button type="primary" @click="indexClickAddHandler">淇� 瀛�</el-button>
+ <el-button @click="indexDialogClose">鍙� 娑�</el-button>
</span>
</el-dialog>
@@ -754,6 +753,7 @@
highlightCurrentRow: true,
height: 450,
searchMenuSpan: 8,
+ header: false,
column: [
{
label: '灞炴�у悕',
@@ -765,6 +765,7 @@
label: '灞炴�х被鍨�',
prop: 'attributeDataType',
sortable: true,
+ width:150,
},
{
label: '鍒濆鍊�',
@@ -801,6 +802,7 @@
selection: false,
height: 210,
addBtn: false,
+ menuWidth:100,
// index:false,
column: [
{
@@ -818,11 +820,13 @@
label: '灞炴�х被鍨�',
prop: 'attributeDataType',
sortable: true,
+ width:150,
},
{
label: '鍒濆鍊�',
prop: 'defaultValue',
sortable: true,
+ width:150,
},
{
label: '璇存槑',
@@ -1657,11 +1661,16 @@
.el-form-item .el-select {
width: 100%;
}
+
+ .el-tag{
+ line-height:22px;
+ height: 24px;
+ }
}
.descBox {
width: 32%;
- margin-left: 20px;
+ margin-right: 20px;
}
.dialogForm {
--
Gitblit v1.9.3