Commit 227e11f9c783db746b0e97454be4bb00b8ac62ed
1 parent
26fd35e3
fix: todo
Showing
6 changed files
with
14 additions
and
10 deletions
yudao-ui-admin-vue3/src/plugins/vxeTable/renderer/dataTimePicker.tsx
| ... | ... | @@ -12,8 +12,8 @@ VXETable.renderer.add('XDataTimePicker', { |
| 12 | 12 | return ( |
| 13 | 13 | <ElDatePicker |
| 14 | 14 | v-model={data[field]} |
| 15 | + style="width: 100%" | |
| 15 | 16 | type={content ? (content as any) : 'datetimerange'} |
| 16 | - style="maxWidth: 300px" | |
| 17 | 17 | value-format="YYYY-MM-DD HH:mm:ss" |
| 18 | 18 | range-separator="-" |
| 19 | 19 | start-placeholder={t('common.startTimeText')} | ... | ... |
yudao-ui-admin-vue3/src/plugins/vxeTable/theme/dark.scss
| ... | ... | @@ -39,10 +39,12 @@ $vxe-table-row-striped-background-color: #1d1d1d; |
| 39 | 39 | $vxe-table-row-hover-background-color: #1d1e1f; |
| 40 | 40 | $vxe-table-row-hover-striped-background-color: #1e1e1e; |
| 41 | 41 | $vxe-table-footer-background-color: #1d1e1f; |
| 42 | -$vxe-table-row-current-background-color: #9e8787; | |
| 43 | -$vxe-table-column-current-background-color: #9e8787; | |
| 44 | -$vxe-table-column-hover-background-color: #9e8787; | |
| 45 | -$vxe-table-row-hover-current-background-color: #9e8787; | |
| 42 | +$vxe-table-row-current-background-color: #302d2d; | |
| 43 | +$vxe-table-column-current-background-color: #302d2d; | |
| 44 | +$vxe-table-column-hover-background-color: #302d2d; | |
| 45 | +$vxe-table-row-hover-current-background-color: #302d2d; | |
| 46 | +$vxe-table-row-checkbox-checked-background-color: #3e3c37 !default; | |
| 47 | +$vxe-table-row-hover-checkbox-checked-background-color: #615a4a !default; | |
| 46 | 48 | $vxe-table-menu-background-color: #1d1e1f; |
| 47 | 49 | $vxe-table-border-width: 1px !default; |
| 48 | 50 | $vxe-table-border-color: #4c4d4f !default; | ... | ... |
yudao-ui-admin-vue3/src/views/infra/codegen/components/ImportTable.vue
yudao-ui-admin-vue3/src/views/infra/config/config.data.ts
yudao-ui-admin-vue3/src/views/system/user/index.vue
yudao-ui-admin-vue3/src/views/system/user/user.data.ts
| ... | ... | @@ -70,7 +70,12 @@ const crudSchemas = reactive<VxeCrudSchema>({ |
| 70 | 70 | field: 'status', |
| 71 | 71 | dictType: DICT_TYPE.COMMON_STATUS, |
| 72 | 72 | dictClass: 'number', |
| 73 | - isSearch: true | |
| 73 | + isSearch: true, | |
| 74 | + table: { | |
| 75 | + slots: { | |
| 76 | + default: 'status_default' | |
| 77 | + } | |
| 78 | + } | |
| 74 | 79 | }, |
| 75 | 80 | { |
| 76 | 81 | title: '最后登录时间', | ... | ... |