From 8c107924ebc49105fa81f13f972f1710b42c1503 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 01 十一月 2024 17:30:20 +0800 Subject: [PATCH] 首页样式修改 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue | 44 +++++++++++++++++++++++++++----------------- 1 files changed, 27 insertions(+), 17 deletions(-) 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 761693e..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 @@ -30,11 +30,11 @@ <el-button icon="el-icon-circle-plus-outline" plain size="small" type="primary" @click="indexClickHandler">鍒涘缓绱㈠紩</el-button> <el-button icon="el-icon-menu" plain size="small" type="primary" @click="checkClickHandler">涓�鑷存�ф鏌�</el-button> <el-button icon="el-icon-delete" plain size="small" type="danger" @click="checkClickHandler">鍒犻櫎鏁版嵁</el-button> - <el-button plain size="small" type="danger" @click="checkClickHandler">鍒犻櫎鍏ㄩ儴绫诲瀷</el-button> - <el-button plain size="small" type="primary" @click="checkViewClickHandler">鏌ョ湅浣跨敤鑼冨洿</el-button> + <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> @@ -640,6 +639,7 @@ searchMenuSpan: 8, refreshBtn: false, selection: false, + header:false, column: [ { label: '鍚嶇О', @@ -753,6 +753,7 @@ highlightCurrentRow: true, height: 450, searchMenuSpan: 8, + header: false, column: [ { label: '灞炴�у悕', @@ -764,6 +765,7 @@ label: '灞炴�х被鍨�', prop: 'attributeDataType', sortable: true, + width:150, }, { label: '鍒濆鍊�', @@ -800,6 +802,7 @@ selection: false, height: 210, addBtn: false, + menuWidth:100, // index:false, column: [ { @@ -817,11 +820,13 @@ label: '灞炴�х被鍨�', prop: 'attributeDataType', sortable: true, + width:150, }, { label: '鍒濆鍊�', prop: 'defaultValue', sortable: true, + width:150, }, { label: '璇存槑', @@ -1656,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