提交 749b668d authored 作者: matian's avatar matian

updates

上级 d742da59
......@@ -7,7 +7,6 @@ const zwsInfo: any = ref({})
const params: any = { id: route.query.id }
getZwsUserDetail(params).then(res => {
zwsInfo.value = res.data
console.log(res)
})
// 列表配置
const listOptions = $computed(() => {
......@@ -116,10 +115,11 @@ const handleView = () => {
<AppCard title="沟通信息">
<AppList v-bind="listOptions" ref="appList" style="overflow-x: auto">
<template #record_download_uri="{ row }">
<audio controls>
<source :src="row.record_download_uri" type="audio/mpeg" />
<audio controls v-if="row.record_download_uri !== ''">
<source :src="row.record_download_uri" />
<embed :src="row.record_download_uri" />
</audio>
<div v-else>-</div>
</template>
</AppList>
</AppCard>
......
......@@ -23,7 +23,6 @@ const shortcuts = [
// let weeks = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
const end = new Date()
const start = new Date()
console.log(start.getDay())
start.setTime(start.getTime() - 3600 * 1000 * 24 * (start.getDay() - 1))
return [start.setHours(0, 0, 0, 0), end]
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论