Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
Intranet
Overview
Overview
Details
Activity
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
Matteo
Intranet
Commits
cf2d93a9
Commit
cf2d93a9
authored
Aug 22, 2019
by
Matteo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sistemati piccoli bug per ios
parent
542fb6a6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
parere.page.html
src/app/pages/parere/parere.page.html
+1
-1
segreteria.page.html
src/app/pages/segreteria/segreteria.page.html
+1
-3
parere.service.ts
src/app/service/parere.service.ts
+4
-2
No files found.
src/app/pages/parere/parere.page.html
View file @
cf2d93a9
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
<ion-item
class=
"item-no-border"
><h6
class=
"grigio font"
>
{{ 'aggiungi_allegato' | translate }}
</h6></ion-item>
<ion-item
class=
"item-no-border"
><h6
class=
"grigio font"
>
{{ 'aggiungi_allegato' | translate }}
</h6></ion-item>
<div
class=
"clr"
></div>
<div
class=
"clr"
></div>
<ion-item
class=
"item-no-border"
>
<ion-item
class=
"item-no-border"
>
<ion-input
id=
"file"
type=
"file"
name=
"file"
ngModel
(
ionC
hange
)="
loadFile
();"
class=
"font"
></ion-input>
<ion-input
id=
"file"
type=
"file"
name=
"file"
ngModel
(
c
hange
)="
loadFile
();"
class=
"font"
></ion-input>
</ion-item>
</ion-item>
<div
class=
"send"
>
<div
class=
"send"
>
<ion-button
type=
"submit"
size=
"large"
[
disabled
]="
form
.
invalid
"
expand=
"block"
color=
"#fcc73d"
class=
"form-button"
>
{{ 'invia' | translate }}
</ion-button>
<ion-button
type=
"submit"
size=
"large"
[
disabled
]="
form
.
invalid
"
expand=
"block"
color=
"#fcc73d"
class=
"form-button"
>
{{ 'invia' | translate }}
</ion-button>
...
...
src/app/pages/segreteria/segreteria.page.html
View file @
cf2d93a9
...
@@ -6,9 +6,7 @@
...
@@ -6,9 +6,7 @@
<ion-buttons
slot=
"start"
title=
"{{'uscita' | translate}}"
style=
"visibility: hidden;"
>
<ion-buttons
slot=
"start"
title=
"{{'uscita' | translate}}"
style=
"visibility: hidden;"
>
<ion-icon
name=
"share"
color=
"light"
class=
"exit"
tappable
></ion-icon>
<ion-icon
name=
"share"
color=
"light"
class=
"exit"
tappable
></ion-icon>
</ion-buttons>
</ion-buttons>
<ion-toolbar>
<ion-title
class=
"titolo-sezione-head"
>
{{ 'segreteria_titolo' | translate }}
</ion-title>
<ion-title
class=
"titolo-sezione-head"
>
{{ 'segreteria_titolo' | translate }}
</ion-title>
</ion-toolbar>
<ion-buttons
(
click
)="
condividiFatture
()"
slot=
"end"
title=
"{{'uscita' | translate}}"
id=
"buttons"
style=
"visibility: hidden;"
>
<ion-buttons
(
click
)="
condividiFatture
()"
slot=
"end"
title=
"{{'uscita' | translate}}"
id=
"buttons"
style=
"visibility: hidden;"
>
<ion-icon
name=
"share"
color=
"light"
class=
"exit"
tappable
></ion-icon>
<ion-icon
name=
"share"
color=
"light"
class=
"exit"
tappable
></ion-icon>
</ion-buttons>
</ion-buttons>
...
@@ -16,7 +14,7 @@
...
@@ -16,7 +14,7 @@
</ion-col>
</ion-col>
</ion-row>
</ion-row>
</ion-grid>
</ion-grid>
</ion-header>
</ion-header>
<ion-content
overflow-scroll=
"true"
>
<ion-content
overflow-scroll=
"true"
>
<div
class=
"contenitore-home"
>
<div
class=
"contenitore-home"
>
...
...
src/app/service/parere.service.ts
View file @
cf2d93a9
...
@@ -13,6 +13,7 @@ import { tap, catchError } from 'rxjs/operators';
...
@@ -13,6 +13,7 @@ import { tap, catchError } from 'rxjs/operators';
import
{
ErrorResponse
}
from
'../auth/interface/error-response'
;
import
{
ErrorResponse
}
from
'../auth/interface/error-response'
;
import
{
NewRichiestaRequest
}
from
'../interface/new-richiesta-request'
;
import
{
NewRichiestaRequest
}
from
'../interface/new-richiesta-request'
;
import
{
NewRichiestaResponse
}
from
'../interface/new-richiesta-response'
;
import
{
NewRichiestaResponse
}
from
'../interface/new-richiesta-response'
;
import
{
Platform
}
from
'@ionic/angular'
;
@
Injectable
({
@
Injectable
({
providedIn
:
'root'
providedIn
:
'root'
...
@@ -21,7 +22,8 @@ export class ParereService {
...
@@ -21,7 +22,8 @@ export class ParereService {
constructor
(
constructor
(
private
httpClient
:
HttpClient
,
private
httpClient
:
HttpClient
,
private
httpClientDataService
:
HttpClientDataService
)
{
private
httpClientDataService
:
HttpClientDataService
,
private
platform
:
Platform
)
{
this
.
initService
();
this
.
initService
();
}
}
...
@@ -151,7 +153,7 @@ export class ParereService {
...
@@ -151,7 +153,7 @@ export class ParereService {
if
(
nomeFile
.
indexOf
(
'/'
)
!=
-
1
)
nomeFile
=
nomeFile
.
substring
(
nomeFile
.
lastIndexOf
(
'/'
)
+
1
);
if
(
nomeFile
.
indexOf
(
'/'
)
!=
-
1
)
nomeFile
=
nomeFile
.
substring
(
nomeFile
.
lastIndexOf
(
'/'
)
+
1
);
else
if
(
nomeFile
.
indexOf
(
'
\
\'
) != -1) nomeFile = nomeFile.substring(nomeFile.lastIndexOf('
\\
')+1);
else
if
(
nomeFile
.
indexOf
(
'
\
\'
) != -1) nomeFile = nomeFile.substring(nomeFile.lastIndexOf('
\\
')+1);
if(
file != null) file = file.substring(file.lastIndexOf('
base64
,
')+7)
if(
!this.platform.is("ios") && file != null) file = file.substring(file.lastIndexOf('
base64
,
')+7);
var richiesta = this.creaRichiestaNuova(id, title, question, file, nomeFile);
var richiesta = this.creaRichiestaNuova(id, title, question, file, nomeFile);
var param = this.encodeNuovaRichiesta(richiesta);
var param = this.encodeNuovaRichiesta(richiesta);
return this.httpClient.post<NewRichiestaResponse>(this.httpClientDataService.BASE_ADDRESS+'
/
intranet
/
newrichiesta
.
do
', param, this.httpClientDataService.httpOptionsJson)
return this.httpClient.post<NewRichiestaResponse>(this.httpClientDataService.BASE_ADDRESS+'
/
intranet
/
newrichiesta
.
do
', param, this.httpClientDataService.httpOptionsJson)
...
...
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