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
1a5048d5
Commit
1a5048d5
authored
May 24, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
32edb448
ae5d6da4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
10 deletions
+77
-10
invoicesManager.vue
src/components/FinancialModule/invoicesManager.vue
+26
-3
RegistrationStatistics.vue
...nents/TravelManager/TravelList/RegistrationStatistics.vue
+25
-4
RegistrationStatistics_Sale.vue
.../TravelManager/TravelList/RegistrationStatistics_Sale.vue
+26
-3
No files found.
src/components/FinancialModule/invoicesManager.vue
View file @
1a5048d5
...
...
@@ -123,6 +123,15 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"公司"
>
<el-select
v-model=
"msg.RB_Branch_Id"
filterable
style=
"width: 130px"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:gutter=
"35"
>
<el-form-item
label=
"申请日期"
>
<el-date-picker
...
...
@@ -215,7 +224,7 @@
<div
class=
"noDataNotice"
v-if=
"dataList.length<1"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"dataList.length>0"
>
<el-pagination
background
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
...
...
@@ -230,6 +239,8 @@ export default {
data
()
{
return
{
active
:
1
,
RB_Group_Id
:
''
,
companyList
:[],
msg
:
{
TCID
:
0
,
TCNUM
:
''
,
...
...
@@ -243,6 +254,7 @@ export default {
eDate
:
''
,
pageIndex
:
1
,
pageSize
:
10
,
RB_Branch_Id
:
-
1
},
productionDate
:
[],
dataList
:
[],
...
...
@@ -288,6 +300,7 @@ export default {
this
.
msg
.
eDate
=
this
.
productionDate
[
1
];
},
getPageList
:
function
()
{
console
.
log
(
this
.
msg
.
BName
)
this
.
loading
=
true
if
(
this
.
msg
.
OrderId
===
''
)
{
this
.
msg
.
OrderId
=
0
...
...
@@ -298,7 +311,7 @@ export default {
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
}
if
(
this
.
msg
.
OrderId
===
0
)
{
this
.
msg
.
OrderId
=
''
}
...
...
@@ -311,7 +324,7 @@ export default {
});
},
goUrlT
:
function
(
path
,
obj
,
title
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
},
goUrlO
:
function
(
OrderId
)
{
this
.
$router
.
push
({
name
:
'enrollTotal'
,
query
:
{
id
:
OrderId
,
blank
:
'y'
,
tab
:
'报名统计'
}
});
...
...
@@ -324,9 +337,19 @@ export default {
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
getBranchList
(){
this
.
RB_Group_Id
=
this
.
getLocalStorage
().
RB_Group_id
;
this
.
apipost
(
'admin_get_BranchGetList'
,
{
RB_Group_Id
:
this
.
RB_Group_Id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
}
},
null
)
}
},
mounted
()
{
this
.
getPageList
();
this
.
getBranchList
();
}
};
</
script
>
src/components/TravelManager/TravelList/RegistrationStatistics.vue
View file @
1a5048d5
...
...
@@ -149,7 +149,7 @@
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
resetPageIndex(),
getList()"
/>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</ul>
...
...
@@ -202,6 +202,17 @@
</tr>
</tbody>
</table>
<div
class=
"noDataNotice"
v-if=
"DataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"DataList.length>0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -232,7 +243,9 @@
QEndDate
:
""
},
//数据列表
DataList
:
[]
DataList
:
[],
currentPage
:
0
,
total
:
0
,
};
},
methods
:
{
...
...
@@ -285,8 +298,8 @@
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
case
'成都'
:
...
...
@@ -374,6 +387,14 @@
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
return
d
.
toLocaleDateString
().
match
(
/
\d
+/g
).
join
(
'-'
)
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
(){
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
},
mounted
()
{
let
myDate
=
new
Date
();
...
...
src/components/TravelManager/TravelList/RegistrationStatistics_Sale.vue
View file @
1a5048d5
...
...
@@ -81,7 +81,7 @@
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"
resetPageIndex(),
getList()"
/>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
下载
</button>
</li>
</ul>
...
...
@@ -126,6 +126,18 @@
</tr>
</tbody>
</table>
<div
class=
"noDataNotice"
v-if=
"DataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"DataList.length>0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -156,7 +168,9 @@
QEndDate
:
""
},
//数据列表
DataList
:
[]
DataList
:
[],
currentPage
:
0
,
total
:
0
,
};
},
methods
:
{
...
...
@@ -209,7 +223,8 @@
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
case
'成都'
:
...
...
@@ -289,6 +304,14 @@
}
});
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
(){
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
},
mounted
()
{
this
.
getCompanyList
();
...
...
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