Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
a5a6f008
Commit
a5a6f008
authored
Oct 17, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面代码修改
parent
116f0064
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
41 additions
and
365 deletions
+41
-365
ExchangeLoss.vue
src/components/FinancialModule/ExchangeLoss.vue
+1
-27
JumpReport.vue
src/components/FinancialModule/JumpReport.vue
+0
-1
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+0
-30
RecPayQueryTeamV2.vue
src/components/FinancialModule/RecPayQueryTeamV2.vue
+0
-1
RecPayQueryV2.vue
src/components/FinancialModule/RecPayQueryV2.vue
+2
-31
RecPayQueryWB.vue
src/components/FinancialModule/RecPayQueryWB.vue
+2
-32
AirTicketLossDetail.vue
...onents/FinancialModule/ReportForm/AirTicketLossDetail.vue
+0
-1
AnnualRanking.vue
src/components/FinancialModule/ReportForm/AnnualRanking.vue
+0
-3
ChangeRevenueDetail.vue
...onents/FinancialModule/ReportForm/ChangeRevenueDetail.vue
+2
-3
ChangeRevenueReport.vue
...onents/FinancialModule/ReportForm/ChangeRevenueReport.vue
+5
-36
CombinedRevenueReport.vue
...ents/FinancialModule/ReportForm/CombinedRevenueReport.vue
+4
-47
EasyReport.vue
src/components/FinancialModule/ReportForm/EasyReport.vue
+7
-11
MonthReport.vue
src/components/FinancialModule/ReportForm/MonthReport.vue
+4
-37
NumberStatistics.vue
...omponents/FinancialModule/ReportForm/NumberStatistics.vue
+4
-37
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+5
-30
TeamRevenueReportChange.vue
...ts/FinancialModule/ReportForm/TeamRevenueReportChange.vue
+4
-32
WireControl.vue
src/components/FinancialModule/WireControl.vue
+0
-1
refundQuery.vue
src/components/FinancialModule/refundQuery.vue
+0
-1
initNimSDK.js
src/store/actions/initNimSDK.js
+0
-1
sysMsgs.js
src/store/actions/sysMsgs.js
+0
-1
team.js
src/store/actions/team.js
+1
-2
No files found.
src/components/FinancialModule/ExchangeLoss.vue
View file @
a5a6f008
...
@@ -385,7 +385,7 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -385,7 +385,7 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
@@ -716,38 +716,12 @@ export default {
...
@@ -716,38 +716,12 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
customCompFunc
(
params
){
customCompFunc
(
params
){
console
.
log
(
params
);
},
},
sortChange
(
param
){
sortChange
(
param
){
console
.
log
(
param
)
//自己写实现
//自己写实现
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
){
filterMethod
(
filters
){
console
.
log
(
filters
)
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
// this.total=tableData.length
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
){
handleCurrentChanges
(
val
){
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
...
src/components/FinancialModule/JumpReport.vue
View file @
a5a6f008
...
@@ -480,7 +480,6 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -480,7 +480,6 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
a5a6f008
...
@@ -560,7 +560,6 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -560,7 +560,6 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
@@ -960,10 +959,8 @@ export default {
...
@@ -960,10 +959,8 @@ export default {
});
});
},
methods
:{
},
methods
:{
customCompFunc
(
params
){
customCompFunc
(
params
){
console
.
log
(
params
);
},
},
sortChange
(
param
){
sortChange
(
param
){
console
.
log
(
param
)
//自己写实现
//自己写实现
//{gender:"",name:"asc"}
//{gender:"",name:"asc"}
},
},
...
@@ -995,30 +992,6 @@ export default {
...
@@ -995,30 +992,6 @@ export default {
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
){
filterMethod
(
filters
){
console
.
log
(
filters
)
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
// this.total=tableData.length
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
){
handleCurrentChanges
(
val
){
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -1203,7 +1176,6 @@ export default {
...
@@ -1203,7 +1176,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
console
.
log
(
data
)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1246,7 +1218,6 @@ export default {
...
@@ -1246,7 +1218,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1316,7 +1287,6 @@ export default {
...
@@ -1316,7 +1287,6 @@ export default {
},
},
FinancialFlowTemplate_post_GetList
(){
// 单据类型
FinancialFlowTemplate_post_GetList
(){
// 单据类型
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
// console.log(res.data.data);
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
TemplateGetList
=
res
.
data
.
data
;
this
.
TemplateGetList
=
res
.
data
.
data
;
}
else
{
}
else
{
...
...
src/components/FinancialModule/RecPayQueryTeamV2.vue
View file @
a5a6f008
...
@@ -450,7 +450,6 @@ export default {
...
@@ -450,7 +450,6 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{
}
else
{
console
.
log
(
res
.
data
)
}
}
});
});
},
},
...
...
src/components/FinancialModule/RecPayQueryV2.vue
View file @
a5a6f008
...
@@ -485,7 +485,7 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -485,7 +485,7 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
@@ -862,39 +862,14 @@ export default {
...
@@ -862,39 +862,14 @@ export default {
this
.
AccountType_post_GetList
();
this
.
AccountType_post_GetList
();
},
methods
:{
},
methods
:{
customCompFunc
(
params
){
customCompFunc
(
params
){
console
.
log
(
params
);
},
},
sortChange
(
param
){
sortChange
(
param
){
console
.
log
(
param
)
//自己写实现
//自己写实现
//{gender:"",name:"asc"}
//{gender:"",name:"asc"}
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
){
filterMethod
(
filters
){
console
.
log
(
filters
)
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
// this.total=tableData.length
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
){
handleCurrentChanges
(
val
){
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -1071,7 +1046,6 @@ export default {
...
@@ -1071,7 +1046,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
RangeIds
data
.
forEach
(
x
=>
{
RangeIds
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1093,7 +1067,6 @@ export default {
...
@@ -1093,7 +1067,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1115,7 +1088,6 @@ export default {
...
@@ -1115,7 +1088,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1185,7 +1157,6 @@ export default {
...
@@ -1185,7 +1157,6 @@ export default {
},
},
FinancialFlowTemplate_post_GetList
(){
// 单据类型
FinancialFlowTemplate_post_GetList
(){
// 单据类型
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
// console.log(res.data.data);
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
TemplateGetList
=
res
.
data
.
data
;
this
.
TemplateGetList
=
res
.
data
.
data
;
}
else
{
}
else
{
...
...
src/components/FinancialModule/RecPayQueryWB.vue
View file @
a5a6f008
...
@@ -545,7 +545,7 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -545,7 +545,7 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
@@ -637,7 +637,6 @@ Vue.component('table-CostType',{ //费用类型
...
@@ -637,7 +637,6 @@ Vue.component('table-CostType',{ //费用类型
type
:
Number
type
:
Number
}
}
},
mounted
(){
},
mounted
(){
console
.
log
(
this
.
rowData
)
},
},
methods
:{
methods
:{
...
@@ -965,10 +964,9 @@ export default {
...
@@ -965,10 +964,9 @@ export default {
});
});
},
methods
:{
},
methods
:{
customCompFunc
(
params
){
customCompFunc
(
params
){
console
.
log
(
params
);
},
},
sortChange
(
param
){
sortChange
(
param
){
console
.
log
(
param
)
//自己写实现
//自己写实现
//{gender:"",name:"asc"}
//{gender:"",name:"asc"}
},
},
...
@@ -1000,30 +998,6 @@ export default {
...
@@ -1000,30 +998,6 @@ export default {
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
){
filterMethod
(
filters
){
console
.
log
(
filters
)
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
// this.total=tableData.length
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
){
handleCurrentChanges
(
val
){
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -1208,7 +1182,6 @@ export default {
...
@@ -1208,7 +1182,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
console
.
log
(
data
)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1230,7 +1203,6 @@ export default {
...
@@ -1230,7 +1203,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1252,7 +1224,6 @@ export default {
...
@@ -1252,7 +1224,6 @@ export default {
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
// console.log(data)
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
let
obj
=
{
ID
:
x
.
ID
,
ID
:
x
.
ID
,
...
@@ -1322,7 +1293,6 @@ export default {
...
@@ -1322,7 +1293,6 @@ export default {
},
},
FinancialFlowTemplate_post_GetList
(){
// 单据类型
FinancialFlowTemplate_post_GetList
(){
// 单据类型
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
this
.
apipost
(
'Financial_post_GetList'
,{},
res
=>
{
// console.log(res.data.data);
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
TemplateGetList
=
res
.
data
.
data
;
this
.
TemplateGetList
=
res
.
data
.
data
;
}
else
{
}
else
{
...
...
src/components/FinancialModule/ReportForm/AirTicketLossDetail.vue
View file @
a5a6f008
...
@@ -317,7 +317,6 @@ Vue.component('table-BillRVB',{ //单据样式
...
@@ -317,7 +317,6 @@ Vue.component('table-BillRVB',{ //单据样式
},
},
methods
:{
methods
:{
conSole
(
rowData
){
conSole
(
rowData
){
console
.
log
(
rowData
)
}
}
}
}
})
})
...
...
src/components/FinancialModule/ReportForm/AnnualRanking.vue
View file @
a5a6f008
...
@@ -573,7 +573,6 @@
...
@@ -573,7 +573,6 @@
},
},
CellName
({
row
,
column
,
rowIndex
,
columnIndex
}){
CellName
({
row
,
column
,
rowIndex
,
columnIndex
}){
// console.log('column', column)
if
(
column
.
property
==
"Total"
||
column
.
property
==
"HalfReport"
||
column
.
property
==
"LastHalfReport"
){
if
(
column
.
property
==
"Total"
||
column
.
property
==
"HalfReport"
||
column
.
property
==
"LastHalfReport"
){
return
"TableRed"
return
"TableRed"
}
}
...
@@ -605,8 +604,6 @@
...
@@ -605,8 +604,6 @@
this
.
apipost
(
'financestatistics_post_GetCompanySaleRankList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'financestatistics_post_GetCompanySaleRankList'
,
this
.
msg
,
res
=>
{
this
.
AALloading
=
false
this
.
AALloading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
// console.log("res",res);
this
.
SaleMoneyList
=
res
.
data
.
data
.
SaleMoneyList
;
this
.
SaleMoneyList
=
res
.
data
.
data
.
SaleMoneyList
;
this
.
MaoLiList
=
res
.
data
.
data
.
MaoLiList
;
this
.
MaoLiList
=
res
.
data
.
data
.
MaoLiList
;
this
.
MaoLiLvList
=
res
.
data
.
data
.
MaoLiLvList
;
this
.
MaoLiLvList
=
res
.
data
.
data
.
MaoLiLvList
;
...
...
src/components/FinancialModule/ReportForm/ChangeRevenueDetail.vue
View file @
a5a6f008
...
@@ -1600,7 +1600,6 @@ export default {
...
@@ -1600,7 +1600,6 @@ export default {
}
}
};
};
});
});
console
.
log
(
dataInfo
);
// return
// return
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
},
},
...
@@ -1904,7 +1903,7 @@ export default {
...
@@ -1904,7 +1903,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -1923,7 +1922,7 @@ export default {
...
@@ -1923,7 +1922,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
...
src/components/FinancialModule/ReportForm/ChangeRevenueReport.vue
View file @
a5a6f008
...
@@ -663,7 +663,7 @@ Vue.component("TCNUMJumpChange", {
...
@@ -663,7 +663,7 @@ Vue.component("TCNUMJumpChange", {
}
}
},
},
created
(){
created
(){
console
.
log
(
"rowData"
,
this
.
rowData
)
},
},
methods
:
{
methods
:
{
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
...
@@ -737,8 +737,7 @@ Vue.component("TCIDJumpWang", {
...
@@ -737,8 +737,7 @@ Vue.component("TCIDJumpWang", {
red
:
false
red
:
false
}
}
},
mounted
(){
},
mounted
(){
// console.log("rowData",this.rowData)
// this.red = this.rowData.Compare1.indexOf("-")!==-1 ? true : false
},
},
methods
:
{
methods
:
{
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
...
@@ -1745,7 +1744,7 @@ export default {
...
@@ -1745,7 +1744,7 @@ export default {
}
}
};
};
});
});
console
.
log
(
dataInfo
);
// return
// return
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
},
},
...
@@ -1816,7 +1815,6 @@ export default {
...
@@ -1816,7 +1815,6 @@ export default {
return
x1
+
x2
;
return
x1
+
x2
;
},
},
columnCellClass
(
rowIndex
,
columnName
,
rowData
)
{
columnCellClass
(
rowIndex
,
columnName
,
rowData
)
{
// console.log(rowData,'rowdataataaaa');
if
(
rowData
.
IsHaveChange
==
1
&&
rowData
.
LineName
!=
"合计"
){
if
(
rowData
.
IsHaveChange
==
1
&&
rowData
.
LineName
!=
"合计"
){
if
(
rowData
.
YingShou
!=
rowData
.
ChangeModel
.
YingShou
&&
columnName
==
"YingShou"
){
if
(
rowData
.
YingShou
!=
rowData
.
ChangeModel
.
YingShou
&&
columnName
==
"YingShou"
){
return
"column-cell-class-name-test-red"
return
"column-cell-class-name-test-red"
...
@@ -2050,7 +2048,7 @@ export default {
...
@@ -2050,7 +2048,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -2069,7 +2067,7 @@ export default {
...
@@ -2069,7 +2067,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
@@ -2081,31 +2079,7 @@ export default {
...
@@ -2081,31 +2079,7 @@ export default {
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
)
{
filterMethod
(
filters
)
{
console
.
log
(
filters
);
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
this
.
total
=
tableData
.
length
;
this
.
total
=
tableData
.
length
;
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
)
{
handleCurrentChanges
(
val
)
{
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -2121,12 +2095,10 @@ export default {
...
@@ -2121,12 +2095,10 @@ export default {
if
(
!
this
.
msg
.
LineTeamId
)
this
.
msg
.
LineTeamId
=
0
;
if
(
!
this
.
msg
.
LineTeamId
)
this
.
msg
.
LineTeamId
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
this
.
msg
.
startDate
==
""
)
this
.
msg
.
startDate
=
"2019-01-01"
;
if
(
this
.
msg
.
startDate
==
""
)
this
.
msg
.
startDate
=
"2019-01-01"
;
console
.
log
(
"this.msg"
,
this
.
msg
);
this
.
apipost
(
this
.
apipost
(
"financestatistics_post_GetChangePageList"
,
"financestatistics_post_GetChangePageList"
,
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
console
.
log
(
res
,
'resssss'
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
if
(
BranchStatus
==-
2
){
if
(
BranchStatus
==-
2
){
...
@@ -2146,10 +2118,7 @@ export default {
...
@@ -2146,10 +2118,7 @@ export default {
this
.
BranchStatus
=
true
;
this
.
BranchStatus
=
true
;
this
.
msg
.
OutBranchId
=
BranchStatus
;
this
.
msg
.
OutBranchId
=
BranchStatus
;
}
}
//console.log( res.data.data);
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
// res.data.data.TotalRevenue
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
SDate
=
res
.
data
.
data
.
pmodel
.
StartDate
;
this
.
SDate
=
res
.
data
.
data
.
pmodel
.
StartDate
;
this
.
EDate
=
res
.
data
.
data
.
pmodel
.
NextDate
;
this
.
EDate
=
res
.
data
.
data
.
pmodel
.
NextDate
;
...
...
src/components/FinancialModule/ReportForm/CombinedRevenueReport.vue
View file @
a5a6f008
...
@@ -1259,8 +1259,6 @@ export default {
...
@@ -1259,8 +1259,6 @@ export default {
this
.
msg
.
startDate
=
this
.
$route
.
query
.
startDate
;
this
.
msg
.
startDate
=
this
.
$route
.
query
.
startDate
;
this
.
msg
.
endDate
=
this
.
$route
.
query
.
endDate
;
this
.
msg
.
endDate
=
this
.
$route
.
query
.
endDate
;
}
}
// console.log(this.productionDate);
// console.log(this.msg.Is_Transport);
},
},
components
:
{},
components
:
{},
mounted
()
{
mounted
()
{
...
@@ -1407,7 +1405,6 @@ export default {
...
@@ -1407,7 +1405,6 @@ export default {
// 组装表格内容
// 组装表格内容
dataSource
.
forEach
((
x
,
index
)
=>
{
dataSource
.
forEach
((
x
,
index
)
=>
{
console
.
log
(
index
);
let
obj
=
[];
let
obj
=
[];
obj
.
push
(
x
.
FrID
+
" "
);
obj
.
push
(
x
.
FrID
+
" "
);
obj
.
push
(
x
.
TCNUM
);
obj
.
push
(
x
.
TCNUM
);
...
@@ -1488,21 +1485,10 @@ export default {
...
@@ -1488,21 +1485,10 @@ export default {
const
ws
=
XLSX
.
utils
.
aoa_to_sheet
(
data
);
const
ws
=
XLSX
.
utils
.
aoa_to_sheet
(
data
);
ws
[
"!cols"
]
=
wscols
;
ws
[
"!cols"
]
=
wscols
;
ws
[
"!rows"
]
=
[];
ws
[
"!rows"
]
=
[];
// colName.forEach((x,index)=>{
// wscols.push({wpx: 100})
// });
// dataSource.forEach((x,index)=>{
// if(index===dataSource.length)
// ws['!rows'].push({ hpx:30 });
// else
// ws['!rows'].push({});
// });
const
wb
=
XLSX
.
utils
.
book_new
();
const
wb
=
XLSX
.
utils
.
book_new
();
XLSX
.
utils
.
book_append_sheet
(
wb
,
ws
,
xlsxName
);
XLSX
.
utils
.
book_append_sheet
(
wb
,
ws
,
xlsxName
);
var
dataInfo
=
wb
.
Sheets
[
wb
.
SheetNames
[
0
]];
var
dataInfo
=
wb
.
Sheets
[
wb
.
SheetNames
[
0
]];
console
.
log
(
data
[
0
].
length
);
console
.
log
(
colName
.
length
);
// return
data
[
0
].
forEach
((
x
,
i
)
=>
{
data
[
0
].
forEach
((
x
,
i
)
=>
{
dataInfo
[
colName
[
i
]
+
"1"
].
s
=
{
dataInfo
[
colName
[
i
]
+
"1"
].
s
=
{
fill
:
{
fgColor
:
{
rgb
:
"#ffff00"
}
},
fill
:
{
fgColor
:
{
rgb
:
"#ffff00"
}
},
...
@@ -1520,8 +1506,7 @@ export default {
...
@@ -1520,8 +1506,7 @@ export default {
}
}
};
};
});
});
console
.
log
(
dataInfo
);
// return
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
);
},
},
moneyFormat
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
moneyFormat
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
...
@@ -1620,7 +1605,6 @@ export default {
...
@@ -1620,7 +1605,6 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{
}
else
{
console
.
log
(
res
.
data
);
}
}
}
}
);
);
...
@@ -1653,7 +1637,7 @@ export default {
...
@@ -1653,7 +1637,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -1672,7 +1656,7 @@ export default {
...
@@ -1672,7 +1656,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
@@ -1684,30 +1668,7 @@ export default {
...
@@ -1684,30 +1668,7 @@ export default {
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
)
{
filterMethod
(
filters
)
{
console
.
log
(
filters
);
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
this
.
total
=
tableData
.
length
;
this
.
total
=
tableData
.
length
;
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
)
{
handleCurrentChanges
(
val
)
{
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -1716,8 +1677,6 @@ export default {
...
@@ -1716,8 +1677,6 @@ export default {
getPageList
()
{
getPageList
()
{
// 获取列表数据
// 获取列表数据
this
.
loading
=
true
;
this
.
loading
=
true
;
// if (!this.msg.OutBranchId)
// this.msg.OutBranchId = -1;
if
(
!
this
.
msg
.
Is_Transport
&&
this
.
msg
.
Is_Transport
!==
0
)
if
(
!
this
.
msg
.
Is_Transport
&&
this
.
msg
.
Is_Transport
!==
0
)
this
.
msg
.
Is_Transport
=-
1
;
this
.
msg
.
Is_Transport
=-
1
;
if
(
!
this
.
msg
.
StartCityId
)
this
.
msg
.
StartCityId
=
0
;
if
(
!
this
.
msg
.
StartCityId
)
this
.
msg
.
StartCityId
=
0
;
...
@@ -1730,7 +1689,6 @@ export default {
...
@@ -1730,7 +1689,6 @@ export default {
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
// console.log(res);
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
if
(
BranchStatus
==-
1
){
if
(
BranchStatus
==-
1
){
this
.
BranchStatus
=
false
;
this
.
BranchStatus
=
false
;
...
@@ -1740,7 +1698,6 @@ export default {
...
@@ -1740,7 +1698,6 @@ export default {
}
}
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
// res.data.data.TotalRevenue
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
if
(
this
.
total
==
0
)
{
if
(
this
.
total
==
0
)
{
this
.
DataList
=
[];
this
.
DataList
=
[];
...
...
src/components/FinancialModule/ReportForm/EasyReport.vue
View file @
a5a6f008
...
@@ -837,8 +837,7 @@ export default {
...
@@ -837,8 +837,7 @@ export default {
},
},
methods
:{
methods
:{
goUrl
(
path
,
startDate
,
endDate
,
BranchId
,
tab
)
{
goUrl
(
path
,
startDate
,
endDate
,
BranchId
,
tab
)
{
// console.log("path",path)
// return;
this
.
$router
.
push
({
name
:
path
,
query
:{
"startDate"
:
startDate
,
"endDate"
:
endDate
,
BranchId
:
BranchId
,
blank
:
'y'
,
tab
:
tab
}
})
this
.
$router
.
push
({
name
:
path
,
query
:{
"startDate"
:
startDate
,
"endDate"
:
endDate
,
BranchId
:
BranchId
,
blank
:
'y'
,
tab
:
tab
}
})
},
},
GoUrlFan
(
path
,
month
,
year
,
BranchId
,
ids
)
{
GoUrlFan
(
path
,
month
,
year
,
BranchId
,
ids
)
{
...
@@ -854,12 +853,10 @@ export default {
...
@@ -854,12 +853,10 @@ export default {
});
});
},
},
rowDbClick
(
rowIndex
,
rowData
,
column
){
rowDbClick
(
rowIndex
,
rowData
,
column
){
// console.log("rowIndex",rowIndex)
// console.log("rowData",rowData)
// console.log("column",column)
},
},
rowClick
(
rowIndex
,
rowData
,
column
){
rowClick
(
rowIndex
,
rowData
,
column
){
console
.
log
(
"column"
,
column
)
var
that
=
this
;
var
that
=
this
;
let
startDate
=
that
.
year
+
"-"
+
column
.
start
;
let
startDate
=
that
.
year
+
"-"
+
column
.
start
;
let
endDate
=
""
;
let
endDate
=
""
;
...
@@ -884,7 +881,7 @@ export default {
...
@@ -884,7 +881,7 @@ export default {
that
.
goUrl
(
"RecPayQueryTeamV2"
,
startDate
,
endDate
,
BranchId
,
"应付团款查询"
)
that
.
goUrl
(
"RecPayQueryTeamV2"
,
startDate
,
endDate
,
BranchId
,
"应付团款查询"
)
}
}
else
{
else
{
// that.goUrl("TeamRevenueReport",startDate,endDate,BranchId,"营收报表")
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
that
.
$router
.
push
({
name
:
"TeamRevenueReport"
,
query
:{
"StartTime"
:
startDate
,
"EndTime"
:
endDate
,
BranchId
:
BranchId
,
blank
:
'y'
,
tab
:
"营收报表"
}
})
}
}
}
else
{
}
else
{
...
@@ -1144,7 +1141,7 @@ export default {
...
@@ -1144,7 +1141,7 @@ export default {
}
}
this
.
msg
.
Year
=
parseInt
(
this
.
year
)
this
.
msg
.
Year
=
parseInt
(
this
.
year
)
this
.
apipost
(
'financestatistics_post_GetEasyReportList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'financestatistics_post_GetEasyReportList'
,
this
.
msg
,
res
=>
{
// console.log(res);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
if
(
BranchStatus
==-
1
){
if
(
BranchStatus
==-
1
){
...
@@ -1158,7 +1155,7 @@ export default {
...
@@ -1158,7 +1155,7 @@ export default {
data
.
sharelist
.
forEach
((
x
,
i
)
=>
{
data
.
sharelist
.
forEach
((
x
,
i
)
=>
{
this
.
monthList
[
i
].
value
=
x
.
Money
this
.
monthList
[
i
].
value
=
x
.
Money
})
})
// this.DataList = data.list;
let
tichengList
=
[];
let
tichengList
=
[];
this
.
DataList
=
[];
this
.
DataList
=
[];
data
.
list
.
forEach
(
item
=>
{
data
.
list
.
forEach
(
item
=>
{
...
@@ -1169,8 +1166,7 @@ export default {
...
@@ -1169,8 +1166,7 @@ export default {
}
}
})
})
// console.log("DataList",this.DataList)
// console.log("tichengList",tichengList)
this
.
UpdateStaus
=
data
.
Status
;
this
.
UpdateStaus
=
data
.
Status
;
this
.
UpdateStartTime
=
data
.
UpdateStartTime
;
this
.
UpdateStartTime
=
data
.
UpdateStartTime
;
this
.
UpdateEndTime
=
data
.
UpdateEndTime
;
this
.
UpdateEndTime
=
data
.
UpdateEndTime
;
...
...
src/components/FinancialModule/ReportForm/MonthReport.vue
View file @
a5a6f008
...
@@ -653,7 +653,7 @@ export default {
...
@@ -653,7 +653,7 @@ export default {
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
this
.
msg
.
QStartDate
==
""
)
this
.
msg
.
QStartDate
=
"2019"
;
if
(
this
.
msg
.
QStartDate
==
""
)
this
.
msg
.
QStartDate
=
"2019"
;
this
.
apipost
(
'financestatistics_get_GetTravelMonthReportList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'financestatistics_get_GetTravelMonthReportList'
,
this
.
msg
,
res
=>
{
// console.log(res);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
if
(
BranchStatus
==-
1
){
if
(
BranchStatus
==-
1
){
...
@@ -984,40 +984,7 @@ export default {
...
@@ -984,40 +984,7 @@ export default {
}
}
},
},
// getStartList1() {
// // 获取出发城市
// this.apipost(
// "city_post_GetList",
// {
// isDefault: -1,
// priceType: -1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.startCityList1 = res.data.data;
// } else {
// console.log(res.data);
// }
// }
// );
// },
// getLineTeamList(lineId) {
// //获取系列列表
// this.LineTeamList = [];
// this.apipost(
// "team_post_GetList",
// {
// lineID: lineId,
// isTOOP: 1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.msg.LineTeamId = "-1";
// this.LineTeamList = res.data.data;
// }
// }
// );
// },
getLineList
()
{
getLineList
()
{
// 获取线路
// 获取线路
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
...
@@ -1029,7 +996,7 @@ export default {
...
@@ -1029,7 +996,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -1048,7 +1015,7 @@ export default {
...
@@ -1048,7 +1015,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
...
src/components/FinancialModule/ReportForm/NumberStatistics.vue
View file @
a5a6f008
...
@@ -653,7 +653,7 @@ export default {
...
@@ -653,7 +653,7 @@ export default {
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
!
this
.
msg
.
TCID
)
this
.
msg
.
TCID
=
0
;
if
(
this
.
msg
.
QStartDate
==
""
)
this
.
msg
.
QStartDate
=
"2019"
;
if
(
this
.
msg
.
QStartDate
==
""
)
this
.
msg
.
QStartDate
=
"2019"
;
this
.
apipost
(
'financestatistics_post_GetPeopleMonthReportList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'financestatistics_post_GetPeopleMonthReportList'
,
this
.
msg
,
res
=>
{
// console.log(res);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
let
BranchStatus
=
res
.
data
.
data
.
IsBranchButton
;
if
(
BranchStatus
==-
1
){
if
(
BranchStatus
==-
1
){
...
@@ -984,40 +984,7 @@ export default {
...
@@ -984,40 +984,7 @@ export default {
}
}
},
},
// getStartList1() {
// // 获取出发城市
// this.apipost(
// "city_post_GetList",
// {
// isDefault: -1,
// priceType: -1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.startCityList1 = res.data.data;
// } else {
// console.log(res.data);
// }
// }
// );
// },
// getLineTeamList(lineId) {
// //获取系列列表
// this.LineTeamList = [];
// this.apipost(
// "team_post_GetList",
// {
// lineID: lineId,
// isTOOP: 1
// },
// res => {
// if (res.data.resultCode == 1) {
// this.msg.LineTeamId = "-1";
// this.LineTeamList = res.data.data;
// }
// }
// );
// },
getLineList
()
{
getLineList
()
{
// 获取线路
// 获取线路
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
...
@@ -1029,7 +996,7 @@ export default {
...
@@ -1029,7 +996,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -1048,7 +1015,7 @@ export default {
...
@@ -1048,7 +1015,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
a5a6f008
...
@@ -831,8 +831,7 @@ Vue.component("TCIDJumpWang", {
...
@@ -831,8 +831,7 @@ Vue.component("TCIDJumpWang", {
red
:
false
red
:
false
}
}
},
mounted
(){
},
mounted
(){
// console.log("rowData",this.rowData)
// this.red = this.rowData.Compare1.indexOf("-")!==-1 ? true : false
},
},
methods
:
{
methods
:
{
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
...
@@ -2309,7 +2308,7 @@ export default {
...
@@ -2309,7 +2308,7 @@ export default {
});
});
},
},
customCompFunc
(
param
)
{
customCompFunc
(
param
)
{
console
.
log
(
param
);
},
},
compare
(
property
,
type
)
{
compare
(
property
,
type
)
{
// 升序 t 1升 2降
// 升序 t 1升 2降
...
@@ -2328,7 +2327,7 @@ export default {
...
@@ -2328,7 +2327,7 @@ export default {
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
if
(
param
.
YingShou
===
"asc"
)
{
if
(
param
.
YingShou
===
"asc"
)
{
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
this
.
DataList
.
sort
(
this
.
compare
(
"YingShou"
,
1
));
}
else
if
(
param
.
YingShou
===
"desc"
)
{
}
else
if
(
param
.
YingShou
===
"desc"
)
{
...
@@ -2340,31 +2339,7 @@ export default {
...
@@ -2340,31 +2339,7 @@ export default {
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
)
{
filterMethod
(
filters
)
{
console
.
log
(
filters
);
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
this
.
total
=
tableData
.
length
;
this
.
total
=
tableData
.
length
;
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
)
{
handleCurrentChanges
(
val
)
{
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
@@ -2402,9 +2377,9 @@ export default {
...
@@ -2402,9 +2377,9 @@ export default {
this
.
msg
.
OutBranchId
=
BranchStatus
;
this
.
msg
.
OutBranchId
=
BranchStatus
;
}
}
//console.log( res.data.data);
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
let
data
=
res
.
data
.
data
.
pmodel
.
pageData
;
// res.data.data.TotalRevenue
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
this
.
SDate
=
res
.
data
.
data
.
pmodel
.
StartDate
;
this
.
SDate
=
res
.
data
.
data
.
pmodel
.
StartDate
;
this
.
EDate
=
res
.
data
.
data
.
pmodel
.
NextDate
;
this
.
EDate
=
res
.
data
.
data
.
pmodel
.
NextDate
;
...
...
src/components/FinancialModule/ReportForm/TeamRevenueReportChange.vue
View file @
a5a6f008
...
@@ -441,7 +441,6 @@
...
@@ -441,7 +441,6 @@
// 组装表格内容
// 组装表格内容
dataSource
.
forEach
((
x
,
index
)
=>
{
dataSource
.
forEach
((
x
,
index
)
=>
{
console
.
log
(
index
);
let
obj
=
[];
let
obj
=
[];
obj
.
push
(
x
.
FrID
+
" "
);
obj
.
push
(
x
.
FrID
+
" "
);
obj
.
push
(
x
.
TCNUM
);
obj
.
push
(
x
.
TCNUM
);
...
@@ -477,8 +476,7 @@
...
@@ -477,8 +476,7 @@
const
wb
=
XLSX
.
utils
.
book_new
();
const
wb
=
XLSX
.
utils
.
book_new
();
XLSX
.
utils
.
book_append_sheet
(
wb
,
ws
,
xlsxName
);
XLSX
.
utils
.
book_append_sheet
(
wb
,
ws
,
xlsxName
);
var
dataInfo
=
wb
.
Sheets
[
wb
.
SheetNames
[
0
]];
var
dataInfo
=
wb
.
Sheets
[
wb
.
SheetNames
[
0
]];
console
.
log
(
data
[
0
].
length
);
console
.
log
(
colName
.
length
);
// return
// return
data
[
0
].
forEach
((
x
,
i
)
=>
{
data
[
0
].
forEach
((
x
,
i
)
=>
{
dataInfo
[
colName
[
i
]
+
'1'
].
s
=
{
dataInfo
[
colName
[
i
]
+
'1'
].
s
=
{
...
@@ -497,8 +495,7 @@
...
@@ -497,8 +495,7 @@
}
}
}
}
});
});
console
.
log
(
dataInfo
);
// return
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
)
XLSX
.
writeFile
(
wb
,
xlsxName
+
".xlsx"
)
},
},
moneyFormat
(
rowData
,
rowIndex
,
pagingIndex
,
field
){
moneyFormat
(
rowData
,
rowIndex
,
pagingIndex
,
field
){
...
@@ -578,7 +575,6 @@
...
@@ -578,7 +575,6 @@
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
startCityList1
=
res
.
data
.
data
;
this
.
startCityList1
=
res
.
data
.
data
;
}
else
{
}
else
{
console
.
log
(
res
.
data
)
}
}
});
});
},
},
...
@@ -608,7 +604,7 @@
...
@@ -608,7 +604,7 @@
});
});
},
},
customCompFunc
(
param
){
customCompFunc
(
param
){
console
.
log
(
param
);
},
},
compare
(
property
,
type
){
// 升序 t 1升 2降
compare
(
property
,
type
){
// 升序 t 1升 2降
if
(
type
===
1
){
if
(
type
===
1
){
...
@@ -626,7 +622,7 @@
...
@@ -626,7 +622,7 @@
}
}
},
},
sortChange
(
param
)
{
sortChange
(
param
)
{
console
.
log
(
param
);
let
data
=
''
;
let
data
=
''
;
if
(
param
.
YingShou
===
'asc'
)
{
if
(
param
.
YingShou
===
'asc'
)
{
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
DataList
));
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
DataList
));
...
@@ -641,30 +637,6 @@
...
@@ -641,30 +637,6 @@
},
},
// 数据筛选
// 数据筛选
filterMethod
(
filters
){
filterMethod
(
filters
){
console
.
log
(
filters
)
// let tableData = this.DataList;
// if (filters.FrID && filters.FrID.length>0){
// tableData = tableData.filter(item => filters.FrID.indexOf(item.FrID)!=-1)
// }
// if (filters.name!='' && filters.name!='-1'){
// if(!Array.isArray(filters.name))
// tableData = tableData.filter(item => filters.name==item.id);
// else
// tableData = tableData.filter(item => filters.name==item.id);
// }
// if (filters.hobby!=''){
// tableData = tableData.filter(item => item.hobby.indexOf(filters.hobby)!=-1);
// }
// if(filters.dateRange.beginDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.beginDate).getTime()
<=
new
Date
(
item
.
dateRange
).
getTime
());
// }
// if(filters.dateRange.endDate){
// tableData = tableData.filter(item => new Date(filters.dateRange.endDate).getTime()>=new Date(item.dateRange).getTime());
// }
// this.pageIndex = 1
// this.total=tableData.length
// this.tableData = tableData.filter((item,index)=>index==0);
},
},
handleCurrentChanges
(
val
){
handleCurrentChanges
(
val
){
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
...
...
src/components/FinancialModule/WireControl.vue
View file @
a5a6f008
...
@@ -435,7 +435,6 @@ export default {
...
@@ -435,7 +435,6 @@ export default {
// 修改
// 修改
updateData
(
item
)
{
updateData
(
item
)
{
this
.
getLineTeamList
(
item
.
lineId
)
this
.
getLineTeamList
(
item
.
lineId
)
console
.
log
(
item
)
this
.
addMsg
.
couponsName
=
item
.
couponsName
this
.
addMsg
.
couponsName
=
item
.
couponsName
this
.
addMsg
.
effectDate
=
item
.
effectDate
this
.
addMsg
.
effectDate
=
item
.
effectDate
this
.
addMsg
.
expirationDate
=
item
.
expirationDate
this
.
addMsg
.
expirationDate
=
item
.
expirationDate
...
...
src/components/FinancialModule/refundQuery.vue
View file @
a5a6f008
...
@@ -173,7 +173,6 @@ export default {
...
@@ -173,7 +173,6 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
'OnlinePay_get_GetOrderPayMoneyInfo'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'OnlinePay_get_GetOrderPayMoneyInfo'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
console
.
log
(
res
,
'res'
);
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
...
...
src/store/actions/initNimSDK.js
View file @
a5a6f008
...
@@ -23,7 +23,6 @@ export function initNimSDK ({ state, commit, dispatch }, loginInfo) {
...
@@ -23,7 +23,6 @@ export function initNimSDK ({ state, commit, dispatch }, loginInfo) {
state
.
nim
.
disconnect
()
state
.
nim
.
disconnect
()
}
}
console
.
log
(
'state.nim'
)
dispatch
(
'showLoading'
)
dispatch
(
'showLoading'
)
// 初始化SDK
// 初始化SDK
window
.
nim
=
state
.
nim
=
SDK
.
NIM
.
getInstance
({
window
.
nim
=
state
.
nim
=
SDK
.
NIM
.
getInstance
({
...
...
src/store/actions/sysMsgs.js
View file @
a5a6f008
...
@@ -33,7 +33,6 @@ export function onSysMsgUnread (obj) {
...
@@ -33,7 +33,6 @@ export function onSysMsgUnread (obj) {
}
}
export
function
onCustomSysMsgs
(
customSysMsgs
)
{
export
function
onCustomSysMsgs
(
customSysMsgs
)
{
console
.
log
(
customSysMsgs
)
if
(
!
Array
.
isArray
(
customSysMsgs
))
{
if
(
!
Array
.
isArray
(
customSysMsgs
))
{
customSysMsgs
=
[
customSysMsgs
]
customSysMsgs
=
[
customSysMsgs
]
}
}
...
...
src/store/actions/team.js
View file @
a5a6f008
...
@@ -117,12 +117,12 @@ export function onUpdateTeamManagers(obj) {
...
@@ -117,12 +117,12 @@ export function onUpdateTeamManagers(obj) {
}
}
export
function
onTeamMsgReceipt
(
obj
)
{
export
function
onTeamMsgReceipt
(
obj
)
{
//群消息回执通知
obj
.
teamMsgReceipts
.
forEach
(
item
=>
{
obj
.
teamMsgReceipts
.
forEach
(
item
=>
{
if
(
item
.
teamId
===
store
.
state
.
currReceiptQueryTeamId
)
{
if
(
item
.
teamId
===
store
.
state
.
currReceiptQueryTeamId
)
{
store
.
commit
(
'updateSingleTeamMsgReads'
,
item
)
store
.
commit
(
'updateSingleTeamMsgReads'
,
item
)
}
}
})
})
console
.
log
(
'群消息回执通知'
+
obj
)
}
}
// 进入可配置的群信息设置页,进入前改变state中的配置信息,进入页面后读取配置信息更新视图
// 进入可配置的群信息设置页,进入前改变state中的配置信息,进入页面后读取配置信息更新视图
...
@@ -306,7 +306,6 @@ export function getTeamMsgReads({ state }, needQuery) {
...
@@ -306,7 +306,6 @@ export function getTeamMsgReads({ state }, needQuery) {
if
(
error
)
{
if
(
error
)
{
console
.
log
(
'获取群组消息已读'
+
error
)
console
.
log
(
'获取群组消息已读'
+
error
)
}
else
{
}
else
{
console
.
log
(
'获取群组消息已读:'
,
content
)
store
.
commit
(
'updateTeamMsgReads'
,
content
)
store
.
commit
(
'updateTeamMsgReads'
,
content
)
}
}
}
}
...
...
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