Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
d0655f2d
Commit
d0655f2d
authored
Dec 03, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择联系人搜索框补充电话搜索参数
parent
bb61d570
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
index.vue
src/components/ChooseContactDialog/index.vue
+16
-6
No files found.
src/components/ChooseContactDialog/index.vue
View file @
d0655f2d
<
template
>
<
template
xmlns=
"http://www.w3.org/1999/html"
>
<el-dialog
:title=
"$t('选择联系人')"
visible
...
...
@@ -6,11 +6,18 @@
:close-on-click-modal=
"false"
>
<div
class=
"header mb-10 flex-center"
>
<div
class=
"flex-center"
>
{{
$t
(
"
关键字
"
)
}}
:
</div>
<el-input
v-model=
"form.searchKey"
@
change=
"replaceBlank"
clearable
class=
"w-200"
></el-input>
<el-button
type=
"primary"
class=
"ml-10"
@
click=
"handleQuery"
>
{{
$t
(
"
搜索
"
)
}}
</el-button>
<el-form
:model=
"form"
size=
"small"
:inline=
"true"
label-width=
"80px"
>
<el-form-item
:label=
"$t('电话')"
prop=
"phone"
>
<el-input
v-model=
"form.phone"
@
change=
"replaceBlank"
clearable
class=
"w-160"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('关键字')"
prop=
"searchKey"
>
<el-input
v-model=
"form.searchKey"
@
change=
"replaceBlank"
clearable
class=
"w-160"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
"
搜索
"
)
}}
</el-button>
</el-form-item>
</el-form>
</div>
<div
class=
"list"
>
<div
...
...
@@ -66,7 +73,9 @@ import {
getCustomerContactsSelect
,
getCustomerContactsSelect2
,
}
from
"
@/api/ecw/customerContacts
"
;
import
UserSelector
from
"
@/components/UserSelector/index.vue
"
;
export
default
{
components
:
{
UserSelector
},
props
:
{
type
:
Number
,
},
...
...
@@ -116,6 +125,7 @@ export default {
replaceBlank
(){
// JDAA-177 7.选择联系人弹出页,没有去掉中间和前后空格
this
.
form
.
searchKey
=
this
.
form
.
searchKey
.
replace
(
/
\s
+/g
,
''
);
this
.
form
.
searchKey
=
this
.
form
.
searchKey
.
replace
(
/
\s
+/g
,
''
);
}
},
};
...
...
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