fix : 优化通话记录框样式

This commit is contained in:
2024-09-25 17:55:21 +08:00
parent 34340136fb
commit b71c948854
5 changed files with 288 additions and 88 deletions

View File

@@ -5,7 +5,7 @@
<LiveCall />
</div>
<div class="call-history"><h3 >历史通话记录</h3>
<fvTable ref="tableIns" :tableConfig="tableConfig" :data="mockData" @headBtnClick="headBtnClick"></fvTable>
<fvTable ref="tableIns" :tableConfig="tableConfig"></fvTable>
<voice ref="voiceRef" title="语音详情"/>
<infoLiveCall ref="infoLiveCallRef" :rowData="rowData"/>
</div>
@@ -20,19 +20,6 @@ const rowData = ref()
const infoLiveCallRef=ref()
const voiceRef=ref()
const tableIns = ref()
const mockData = ref([
{
workOrderNumber: 1211,
workOrderTime: '2022-02-09 00 : 12',
state: 0,
callState: '01'
},
{
workOrderNumber: 232,
state: 1,
callState: '02'
}
])
const auths = reactive({
report: ['mosr:collect:reported'],
})
@@ -77,7 +64,7 @@ const tableConfig = reactive({
},
{
prop: 'workOrderNumber',
label: '号码',
label: '电话号码',
align: 'center'
},
{
@@ -133,10 +120,7 @@ const tableConfig = reactive({
api: '/order/list',
params: {
orderState:'2'
},
btns: [
// {name: '新增', key: 'add',type:'primary',icon:'Plus'},
]
}
})
const handleVoice = (row) => {
voiceRef.value.open(true)