diff --git a/db/update20.0.sql b/db/update20.0.sql
index cb7333579e..f65b35f90e 100644
--- a/db/update20.0.sql
+++ b/db/update20.0.sql
@@ -80,7 +80,7 @@ CREATE TABLE `zt_stakeholder` (
-- DROP TABLE IF EXISTS `zt_expect`;
CREATE TABLE `zt_expect` (
- `id` mediumint(8) NOT NULL,
+ `id` mediumint(8) NOT NULL AUTO_INCREMENT,
`userID` mediumint(8) NOT NULL,
`program` mediumint(8) NOT NULL DEFAULT 0,
`expect` text NOT NULL,
diff --git a/db/zentao.sql b/db/zentao.sql
index 3a7ec7f41f..47f1bd619c 100644
--- a/db/zentao.sql
+++ b/db/zentao.sql
@@ -1301,7 +1301,7 @@ CREATE TABLE IF NOT EXISTS `zt_entry` (
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- DROP TABLE IF EXISTS `zt_expect`;
CREATE TABLE `zt_expect` (
- `id` mediumint(8) NOT NULL,
+ `id` mediumint(8) NOT NULL AUTO_INCREMENT,
`userID` mediumint(8) NOT NULL,
`program` mediumint(8) NOT NULL DEFAULT 0,
`expect` text NOT NULL,
diff --git a/module/my/view/program.html.php b/module/my/view/program.html.php
index a2e9acec50..57e6da5093 100644
--- a/module/my/view/program.html.php
+++ b/module/my/view/program.html.php
@@ -37,13 +37,13 @@
-
-
-
stakeholder->createExpect;?>
-
-
-
-
-
diff --git a/module/stakeholder/view/editexpect.html.php b/module/stakeholder/view/editexpect.html.php
deleted file mode 100644
index 12112ce33c..0000000000
--- a/module/stakeholder/view/editexpect.html.php
+++ /dev/null
@@ -1,45 +0,0 @@
-
- * @package product
- * @version $Id: browse.html.php 5096 2013-07-11 07:02:43Z chencongzhi520@gmail.com $
- * @link http://www.zentao.net
- */
-?>
-
-
-
-
-
-
stakeholder->editExpect;?>
-
-
-
-
-
diff --git a/module/stakeholder/view/expectation.html.php b/module/stakeholder/view/expectation.html.php
deleted file mode 100644
index c95eaa975e..0000000000
--- a/module/stakeholder/view/expectation.html.php
+++ /dev/null
@@ -1,77 +0,0 @@
-
- * @package product
- * @version $Id: browse.html.php 5096 2013-07-11 07:02:43Z chencongzhi520@gmail.com $
- * @link http://www.zentao.net
- */
-?>
-
-
-
-
- " . $lang->stakeholder->createExpect, '', "class='btn btn-primary'");?>
-
-
-
diff --git a/module/stakeholder/view/viewexpect.html.php b/module/stakeholder/view/viewexpect.html.php
deleted file mode 100644
index 57d3004122..0000000000
--- a/module/stakeholder/view/viewexpect.html.php
+++ /dev/null
@@ -1,110 +0,0 @@
-
- * @package company
- * @version $Id: edit.html.php 4488 2013-02-27 02:54:49Z chencongzhi520@gmail.com $
- * @link http://www.zentao.net
- */
-?>
-
-
-createLink('stakeholder', 'expectation');
-$createLink = $this->createLink('stakeholder', 'createExpect');
-?>
-
-
-
- {$lang->stakeholder->createExpect}", '', "class='btn btn-primary'");?>
-
-
-
-
-
-
-
stakeholder->expect;?>
-
- expect) ? $expect->expect : '
' . $lang->noData . '
';?>
-
-
-
-
stakeholder->progress;?>
-
- progress) ? $expect->progress : '
' . $lang->noData . '
';?>
-
-
-
- createLink('action', 'comment', "objectType=expect&objectID=$expect->id");?>
-
-
-
-
-
-
-
-
-
-
-
- | stakeholder->name;?> |
- name?> |
-
-
- | lang->stakeholder->type;?> |
- stakeholder->typeList, $user->type, '');?> |
-
-
- | lang->stakeholder->company;?> |
- companyName;?> |
-
-
- | lang->stakeholder->phone;?> |
- phone;?> |
-
-
- | lang->stakeholder->qq;?> |
- qq;?> |
-
-
- | lang->stakeholder->weixin;?> |
- weixin;?> |
-
-
- | lang->stakeholder->email;?> |
- email;?> |
-
-
- | lang->stakeholder->isKey;?> |
- stakeholder->keyList, $user->key, '');?> |
-
-
- | lang->stakeholder->from;?> |
- stakeholder->fromList, $user->from, '');?> |
-
-
-
-
-
-
-
-
-
-
-