Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a81a89f0
authored
Jun 07, 2025
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 删除无效代码
1 parent
c554a692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
h5/src/views/video/index.vue
h5/src/views/video/index.vue
View file @
a81a89f
...
...
@@ -319,6 +319,7 @@ if (process.env.NODE_ENV !== "production") {
import
parse
from
"url-param-parser"
;
// let url = 'https://store.keliuyun.com/video/?userId=8840&atoken=8eaf1373-654b-4cf2-a3c7-f90d42cba574&type=undefined&id=632&name=会议室门口&mallId=9217&mallName=河南分公司&bookmark=false&channelNo=4&deviceSerial=F16423875&gateUnid=cf21f4a8-65c6-11ee-837e-00163e143ecd&ptzEnable=0&aiChannelId=&mallOrgName=办公室&accountId=337&terminalType=devtools&newLevel=' // 萤石
const
isAllowScreenshot
=
ref
(
false
)
function
handleScreenshot
()
{
console
.
log
(
'handleScreenshot'
)
goCaptureImg
()
...
...
@@ -918,9 +919,9 @@ const moveStroke = function (point, context) {
// 前端截图
const
goCaptureImg
=
()
=>
{
getPatrolTemplateList
();
getAssociateList
();
getUserList
();
//
getPatrolTemplateList();
//
getAssociateList();
//
getUserList();
Toast
.
loading
({
duration
:
0
,
message
:
"视频截图中···"
,
...
...
@@ -949,17 +950,13 @@ const screenshotEnd = (imgData) => {
// console.log(res)
let
result
=
res
.
data
;
if
(
result
.
code
==
200
)
{
Toast
.
success
(
"截图成功"
);
pictureProcess
(
result
.
data
.
pic
);
}
else
{
Toast
.
success
(
result
.
msg
);
Toast
.
fail
(
result
.
msg
);
}
});
};
const
pictureProcess
=
(
imgUrl
)
=>
{
// picUrl.value = imgUrl;
Toast
.
clear
();
/***********APP截图****************/
console
.
log
(
'params'
,
imgUrl
,
paramObj
);
const
params
=
{
...
...
@@ -972,15 +969,6 @@ const pictureProcess = (imgUrl) => {
}
window
.
postMessage
(
params
,
'*'
);
uni
.
postMessage
(
params
,
'*'
);
/* if (paramObj.newLevel) {
wx.miniProgram.redirectTo({*
url: `/pages/tour/inspectionDetail/index?action=capture&picUrl=${imgUrl}&id=${paramObj.tid}`,
});
} else {
wx.miniProgram.redirectTo({
url: `/pages/tour/titemDetail/index?action=capture&picUrl=${picUrl}&id=${paramObj.tid}`,
});
} */
};
onMounted
(()
=>
{
reqPatrolGateList
();
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment