Browse Source

style: 优化公告样式和项目信息页面布局

duy 4 days ago
parent
commit
e88ea89afd

+ 2 - 2
src/styles/announcement.scss

@@ -53,7 +53,7 @@
         position: relative;
         display: flex;
         align-items: center;
-        justify-content: end;
+        justify-content: flex-end;
         border-top: 1px solid #eee;
         padding: 8px 10px;
       }
@@ -151,7 +151,7 @@
     .top-box {
       position: relative;
       display: flex;
-      align-items: end;
+      align-items: flex-end; 
       margin-bottom: 10px;
       .left {
         position: relative;

+ 1 - 1
src/views/manager/projectinfo/editElement/editElement.vue

@@ -64,7 +64,7 @@
               <div style="width: 100%;height: 100%;overflow-y: auto;">
                 <el-row class="mb-4 ">
                   <div style="width: 60%;">
-                    <el-button type="warning" plain v-for="item in unMatchItems" @click="unMatchClick(item)"
+                    <el-button type="warning" plain v-for="(item,index) in unMatchItems" @click="unMatchClick(item)" :key="index"
                       style="margin-bottom: 10px ;" size="small">{{ item.eName }}</el-button>
                   </div>
                 </el-row>

+ 1 - 1
src/views/manager/projectinfo/tree.vue

@@ -3908,7 +3908,7 @@ clearSearch1() {
         code: "table_file_type",
       }).then((res) => {
         res.data.data.forEach((element) => {
-          element.dictKey = Number(element.dictKey);
+          element.dictKey =element.dictKey
         });
         this.tableFileTypeList = res.data.data;
       });