浏览代码

修改:前端界面优化

GDW 2 月之前
父节点
当前提交
e195d3c30f
共有 1 个文件被更改,包括 14 次插入7 次删除
  1. 14 7
      jeecgboot-vue3/src/views/system/user/index.vue

+ 14 - 7
jeecgboot-vue3/src/views/system/user/index.vue

@@ -27,14 +27,17 @@
         </a-card>
       </div>
       <div style="display: flex; flex-direction: column; width: 1350px;">
-        <div>
-          <LTTCBaseServiceAdvancedSearch
-            :fieldOptions="dataFields"
-            :rawData="rawData"
-            @update:searchedConditions="handleSearchedDataUpdate"
-            @update:searchedDataReset="handleSortedDataUpdate"
-          />
+        <div style="flex: 1; padding-top: 10px;padding-left: 10px; padding-right: 10px;">
+          <a-card :bordered="false" :bodyStyle = cardBodyStyle>
+            <LTTCBaseServiceAdvancedSearch
+              :fieldOptions="dataFields"
+              :rawData="rawData"
+              @update:searchedConditions="handleSearchedDataUpdate"
+              @update:searchedDataReset="handleSortedDataUpdate"
+            />
+          </a-card>
         </div>
+
         <div>
           <BasicTable @register="registerTable" :rowSelection="rowSelection" style="flex: 4; height: 100%">
             <!-- 插槽: table标题 -->
@@ -593,6 +596,10 @@
     handleExportXls("用户列表", getExportUrl, { queries: JSON.stringify(queries.value)})
 
   }
+  const cardBodyStyle = {
+    padding: '0px',
+  };
+
 
 </script>