From 97c12b8ef523358bb01f802125586a08281c27f3 Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Wed, 29 Jun 2022 18:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=BA=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/equipmentLog.vue | 76 +++++++++++++++++++++---------------- 1 file changed, 43 insertions(+), 33 deletions(-) diff --git a/pages/mine/equipmentLog.vue b/pages/mine/equipmentLog.vue index 8984241..bf171a7 100644 --- a/pages/mine/equipmentLog.vue +++ b/pages/mine/equipmentLog.vue @@ -13,7 +13,8 @@ - 录音开启用时:{{info.startActionTime}}min + 录音开启用时:{{info.startActionTime}}min + 待上传文件:{{info.fileCount}} @@ -24,7 +25,11 @@ 指派时间: {{info.assignTime}} 录音开始时间: - {{info.recordStartTime}} + + + {{info.recordStartTime}} + + 录音关闭 @@ -33,14 +38,18 @@ 结束时间: {{info.assignEndTime}} 录音结束时间: - {{info.recordEndTime}} + + + {{info.recordEndTime}} + + 离线记录 - + - {{index+1}}. {{item}} + {{index+1}}. {{item}} @@ -52,31 +61,31 @@ export default { data() { return { - info:{} + info: {} + } + }, + computed: { + state() { + return (e => { + switch (e) { + case 0: + return "接待中"; + case 1: + return "部分录音"; + default: + return "完整录音"; + } + }) } - }, - computed:{ - state(){ - return (e=>{ - switch(e){ - case 0: - return "接待中"; - case 1: - return "部分录音"; - default: - return "完整录音"; - } - }) - } - }, - onLoad(options) { - console.log(options.id) - this.$u.get("/equipment/equipmentLog", { - id: options.id - }).then(res => { - // console.log(res) - this.info = res - }) + }, + onLoad(options) { + console.log(options.id) + this.$u.get("/equipment/equipmentLog", { + id: options.id + }).then(res => { + // console.log(res) + this.info = res + }) }, methods: { @@ -122,10 +131,11 @@ padding: 20rpx 12rpx; margin-top: 20rpx; border-radius: 8rpx; - align-items: center; - view{ - width: 50%; - font-size: 30rpx; + align-items: center; + + view { + width: 50%; + font-size: 30rpx; } }