feat
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="call-history"><h3 >历史通话记录</h3>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" :data="mockData" @headBtnClick="headBtnClick"></fvTable>
|
||||
<voice ref="voiceRef" title="语音详情"/>
|
||||
<infoLiveCall ref="infoLiveCallRef"/>
|
||||
<infoLiveCall ref="infoLiveCallRef" :rowData="rowData"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -16,6 +16,7 @@
|
||||
import LiveCall from '@/components/liveCall/index.vue'
|
||||
import Voice from '@/components/voice/index.vue'
|
||||
import InfoLiveCall from '@/components/infoLiveCall/index.vue'
|
||||
const rowData = ref()
|
||||
const infoLiveCallRef=ref()
|
||||
const voiceRef=ref()
|
||||
const tableIns = ref()
|
||||
@@ -37,30 +38,36 @@ const auths = reactive({
|
||||
})
|
||||
const tableConfig = reactive({
|
||||
columns: [
|
||||
{
|
||||
{
|
||||
prop: 'index',
|
||||
type: 'index',
|
||||
label: '序号',
|
||||
align: 'center',
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
prop: 'orderNumber',
|
||||
label: '工单号',
|
||||
align: 'center',
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
prop: 'workOrderNumber',
|
||||
prop: 'orderName',
|
||||
label: '工单名称',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'workOrderNumber',
|
||||
prop: 'orderContent',
|
||||
label: '工单内容',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'workOrderNumber',
|
||||
prop: 'operationUser',
|
||||
label: '处理人',
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'workOrderNumber',
|
||||
prop: 'knotter',
|
||||
label: '关单人',
|
||||
align: 'center'
|
||||
},
|
||||
@@ -124,7 +131,7 @@ const tableConfig = reactive({
|
||||
}
|
||||
}
|
||||
],
|
||||
api: '',
|
||||
api: '/order/list',
|
||||
params: {},
|
||||
btns: [
|
||||
// {name: '新增', key: 'add',type:'primary',icon:'Plus'},
|
||||
@@ -134,7 +141,10 @@ const handleVoice = (row) => {
|
||||
voiceRef.value.open(true)
|
||||
}
|
||||
const handleInfo = (row) => {
|
||||
// console.log(row);
|
||||
|
||||
infoLiveCallRef.value.open(true)
|
||||
rowData.value = row.orderNumber
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user