Compare commits

..

No commits in common. "1d71f5b8bf67f3ea2c79ff4331b0251a82d1894c" and "5ad541cf9ea0653a434d4395c2f3f2e5fe9e930b" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -5,5 +5,5 @@ VITE_PUBLIC_PATH = '/'
VITE_USE_PROXY = true VITE_USE_PROXY = true
# base api # base api
VITE_BASE_API = 'http://139.224.70.152:9990/api/v1' # VITE_BASE_API = 'http://139.224.70.152:9990/api/v1'
# VITE_BASE_API = 'http://127.0.0.1:9999/api/v1' VITE_BASE_API = 'http://127.0.0.1:9999/api/v1'

View File

@ -1,7 +1,6 @@
<script setup> <script setup>
import { computed, ref, watch, h } from 'vue' import { computed, ref, watch, h } from 'vue'
import { NModal, NButton, NTabs, NTabPane, NDataTable, NSpin } from 'naive-ui' import { NModal, NButton, NTabs, NTabPane, NDataTable, NSpin } from 'naive-ui'
import { formatDate } from '@/utils'
const props = defineProps({ const props = defineProps({
visible: { visible: {
@ -46,14 +45,7 @@ const invoiceColumns = [
] ]
const logColumns = [ const logColumns = [
{ { title: '操作时间', key: 'operation_time', width: 180 },
title: '操作时间',
key: 'created_at',
width: 180,
render(row) {
return row.created_at ? formatDate(row.created_at, 'YYYY-MM-DD HH:mm:ss') : '-'
},
},
{ title: '操作人', key: 'operator_name', width: 120 }, { title: '操作人', key: 'operator_name', width: 120 },
{ title: '操作记录', key: 'operation_detail', ellipsis: { tooltip: true } }, { title: '操作记录', key: 'operation_detail', ellipsis: { tooltip: true } },
] ]