* [bug#63337,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-06-19 01:46:06 +00:00
parent fc3a8af4ae
commit bacf3a1b5c
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ $config->todo->batchCreate->form['pri'] = array('required' => false, 'typ
$config->todo->batchCreate->form['name'] = array('required' => false, 'type' => 'string', 'base' => true);
$config->todo->batchCreate->form['desc'] = array('required' => false, 'type' => 'string');
$config->todo->batchCreate->form['assignedTo'] = array('required' => false, 'type' => 'string');
$config->todo->batchCreate->form['begin'] = array('required' => false, 'type' => 'int', 'default' => 2400);
$config->todo->batchCreate->form['end'] = array('required' => false, 'type' => 'int', 'default' => 2400);
$config->todo->batchCreate->form['begin'] = array('required' => false, 'type' => 'int');
$config->todo->batchCreate->form['end'] = array('required' => false, 'type' => 'int');
$config->todo->batchCreate->form['switchTime'] = array('required' => false, 'type' => 'string', 'default' => '');
$config->todo->batchCreate->form['vision'] = array('required' => false, 'type' => 'string', 'default' => $this->config->vision);
-1
View File
@@ -18,7 +18,6 @@ window.changeType = function(e)
if(moduleList.indexOf(type) !== -1)
{
index = index + 1;
link = $.createLink(type, objectsMethod[type], param);
$.get(link, function(data)
{
+1 -1
View File
@@ -234,7 +234,7 @@ class todoZen extends todo
*/
protected function beforeBatchCreate(form $form): array|false
{
$todos = $form->get();
$todos = $form->cleanInt('pri, begin, end')->get();
foreach($todos as $rawID => $todo)
{
if($todo->end < $todo->begin)