Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
This project
Loading...
Sign in
Toggle navigation
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 ab6a5f57
authored
Oct 09, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
4ceb4178
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
11 deletions
src/views/journey/index.vue
src/views/journey/index/dataView.vue
src/views/journey/index/table.vue
src/views/journey/index.vue
View file @
ab6a5f5
...
...
@@ -49,7 +49,7 @@
<template
v-for=
"(i, index) in stageList"
>
<template>
<div
:class=
"['tab',
{ active: searchForm.sopJourneyStage == i.
label
}]"
:class=
"['tab',
{ active: searchForm.sopJourneyStage == i.
value
}]"
:key="index"
@click="changeTab(i.value)"
>
...
...
@@ -156,6 +156,7 @@ export default {
...
searchForm
,
...
tempParams
}
if
(
!
searchForm
.
sopJourneyId
)
return
this
.
$nextTick
(()
=>
{
el
.
refreshTable
()
})
...
...
@@ -168,7 +169,6 @@ export default {
sopJourneyId
:
journeyList
[
0
].
instId
}
this
.
searchSelectObj
=
this
.
$options
.
data
.
call
(
this
).
searchSelectObj
// this.searchFormData = this.$options.data.call(this).searchFormData
this
.
FormKey
=
Date
.
now
()
this
.
handleSearch
()
},
...
...
@@ -185,6 +185,7 @@ export default {
async
refreshInst
()
{
const
{
sopJourneyId
}
=
this
.
tableSearchForm
,
{
refreshTime
}
=
this
if
(
!
sopJourneyId
)
return
if
(
refreshTime
&&
Date
.
now
()
-
refreshTime
<
1
e4
)
return
this
.
$message
(
'数据正在刷新中,请勿频繁提交'
)
try
{
this
.
loading
=
true
...
...
src/views/journey/index/dataView.vue
View file @
ab6a5f5
...
...
@@ -138,7 +138,6 @@ export default {
},
methods
:
{
async
refreshTable
()
{
console
.
log
(
dayjs
)
function
splitArrayIntoChunks
(
arr
,
chunkSize
)
{
const
weight
=
1
/
arr
.
length
return
arr
.
reduce
((
result
,
item
,
index
)
=>
{
...
...
src/views/journey/index/table.vue
View file @
ab6a5f5
...
...
@@ -230,14 +230,6 @@ export default {
this
.
refreshTable
()
},
methods
:
{
// beforeSearchFn () {
// return new Promise(resolve => {
// console.log(JSON.parse(JSON.stringify(this.params)))
// this.tableSearchForm = this.params
// // delete this.tableSearchForm.createDate
// resolve()
// })
// },
refreshTable
()
{
this
.
$nextTick
(()
=>
{
const
params
=
{
...
...
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