120 lines
6.4 KiB
PHTML
120 lines
6.4 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('元数据评审');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
</div>
|
|
<div class="col-md-10 col-sm-12">
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
<div id="message" class="alert alert-info">
|
|
<?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="form-group">
|
|
<ul class="nav nav-tabs">
|
|
<li><a href="/admin/review/comments/">按评审数据查看</a></li>
|
|
<li><a href="/admin/review/comments/ac/listbyuser">按评审用户查看</a></li>
|
|
<li><a href="/admin/review/comments/ac/list">直接查看评审意见列表</a></li>
|
|
</ul>
|
|
</div>
|
|
<form class="form-horizontal">
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">元数据名称:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<?php echo $this->info['title'];?> <a href="/data/<?php echo $this->info['uuid'];?>">查看元数据</a> <a href="/review/review/uuid/<?php echo $this->info['uuid'];?>">查看评审页</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">评审人:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<?php echo $this->info['realname'];?> [<a href="/admin/user/show/id/<?php echo $this->info['uid'];?>">查看详细</a>]
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">处理意见:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<?php
|
|
if($this->info['conclusion']==1) echo '修改后再审';
|
|
if($this->info['conclusion']==2) echo '修改后发布';
|
|
if($this->info['conclusion']==3) echo '发布';
|
|
if($this->info['conclusion']==-1) echo '退稿';
|
|
?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">评审时间:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<?php echo date("Y-m-d H:i",strtotime($this->info['ts_created']));?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">元数据意见:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<textarea id="mdcomment" class="form-control" name="mdcomment" readonly="readonly" disabled="true"><?php echo $this->info['mdcomment'];?></textarea>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">对数据的意见:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<textarea id="datacomment" class="form-control" name="datacomment" readonly="readonly" disabled="true"><?php echo $this->info['datacomment'];?></textarea> </p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">给数据中心的意见:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<textarea id="editorcomment" class="form-control" name="editorcomment" readonly="readonly" disabled="true"><?php echo $this->info['editorcomment'];?></textarea>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">附件:</label>
|
|
<div class="col-md-7 col-sm-7 col-xs-8">
|
|
<p class="form-control-static">
|
|
<?php echo $this->info['attid'];?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="form_group">
|
|
<div class=" col-md-2 col-sm-2 col-xs-3"></div>
|
|
<div class="form_inline">
|
|
<form action="/admin/review/comments/">
|
|
<input type="hidden" name="ac" value="del" />
|
|
<input type="hidden" name="id" value="<?php echo $this->info['id'];?>" />
|
|
<input type="submit" class="btn btn-danger" onclick="return confirm('是否确定删除该评审意见?')" value="删除" />
|
|
</form>
|
|
<form action="/admin/review/comments/">
|
|
<input type="hidden" name="ac" value="rollback" />
|
|
<input type="hidden" name="id" value="<?php echo $this->info['id'];?>" />
|
|
<input type="submit" class="btn btn-warning" onclick="return confirm('是否确定重置该意见?')" value="重置为草稿状态" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")})</script>
|