1、logo替换
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
dev_ljl 2025-07-24 11:21:50 +08:00
parent 15ccb7f0b9
commit 85e021b5ac
7 changed files with 26 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -21,6 +21,8 @@ export interface GroupVO {
*/
attendanceType: number;
isAutomatic: number;
}
export interface GroupForm extends BaseEntity {

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,5 +1,5 @@
import { defineOverridesPreferences } from '@vben/preferences';
import logo from '../src/assets/logo.png'
/**
* @description
* 使
@ -62,8 +62,8 @@ export const overridesPreferences = defineOverridesPreferences({
*
* !!!
*/
// logo: {
// enable: true,
// source: '',
// },
logo: {
enable: true,
source: logo,
},
});

View File

@ -45,7 +45,7 @@ const [BasicModal, modalApi] = useVbenModal({
}
modalApi.modalLoading(true);
const {check} = modalApi.getData() as { check?: boolean };
isClockIn.value = check;
isClockIn.value = check || false;
await markInitialized();
modalApi.modalLoading(false);
},

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import {computed, reactive, ref} from 'vue';
import {computed, onMounted, reactive, ref} from 'vue';
import {useVbenModal} from '@vben/common-ui';
import {$t} from '@vben/locales';
@ -36,10 +36,10 @@ const title = computed(() => {
});
const settingData = reactive({
isAutomatic: true,
weekdayData: [],
cycleData: [],
unCheckInData: [],
checkInData: [],
weekdayData: [] as any[],
cycleData: [] as any[],
unCheckInData: [] as any[],
checkInData: [] as any[],
shiftId: ''
})
const [BasicForm, formApi] = useVbenForm({
@ -65,6 +65,10 @@ const {onBeforeClose, markInitialized, resetInitialized} = useBeforeCloseDiff(
},
);
onMounted(()=>{
getDictOptions('wy_kqgzr')
})
const [BasicModal, modalApi] = useVbenModal({
fullscreenButton: false,
fullscreen: true,
@ -83,19 +87,15 @@ const [BasicModal, modalApi] = useVbenModal({
const record = await groupInfo(id);
await formApi.setValues(record);
} else {
const dictOptions = getDictOptions('wy_kqgzr');
console.log(dictOptions)
if (dictOptions) {
dictOptions.forEach(item => {
settingData.weekdayData.push({
dayOfWeek: item.value,
label: item.label,
shiftValue: '休息',
isRest: 1,
id: null,
})
getDictOptions('wy_kqgzr').forEach(item => {
settingData.weekdayData.push({
dayOfWeek: item.value,
label: item.label,
shiftValue: '休息',
isRest: 1,
id: null,
})
}
})
settingData.cycleData = [{id: ''}, {id: ''}];
}
await markInitialized();

View File

@ -12,7 +12,6 @@ dayjs.extend(relativeTime);
import type {HouseChargeVO} from "#/api/property/costManagement/houseCharge/model";
import {getHoliday} from "#/api/property/attendanceManagement/attendanceGroupSettings";
import {Calendar, Tag} from 'ant-design-vue'
import type {Holiday} from "#/api/property/attendanceManagement/attendanceGroupSettings/model";
const [BasicModal, modalApi] = useVbenModal({
onOpenChange: handleOpenChange,
@ -25,7 +24,7 @@ const houseChargeDetail = shallowRef<null | HouseChargeVO>(null);
const holidayData = ref<any>({})
const year = ref<string>(new Date().getFullYear())
const year = ref<string>(new Date().getFullYear().toString())
async function handleOpenChange(open: boolean) {
if (!open) {