ZaiZai 1 rok temu
rodzic
commit
864e40590c

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20231020155039"
+  "value": "20231020175431"
 }

+ 66 - 5
src/styles/app/element.scss

@@ -32,14 +32,75 @@
         padding: 8px 20px;
     }
 }
-.el-table[hc] .el-table__body-wrapper .el-table__row .el-table__cell {
-    .el-button + .el-button {
-        margin-left: 8px;
+.el-dialog__footer .el-button {
+    border-radius: 0;
+    padding: 0 10px;
+    font-weight: initial;
+    height: 28px;
+    font-size: 14px;
+}
+
+//新改变版按钮
+.el-button[hc-btn] {
+    border-radius: 0;
+    padding: 0 10px;
+    font-weight: initial;
+    height: 28px;
+    font-size: 14px;
+    border: 0;
+    box-shadow: none;
+    outline: 0;
+}
+
+.el-button + .el-button {
+    margin-left: 10px;
+}
+
+.el-button + .el-dropdown {
+    margin-left: 10px;
+}
+
+.el-dropdown .el-button .hc-icon-i {
+    margin-left: 4px;
+    margin-right: 0;
+}
+
+//表格样式重写
+.el-table[hc] {
+    --el-table-bg-color: initial;
+    --el-table-header-bg-color: #d5deff;
+    --el-table-header-text-color: #000000;
+    --el-table-tr-bg-color: #fafafa;
+    --el-fill-color-lighter: #fafafa;
+    --el-table-text-color: green;
+    --el-table-row-hover-bg-color: #e9edfa;
+    --el-table-current-row-bg-color: #ffe48d;
+    --el-table-border: 1px dotted var(--el-table-border-color);
+    .el-table__cell {
+        padding: 0;
+    }
+    .cell {
+        padding: 4px;
+        line-height: initial;
+        .el-link + .el-link {
+            margin-left: 8px;
+        }
     }
-    .el-link + .el-link {
-        margin-left: 8px;
+    .el-table__body-wrapper .el-table-column--selection>.cell,
+    .el-table__header-wrapper .el-table-column--selection>.cell {
+        height: auto;
     }
+    .el-table-fixed-column--left, .el-table-fixed-column--right {
+        background: #d5deff;
+        &.el-table__cell {
+            background: #d5deff !important;
+        }
+    }
+}
+.el-table[hc].el-table--border {
+    --el-table-border-color: #8287a5;
 }
+
 .form-item-div {
     height: auto;
     min-height: 40px;

+ 1 - 1
src/views/project/debit/project/unit.vue

@@ -27,7 +27,7 @@
                             <span>按录入时间排序</span>
                         </el-button>
                     </template>
-                    <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-check @selection-change="tableCheckChange">
+                    <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-check border @selection-change="tableCheckChange">
                         <template #action="{ row }">
                             <el-link type="primary" @click="giveTaskModalClick(row)">下达</el-link>
                             <el-link type="success">修改</el-link>