* add printExtendFields method.

This commit is contained in:
wangyidong
2019-07-24 13:44:01 +08:00
parent f1b0faf11b
commit ff55e2267f
62 changed files with 85 additions and 70 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
</div>
<form class='load-indicator main-form' method='post' id='activateForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1 -1
View File
@@ -24,7 +24,7 @@
</div>
<form class='load-indicator main-form' method='post' id='blockForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1 -1
View File
@@ -23,7 +23,7 @@
</div>
<form class='load-indicator main-form' method='post' id='closeForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
<tr>
<th class='w-60px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+1 -1
View File
@@ -94,7 +94,7 @@
</div>
</td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, '', 'table', 'columns=2');?>
<?php $this->printExtendFields('', 'table', 'columns=2');?>
<tr>
<td class='text-center form-actions' colspan='3'>
<?php echo html::submitButton();?>
+1 -1
View File
@@ -83,7 +83,7 @@
</div>
</td>
</tr>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=2');?>
<?php $this->printExtendFields($task, 'table', 'columns=2');?>
<tr>
<td class='text-center form-actions' colspan='3'>
<?php echo html::submitButton();?>
+1 -1
View File
@@ -25,7 +25,7 @@
</div>
<form class='load-indicator main-form' method='post' id='startForm'>
<table class='table table-form'>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'table', 'columns=1');?>
<?php $this->printExtendFields($task, 'table', 'columns=1');?>
<tr>
<th class='w-45px'><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control kindeditor' hidefocus='true'");?></td>
+2 -2
View File
@@ -41,7 +41,7 @@
<?php endif;?>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=testtask&objectID=$task->id");?>
</div>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'div', "position=left&divCell=true");?>
<?php $this->printExtendFields($task, 'div', "position=left&divCell=true");?>
<div class='cell'><?php include '../../common/view/action.html.php';?></div>
<div class='main-actions'>
<div class="btn-toolbar">
@@ -127,7 +127,7 @@
</div>
</div>
</div>
<?php if(isset($this->config->bizVersion)) $this->loadModel('flow')->printFields($app->moduleName, $app->methodName, $task, 'div', "position=right&divCell=true");?>
<?php $this->printExtendFields($task, 'div', "position=right&divCell=true");?>
</div>
</div>