Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 bfb0f41d
authored
May 23, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增搜索条件
1 parent
0d4407ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
27 deletions
src/views/clientManage/index.vue
src/views/clientManage/index.vue
View file @
bfb0f41
...
@@ -223,32 +223,29 @@ export default {
...
@@ -223,32 +223,29 @@ export default {
placeholder
:
'请选择性别'
,
placeholder
:
'请选择性别'
,
optionList
:
this
.
$Constants
.
GENDER_OPTION
optionList
:
this
.
$Constants
.
GENDER_OPTION
},
},
// {
{
// type: 'datePicker',
type
:
'datePicker'
,
// // prop: 'daterange',
name
:
'purchaseCar'
,
// name: '',
label
:
'购车时间'
,
// label: '购车时间',
valueFormat
:
'yyyy-MM-dd'
,
// valueFormat: 'yyyy-MM-dd',
pickerOptions
:
{
// pickerOptions: {
disabledDate
(
time
)
{
// disabledDate(time) {
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
// return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
}
// }
}
// }
},
// },
{
// {
type
:
'input'
,
// type: 'input',
inputType
:
'text'
,
// inputType: 'text',
name
:
'carVin'
,
// // prop: 'nickName',
label
:
'车架号'
// name: '',
},
// label: '车架号'
{
// },
type
:
'input'
,
// {
inputType
:
'text'
,
// type: 'input',
name
:
'carNumber'
,
// inputType: 'text',
label
:
'车牌号'
// // prop: 'nickName',
}
// name: '',
// label: '车牌号'
// }
],
],
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
},
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
},
...
@@ -309,7 +306,7 @@ export default {
...
@@ -309,7 +306,7 @@ export default {
label
:
'所属渠道'
,
label
:
'所属渠道'
,
prop
:
'sourceChannel'
,
prop
:
'sourceChannel'
,
width
:
140
,
width
:
140
,
line
:
1
line
:
1
},
},
{
{
label
:
'添加来源'
,
label
:
'添加来源'
,
...
@@ -414,7 +411,14 @@ export default {
...
@@ -414,7 +411,14 @@ export default {
}
else
{
}
else
{
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
if
(
params
.
beginTime
)
delete
params
.
beginTime
&&
delete
params
.
endTime
}
}
if
(
params
.
purchaseCar
)
{
params
.
beginCarBuyDate
=
this
.
searchForm
.
purchaseCar
[
0
]
params
.
endCarBuyDate
=
this
.
searchForm
.
purchaseCar
[
1
]
}
else
{
if
(
params
.
beginCarBuyDate
)
delete
params
.
beginCarBuyDate
&&
delete
params
.
endCarBuyDate
}
delete
params
.
daterange
delete
params
.
daterange
delete
params
.
purchaseCar
return
params
return
params
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
...
...
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