Commit 2703dc60 authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

parents cee45df2 dee8feee
...@@ -58,6 +58,14 @@ function loadData(){ ...@@ -58,6 +58,14 @@ function loadData(){
ipAddress: queryParams.value.ipAddress, ipAddress: queryParams.value.ipAddress,
macAddress: queryParams.value.macAddress, macAddress: queryParams.value.macAddress,
} }
if(item.stationId === undefined || item.beginTime == null || item.endTime == null || item.ipAddress === undefined || item.macAddress === undefined){
item.stationId = ''
item.endTime = ''
item.beginTime = ''
item.ipAddress = ''
item.macAddress= ''
}
console.log('item:',item) console.log('item:',item)
//查询数据 //查询数据
getVoiceCommandsData(item).then(res => { getVoiceCommandsData(item).then(res => {
...@@ -173,6 +181,7 @@ const handleCurrentChange = (val) => { ...@@ -173,6 +181,7 @@ const handleCurrentChange = (val) => {
}; };
function handleDetail(row) { function handleDetail(row) {
singleDetails={}
console.log('row:',row) console.log('row:',row)
singleDetails = row singleDetails = row
detailOpen.value = true detailOpen.value = true
...@@ -252,7 +261,7 @@ watch( ...@@ -252,7 +261,7 @@ watch(
:data="VoiceCommandData" :data="VoiceCommandData"
border border
style="width: 98%;margin-left: 15px" style="width: 98%;margin-left: 15px"
height="calc(85vh - 170px)" height="calc(86.5vh - 170px)"
:header-cell-class-name="tableHeaderClass" :header-cell-class-name="tableHeaderClass"
:row-class-name="tableBodyClass" :row-class-name="tableBodyClass"
> >
......
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