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
667e48fe
authored
2018-03-18 00:28:32 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
bf108142
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
application/views/work/待提交.php
application/views/work/待补录.php
application/views/work/待提交.php
View file @
667e48f
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<?php
$this
->
load
->
view
(
'common/work_header'
);
?>
<div
class=
"page-container"
>
<?php
$this
->
load
->
view
(
'common/work_header'
);
?>
<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,21 +93,21 @@
</tbody>
</table>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
<script>
function
pass
(
id
)
{
layer
.
confirm
(
'通过之后, 将立即进入审批阶段'
,
{
btn
:
[
'确认通过'
,
'取消'
],
btn
:
[
'确认通过'
,
'取消'
],
title
:
'确认通过预审'
,
icon
:
3
},
function
()
{
},
function
()
{
layer
.
msg
(
'通过'
);
});
}
</script>
<script>
</script>
<script>
var
table
=
$
(
'#table'
).
dataTable
({
aaSorting
:
[[
1
,
"desc"
]],
serverSide
:
true
,
...
...
@@ -120,12 +122,16 @@
var
ret
=
{},
json
=
jQuery
.
parseJSON
(
json
);
ret
.
data
=
json
.
data
;
var
draw
=
getUrlParam
(
'draw'
);
if
(
draw
)
{
if
(
draw
)
{
ret
.
draw
=
draw
;
}
// ret.draw = parseInt(json.page.currentPage);
ret
.
recordsTotal
=
0
;
ret
.
recordsFiltered
=
0
;
if
(
json
.
page
)
{
ret
.
recordsTotal
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsFiltered
=
parseInt
(
json
.
page
.
totalNumber
);
}
return
JSON
.
stringify
(
ret
);
},
data
:
function
(
data
)
{
...
...
@@ -137,8 +143,8 @@
columns
:
[
{
// data: "id",
render
:
function
(
data
,
type
,
full
)
{
return
'<input value="'
+
data
+
'" type="checkbox">'
;
render
:
function
(
data
,
type
,
full
)
{
return
'<input value="'
+
data
+
'" type="checkbox">'
;
}
},
{
...
...
@@ -200,6 +206,6 @@
function
resetHandler
()
{
$
(
'#table'
).
DataTable
().
columns
().
search
(
""
).
draw
();
}
</script>
</script>
</body>
<html>
...
...
application/views/work/待补录.php
View file @
667e48f
...
...
@@ -112,8 +112,12 @@
ret
.
draw
=
draw
;
}
// ret.draw = parseInt(json.page.currentPage);
ret
.
recordsTotal
=
0
;
ret
.
recordsFiltered
=
0
;
if
(
json
.
page
)
{
ret
.
recordsTotal
=
parseInt
(
json
.
page
.
totalNumber
);
ret
.
recordsFiltered
=
parseInt
(
json
.
page
.
totalNumber
);
}
return
JSON
.
stringify
(
ret
);
},
data
:
function
(
data
)
{
...
...
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