Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 e3adf10c
authored
Nov 02, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.21.0' of
http://192.168.3.233:8090/saas/outbound
into v3.21.0_10
2 parents
1490633f
460a9cab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
src/views/questionnaire/components/DataTable/index.vue
src/views/questionnaire/components/StepOne/index.vue
src/views/questionnaire/components/DataTable/index.vue
View file @
e3adf10
...
@@ -72,7 +72,7 @@ export default {
...
@@ -72,7 +72,7 @@ export default {
},
},
{
{
label
:
'答题时间'
,
label
:
'答题时间'
,
prop
:
'
cre
atedTime'
,
prop
:
'
upd
atedTime'
,
minWidth
:
180
minWidth
:
180
},
},
]
]
...
...
src/views/questionnaire/components/StepOne/index.vue
View file @
e3adf10
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<el-scrollbar
<el-scrollbar
class=
"step-box"
class=
"step-box"
ref=
"stepBox"
ref=
"stepBox"
v-loading=
"activityObj.loading"
>
>
<div
class=
"step-content"
>
<div
class=
"step-content"
>
<glsx-combi-form
<glsx-combi-form
...
@@ -51,7 +52,6 @@
...
@@ -51,7 +52,6 @@
<div
<div
class=
"activity-box"
class=
"activity-box"
:key=
"activityObj.key"
:key=
"activityObj.key"
v-loading=
"activityObj.loading"
>
>
<
template
v-if=
"activityObj.flag"
>
<
template
v-if=
"activityObj.flag"
>
<template
v-if=
"activityObj.data.length"
>
<template
v-if=
"activityObj.data.length"
>
...
@@ -189,9 +189,13 @@ export default {
...
@@ -189,9 +189,13 @@ export default {
},
},
watch
:
{
watch
:
{
'configForm.merchantId'
(
n
)
{
'configForm.merchantId'
(
n
)
{
if
(
n
)
{
this
.
configForm
.
activityId
=
''
this
.
configForm
.
activityType
=
''
this
.
configForm
.
merchantName
=
this
.
merchantObj
.
data
.
find
(
e
=>
e
.
confId
==
n
).
confName
this
.
configForm
.
merchantName
=
this
.
merchantObj
.
data
.
find
(
e
=>
e
.
confId
==
n
).
confName
this
.
activityObj
=
this
.
$options
.
data
.
call
(
this
).
activityObj
this
.
activityObj
=
this
.
$options
.
data
.
call
(
this
).
activityObj
this
.
getActivityList
()
this
.
getActivityList
()
}
else
this
.
activityObj
.
data
=
[]
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -243,20 +247,24 @@ export default {
...
@@ -243,20 +247,24 @@ export default {
params
=
{
params
=
{
merchantId
merchantId
}
}
if
(
index
==
2
)
{
try
{
if
(
index
==
2
)
params
.
pageNum
=
pageNum
this
.
activityObj
.
loading
=
true
this
.
activityObj
.
loading
=
true
params
.
pageNum
=
pageNum
}
const
res
=
await
this
.
$apis
.
questionnaire
[
targetApi
](
params
)
const
res
=
await
this
.
$apis
.
questionnaire
[
targetApi
](
params
)
let
data
=
res
let
data
=
res
if
(
index
==
2
)
{
if
(
index
==
2
)
{
data
=
[...
this
.
activityObj
.
data
,
...
res
.
list
]
data
=
[...
this
.
activityObj
.
data
,
...
res
.
list
]
this
.
activityObj
.
total
=
res
.
total
this
.
activityObj
.
total
=
res
.
total
this
.
activityObj
.
loading
=
false
}
}
console
.
log
(
data
)
this
.
activityObj
.
data
=
data
this
.
activityObj
.
data
=
data
this
.
activityObj
.
loading
=
false
this
.
activityObj
.
flag
=
true
this
.
activityObj
.
flag
=
true
}
catch
(
error
)
{
this
.
activityObj
.
data
=
[]
this
.
activityObj
.
loading
=
false
this
.
activityObj
.
flag
=
true
}
},
},
choose
(
e
)
{
choose
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
...
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