Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 79412858
authored
Jan 19, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.1.1' of
http://192.168.3.233:8090/glsx-business/dj-car-life-system
into v1.1.1
2 parents
f56f6b38
f9f8d108
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
src/views/customer/customerList.vue
src/views/customer/recordList.vue
src/views/customer/customerList.vue
View file @
7941285
...
...
@@ -142,7 +142,7 @@
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
customerStatusObj
[
1
].
includes
(
scope
.
row
.
status
)
?
''
:
new
Date
(
scope
.
row
.
updatedDate
).
toLocaleDateString
(
)
}}
</span>
<span>
{{
!
scope
.
row
.
payOrder
?
''
:
(
!
scope
.
row
.
payOrder
.
successDate
?
''
:
new
Date
(
scope
.
row
.
payOrder
.
successDate
).
toLocaleDateString
()
)
}}
</span>
</
template
>
</el-table-column>
</el-table-column>
...
...
@@ -273,7 +273,7 @@ export default {
}
},
{
label
:
'服务时间'
,
name
:
'
update
Time'
,
name
:
'
success
Time'
,
type
:
'datePicker'
,
pickerOptions
:
'rangePickerOptions'
},
{
...
...
@@ -379,9 +379,9 @@ export default {
this
.
searchForm
.
baseGoodsId
&&
(
params
.
baseGoodsCodeList
=
[
this
.
searchForm
.
baseGoodsId
])
this
.
searchForm
.
customerStatus
&&
(
params
.
statusList
=
this
.
customerStatusObj
[
this
.
searchForm
.
customerStatus
])
this
.
searchForm
.
source
&&
(
params
.
sourceList
=
this
.
sourceStatusObj
[
this
.
searchForm
.
source
])
if
(
this
.
searchForm
.
update
Time
)
{
params
.
updateStartDate
=
new
Date
(
this
.
searchForm
.
update
Time
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
params
.
updateEndDate
=
new
Date
(
this
.
searchForm
.
update
Time
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
if
(
this
.
searchForm
.
success
Time
)
{
params
.
paySuccessStartDate
=
new
Date
(
this
.
searchForm
.
success
Time
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
params
.
paySuccessEndDate
=
new
Date
(
this
.
searchForm
.
success
Time
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
}
if
(
this
.
searchForm
.
createTime
)
{
params
.
startDate
=
new
Date
(
this
.
searchForm
.
createTime
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
...
...
src/views/customer/recordList.vue
View file @
7941285
...
...
@@ -169,12 +169,11 @@ export default {
tableSearchForm
:
{},
searchForm
:
{
userId
:
''
,
baseGoodsId
:
''
,
yqMerchantId
:
this
.
$store
.
state
.
d2admin
.
user
.
info
.
detail
.
merchantId
baseGoodsId
:
''
},
showFormData
:
[{
label
:
'服务门店'
,
name
:
'
seller
MerchantId'
,
name
:
'
yq
MerchantId'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'merchantId'
,
...
...
@@ -331,7 +330,7 @@ export default {
this
.
getOptionsList
()
})
if
(
!
this
.
userInfo
.
beSuper
)
{
this
.
showFormData
=
this
.
showFormData
.
filter
(
item
=>
item
.
name
!==
'
seller
MerchantId'
)
this
.
showFormData
=
this
.
showFormData
.
filter
(
item
=>
item
.
name
!==
'
yq
MerchantId'
)
this
.
getServiceStore
(
this
.
userInfo
.
detail
.
merchantId
)
}
},
...
...
@@ -343,7 +342,7 @@ export default {
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
_
.
cloneDeep
(
this
.
searchForm
)
this
.
userInfo
.
beSuper
&&
delete
this
.
tableSearchForm
.
yqMerchantId
!
this
.
userInfo
.
beSuper
&&
(
this
.
tableSearchForm
.
yqMerchantId
=
this
.
userInfo
.
detail
.
merchantId
)
if
(
this
.
tableSearchForm
.
entryTime
)
{
this
.
tableSearchForm
.
startDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
this
.
tableSearchForm
.
endDate
=
new
Date
(
this
.
tableSearchForm
.
entryTime
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
...
...
@@ -355,8 +354,7 @@ export default {
handleReset
()
{
this
.
searchForm
=
{
userId
:
''
,
baseGoodsId
:
''
,
yqMerchantId
:
this
.
$store
.
state
.
d2admin
.
user
.
info
.
detail
.
merchantId
baseGoodsId
:
''
}
this
.
userInfo
.
beSuper
&&
(
this
.
baseData
.
storeIdList
=
[])
this
.
baseData
.
adviserList
=
[]
...
...
@@ -436,12 +434,12 @@ export default {
var
params
=
{
advanceUserId
:
this
.
userInfo
.
detail
.
userId
,
advanceUserName
:
this
.
userInfo
.
userType
===
1
?
this
.
userInfo
.
detail
.
name
:
this
.
userInfo
.
detail
.
merchantName
,
sellerMerchantId
:
this
.
userInfo
.
beSuper
?
this
.
fileForm
.
yqMerchantId
:
this
.
userInfo
.
detail
.
merchantId
,
yqMerchantId
:
this
.
fileForm
.
yqMerchantId
,
yqMerchantId
:
this
.
userInfo
.
beSuper
?
this
.
fileForm
.
yqMerchantId
:
this
.
userInfo
.
detail
.
merchantId
,
file
:
this
.
fileInfo
}
recordUpload
(
params
).
then
(
res
=>
{
this
.
showNum
=
!!
res
.
failNum
res
.
succNum
&&
this
.
$refs
.
recordTable
.
refreshTable
()
if
(
res
.
failNum
)
{
this
.
importNum
=
{
succNum
:
res
.
succNum
,
...
...
@@ -451,7 +449,6 @@ export default {
return
true
}
this
.
notice
.
okTips
(
'导入成功'
)
this
.
$refs
.
recordTable
.
refreshTable
()
})
}
})
...
...
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