diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php
index 24428cc7..ea300a16 100755
--- a/application/admin/controllers/DataController.php
+++ b/application/admin/controllers/DataController.php
@@ -3410,6 +3410,26 @@ class Admin_DataController extends Zend_Controller_Action
return true;
}
+ if($ac == 'datalist')
+ {
+ $this->_helper->viewRenderer('fund-data-list');
+ $this->view->q = $q = $this->_getParam('q');
+ $rows = $fund->fetchFormData(true,0,$q);
+ view::addPaginator($rows,$this->view,$this->_request);
+ return true;
+ }
+
+ if($ac == 'dataview')
+ {
+ $this->_helper->viewRenderer('fund-data-view');
+ $this->view->q = $q = $this->_getParam('q');
+ $id = $this->_getParam('id');
+ $this->view->fund = $fund->view($id);
+ $rows = $fund->fetchFormData($id,0,$q);
+ view::addPaginator($rows,$this->view,$this->_request);
+ return true;
+ }
+
if($ac == "add")
{
$this->_helper->viewRenderer('fund-add');
diff --git a/application/admin/views/scripts/data/fund-data-list.phtml b/application/admin/views/scripts/data/fund-data-list.phtml
new file mode 100644
index 00000000..478a32a0
--- /dev/null
+++ b/application/admin/views/scripts/data/fund-data-list.phtml
@@ -0,0 +1,113 @@
+headTitle($this->config->title->site);
+$this->headTitle($this->config->title->author);
+$this->headTitle()->setSeparator(' - ');
+$this->breadcrumb('首页');
+$this->headLink()->appendStylesheet('/css/author.css');
+$this->breadcrumb()->setSeparator(' > ');
+$this->theme->AppendPlus($this,'colorbox');
+$this->theme->AppendPlus($this,'admin_plugin');
+?>
+
+
+
+ = $this->partial('data/left.phtml'); ?>
+
+
+
+ md)) { ?>
+
+ ct)) { ?>
+
为此数据添加项目
+
+
返回
+
点击“添加此项目”即可将项目添加到元数据
+
+
《= $this->md['title'] ?>》 的支持项目
+
+
+
+
+ error)) { ?>
+ AlertType)) $AlertType = "alert-error";else $AlertType = $this->AlertType;?>
+
+
×
+ error)) { ?>
= $this->error ?>
+
+ error as $v) { ?>
+ - = $v ?>
+
+
+
+
+
+ msg)) { ?>
+
+ jump_url)) { ?>
+
+
+
+
+ paginator)): ?>
+
+
+
+ 名称 |
+ 项目编号 |
+ 项目类型 |
+ 数据个数 |
+ 操作 |
+
+
+
+ paginator as $item):
+ $autoindex++;?>
+ md)) { ?>
+
+
+
+
+ = $item['title'] ?> |
+ = $item['fund_id'] ?> |
+ = $item['fund_type'] ?> |
+ = $item['mds'] ?> |
+
+ 查看数据
+ |
+
+
+
+
+
+
= $this->paginator; ?>
+
+
+
+
+
+
diff --git a/application/admin/views/scripts/data/fund-data-view.phtml b/application/admin/views/scripts/data/fund-data-view.phtml
new file mode 100644
index 00000000..5fe7bd01
--- /dev/null
+++ b/application/admin/views/scripts/data/fund-data-view.phtml
@@ -0,0 +1,100 @@
+headTitle($this->config->title->site);
+$this->headTitle($this->config->title->author);
+$this->headTitle()->setSeparator(' - ');
+$this->breadcrumb('首页');
+$this->breadcrumb('数据作者');
+$this->headLink()->appendStylesheet('/css/author.css');
+$this->breadcrumb('申请成为元数据作者');
+$this->breadcrumb()->setSeparator(' > ');
+$this->theme->AppendPlus($this,'colorbox');
+$this->theme->AppendPlus($this,'admin_plugin');
+?>
+
+
+
+ = $this->partial('author/navi.phtml'); ?>
+
+
+
+ fund)) { ?>
+
+
= $this->fund['title'] ?> 的相关数据
+
+
+
+
+ error)) { ?>
+ AlertType)) $AlertType = "alert-error";else $AlertType = $this->AlertType;?>
+
+
×
+ error)) { ?>
= $this->error ?>
+
+ error as $v) { ?>
+ - = $v ?>
+
+
+
+
+
+ msg)) { ?>
+
+ jump_url)) { ?>
+
+
+
+
+ paginator)): ?>
+
+
+
+ 数据 |
+ 操作 |
+
+
+
+ paginator as $item):
+ $autoindex++;?>
+
+ = $item['mdtitle'] ?> |
+
+ 移除
+ |
+
+
+
+
+
+
= $this->paginator; ?>
+
+
+
+
+
+
diff --git a/application/admin/views/scripts/data/fund.phtml b/application/admin/views/scripts/data/fund.phtml
index cc5b694c..aab2a9f3 100644
--- a/application/admin/views/scripts/data/fund.phtml
+++ b/application/admin/views/scripts/data/fund.phtml
@@ -19,6 +19,7 @@ table thead tr th {background:#EBF2F6;}