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
59764b4c
Commit
59764b4c
authored
Jul 25, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置会员信息-租车订单片区与公司联动
parent
8540d13f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
index.js
src/api/base_info/constant/index.js
+1
-1
index.vue
src/views/order/rentVehicleInfo/index.vue
+1
-0
index.vue
src/views/userManagement/userList/index.vue
+9
-5
No files found.
src/api/base_info/constant/index.js
View file @
59764b4c
...
...
@@ -30,7 +30,7 @@ function loadFromServer(type) {
$
.
ajax
({
type
:
'get'
,
// url: process.env.BASE_API + '/vehicle/constant/type/' + type,
url
:
process
.
env
.
BASE_API
+
'
/
vehicle/area/findAll'
,
url
:
process
.
env
.
BASE_API
+
'vehicle/area/findAll'
,
async
:
false
,
headers
:
{
Authorization
:
headerAuthorization
...
...
src/views/order/rentVehicleInfo/index.vue
View file @
59764b4c
...
...
@@ -591,6 +591,7 @@
getProvinceRegions
(
item
)
{
this
.
listQuery
.
zoneId
=
item
this
.
baranchQuery
.
zoneId
=
item
this
.
listQuery
.
startCompanyId
=
undefined
;
getAllBranchCompanyByZoneId
(
this
.
baranchQuery
)
.
then
(
response
=>
{
this
.
allBranchCompany
=
response
.
data
;
...
...
src/views/userManagement/userList/index.vue
View file @
59764b4c
...
...
@@ -869,7 +869,6 @@
* @param row
*/
setMember
(
row
)
{
this
.
userMembershipInformation
=
{
memberLevel
:
undefined
,
validTime
:
''
,
...
...
@@ -878,7 +877,7 @@
rentFreeDays
:
undefined
,
id
:
undefined
,
userId
:
row
.
userId
}
}
;
this
.
saveUserId
=
row
.
userId
getUserMemberByUserId
(
row
.
userId
).
then
(
response
=>
{
...
...
@@ -891,9 +890,14 @@
}
else
{
this
.
validityType
=
'无'
}
this
.
validTime
=
response
.
data
.
validTime
this
.
userMembershipInformation
=
response
.
data
// this.userMembershipInformation.memberLevel= this.userMembershipInformation.memberLevel?this.userMembershipInformation.memberLevel:undefined
this
.
validTime
=
response
.
data
.
validTime
;
this
.
userMembershipInformation
.
memberLevel
=
response
.
data
.
memberLevel
;
this
.
userMembershipInformation
.
validTime
=
response
.
data
.
validTime
;
this
.
userMembershipInformation
.
totalNumber
=
response
.
data
.
totalNumber
;
this
.
userMembershipInformation
.
rentFreeDays
=
response
.
data
.
rentFreeDays
;
this
.
userMembershipInformation
.
buyCount
=
response
.
data
.
buyCount
;
this
.
userMembershipInformation
.
id
=
response
.
data
.
id
;
// this.userMembershipInformation.memberLevel= this.userMembershipInformation.memberLevel?this.userMembershipInformation.memberLevel:undefined
}
this
.
setMemberArea
=
true
})
...
...
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