59 lines
2.8 KiB
PHTML
59 lines
2.8 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
|
|
$this->breadcrumb('离线数据申请管理</a>');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div id="leftPanel">
|
|
<?= $this->partial('down/left.phtml'); ?>
|
|
</div>
|
|
<div id="rightPanel">
|
|
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
<div id="message">
|
|
<?php if ($this->msg) : ?>
|
|
<p><?php echo $this->msg; ?></p>
|
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
<p><?php echo $msg; ?></p>
|
|
<?php endforeach;endif; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div class="right_title">离线数据申请管理</div>
|
|
|
|
<a href="/admin/down/offlineapp/reset/-1" onclick="return confirm('是否重置该申请?')">重置1年前的所有未收到申请表的记录</a>
|
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<?php $autoindex=0;?>
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<?php $autoindex++;?>
|
|
<div id="datalist">
|
|
<ul>
|
|
<li>
|
|
<label>姓名:</label><?= $item['username']; ?><br />
|
|
<label>单位:</label><?= $item['unit']; ?><br />
|
|
<label>地址:</label><?= $item['address']; ?><br />
|
|
<label>邮编:</label><?= $item['postcode']; ?><br />
|
|
<label>用途:</label><br /><textarea readonly="readonly" style="width:500px;height:70px;font-size:12px;"><?= $item['project']; ?></textarea><br />
|
|
<label>数据清单:</label><br /><textarea readonly="readonly" style="width:500px;height:70px;font-size:12px;"><?= $item['datalist']; ?></textarea><br />
|
|
<label>申请时间:</label><?= date('Y-m-d',strtotime($item['ts_created'])); ?><br />
|
|
<label>操作:</label><a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">查看详细</a>
|
|
<a href="/admin/down/offlineapp/start/<?= $item['id']; ?>" onclick="return confirm('确定收到该申请?')">收到</a>
|
|
<a href="/admin/down/offlineapp/finish/<?= $item['id']; ?>" onclick="return confirm('确定确定通过该申请?')">通过</a>
|
|
<a href="/admin/down/offlineapp/cancel/<?= $item['id']; ?>" onclick="return confirm('确定将此记录删除?')">删除</a>
|
|
<a href="/admin/down/offlineapp/deny/<?= $item['id']; ?>" onclick="return confirm('确定拒绝该申请?')">拒绝</a>
|
|
<a href="/admin/down/offlineapp/reset/<?= $item['id']; ?>" onclick="return confirm('是否重置该申请?')">重置</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|