Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
64789608
authored
2018-03-19 22:46:23 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
47614843
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
application/views/work/资料补录.php
application/views/work/资料补录.php
View file @
6478960
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<div
class=
"page-container"
>
<div
class=
"page-container"
>
<form
class=
"search"
>
<div
class=
"date mb-20"
>
<input
type=
"text"
onfocus=
"WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })"
id=
"logmin"
class=
"input-text Wdate"
>
-
<input
type=
"text"
onfocus=
"WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',maxDate:'%y-%M-%d' })"
id=
"logmax"
class=
"input-text Wdate"
>
<input
type=
"text"
onfocus=
"WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })"
id=
"logmin"
class=
"input-text Wdate"
>
-
<input
type=
"text"
onfocus=
"WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',maxDate:'%y-%M-%d' })"
id=
"logmax"
class=
"input-text Wdate"
>
</div>
<div
class=
"row cl mb-20"
>
<div
class=
"col-xs-2"
>
...
...
@@ -91,9 +93,9 @@
</table>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
var table = $('#table').dataTable({
aaSorting: [[1, "desc"]],
serverSide: true,
...
...
@@ -108,7 +110,7 @@
var ret = {}, json = jQuery.parseJSON(json);
ret.data = json.data || [];
var draw = getUrlParam('draw');
if
(
draw
)
{
if
(draw) {
ret.draw = draw;
}
ret.recordsTotal = 0;
...
...
@@ -128,10 +130,11 @@
columns: [
{
data: "id", render: function (data, type, full) {
var url = "
<?=
site_url
(
'/work/record'
)
?>
";
return '<span class="
dropDown
dropDown_hover
">\
<button class="
btn
radius
size
-
M
">请选择 <i class="
Hui
-
iconfont
"></i></button>\
<ul class="
dropDown
-
menu
menu
radius
box
-
shadow
">\
<li><a href="javascript:;" onclick="layer_show(
\'资料补录\', \'/work/record\
')"">资料补录</a></li>\
<li><a href="
javascript
:;
" onclick="
layer_show
(
' + url +
'
)
""
>
资料补录
<
/a></
li
>\
<
li
><
a
href
=
"javascript:cancel(1);"
>
客户取消
<
/a></
li
>\
<
/ul>
\
<
/span>'
;
...
...
@@ -186,18 +189,18 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
</script>
</script>
<script>
<script>
function
cancel
(
id
)
{
layer
.
confirm
(
'取消之后, 将立即进入【已取消】列表'
,
{
btn
:
[
'确认'
,
'取消'
],
btn
:
[
'确认'
,
'取消'
],
title
:
'客户取消'
,
icon
:
2
},
function
()
{
},
function
()
{
layer
.
msg
(
'取消'
);
});
}
</script>
</script>
</body>
<html>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment