* Fix batchCreate page not work.

This commit is contained in:
songchenxuan
2023-10-19 15:48:30 +08:00
parent 8104f420e5
commit 05a7cb6938
2 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -11,6 +11,8 @@ declare(strict_types=1);
namespace zin;
jsVar('batchCreateCount', $config->user->batchCreate);
jsVar('passwordStrengthList', $lang->user->passwordStrengthList);
h::jsCall('$.getLib', 'md5.js', array('root' => $this->app->getWebRoot() . 'js/'));
$visibleFields = array();
foreach(explode(',', $showFields) as $field)
@@ -111,7 +113,8 @@ formBatchPanel
(
set::name('visions'),
set::label($lang->user->visions),
set::control(array('type' => 'select', 'items' => $visionList, 'multiple' => true)),
set::items($visionList),
set::control(array('type' => 'picker', 'multiple' => true)),
set::width('200px'),
set::value(isset($visionList[$this->config->vision]) ? $this->config->vision : key($visionList)),
set::ditto(true),
@@ -130,7 +133,8 @@ formBatchPanel
(
set::name('group'),
set::label($lang->user->group),
set::control(array('type' => 'select', 'items' => $groupList, 'multiple' => true)),
set::control(array("type" => "picker","multiple" => true)),
set::items($groupList),
set::width('200px'),
set::value(''),
set::ditto(true),