* Modify the configuration of the submit form on the batch story creation page.

This commit is contained in:
chentao
2023-07-04 17:26:06 +08:00
parent 34f84c5039
commit d2a589b1bf
+2 -2
View File
@@ -35,13 +35,13 @@ $config->story->form->create['version'] = array('type' => 'int', 'contro
$config->story->form->create['openedBy'] = array('type' => 'string', 'control' => '', 'required' => false, 'default' => $app->user->account);
$config->story->form->create['openedDate'] = array('type' => 'string', 'control' => '', 'required' => false, 'default' => helper::now());
$config->story->form->batchCreate = array();
$config->story->form->batchCreate = common::formConfig('story', 'batchCreate');
$config->story->form->batchCreate['branch'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
$config->story->form->batchCreate['module'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
$config->story->form->batchCreate['plan'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
$config->story->form->batchCreate['region'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
$config->story->form->batchCreate['lane'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
$config->story->form->batchCreate['title'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'filter' => 'trim');
$config->story->form->batchCreate['title'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'filter' => 'trim', 'base' => true);
$config->story->form->batchCreate['color'] = array('type' => 'string', 'control' => 'color', 'required' => false, 'default' => '');
$config->story->form->batchCreate['spec'] = array('type' => 'string', 'control' => 'textarea', 'required' => false, 'default' => '');
$config->story->form->batchCreate['source'] = array('type' => 'string', 'control' => 'select', 'required' => false, 'default' => '', 'options' => $lang->story->sourceList);