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
e0673444
Commit
e0673444
authored
5 years ago
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加页面
parent
4df4e17b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
1 deletion
+153
-1
ticketSearch.vue
src/components/FinancialModule/ticketSearch.vue
+143
-0
config.js
src/router/config.js
+10
-1
No files found.
src/components/FinancialModule/ticketSearch.vue
0 → 100644
View file @
e0673444
<
style
>
.ts_Click
{
color
:
blue
;
text-decoration
:
underline
;
font-size
:
12px
;
cursor
:
pointer
;
}
</
style
>
<
template
>
<div
class=
""
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
日期
</em>
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd(3)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</span>
</li>
<li>
<span>
<em>
团号
</em>
<el-input
v-model=
"msg.TCNUM"
type=
"text"
></el-input>
</span>
</li>
<li>
<span>
<em>
团队编号
</em>
<el-input
v-model=
"msg.TCID"
type=
"text"
></el-input>
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"getList(),resetPageIndex()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
</li>
</ul>
</div>
<div
class=
"_fnDm_content"
>
<table
class=
"singeRowTable"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
团号/团队编号
</th>
<th>
订单号
</th>
<th>
创建时间
</th>
<th>
取消时间
</th>
<th>
创建人
</th>
<th>
修改人
</th>
<th>
确认时间
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td>
<span
class=
"ts_Click"
@
click=
'goUrl("RegistrationList", item.TCID,"报名清单")'
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</span>
</td>
<td>
{{
item
.
OrderId
}}
</td>
<td>
{{
item
.
CreateDateStr
}}
</td>
<td>
{{
item
.
OrderCancelTimeStr
}}
</td>
<td>
{{
item
.
EnterName
}}
</td>
<td>
{{
item
.
LogUpdateByName
}}
</td>
<td>
{{
item
.
TicketSureTimeStr
}}
</td>
</tr>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
// 自定义列组件
export
default
{
data
()
{
return
{
loading
:
false
,
msg
:
{
QStartDate
:
''
,
QEndDate
:
''
,
TCNUM
:
''
,
TCID
:
''
,
pageIndex
:
1
,
pageSize
:
15
},
transactionDate
:
[],
dataList
:
[],
currentPage
:
1
,
total
:
0
}
},
created
()
{
},
components
:
{},
mounted
()
{
this
.
getList
();
},
methods
:
{
getList
:
function
()
{
this
.
loading
=
true
;
this
.
apipost
(
'sellorder_get_GetOrderCancelListService'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
res
,
'resss'
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
timeAdd
(
t
)
{
// 日期格式
if
(
!
this
.
transactionDate
)
{
this
.
msg
.
QStartDate
=
''
;
this
.
msg
.
QEndDate
=
''
;
return
}
this
.
msg
.
QStartDate
=
this
.
transactionDate
[
0
];
this
.
msg
.
QEndDate
=
this
.
transactionDate
[
1
];
},
//翻页
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
()
{
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
goUrl
(
path
,
id
,
name
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
"y"
,
tab
:
name
}
});
},
}
}
</
script
>
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
e0673444
...
...
@@ -3012,7 +3012,16 @@ export default {
meta
:
{
title
:
'现金日报表'
},
},
{
//财务 银行日报表
},
{
//财务 票务订单查询
path
:
'/ticketSearch'
,
name
:
'ticketSearch'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ticketSearch'
],
resolve
),
meta
:
{
title
:
'票务订单查询'
},
},
{
//财务 银行日报表
path
:
'/TransferReport'
,
name
:
'TransferReport'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/TransferReport'
],
resolve
),
...
...
This diff is collapsed.
Click to expand it.
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