From 802af56fe2d3236251cb1445566a891215079313 Mon Sep 17 00:00:00 2001
From: Yagami <976204163@qq.com>
Date: Tue, 9 Jul 2019 13:13:43 +0800
Subject: [PATCH] * Add code to stroy view for workflow.
---
module/story/view/activate.html.php | 1 +
module/story/view/assignto.html.php | 1 +
module/story/view/change.html.php | 1 +
module/story/view/close.html.php | 1 +
module/story/view/create.html.php | 1 +
module/story/view/edit.html.php | 3 +++
module/story/view/review.html.php | 1 +
7 files changed, 9 insertions(+)
diff --git a/module/story/view/activate.html.php b/module/story/view/activate.html.php
index 8fb15bbbf4..9a73210667 100644
--- a/module/story/view/activate.html.php
+++ b/module/story/view/activate.html.php
@@ -38,6 +38,7 @@
?>
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
| story->comment;?> |
|
diff --git a/module/story/view/assignto.html.php b/module/story/view/assignto.html.php
index a58decebd7..fcecb1a5e5 100644
--- a/module/story/view/assignto.html.php
+++ b/module/story/view/assignto.html.php
@@ -29,6 +29,7 @@
story->assign;?> |
assignedTo, "class='form-control chosen'");?> | |
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
| comment;?> |
|
diff --git a/module/story/view/change.html.php b/module/story/view/change.html.php
index b2827f799d..df66e45f78 100644
--- a/module/story/view/change.html.php
+++ b/module/story/view/change.html.php
@@ -51,6 +51,7 @@
story->comment;?> |
|
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=1');?>
| attatch;?> |
fetch('file', 'buildform');?> |
diff --git a/module/story/view/close.html.php b/module/story/view/close.html.php
index f53c5fbb4d..8b51ccfc0e 100644
--- a/module/story/view/close.html.php
+++ b/module/story/view/close.html.php
@@ -37,6 +37,7 @@
story->childStories;?> |
| |
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=2');?>
| story->comment;?> |
|
diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php
index a558ab1d88..bdcdbfd7f8 100644
--- a/module/story/view/create.html.php
+++ b/module/story/view/create.html.php
@@ -173,6 +173,7 @@
|
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'table', 'columns=4');?>
| story->legendAttatch;?> |
fetch('file', 'buildform');?> |
diff --git a/module/story/view/edit.html.php b/module/story/view/edit.html.php
index 08a35b45ef..3a8f1a66e3 100644
--- a/module/story/view/edit.html.php
+++ b/module/story/view/edit.html.php
@@ -43,6 +43,7 @@
story->verify;?>
verify;?>
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=left&divCell=false');?>
story->comment;?>
@@ -197,6 +198,8 @@
+ config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, 'div', 'position=right&divCell=false');?>
+