mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-08-12 09:01:54 +08:00
📖 CRM:code review crm 联系人新增操作日志
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
import * as ContactApi from '@/api/crm/contact'
|
||||
import { DICT_TYPE } from '@/utils/dict'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
|
||||
const { contact } = defineProps<{
|
||||
contact: ContactApi.ContactVO
|
||||
}>()
|
||||
|
@@ -48,10 +48,11 @@ const getContactData = async (id: number) => {
|
||||
loading.value = false
|
||||
}
|
||||
}
|
||||
const logList = ref<OperateLogV2VO[]>([]) // 操作日志列表
|
||||
|
||||
/**
|
||||
* 获取操作日志
|
||||
*/
|
||||
const logList = ref<OperateLogV2VO[]>([]) // 操作日志列表
|
||||
const getOperateLog = async (contactId: number) => {
|
||||
if (!contactId) {
|
||||
return
|
||||
@@ -61,6 +62,7 @@ const getOperateLog = async (contactId: number) => {
|
||||
})
|
||||
logList.value = data.list
|
||||
}
|
||||
|
||||
/** 初始化 */
|
||||
const { delView } = useTagsViewStore() // 视图操作
|
||||
const { currentRoute } = useRouter() // 路由
|
||||
|
Reference in New Issue
Block a user