From 3e0c75d258fdcd9bf1c47ead8fc390e96e996843 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 04 十一月 2024 15:15:45 +0800 Subject: [PATCH] 整合代码 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/businessType/index.vue | 58 +++++++++++++++++++++++++++++++++------------------------- 1 files changed, 33 insertions(+), 25 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 6ed866a..4f60ac9 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" style="width: 40%"> <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" @@ -70,7 +69,7 @@ </el-descriptions-item> </el-descriptions> </div> - <div class="descBox"> + <div class="descBox" style="width: 25%;"> <el-descriptions :column="1" border class="margin-top" size="medium" title="鐗堟湰瑙勫垯"> <el-descriptions-item :contentStyle="descriptionOption.contentStyle" :labelStyle="descriptionOption.labelStyle"> @@ -122,7 +121,7 @@ </el-descriptions> </div> - <div class="descBox"> + <div class="descBox" style="width: calc(35% - 40px);margin-right: 0"> <el-descriptions :column="1" border class="margin-top" size="medium" title="鐢熷懡鍛ㄦ湡"> <el-descriptions-item :contentStyle="descriptionOption.contentStyle" :labelStyle="descriptionOption.labelStyle"> @@ -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,9 +152,9 @@ 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"> + <div class="leftForm" style="width: 40%"> <el-form-item label="绫诲瀷鍚嶇О锛�" prop="id"> <el-input v-model="form.id" :readOnly="title === 'edit'"></el-input> </el-form-item> @@ -178,7 +177,7 @@ <el-input v-model="form.description" :rows="2" type="textarea"></el-input> </el-form-item> </div> - <div class="centerForm"> + <div class="centerForm" style="width: 24%"> <el-form-item label="鐗堟湰瑙勫垯锛�" label-width="110px" prop="revLevel"> <el-select v-model="form.revLevel" @change="revLevelChange"> <el-option label="涓嶅彲淇" value="0"></el-option> @@ -216,7 +215,7 @@ </el-select> </el-form-item> </div> - <div class="rightForm"> + <div class="rightForm" style="width: 26%"> <el-form-item label="鐢熷懡鍛ㄦ湡锛�" label-width="138px" prop="lifeCycleId"> <div style="display: flex;gap: 5px;align-items: center"> <el-input v-model="form.lifeCycleId" :readOnly="true"></el-input> @@ -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,23 +1661,27 @@ .el-form-item .el-select { width: 100%; } + + .el-tag{ + line-height:22px; + height: 24px; + } } .descBox { - width: 32%; - margin-left: 20px; + margin-right: 20px; } .dialogForm { display: flex; - justify-content: space-around; + justify-content: space-between; } .dialogForm > div { - width: 29%; - border: 1px solid #eee; + border: 1px solid #EBEEF5; + border-radius: 2px; padding: 25px 20px 5px 10px; /* 涓� 鍙� 涓� 宸� */ - box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 娣诲姞闃村奖鏁堟灉 */ + box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* 娣诲姞闃村奖鏁堟灉 */ } -- Gitblit v1.9.3