From ce3749966e6c92cc4d4d143521e1f93fa49b9335 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Thu, 10 Jul 2025 13:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + pages/apply/viewVideo.vue | 174 +++++++++++++++++++++------- pages/apply/viewVideoplyplayer.nvue | 125 ++++++++++++++++++++ pages/index/index.vue | 2 +- services/apply.js | 8 ++ utils/request.js | 2 + 6 files changed, 276 insertions(+), 41 deletions(-) create mode 100644 pages/apply/viewVideoplyplayer.nvue diff --git a/pages.json b/pages.json index dbdd31d..6e4c965 100644 --- a/pages.json +++ b/pages.json @@ -67,6 +67,12 @@ "navigationBarTitleText": "视频查看" } }, + { + "path": "pages/apply/viewVideoplyplayer", + "style": { + "navigationBarTitleText": "视频播放" + } + }, { "path": "pages/apply/complete", "style": { diff --git a/pages/apply/viewVideo.vue b/pages/apply/viewVideo.vue index e8971f3..80e4835 100644 --- a/pages/apply/viewVideo.vue +++ b/pages/apply/viewVideo.vue @@ -3,7 +3,6 @@ - 隐患信息 + + + @@ -31,24 +36,22 @@ - - - + + - - + - - + + + + + - @@ -68,12 +71,14 @@ + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index f99b408..e70e1c4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -223,7 +223,7 @@ uni.setStorageSync('tenantId', e.tenantId) if (this.OrgId && this.OrgId.length > 1) this.getCaidan() - this.Sync() + // this.Sync() }, Sync() { diff --git a/services/apply.js b/services/apply.js index 02b96fe..3cad504 100644 --- a/services/apply.js +++ b/services/apply.js @@ -70,4 +70,12 @@ export const PagedEvaluateRisk = (params) => { method: 'post', data: params, }) +} +//视频查看 +export const PagedVideo = (params) => { + return request.send({ + url: '/BI/H5Controller/PagedVideo', + method: 'post', + data: params, + }) } \ No newline at end of file diff --git a/utils/request.js b/utils/request.js index 506c34a..c4d7405 100644 --- a/utils/request.js +++ b/utils/request.js @@ -17,6 +17,8 @@ export default { let header = { 'Content-Type': params.method === 'post' ? 'application/json' : 'application/json;charset=UTF-8', 'Tenant': tenantId, // avue配置相关 + //测试对接 + // 'signature':'snJ0cOfn7aZ54nKcMQnz3tG1kL8IyN5H/FHsVyDpJxWyH2QNgZlCE+KSHQqcKR4PzZnpaqp7/awwGvleUsoFRn6pc1of6UZsCTEeWF2zG5ciHosp+jRhNGp55bLXCnqt+9bj9KU4Ca+lpHP/9B8nE6OW/9zoRkccFXxeZBSg32fBmlHlkjvi9cmTc0oQ/osdoRZ2HdiLJ6WZNXr9Uz9nUj7Du/qXvN5BZN7V8pxxdm9mgGnCMLMwz7cglB9mYyt/tKp9ur2UjO3bwFJ7ypZWWCQ9Af/dJe0Z8i9muTQptJCuXJ6kHjYaFHm1jny0rtO2pbaO7WPyYJQeke8d16yVNg==', ...params.header } return new Promise((resolve, reject) => {