Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
4582641d
Commit
4582641d
authored
Jun 30, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/销售线索3' of
http://115.159.76.241/marketing-web/marketing
into feature/销售线索3
parents
928fa8f6
796b2a9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
list.vue
src/views/ecm/list.vue
+11
-5
No files found.
src/views/ecm/list.vue
View file @
4582641d
...
...
@@ -177,7 +177,9 @@ export default {
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
ecmMemberNum
&&
row
.
ecmMemberNum
!=
0
)
?
'0'
:
row
.
ecmMemberNum
;
console
.
log
(
openFlag
);
return
openFlag
.
open_flag
==
0
?
'--'
:
row
.
ecmMemberNum
||
0
;
// return openFlag.open_flag == 0 || (!row.ecmMemberNum && row.ecmMemberNum != 0) ? '--' : row.ecmMemberNum;
}
},
{
...
...
@@ -188,7 +190,8 @@ export default {
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
ecmSuccessNum
&&
row
.
ecmSuccessNum
!=
0
)
?
'0'
:
row
.
ecmSuccessNum
;
return
openFlag
.
open_flag
==
0
?
'--'
:
row
.
ecmSuccessNum
||
0
;
// return openFlag.open_flag == 0 || (!row.ecmSuccessNum && row.ecmSuccessNum != 0) ? '0' : row.ecmSuccessNum;
}
},
{
...
...
@@ -199,7 +202,8 @@ export default {
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
ecmTranNum
&&
row
.
ecmTranNum
!=
0
)
?
'0'
:
row
.
ecmTranNum
;
return
openFlag
.
open_flag
==
0
?
'--'
:
row
.
ecmTranNum
||
0
;
// return openFlag.open_flag == 0 || (!row.ecmTranNum && row.ecmTranNum != 0) ? '0' : row.ecmTranNum;
}
},
{
...
...
@@ -210,7 +214,8 @@ export default {
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
ecmTranIncome
&&
row
.
ecmTranIncome
!=
0
)
?
'0.00'
:
row
.
ecmTranIncome
.
toFixed
(
2
);
return
openFlag
.
open_flag
==
0
?
'--'
:
Number
(
row
.
ecmTranIncome
).
toFixed
(
2
)
||
'0.00'
;
// return openFlag.open_flag == 0 || (!row.ecmTranIncome && row.ecmTranIncome != 0) ? '0.00' : row.ecmTranIncome.toFixed(2);
}
},
{
...
...
@@ -221,7 +226,8 @@ export default {
formatter
(
row
)
{
let
openFlag
=
JSON
.
parse
(
row
.
analyseJson
);
if
(
!
openFlag
)
openFlag
=
{};
return
openFlag
.
open_flag
==
0
||
(
!
row
.
cardSalesAmt
&&
row
.
cardSalesAmt
!=
0
)
?
'0.00'
:
row
.
cardSalesAmt
.
toFixed
(
2
);
return
openFlag
.
open_flag
==
0
?
'--'
:
Number
(
row
.
cardSalesAmt
).
toFixed
(
2
)
||
'0.00'
;
// return openFlag.open_flag == 0 || (!row.cardSalesAmt && row.cardSalesAmt != 0) ? '0.00' : row.cardSalesAmt.toFixed(2);
}
}
],
...
...
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