Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
horse
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
向伟
horse
Commits
a46dc1ad
Commit
a46dc1ad
authored
Nov 16, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
373b968c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
request-group.vue
src/components/customer/request-group.vue
+15
-12
No files found.
src/components/customer/request-group.vue
View file @
a46dc1ad
...
...
@@ -72,17 +72,17 @@
label=
'请选择'
class=
"my-special-class"
option-value=
"Id"
option-label=
"Name"
/>
<q-input
v-if=
"x.Type==''"
outlined
v-model=
"x.StartValue"
label=
"请输入"
dense
/>
<div
v-if=
"x.Name=='标签'"
class=
"input_label"
@
click=
"showlabel(y)"
>
<div
style=
"display: flex;"
v-if=
"x.
LableIds && x.LableIds
.length>0"
>
<div
style=
"display: flex;"
v-if=
"x.
StartValue && x.StartValue
.length>0"
>
<div
class=
"text-clamp-1 tag-select-input"
style=
"max-width:110px;"
>
{{
x
.
LableIds
[
0
].
Name
}}
{{
x
.
StartValue
[
0
].
Name
}}
</div>
<div
v-if=
"x.
LableIds
.length>1"
class=
"tag-select-input"
style=
"margin-left: 5px;"
>
{{
x
.
LableIds
.
length
-
1
}}
+
<div
v-if=
"x.
StartValue
.length>1"
class=
"tag-select-input"
style=
"margin-left: 5px;"
>
{{
x
.
StartValue
.
length
-
1
}}
+
</div>
</div>
<div
v-if=
"x.
LableIds && x.LableIds
.length>0"
class=
"lablec"
>
<div
v-if=
"x.
StartValue && x.StartValue
.length>0"
class=
"lablec"
>
<i
style=
"font-size: 16px;"
class=
"el-icon-error"
@
click
.
stop=
"addMsg[y].
LableIds
=[]"
></i>
@
click
.
stop=
"addMsg[y].
StartValue
=[]"
></i>
</div>
</div>
<!-- 新增和删除 -->
...
...
@@ -161,8 +161,7 @@
StartValue
:
''
,
EndValue
:
''
,
IsCustom
:
filedList
.
value
[
0
].
IsCustom
,
StageId
:
[],
LableIds
:
[],
})
})
}
...
...
@@ -177,8 +176,7 @@
StartValue
:
''
,
EndValue
:
''
,
IsCustom
:
'2'
,
LableIds
:
[],
StageId
:
[],
}
addMsg
.
value
.
push
(
obj
)
}
...
...
@@ -186,11 +184,16 @@
const
showlabel
=
(
y
)
=>
{
isshowlabel
.
value
=
true
selectindex
.
value
=
y
;
LableList
.
value
=
addMsg
.
value
[
y
].
LableIds
if
(
addMsg
.
value
[
y
].
StartValue
==
''
){
//为空赋值为数组
LableList
.
value
=
[]
}
else
{
LableList
.
value
=
addMsg
.
value
[
y
].
StartValue
}
}
const
getlabel
=
(
list
)
=>
{
isshowlabel
.
value
=
false
;
addMsg
.
value
[
selectindex
.
value
].
LableIds
=
list
addMsg
.
value
[
selectindex
.
value
].
StartValue
=
list
}
return
{
getCustomerFiledList
,
...
...
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