Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
d17a613b
Commit
d17a613b
authored
Apr 22, 2019
by
Memorydoc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#
parent
62ffed59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
pwc-util.js
atms-web/src/main/webapp/app/common/utils/pwc-util.js
+7
-5
No files found.
atms-web/src/main/webapp/app/common/utils/pwc-util.js
View file @
d17a613b
...
...
@@ -1181,7 +1181,9 @@
/------------------------------------------------kevin insert -----------------------------------/
PWC
.
downloadCallBack
=
function
(
data
,
status
,
headers
,
fileName
)
{
var
octetStreamMime
=
'application/octet-stream'
;
var
contentType
=
headers
(
'content-type'
)
||
octetStreamMime
;
var
contentType
=
octetStreamMime
;
if
(
headers
)
contentType
=
headers
(
'content-type'
)
||
octetStreamMime
;
if
(
window
.
navigator
.
msSaveBlob
)
{
var
blob
=
new
Blob
([
data
],
{
type
:
contentType
...
...
@@ -1214,7 +1216,7 @@
scope
.
selectOrgOptions
=
{
displayExpr
:
'name'
,
valueExpr
:
'id'
,
width
:
function
()
{
width
:
function
()
{
return
window
.
innerWidth
/
4.5
;
},
bindingOptions
:
{
...
...
@@ -1227,10 +1229,10 @@
searchEnabled
:
true
,
noDataText
:
translate
.
instant
(
'RevenueNoOrgData'
),
showSelectionControls
:
true
,
visible
:
true
,
deferRendering
:
false
visible
:
true
,
deferRendering
:
false
};
if
(
exp
)
if
(
exp
)
_
.
extend
(
scope
.
selectOrgOptions
,
exp
);
};
...
...
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