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 b0da43fe
authored
Oct 27, 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
8f8074b6
fe717744
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
15 deletions
src/views/questionnaire/components/StepOne/index.vue
src/views/questionnaire/components/StepTwo/EditQuestions.vue
src/views/questionnaire/index.vue
src/views/questionnaire/components/StepOne/index.vue
View file @
b0da43f
...
@@ -304,7 +304,8 @@ export default {
...
@@ -304,7 +304,8 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
}
}
/
deep
/
.activity-img
,/
deep
/
.muti-imgs
{
/
deep
/
.activity-img
,
/
deep
/
.muti-imgs
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
&::before
{
&::before
{
//
content
:
'图片大小10M以内'
;
//
content
:
'图片大小10M以内'
;
...
@@ -317,6 +318,7 @@ export default {
...
@@ -317,6 +318,7 @@ export default {
line-height
:
20px
;
line-height
:
20px
;
bottom
:
-30px
;
bottom
:
-30px
;
width
:
200px
;
width
:
200px
;
cursor
:
auto
;
}
}
}
}
.tabs
{
.tabs
{
...
...
src/views/questionnaire/components/StepTwo/EditQuestions.vue
View file @
b0da43f
...
@@ -395,19 +395,18 @@ export default {
...
@@ -395,19 +395,18 @@ export default {
for
(
let
i
=
0
;
i
<
childrenDepth
;
i
++
)
{
for
(
let
i
=
0
;
i
<
childrenDepth
;
i
++
)
{
const
label
=
levels
[
i
],
const
label
=
levels
[
i
],
value
=
label
,
value
=
label
,
existingOption
=
currentLevel
.
find
((
option
)
=>
option
.
label
===
label
)
existingOption
=
currentLevel
&&
currentLevel
.
find
((
option
)
=>
option
.
label
===
label
)
if
(
existingOption
)
{
if
(
existingOption
)
{
if
(
i
===
childrenDepth
-
1
)
{
if
(
i
===
childrenDepth
-
1
)
continue
continue
if
(
existingOption
.
children
)
currentLevel
=
existingOption
.
children
}
currentLevel
=
existingOption
.
children
}
else
{
}
else
{
const
newOption
=
{
label
,
value
,
children
:
[]
}
if
(
label
&&
value
)
{
if
(
label
&&
value
)
currentLevel
.
push
(
newOption
)
const
newOption
=
{
label
,
value
}
if
(
i
===
childrenDepth
-
1
)
{
if
(
levels
[
i
+
1
])
newOption
.
children
=
[]
delete
newOption
.
children
currentLevel
.
push
(
newOption
)
if
(
i
===
childrenDepth
-
1
)
delete
newOption
.
children
currentLevel
=
newOption
.
children
}
}
currentLevel
=
newOption
.
children
}
}
}
}
})
})
...
...
src/views/questionnaire/index.vue
View file @
b0da43f
...
@@ -14,9 +14,7 @@
...
@@ -14,9 +14,7 @@
<el-button
<el-button
type=
"default"
type=
"default"
plain
plain
@
click=
"$router.push(
{
@
click=
"edit"
path: '/questionnaire/add'
})"
>
新建问卷
</el-button>
>
新建问卷
</el-button>
<el-button
<el-button
type=
"default"
type=
"default"
...
@@ -50,7 +48,7 @@
...
@@ -50,7 +48,7 @@
<div
<div
class=
"download-img "
class=
"download-img "
@
click=
"download(scope.scope.qrcode)"
@
click=
"download(scope.scope.qrcode)"
>
下载
小程序
码
</div>
>
下载
二维
码
</div>
<div
<div
slot=
"reference"
slot=
"reference"
class=
"qr"
class=
"qr"
...
@@ -217,6 +215,14 @@ export default {
...
@@ -217,6 +215,14 @@ export default {
},
},
download
(
url
)
{
download
(
url
)
{
util
.
downloadIamge
(
url
)
util
.
downloadIamge
(
url
)
},
edit
(
row
)
{
this
.
$router
.
push
({
path
:
'/questionnaire/add'
,
query
:
{
$title
:
row
.
id
?
'编辑问卷'
:
'新建问卷'
}
})
}
}
}
}
}
}
...
...
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