Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcarfixers_angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
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
Tobin
dcarfixers_angular
Commits
3cffa72f
Commit
3cffa72f
authored
Apr 10, 2019
by
amalk
Browse files
Options
Browse Files
Download
Plain Diff
Amal 10-04-2019|09:35
parents
ff1803d6
2def1342
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
dashboard.component.html
src/app/home/dashboard/dashboard.component.html
+1
-2
dashboard.component.ts
src/app/home/dashboard/dashboard.component.ts
+6
-6
No files found.
src/app/home/dashboard/dashboard.component.html
View file @
3cffa72f
...
...
@@ -662,7 +662,7 @@
</div>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<input
placeholder=
"LAST MAINTENANCE DATE"
type=
""
bsDatepicker
name=
"dob"
[
ngModel
]=""
(
ngModelChange
)="
get_newdate
($
event
)"
>
<input
placeholder=
"LAST MAINTENANCE DATE"
type=
""
bsDatepicker
name=
"dob"
[
ngModel
]="
(
wizardData
&&
wizardData
.
vechile_info
&&
wizardData
.
vechile_info
.
lastMaintanceDate
)?
wizardData
.
vechile_info
.
lastMaintanceDate:
''
"
(
ngModelChange
)="
get_newdate
($
event
)"
>
</div>
<div
class=
"col-md-6"
>
<input
placeholder=
"APPROX VEHICLE MILEAGE"
type=
""
[
ngModel
]="
testMilage
"
(
ngModelChange
)="
get_newmilage
($
event
)"
>
...
...
@@ -866,7 +866,6 @@
</div>
</div>
</div>
<!-- QUOTES-MODAL-ENDS-->
...
...
src/app/home/dashboard/dashboard.component.ts
View file @
3cffa72f
...
...
@@ -281,7 +281,6 @@ export class DashboardComponent implements OnInit {
this
.
cfautocomplete
.
addListener
(
"place_changed"
,
()
=>
{
this
.
ngZone
.
run
(()
=>
{
let
places
:
google
.
maps
.
places
.
PlaceResult
=
this
.
cfautocomplete
.
getPlace
();
console
.
log
(
places
);
if
(
places
==
undefined
||
places
==
null
||
places
===
undefined
||
places
===
null
||
places
.
geometry
==
undefined
||
places
.
geometry
==
null
||
places
.
geometry
===
undefined
||
places
.
geometry
===
null
||
places
.
formatted_address
==
undefined
||
places
.
formatted_address
==
null
||
places
.
formatted_address
===
undefined
||
places
.
formatted_address
===
null
)
{
...
...
@@ -294,7 +293,6 @@ export class DashboardComponent implements OnInit {
'pickup_lat'
:
places
.
geometry
.
location
.
lat
(),
'pickup_lng'
:
places
.
geometry
.
location
.
lng
()
};
console
.
log
(
this
.
wizardData
);
this
.
googlesearchLocError
=
false
;
this
.
lat
=
places
.
geometry
.
location
.
lat
();
this
.
lng
=
places
.
geometry
.
location
.
lng
();
...
...
@@ -532,10 +530,13 @@ export class DashboardComponent implements OnInit {
'maker'
:
vehData
.
car_maker
,
'modelName'
:
vehData
.
car_model
,
'modelYear'
:
vehData
.
car_model_year
,
'maintanenceInterval'
:
vehData
.
maintanence_interval
}
console
.
log
(
thisObj
.
wizardData
[
'vechile_info'
]);
'maintanenceInterval'
:
vehData
.
maintanence_interval
,
'lastMaintanceDate'
:
vehData
.
last_maintenance_date
};
thisObj
.
wizardData
[
'customer_vehicle_id'
]
=
vehData
.
customer_veh_id
;
}
});
});
this
.
getIssueData
();
}
...
...
@@ -639,7 +640,6 @@ export class DashboardComponent implements OnInit {
thisObj
.
selectedIssues
.
forEach
(
function
(
selIssues
)
{
selSubIssues
.
push
(
selIssues
.
sub_issue_id
);
});
console
.
log
(
this
.
wizardData
)
let
searchData
=
{
'pickup_data'
:
this
.
wizardData
.
pickup_data
,
'sub_issues'
:
selSubIssues
}
this
.
webService
.
post_data
(
'getNearByMechanics'
,
searchData
).
subscribe
(
response
=>
{
if
(
response
.
status
==
'1'
){
...
...
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