Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
b203ccdf
Commit
b203ccdf
authored
Jul 12, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时更新
parent
6ac5f031
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
index.vue
src/views/Editor/EditorHeader/index.vue
+6
-6
index.vue
src/views/Editor/Thumbnails/index.vue
+1
-0
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
b203ccdf
...
@@ -229,7 +229,7 @@ if(queryObj.value.Title) titleValue.value = queryObj.value.Title
...
@@ -229,7 +229,7 @@ if(queryObj.value.Title) titleValue.value = queryObj.value.Title
const
MonitoringNumber
=
ref
(
0
)
const
MonitoringNumber
=
ref
(
0
)
const
MonitoringTNumber
=
ref
(
0
)
const
MonitoringTNumber
=
ref
(
0
)
const
timer
=
3
0
const
timer
=
6
0
const
Countdown
=
ref
<
any
>
(
timer
)
const
Countdown
=
ref
<
any
>
(
timer
)
const
intervalId
=
ref
(
null
);
const
intervalId
=
ref
(
null
);
const
showTimer
=
ref
(
false
);
const
showTimer
=
ref
(
false
);
...
@@ -258,7 +258,7 @@ const goBack = (type:any) =>{
...
@@ -258,7 +258,7 @@ const goBack = (type:any) =>{
if
(
searchData
.
value
.
sellId
)
{
if
(
searchData
.
value
.
sellId
)
{
clearInterval
(
intervalId
.
value
);
clearInterval
(
intervalId
.
value
);
intervalId
.
value
=
null
;
intervalId
.
value
=
null
;
//
setTemplate(0)
setTemplate
(
0
)
}
}
if
(
type
==
1
)
{
if
(
type
==
1
)
{
searchData
.
value
.
SalesEditor
=
router
.
currentRoute
.
value
.
params
searchData
.
value
.
SalesEditor
=
router
.
currentRoute
.
value
.
params
...
@@ -671,8 +671,8 @@ watch(()=>autoSave.value,(newVal)=>{
...
@@ -671,8 +671,8 @@ watch(()=>autoSave.value,(newVal)=>{
})
})
watch
(()
=>
slides
.
value
,(
newVal
,
oldVal
)
=>
{
watch
(()
=>
slides
.
value
,(
newVal
,
oldVal
)
=>
{
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
!
MonitoringNumber
.
value
||
MonitoringNumber
.
value
<
3
)
MonitoringNumber
.
value
++
if
(
!
MonitoringNumber
.
value
||
MonitoringNumber
.
value
<
2
)
MonitoringNumber
.
value
++
if
(
MonitoringNumber
.
value
>
2
)
{
if
(
MonitoringNumber
.
value
>
1
)
{
Countdown
.
value
=
timer
Countdown
.
value
=
timer
benginTimer
()
benginTimer
()
}
}
...
@@ -685,8 +685,8 @@ watch(()=>slides.value,(newVal,oldVal)=>{
...
@@ -685,8 +685,8 @@ watch(()=>slides.value,(newVal,oldVal)=>{
})
})
watch
(()
=>
queryObj
.
value
.
Title
,(
newVal
,
oldVal
)
=>
{
watch
(()
=>
queryObj
.
value
.
Title
,(
newVal
,
oldVal
)
=>
{
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
!
MonitoringTNumber
.
value
||
MonitoringTNumber
.
value
<
3
)
MonitoringTNumber
.
value
++
if
(
!
MonitoringTNumber
.
value
||
MonitoringTNumber
.
value
<
2
)
MonitoringTNumber
.
value
++
if
(
MonitoringTNumber
.
value
>
2
)
{
if
(
MonitoringTNumber
.
value
>
1
)
{
Countdown
.
value
=
timer
Countdown
.
value
=
timer
benginTimer
()
benginTimer
()
}
}
...
...
src/views/Editor/Thumbnails/index.vue
View file @
b203ccdf
...
@@ -768,6 +768,7 @@ const sellGetTripTemplate = async () =>{
...
@@ -768,6 +768,7 @@ const sellGetTripTemplate = async () =>{
// 销售模版缓存数据
// 销售模版缓存数据
const
getTripOtherMongo
=
async
()
=>
{
const
getTripOtherMongo
=
async
()
=>
{
return
try
{
try
{
const
loadingObj
=
ElLoading
.
service
({
text
:
'正在获取缓存数据'
,
lock
:
true
})
const
loadingObj
=
ElLoading
.
service
({
text
:
'正在获取缓存数据'
,
lock
:
true
})
let
dataRes
=
await
ConfigService
.
GetTripOtherMongo
(
searchData
.
value
.
sellId
);
let
dataRes
=
await
ConfigService
.
GetTripOtherMongo
(
searchData
.
value
.
sellId
);
...
...
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