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
29e50f23
authored
2018-03-24 10:46:28 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
f3043a0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
application/controllers/Work.php
application/views/work/订单详情.php
application/controllers/Work.php
View file @
29e50f2
...
...
@@ -112,11 +112,18 @@ class Work extends CI_Controller
if
(
!
$ret
->
clientContactOutputVOS
)
{
$ret
->
clientContactOutputVOS
=
array
();
}
$recordUrl
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'order/orderOperatorRecord/'
.
$id
;
$result2
=
file_get_contents
(
$recordUrl
);
$json2
=
json_decode
(
$result2
);
$ret2
=
$json2
->
data
;
$data
=
array
(
'clientInfoOutputVO'
=>
$ret
->
clientInfoOutputVO
,
'clientUnitOutputVO'
=>
$ret
->
clientUnitOutputVO
,
'clientContactOutputVOS'
=>
$ret
->
clientContactOutputVOS
,
'applyOrderVO'
=>
$ret
->
applyOrderVO
'applyOrderVO'
=>
$ret
->
applyOrderVO
,
'operatorRecord'
=>
$ret2
);
$this
->
load
->
view
(
'work/订单详情'
,
$data
);
}
...
...
application/views/work/订单详情.php
View file @
29e50f2
...
...
@@ -33,18 +33,17 @@
</tr>
</thead>
<tbody
class=
"text-c"
>
<?php
foreach
(
$operatorRecord
as
$k
=>
$v
)
:?>
<
tr
>
<td>
2018-01-01 00:00:00
</td>
<td>
门店人员 - 李四
</td>
<td
class=
"c-primary"
>
发起进件
</td>
<td
class=
"c-success"
>
发起成功
</td>
<
td
colspan
=
"4"
><?=
$v
?
$v
->
description
:
''
?>
</td>
</tr>
<tr>
<?php
endforeach
;
?>
<!--<tr>
<td>2018-01-01 00:00:00</td>
<td>门店人员 - 李四</td>
<td class="c-primary">审查</td>
<td class="c-warning">不通过</td>
</tr>
</tr>
-->
</tbody>
</table>
</div>
...
...
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