Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
live-management-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
live-management-web
Commits
0eac9b8a
Commit
0eac9b8a
authored
Jul 29, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑直播提交后,通知python删除视频
parent
4d24f912
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
src/pages/createLive/index.vue
+7
-0
src/pages/home/components/myDigtalPeople.vue
+4
-0
No files found.
src/pages/createLive/index.vue
View file @
0eac9b8a
...
...
@@ -75,6 +75,7 @@ import { useRoute, useRouter } from 'vue-router';
import
routerConfig
from
'@/router/tool'
;
import
{
onUpdateLiveTask
}
from
'@/service/Common'
;
import
{
createLiveRouteKey
}
from
'@/constants/token'
;
import
{
callPyjsInWindow
}
from
'@/utils/pyqt'
;
import
{
useLiveInfoSubmit
}
from
'@/hooks/useStoreCommit'
;
const
[
commitInfo
]
=
useLiveInfoSubmit
();
...
...
@@ -362,6 +363,12 @@ const onEditSave = async () => {
loading
.
value
=
true
;
let
res
:
any
=
await
onUpdateLiveTask
(
route
.
query
.
id
,
filterFiled
());
if
(
res
)
{
if
(
route
.
query
.
type
===
'edit'
)
{
// 通知python删除对应的output.mp4
callPyjsInWindow
(
'deleteOutputVideo'
,
{
id
:
route
.
query
.
id
,
});
}
// 回首页
backHome
();
}
...
...
src/pages/home/components/myDigtalPeople.vue
View file @
0eac9b8a
...
...
@@ -129,6 +129,10 @@ const getList = async () => {
};
const
onEdit
=
(
item
:
any
)
=>
{
if
(
item
.
is_live
)
{
show_message
(
'直播中的禁止编辑'
);
return
;
}
router
.
push
({
path
:
routerConfig
.
createLive
.
path
,
name
:
routerConfig
.
createLive
.
name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment