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
2dbcc308
authored
2018-03-29 23:23:21 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
d205e0b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
12 deletions
application/controllers/Work.php
application/views/work/审批/电核.php
application/controllers/Work.php
View file @
2dbcc30
...
...
@@ -214,6 +214,11 @@ class Work extends CI_Controller
$this
->
load
->
view
(
'work/审批/网查筛选'
,
$data
);
break
;
case
8
:
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'audit/phoneAudit/record/'
.
$id
;
$result
=
file_get_contents
(
$url
);
$json
=
json_decode
(
$result
);
$ret
=
$json
->
data
;
$data
[
'record'
]
=
$ret
;
$this
->
load
->
view
(
'work/审批/电核'
,
$data
);
break
;
case
9
:
...
...
@@ -231,8 +236,9 @@ class Work extends CI_Controller
}
}
public
function
telAdd
()
public
function
telAdd
(
$id
)
{
$this
->
load
->
view
(
'work/审批/电核添加'
);
}
...
...
application/views/work/审批/电核.php
View file @
2dbcc30
...
...
@@ -42,22 +42,23 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<tr>
<td>
1
</td>
<td>
2018-01-01 00:00:00
</td>
<td>
是
</td>
<td>
张三
</td>
<td>
备注
</td>
<td><a
href=
"javascript:add();"
><i
class=
"Hui-iconfont"
>

</i>
编辑
<a></td>
</tr>
<tr>
<?php
foreach
(
$record
as
$k
=>
$v
)
:?>
<
tr
>
<
td
><?=
$v
->
id
?>
</td>
<td>
<?=
$v
->
createTime
?>
</td>
<td>
<?=
$v
->
hasPutThrough
?
'是'
:
'否'
?>
</td>
<td>
<?=
$v
->
phoneAuditEmployee
?>
</td>
<td>
<?=
$v
->
remark
?>
</td>
</tr>
<?php
endforeach
;
?>
<!--<tr>
<td>1</td>
<td>2018-01-01 00:00:00</td>
<td>是</td>
<td>张三</td>
<td>备注</td>
<td><a href="javascript:add();"><i class="Hui-iconfont"></i> 编辑<a></td>
</tr>
</tr>
-->
</tbody>
</table>
</div>
...
...
@@ -94,7 +95,7 @@
title: '电核记录',
shadeClose: true,
area: ['800px', '400px'],
content: '
<?=
site_url
(
'work/telAdd
'
)
?>
'
content: '
<?=
site_url
(
'work/telAdd
/'
.
$id
)
?>
'
});
}
...
...
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