You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
720 B
28 lines
720 B
2 years ago
|
<template>
|
||
|
<BasicModal v-bind="$attrs" title="操作日志详情" @register="registerModalInner">
|
||
|
<Description @register="registerDescription" />
|
||
|
</BasicModal>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { BasicModal, useModalInner } from '@/components/Modal'
|
||
|
import { Description, useDescription } from '@/components/Description/index'
|
||
|
import { ref } from 'vue'
|
||
|
import { infoSchema } from './operateLog.data'
|
||
|
|
||
|
defineOptions({ name: 'OperLogInfoModal' })
|
||
|
|
||
|
const logData = ref()
|
||
|
const [registerModalInner] = useModalInner((record: Recordable) => {
|
||
|
logData.value = record
|
||
|
})
|
||
|
|
||
|
const [registerDescription] = useDescription({
|
||
|
column: 1,
|
||
|
schema: infoSchema,
|
||
|
data: logData
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<style scoped></style>
|