Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua
commit
507c2af627
|
|
@ -20,6 +20,7 @@ import {
|
|||
TimePicker,
|
||||
TreeSelect,
|
||||
Transfer,
|
||||
Card,
|
||||
} from 'ant-design-vue';
|
||||
import ApiRadioGroup from './components/ApiRadioGroup.vue';
|
||||
import RadioButtonGroup from './components/RadioButtonGroup.vue';
|
||||
|
|
@ -34,6 +35,8 @@ import { IconPicker } from '@/components/Icon';
|
|||
import { CountdownInput } from '@/components/CountDown';
|
||||
import { BasicTitle } from '@/components/Basic';
|
||||
import { CropperAvatar } from '@/components/Cropper';
|
||||
import CreateOrModifyUser from './components/CreateOrModifyUser.vue'
|
||||
import CreateOrModifyTime from './components/CreateOrModifyTime.vue'
|
||||
|
||||
const componentMap = new Map<ComponentType | string, Component>();
|
||||
|
||||
|
|
@ -78,6 +81,11 @@ componentMap.set('Divider', Divider);
|
|||
componentMap.set('CropperAvatar', CropperAvatar);
|
||||
|
||||
componentMap.set('BasicTitle', BasicTitle);
|
||||
componentMap.set('Card', Card);
|
||||
componentMap.set('CreateUser', CreateOrModifyUser);
|
||||
componentMap.set('ModifyUser', CreateOrModifyUser);
|
||||
componentMap.set('CreateTime', CreateOrModifyTime);
|
||||
componentMap.set('ModifyTime', CreateOrModifyTime);
|
||||
|
||||
export function add<T extends string, R extends Component>(
|
||||
compName: ComponentType | T,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
<template>
|
||||
<a-input v-model:value="nowTime" readOnly>
|
||||
<template #suffix>
|
||||
<UserOutlined />
|
||||
</template>
|
||||
</a-input>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { UserOutlined } from '@ant-design/icons-vue';
|
||||
import dayjs from 'dayjs';
|
||||
const nowTime = ref(dayjs().format('YYYY-MM-DD HH:mm:ss'))
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<a-input v-model:value="userName" readOnly>
|
||||
<template #suffix>
|
||||
<user-outlined />
|
||||
</template>
|
||||
</a-input>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { UserOutlined } from '@ant-design/icons-vue';
|
||||
const userName = ref(localStorage.getItem('fireUserLoginName'))
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Loading…
Reference in New Issue