提交 e0eb7d01 authored 作者: matian's avatar matian

bug fixes

上级 fc7e59ef
...@@ -20,8 +20,8 @@ const listOptions = $computed(() => { ...@@ -20,8 +20,8 @@ const listOptions = $computed(() => {
], ],
columns: [ columns: [
{ label: '#', type: 'index' }, { label: '#', type: 'index' },
{ label: '客户编号', prop: 'name' }, { label: '客户编号', prop: 'number' },
{ label: '客户名称', prop: 'number' }, { label: '客户名称', prop: 'name' },
{ label: '院校性质', prop: 'nature' }, { label: '院校性质', prop: 'nature' },
{ label: '归属部门', prop: 'department' }, { label: '归属部门', prop: 'department' },
{ label: '客户来源', prop: 'from' }, { label: '客户来源', prop: 'from' },
......
...@@ -10,17 +10,19 @@ getZwsUserDetail(params).then(res => { ...@@ -10,17 +10,19 @@ getZwsUserDetail(params).then(res => {
console.log(res) console.log(res)
}) })
// 列表配置 // 列表配置
const listOptions = { const listOptions = $computed(() => {
columns: [ return {
{ label: '#', prop: 'id' }, columns: [
{ label: '类型', prop: 'call_type' }, { label: '#', prop: 'id' },
{ label: '通话时间', prop: 'start_time' }, { label: '类型', prop: 'call_type' },
{ label: '时长', prop: 'call_duration' }, { label: '通话时间', prop: 'start_time' },
{ label: '作息', prop: 'agent_user_id_name' }, { label: '时长', prop: 'call_duration' },
{ label: '录音', prop: 'record_download_uri' } { label: '作息', prop: 'agent_user_id_name' },
], { label: '录音', prop: 'record_download_uri' }
data: zwsInfo.value.call_logs ],
} data: zwsInfo.value.call_logs
}
})
const handleView = () => { const handleView = () => {
if (zwsInfo.value.profile !== null) { if (zwsInfo.value.profile !== null) {
window.open(zwsInfo.value.profile) window.open(zwsInfo.value.profile)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论