Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
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
youjj
cloud-platform-ui
Commits
25013b30
Commit
25013b30
authored
Oct 21, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Plain Diff
促成人售价或
parents
f2ce081f
c6a0859d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
217 additions
and
27 deletions
+217
-27
index.vue
src/views/order/memberOrderInfo/index.vue
+38
-10
index.vue
src/views/order/rentVehicleInfo/index.vue
+32
-3
index.vue
src/views/order/tourOrderInfo/index.vue
+26
-3
index.vue
src/views/userManagement/userList/index.vue
+33
-1
index.vue
src/views/vehicle/bookRecord/index.vue
+31
-7
index.vue
src/views/vehicle/vehicleInfo/index.vue
+57
-3
No files found.
src/views/order/memberOrderInfo/index.vue
View file @
25013b30
...
@@ -169,15 +169,15 @@
...
@@ -169,15 +169,15 @@
total
:
null
,
total
:
null
,
listLoading
:
true
,
listLoading
:
true
,
listQuery
:
{
listQuery
:
{
page
:
1
,
page
:
1
,
limit
:
20
,
limit
:
20
,
type
:
3
,
type
:
3
,
no
:
undefined
,
no
:
undefined
,
phone
:
undefined
,
phone
:
undefined
,
status
:
null
,
status
:
null
,
startTime
:
undefined
,
startTime
:
undefined
,
endTime
:
undefined
,
endTime
:
undefined
,
memberLevel
:
undefined
memberLevel
:
undefined
},
},
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
dialogStatus
:
''
,
dialogStatus
:
''
,
...
@@ -188,9 +188,37 @@
...
@@ -188,9 +188,37 @@
}
}
},
},
created
()
{
created
()
{
let
t
=
this
;
let
query
=
localStorage
.
getItem
(
"memberOrderInfo"
);
let
query
=
localStorage
.
getItem
(
"memberOrderInfo"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
if
(
queryJson
.
page
){
t
.
listQuery
.
page
=
queryJson
.
page
;
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
no
){
t
.
listQuery
.
no
=
queryJson
.
no
;
}
if
(
queryJson
.
type
){
t
.
listQuery
.
type
=
queryJson
.
type
;
}
// if(queryJson.startTime){
// t.listQuery.startTime = queryJson.startTime;
// }
// if(queryJson.endTime){
// t.listQuery.endTime = queryJson.endTime;
// }
if
(
queryJson
.
status
){
t
.
listQuery
.
status
=
queryJson
.
status
;
}
if
(
queryJson
.
phone
){
t
.
listQuery
.
phone
=
queryJson
.
phone
;
}
if
(
queryJson
.
memberLevel
){
t
.
listQuery
.
memberLevel
=
queryJson
.
memberLevel
;
}
}
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
...
...
src/views/order/rentVehicleInfo/index.vue
View file @
25013b30
...
@@ -643,11 +643,40 @@ export default {
...
@@ -643,11 +643,40 @@ export default {
};
};
},
},
created
()
{
created
()
{
let
t
=
this
;
let
query
=
localStorage
.
getItem
(
"rentVehicleInfo"
);
let
query
=
localStorage
.
getItem
(
"rentVehicleInfo"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
this
.
listQuery
.
zoneId
=
undefined
;
if
(
queryJson
.
type
){
this
.
listQuery
.
startCompanyId
=
undefined
;
t
.
listQuery
.
type
=
queryJson
.
type
;
}
if
(
queryJson
.
vehicleCode
){
t
.
listQuery
.
vehicleCode
=
queryJson
.
vehicleCode
;
}
if
(
queryJson
.
page
){
t
.
listQuery
.
page
=
queryJson
.
page
;
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
no
){
t
.
listQuery
.
no
=
queryJson
.
no
;
}
if
(
queryJson
.
status
){
t
.
listQuery
.
status
=
queryJson
.
status
;
}
if
(
queryJson
.
startTime
){
t
.
listQuery
.
startTime
=
queryJson
.
startTime
;
}
if
(
queryJson
.
endTime
){
t
.
listQuery
.
endTime
=
queryJson
.
endTime
;
}
if
(
queryJson
.
realName
){
t
.
listQuery
.
realName
=
queryJson
.
realName
;
}
if
(
queryJson
.
plateNumber
){
t
.
listQuery
.
plateNumber
=
queryJson
.
plateNumber
;
}
}
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
"branchCompany/stockApply:btn_delete"
];
this
.
btn_del
=
this
.
elements
[
"branchCompany/stockApply:btn_delete"
];
...
...
src/views/order/tourOrderInfo/index.vue
View file @
25013b30
...
@@ -286,11 +286,34 @@
...
@@ -286,11 +286,34 @@
}
}
},
},
created
()
{
created
()
{
let
t
=
this
;
let
query
=
localStorage
.
getItem
(
"tourOrderInfo"
);
let
query
=
localStorage
.
getItem
(
"tourOrderInfo"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
this
.
listQuery
.
zoneId
=
undefined
;
if
(
queryJson
.
page
){
this
.
listQuery
.
startCompanyId
=
undefined
;
t
.
listQuery
.
page
=
queryJson
.
page
;
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
no
){
t
.
listQuery
.
no
=
queryJson
.
no
;
}
if
(
queryJson
.
type
){
t
.
listQuery
.
type
=
queryJson
.
type
;
}
if
(
queryJson
.
startTime
){
t
.
listQuery
.
startTime
=
queryJson
.
startTime
;
}
if
(
queryJson
.
endTime
){
t
.
listQuery
.
endTime
=
queryJson
.
endTime
;
}
if
(
queryJson
.
status
){
t
.
listQuery
.
status
=
queryJson
.
status
;
}
if
(
queryJson
.
phone
){
t
.
listQuery
.
phone
=
queryJson
.
phone
;
}
}
}
this
.
getList
();
this
.
getList
();
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
this
.
btn_del
=
this
.
elements
[
'branchCompany/stockApply:btn_delete'
];
...
...
src/views/userManagement/userList/index.vue
View file @
25013b30
...
@@ -805,6 +805,7 @@
...
@@ -805,6 +805,7 @@
}
}
},
},
created
()
{
created
()
{
let
t
=
this
;
this
.
userList_btn_edit
=
this
.
elements
[
'userList:btn_edit'
];
//编辑
this
.
userList_btn_edit
=
this
.
elements
[
'userList:btn_edit'
];
//编辑
this
.
userList_btn_forbidden
=
this
.
elements
[
'userList:btn_forbidden'
];
//禁用
this
.
userList_btn_forbidden
=
this
.
elements
[
'userList:btn_forbidden'
];
//禁用
this
.
userList_btn_unmute
=
this
.
elements
[
'userList:btn_unmute'
];
//取消禁用
this
.
userList_btn_unmute
=
this
.
elements
[
'userList:btn_unmute'
];
//取消禁用
...
@@ -812,7 +813,38 @@
...
@@ -812,7 +813,38 @@
this
.
admin_btn_user_postion_put
=
this
.
elements
[
'admin:btn:user_postion:put'
];
//身份设置
this
.
admin_btn_user_postion_put
=
this
.
elements
[
'admin:btn:user_postion:put'
];
//身份设置
let
query
=
localStorage
.
getItem
(
"userList"
);
let
query
=
localStorage
.
getItem
(
"userList"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
if
(
queryJson
.
page
){
t
.
listQuery
.
page
=
queryJson
.
page
;
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
mobileList
){
t
.
listQuery
.
mobileList
=
queryJson
.
mobileList
;
}
if
(
queryJson
.
mobile
){
t
.
listQuery
.
mobile
=
queryJson
.
mobile
;
}
if
(
queryJson
.
memberLevel
){
t
.
listQuery
.
memberLevel
=
queryJson
.
memberLevel
;
}
if
(
queryJson
.
source
){
t
.
listQuery
.
source
=
queryJson
.
source
;
}
if
(
queryJson
.
channel
){
t
.
listQuery
.
channel
=
queryJson
.
channel
;
}
if
(
queryJson
.
registrationTimeEnd
){
t
.
listQuery
.
registrationTimeEnd
=
queryJson
.
registrationTimeEnd
;
}
if
(
queryJson
.
registrationTimeBegin
){
t
.
listQuery
.
registrationTimeBegin
=
queryJson
.
registrationTimeBegin
;
}
if
(
queryJson
.
postionState
){
t
.
listQuery
.
postionState
=
queryJson
.
postionState
;
}
}
}
this
.
getList
();
this
.
getList
();
this
.
getMembersLevel
();
this
.
getMembersLevel
();
...
...
src/views/vehicle/bookRecord/index.vue
View file @
25013b30
...
@@ -1057,14 +1057,38 @@ export default {
...
@@ -1057,14 +1057,38 @@ export default {
this
.
allCompaniesArr
=
response
.
data
;
this
.
allCompaniesArr
=
response
.
data
;
let
query
=
localStorage
.
getItem
(
"bookRecord"
);
let
query
=
localStorage
.
getItem
(
"bookRecord"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
if
(
t
.
listQuery
.
liftCompany
){
if
(
queryJson
.
page
){
t
.
allCompaniesArr
.
map
(
function
(
item
)
{
t
.
listQuery
.
page
=
queryJson
.
page
;
if
(
item
.
id
==
t
.
listQuery
.
liftCompany
){
t
.
listQuery
.
liftCompanyName
=
item
.
name
;
}
});
}
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
flag
){
t
.
listQuery
.
flag
=
queryJson
.
flag
;
}
// if(queryJson.liftCompany){
// t.listQuery.liftCompany = queryJson.liftCompany;
// }
if
(
queryJson
.
numberPlate
){
t
.
listQuery
.
numberPlate
=
queryJson
.
numberPlate
;
}
if
(
queryJson
.
selectedMonth
){
t
.
listQuery
.
selectedMonth
=
queryJson
.
selectedMonth
;
}
if
(
queryJson
.
status
){
t
.
listQuery
.
status
=
queryJson
.
status
;
}
if
(
queryJson
.
bookType
){
t
.
listQuery
.
bookType
=
queryJson
.
bookType
;
}
// if(queryJson.liftCompany){
// t.allCompaniesArr.map(function (item) {
// if(item.id == queryJson.liftCompany){
// t.listQuery.liftCompanyName = item.name;
// }
// });
// }
}
}
this
.
getList
()
this
.
getList
()
});
});
...
...
src/views/vehicle/vehicleInfo/index.vue
View file @
25013b30
...
@@ -1254,10 +1254,64 @@
...
@@ -1254,10 +1254,64 @@
this
.
allCompaniesArr
=
response
.
data
;
this
.
allCompaniesArr
=
response
.
data
;
let
query
=
localStorage
.
getItem
(
"vehicleInfo"
);
let
query
=
localStorage
.
getItem
(
"vehicleInfo"
);
if
(
query
!=
"null"
&&
query
){
if
(
query
!=
"null"
&&
query
){
this
.
listQuery
=
JSON
.
parse
(
query
);
let
queryJson
=
JSON
.
parse
(
query
);
if
(
t
.
listQuery
.
subordinateBranch
){
if
(
queryJson
.
page
){
t
.
listQuery
.
page
=
queryJson
.
page
;
}
if
(
queryJson
.
limit
){
t
.
listQuery
.
limit
=
queryJson
.
limit
;
}
if
(
queryJson
.
vin
){
t
.
listQuery
.
vin
=
queryJson
.
vin
;
}
if
(
queryJson
.
insuranceCompany
){
t
.
listQuery
.
insuranceCompany
=
queryJson
.
insuranceCompany
;
}
if
(
queryJson
.
mileageRangeStart
){
t
.
listQuery
.
mileageRangeStart
=
queryJson
.
mileageRangeStart
;
}
if
(
queryJson
.
mileageRangeEnd
){
t
.
listQuery
.
mileageRangeEnd
=
queryJson
.
mileageRangeEnd
;
}
if
(
queryJson
.
insuranceDateRange
){
t
.
listQuery
.
insuranceDateRange
=
queryJson
.
insuranceDateRange
;
}
if
(
queryJson
.
mRange
){
t
.
listQuery
.
mRange
=
queryJson
.
mRange
;
}
if
(
queryJson
.
aVRange
){
t
.
listQuery
.
aVRange
=
queryJson
.
aVRange
;
}
if
(
queryJson
.
subordinateBranch
){
t
.
listQuery
.
subordinateBranch
=
queryJson
.
subordinateBranch
;
}
if
(
queryJson
.
numberPlate
){
t
.
listQuery
.
numberPlate
=
queryJson
.
numberPlate
;
}
if
(
queryJson
.
status
){
t
.
listQuery
.
status
=
queryJson
.
status
;
}
if
(
queryJson
.
bookedStartDate
){
t
.
listQuery
.
bookedStartDate
=
queryJson
.
bookedStartDate
;
}
if
(
queryJson
.
bookedEndDate
){
t
.
listQuery
.
bookedEndDate
=
queryJson
.
bookedEndDate
;
}
if
(
queryJson
.
notBookedStartDate
){
t
.
listQuery
.
notBookedStartDate
=
queryJson
.
notBookedStartDate
;
}
if
(
queryJson
.
notBookedEndDate
){
t
.
listQuery
.
notBookedEndDate
=
queryJson
.
notBookedEndDate
;
}
if
(
queryJson
.
code
){
t
.
listQuery
.
code
=
queryJson
.
code
;
}
if
(
queryJson
.
modelId
){
t
.
listQuery
.
modelId
=
queryJson
.
modelId
;
}
if
(
queryJson
.
subordinateBranch
){
t
.
allCompaniesArr
.
map
(
function
(
item
)
{
t
.
allCompaniesArr
.
map
(
function
(
item
)
{
if
(
item
.
id
==
t
.
listQuery
.
subordinateBranch
){
if
(
item
.
id
==
queryJson
.
subordinateBranch
){
t
.
state1
=
item
.
name
;
t
.
state1
=
item
.
name
;
}
}
});
});
...
...
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