Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
haishi
Commits
353d5045
Commit
353d5045
authored
Feb 13, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
65fc754d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
admin/themes/simplebootx/Admin/Sendcode/message.html
+14
-0
application/Admin/Controller/SendcodeController.class.php
+6
-0
No files found.
admin/themes/simplebootx/Admin/Sendcode/message.html
View file @
353d5045
...
@@ -12,6 +12,12 @@
...
@@ -12,6 +12,12 @@
<li
class=
"active"
><a
>
列表
</a></li>
<li
class=
"active"
><a
>
列表
</a></li>
</ul>
</ul>
<form
class=
"well form-search"
name=
"form1"
method=
"post"
style=
"float:left"
action=
""
>
<form
class=
"well form-search"
name=
"form1"
method=
"post"
style=
"float:left"
action=
""
>
订单状态:
<select
class=
"select_2"
name=
"status"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
<
if
condition=
"$formget.status eq '1'"
>
selected
</if>
>已确认
</option>
<option
value=
"0"
<
if
condition=
"$formget.status eq '0'"
>
selected
</if>
>未确认
</option>
</select>
提交时间:
提交时间:
<input
type=
"text"
name=
"start_time"
class=
"js-date date"
id=
"start_time"
value=
"{$formget.start_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
-
<input
type=
"text"
name=
"start_time"
class=
"js-date date"
id=
"start_time"
value=
"{$formget.start_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
-
<input
type=
"text"
class=
"js-date date"
name=
"end_time"
id=
"end_time"
value=
"{$formget.end_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
<input
type=
"text"
class=
"js-date date"
name=
"end_time"
id=
"end_time"
value=
"{$formget.end_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
...
@@ -31,6 +37,8 @@
...
@@ -31,6 +37,8 @@
<th>
消息内容
</th>
<th>
消息内容
</th>
<th>
支付凭证
</th>
<th>
支付凭证
</th>
<th>
提交时间
</th>
<th>
提交时间
</th>
<th>
处理状态
</th>
<th
align=
"center"
>
{:L('ACTIONS')}
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -44,6 +52,12 @@
...
@@ -44,6 +52,12 @@
<img
src=
"{$vo['image']}"
width=
"50"
height=
"50"
>
<img
src=
"{$vo['image']}"
width=
"50"
height=
"50"
>
</a></td>
</a></td>
<td>
{$vo.addtime|date="Y-m-d H:i:s",###}
</td>
<td>
{$vo.addtime|date="Y-m-d H:i:s",###}
</td>
<td>
{$status[$vo['status']]}
</td>
<td
align=
"center"
>
<if
condition=
"$vo['status'] eq 0"
>
<a
href=
"{:U('Sendcode/change',array('id'=>$vo['id']))}"
class=
"js-ajax-dialog-btn"
data-msg=
"您确定确认收款吗?"
>
确认收款
</a>
</if>
</td>
</tr>
</tr>
</foreach>
</foreach>
</tbody>
</tbody>
...
...
application/Admin/Controller/SendcodeController.class.php
View file @
353d5045
...
@@ -108,6 +108,11 @@ class SendcodeController extends AdminbaseController {
...
@@ -108,6 +108,11 @@ class SendcodeController extends AdminbaseController {
{
{
$map
=
array
(
'type'
=>
1
);
$map
=
array
(
'type'
=>
1
);
if
(
$_REQUEST
[
'status'
]
!=
''
){
$map
[
'status'
]
=
$_REQUEST
[
'status'
];
$_GET
[
'status'
]
=
$_REQUEST
[
'status'
];
}
if
(
$_REQUEST
[
'start_time'
]
!=
''
){
if
(
$_REQUEST
[
'start_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
...
@@ -145,6 +150,7 @@ class SendcodeController extends AdminbaseController {
...
@@ -145,6 +150,7 @@ class SendcodeController extends AdminbaseController {
$this
->
assign
(
'lists'
,
$lists
);
$this
->
assign
(
'lists'
,
$lists
);
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
'status'
,
array
(
"0"
=>
"未确认"
,
"1"
=>
"已确认"
));
$this
->
display
();
$this
->
display
();
}
}
...
...
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