Commit 87220694 authored by liwei's avatar liwei

修改了日志添加

parent c53024e1
......@@ -51,7 +51,7 @@ const voiceCommandLocationData = ref([
ipAddress: '',
}
])
const orgStationName = ref('')
const stationOptionsList = ref([])
const enterpriseId = ref();
const loading = ref(true);
......@@ -194,9 +194,8 @@ const handleFormData = async () => {
title:'语音指令部署位置',
userId:userInfo.userId,
operateTime:formatTime(new Date()),
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置页面】进行了【新增】操作,数据为【编号:'
+ item.code + ',换热站id:' + item.stationId + ',换热站名称:' + item.stationName + ',ip地址:'
+ item.ipAddress + ',mac地址:'+ item.macAddress + '】'
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置页面】进行了【新增】操作,新增数据为【换热站:'
+ item.stationName + ',ip地址:' + item.ipAddress + ',mac地址:'+ item.macAddress + ',编号:'+ item.code +'】'
}
insertVoiceCommandLocationRecord(params).then( res => {})
}
......@@ -296,9 +295,8 @@ const handleFormData = async () => {
title:'语音指令部署位置',
userId:userInfo.userId,
operateTime:formatTime(new Date()),
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置页面】进行了【修改】操作,修改后的数据为【' + 'id:' + item.businessId +
',编号:' + item.code + ',换热站id:' + item.stationId + ',换热站名称:' + item.stationName + ',ip地址:'
+ item.ipAddress + ',mac地址:'+ item.macAddress + '】'
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置页面】进行了【修改】操作,将换热站【' + orgStationName.value + '】的语音指令部署位信息修改为【换热站:'
+ item.stationName + ',ip地址:' + item.ipAddress + ',mac地址:'+ item.macAddress + ',编号:'+ item.code +'】'
}
insertVoiceCommandLocationRecord(params).then( res => {})
}
......@@ -362,6 +360,7 @@ function handleAddButton(row) {
//修改按钮触发
function handleUpdateButton(row) {
orgStationName.value = row.stationName
getVoiceCommandsLocationDetail(row.businessId).then(res => {
addOrUpdateForm.value = res.data
formTitle.value = '修改'
......@@ -390,7 +389,7 @@ function deleteButton(row) {
title:'语音指令部署位置',
userId:userInfo.userId,
operateTime:formatTime(new Date()),
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置模块】进行了【删除】操作,删除的数据id【'+row.businessId + '】'
msg:'用户'+'【'+userInfo.realName+'】'+'在【语音指令部署位置模块】进行了【删除】操作,删除了换热站【' + row.stationName + '】的语音指令部署位置'
}
insertVoiceCommandLocationRecord(params).then( res => {})
loadData()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment