From d0f03db5355f22d77646dbcea4bc169480b45998 Mon Sep 17 00:00:00 2001
From: douzhuo <17611323298@163.com>
Date: Fri, 3 Feb 2023 16:45:44 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BD=95=E9=9F=B3=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/center/consumer/consumerDetail.vue | 31 +-
pages/center/records/index.vue | 20 +-
pages/mine/ScoringPlaylist.vue | 361 +++++++++++------------
3 files changed, 213 insertions(+), 199 deletions(-)
diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index f3c1f58..81197fb 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -626,11 +626,17 @@
setTimeout(function() {
uni.hideLoading();
}, 2000);
- uni.showToast({
- icon: 'none',
- title: '暂无录音',
- duration: 2000
- });
+ console.log(this.checkAuthority('设备日志'))
+ if (this.checkAuthority('设备日志')) {
+ uni.navigateTo({
+ url: `/pages/mine/equipmentLog?id=${item.id}`
+ })
+ } else {
+ uni.showToast({
+ icon: "none",
+ title: "暂无录音"
+ })
+ }
return
} else {
const parames = {
@@ -652,10 +658,17 @@
uni.hideLoading();
}, 2000);
if (res == null) {
- uni.showToast({
- icon: "none",
- title: "暂无音频"
- })
+ console.log(this.checkAuthority('设备日志'))
+ if (this.checkAuthority('设备日志')) {
+ uni.navigateTo({
+ url: `/pages/mine/equipmentLog?id=${item.id}`
+ })
+ } else {
+ uni.showToast({
+ icon: "none",
+ title: "暂无音频"
+ })
+ }
return
}
if (res[0].merge == 0) {
diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue
index 96a273e..b8d030c 100644
--- a/pages/center/records/index.vue
+++ b/pages/center/records/index.vue
@@ -659,14 +659,20 @@
uni.setStorageSync("searchobj", item1); //写入缓存
uni.setStorageSync("entrance", 1); //写入缓存
this.$u.post("/corpus/findByPage", parames).then(res => {
+ setTimeout(function() {
+ uni.hideLoading();
+ }, 2000);
if (res == null) {
- setTimeout(function() {
- uni.hideLoading();
- }, 2000);
- uni.showToast({
- icon: "none",
- title: "暂无音频"
- })
+ if (this.checkAuthority('设备日志')) {
+ uni.navigateTo({
+ url: `/pages/mine/equipmentLog?id=${item1.customerId}`
+ })
+ } else {
+ uni.showToast({
+ icon: "none",
+ title: "暂无音频"
+ })
+ }
return
} else {
setTimeout(function() {
diff --git a/pages/mine/ScoringPlaylist.vue b/pages/mine/ScoringPlaylist.vue
index cdbbac2..5b2d365 100644
--- a/pages/mine/ScoringPlaylist.vue
+++ b/pages/mine/ScoringPlaylist.vue
@@ -1,200 +1,195 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
- {{ item.Content.time }}
+ ">
+ {{ item.Content.time }}
+
+
+
+
+
+
+
+
+
+ {{dealword(subitem)[1]}}
+
+
+
-
-
-
-
-
-
-
- {{dealword(subitem)[1]}}
-
-
-
-
+