فهرست منبع

[Style 0000] 过渡页及地图管理样式优化

houzekong 1 ماه پیش
والد
کامیت
a2254c2e34

+ 4 - 2
src/views/dashboard/Overhaul/components/LeafPage.vue

@@ -1025,7 +1025,7 @@
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     align-items: start;
     align-items: start;
-    justify-content: center;
+    /* justify-content: center; */
     padding: 0 16px 0 30px;
     padding: 0 16px 0 30px;
     background-image: url('/@/assets/images/overHaul/leafPage/warning-item-bg.png');
     background-image: url('/@/assets/images/overHaul/leafPage/warning-item-bg.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
@@ -1035,6 +1035,8 @@
 
 
     .col-title {
     .col-title {
       color: #000;
       color: #000;
+      height: 24px;
+      line-height: 30px;
       font-size: 14px;
       font-size: 14px;
       margin-bottom: 5px;
       margin-bottom: 5px;
     }
     }
@@ -1051,7 +1053,7 @@
     }
     }
     .col-icon {
     .col-icon {
       position: absolute;
       position: absolute;
-      top: 10px;
+      top: 8px;
       left: 10px;
       left: 10px;
       width: 18px;
       width: 18px;
       height: 18px;
       height: 18px;

+ 2 - 1
src/views/dashboard/Overhaul/components/RootPage.vue

@@ -575,8 +575,9 @@
     xAxis: {
     xAxis: {
       type: 'category',
       type: 'category',
       axisLabel: {
       axisLabel: {
-        // rotate: 30, // 名称过长时旋转
         interval: 0,
         interval: 0,
+        overflow: 'break',
+        width: 100,
       },
       },
     },
     },
     yAxis: {
     yAxis: {

+ 3 - 9
src/views/system/cadFile/index.vue

@@ -1,7 +1,7 @@
 <!-- eslint-disable vue/multi-word-component-names -->
 <!-- eslint-disable vue/multi-word-component-names -->
 <template>
 <template>
   <MapView v-if="showCAD" class="w-full h-full" v-bind="selected" @close="showCAD = false"></MapView>
   <MapView v-if="showCAD" class="w-full h-full" v-bind="selected" @close="showCAD = false"></MapView>
-  <BasicTable v-else @register="registerMapTable" :rowSelection="rowSelection">
+  <BasicTable v-else @register="registerMapTable">
     <template #resetBefore>
     <template #resetBefore>
       <!-- <a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXls"> 下载 </a-button> -->
       <!-- <a-button type="default" class="ml-8px" preIcon="mdi:download" @click="onExportXls"> 下载 </a-button> -->
       <a-button type="default" class="ml-8px" preIcon="mdi:plus" @click="handleOpenModal({})"> 新增 </a-button>
       <a-button type="default" class="ml-8px" preIcon="mdi:plus" @click="handleOpenModal({})"> 新增 </a-button>
@@ -60,12 +60,6 @@
       // dataSource: mockData,
       // dataSource: mockData,
       columns, // 绑定动态列
       columns, // 绑定动态列
       rowKey: 'mineCode',
       rowKey: 'mineCode',
-      rowSelection: {
-        type: 'checkbox',
-        onChange: (selectedRowKeys, selectedRows) => {
-          console.log('选中了:', selectedRowKeys, selectedRows);
-        },
-      },
       formConfig: {
       formConfig: {
         labelWidth: 120,
         labelWidth: 120,
         schemas: searchFormSchema.value, // 绑定动态搜索表单
         schemas: searchFormSchema.value, // 绑定动态搜索表单
@@ -81,7 +75,7 @@
       params: {},
       params: {},
     },
     },
   });
   });
-  const [registerMapTable, mapTable, { rowSelection }] = mapManageTable;
+  const [registerMapTable, mapTable] = mapManageTable;
   // const { pause, resume } = useIntervalFn(() => mapTable.reload({ silence: true }), 60000);
   // const { pause, resume } = useIntervalFn(() => mapTable.reload({ silence: true }), 60000);
 
 
   /**
   /**
@@ -105,7 +99,7 @@
    */
    */
   async function handleDeleteRecord(record: any) {
   async function handleDeleteRecord(record: any) {
     await deleteMineFile({ id: record.id });
     await deleteMineFile({ id: record.id });
-    message.error('删除成功');
+    message.success('删除成功');
     await mapTable.reload();
     await mapTable.reload();
   }
   }