瀏覽代碼

项目资料收集

ZaiZai 1 年之前
父節點
當前提交
ce442c985d

+ 7 - 7
src/views/anomaly/index.vue

@@ -50,13 +50,13 @@
                     <span class="text-white">批量导出</span>
                 </el-button>
             </template>
-            <hc-table 
+            <hc-table
                 class="anonaly-page-table"
                 :column="tableColumn"
-                :datas="tableData" 
+                :datas="tableData"
                 :cell-style="tableCellStyle"
                 :index-style="{ fixed: true, width: 60 }"
-                is-check :check-style="{ fixed: true, width: 29 }" @selection-change="tableSelectionChange" 
+                is-check :check-style="{ fixed: true, width: 29 }" @selection-change="tableSelectionChange"
             >
                 <template #action="{ row }">
                     <el-link type="danger" @click="cancleClick(row)">   <hc-icon name="arrow-go-back" />撤销</el-link>
@@ -144,7 +144,7 @@ const tableCellStyle = ({ row, column, rowIndex, columnIndex }) => {
     }
 }
 const getTableData = ()=>{
-    
+
 }
 //分页被点击
 const pageChange = ({ current, size }) => {
@@ -182,11 +182,11 @@ const exportClick = async (_, resolve) => {
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,

+ 3 - 3
src/views/project/modules/gist-list.vue

@@ -317,11 +317,11 @@ defineExpose({
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,

+ 3 - 3
src/views/project/modules/project-list.vue

@@ -620,11 +620,11 @@ defineExpose({
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,

+ 8 - 8
src/views/system/menu.vue

@@ -7,7 +7,7 @@
                     <hc-icon name="add" class="text-white" />
                     <span class="text-white">新增</span>
                 </el-button>
-            
+
                 <el-button color="#FF6C6C" :disabled="tableCheckedKeys.length === 0" @click="rowDelClick">
                     <hc-icon name="delete-bin-2" class="text-white" />
                     <span class="text-white">删除</span>
@@ -21,7 +21,7 @@
                 </el-button>
             </template>
             <hc-table
-                ui="no-border" has-children="hasChildren1" :is-index="true"   
+                ui="no-border" has-children="hasChildren1" :is-index="true"
                 :column="tableColumn" :datas="tableData"
                 :index-style="{ fixed: true, width: 60 }" is-check border :check-style="{ fixed: true, width: 29 }"
                 class="menu-page-table"
@@ -96,7 +96,7 @@
         </el-form>
     </hc-dialog>
 </template>
-   
+
    <script setup>
    import { ref, watch } from 'vue'
    import { HcDelMsg } from 'hc-vue3-ui'
@@ -128,7 +128,7 @@ const searchForm = ref({
     queryValue: null, current: 1, size: 20, total: 0,
 })
 const getTableData = ()=>{
-    
+
 }
 //分页被点击
 const pageChange = ({ current, size }) => {
@@ -223,11 +223,11 @@ const menuDataModalClose = ()=>{
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,
@@ -238,4 +238,4 @@ const menuDataModalClose = ()=>{
         background-color: var(--el-table-current-row-bg-color) !important;
     }
 }
-</style>
+</style>

+ 12 - 12
src/views/system/role.vue

@@ -7,18 +7,18 @@
                     <hc-icon name="add" class="text-white" />
                     <span class="text-white">新增</span>
                 </el-button>
-            
+
                 <el-button color="#FF6C6C" :disabled="tableCheckedKeys.length === 0" @click="rowDelClick">
                     <hc-icon name="delete-bin-2" class="text-white" />
                     <span class="text-white">删除</span>
                 </el-button>
             </template>
-            <hc-table 
+            <hc-table
                 class="role-page-table"
                 is-check
                 :column="tableColumn"
-                :datas="tableData" 
-            
+                :datas="tableData"
+
                 @selection-change="tableSelectionChange"
             >
                 <template #action="{ row }">
@@ -34,7 +34,7 @@
     <hc-dialog v-model="addModal" title="新增" widths="50rem">
         <hc-icon name="user" style="font-size: 18px;" class="font-bold" />
         <span class="font-bold">基础信息</span>
-                 
+
         <el-divider style="margin-top: 10px;" />
         <el-form :inline="true" :model="baseForm" label-width="auto" :rules="baseFormRules">
             <div class="hc-form-item">
@@ -58,13 +58,13 @@
         />
     </hc-dialog>
 </template>
-   
+
    <script setup>
    import { ref, watch } from 'vue'
    import { HcDelMsg } from 'hc-vue3-ui'
    const tableColumn = [
        { key: 'key1', name: '角色名称', align:'center' },
-    
+
        { key: 'action', name: '操作', align:'center' },
    ]
    const tableData = ref([
@@ -114,7 +114,7 @@ const searchForm = ref({
     queryValue: null, current: 1, size: 20, total: 0,
 })
 const getTableData = ()=>{
-    
+
 }
 //分页被点击
 const pageChange = ({ current, size }) => {
@@ -212,11 +212,11 @@ const data = [
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,
@@ -227,4 +227,4 @@ const data = [
         background-color: var(--el-table-current-row-bg-color) !important;
     }
 }
-</style>
+</style>

+ 10 - 10
src/views/system/user.vue

@@ -7,7 +7,7 @@
                     <hc-icon name="add" class="text-white" />
                     <span class="text-white">新增</span>
                 </el-button>
-            
+
                 <el-button color="#FF6C6C" :disabled="tableCheckedKeys.length === 0" @click="rowDelClick">
                     <hc-icon name="delete-bin-2" class="text-white" />
                     <span class="text-white">删除</span>
@@ -28,12 +28,12 @@
                     <span class="text-white">搜索</span>
                 </el-button>
             </template>
-            <hc-table 
+            <hc-table
                 class="user-page-table"
                 is-check
                 :column="tableColumn"
-                :datas="tableData" 
-               
+                :datas="tableData"
+
                 @selection-change="tableSelectionChange"
             >
                 <template #action="{ row }">
@@ -49,7 +49,7 @@
     <hc-dialog v-model="addModal" title="新增" widths="50rem">
         <hc-icon name="user" style="font-size: 18px;" class="font-bold" />
         <span class="font-bold">基础信息</span>
-                 
+
         <el-divider style="margin-top: 10px;" />
         <el-form :inline="true" :model="baseForm" label-width="auto" :rules="baseFormRules">
             <div class="hc-form-item">
@@ -81,7 +81,7 @@
         </el-form>
     </hc-dialog>
 </template>
-   
+
    <script setup>
    import { ref, watch } from 'vue'
    import { HcDelMsg } from 'hc-vue3-ui'
@@ -138,7 +138,7 @@ const searchForm = ref({
     queryValue: null, current: 1, size: 20, total: 0,
 })
 const getTableData = ()=>{
-    
+
 }
 //分页被点击
 const pageChange = ({ current, size }) => {
@@ -200,11 +200,11 @@ const roleOptions = ref([ {
     --el-table-header-bg-color: #101010;
     --el-table-header-text-color: #fff;
     --el-table-text-color: #101010;
-    thead.is-group th.el-table__cell {
+    .is-group th.el-table__cell {
         background: var(--el-table-header-bg-color);
     }
-    thead .el-table-fixed-column--left.el-table__cell,
-    thead .el-table-fixed-column--right.el-table__cell {
+    .el-table-fixed-column--left.el-table__cell,
+    .el-table-fixed-column--right.el-table__cell {
         background: var(--el-table-header-bg-color) !important;
     }
     tbody .el-table-fixed-column--left.el-table__cell,