* Move user account setting of repo.

This commit is contained in:
caoyanyi
2024-04-22 16:32:17 +08:00
parent 99f41b20d4
commit 9fce264d84
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ div
$lang->repo->unlinkedTasks . "({$pager->recTotal})"
)
);
$config->repo->taskDtable->fieldList['assignedTo']['currentUser'] = $app->user->account;
$allTasks = initTableData($allTasks, $config->repo->taskDtable->fieldList);
$data = array_values($allTasks);
dtable
+1 -1
View File
@@ -213,7 +213,7 @@ $config->repo->taskDtable->fieldList['assignedTo']['type'] = 'user';
$config->repo->taskDtable->fieldList['assignedTo']['sortType'] = true;
$config->repo->taskDtable->fieldList['assignedTo']['show'] = true;
$config->repo->taskDtable->fieldList['assignedTo']['group'] = 3;
$config->repo->taskDtable->fieldList['assignedTo']['currentUser'] = $app->user->account;
$config->repo->taskDtable->fieldList['assignedTo']['currentUser'] = '';
$config->repo->taskDtable->fieldList['assignedTo']['title'] = $lang->task->assignedTo;
$config->repo->taskDtable->fieldList['assignedTo']['assignLink'] = array('module' => 'task', 'method' => 'assignTo', 'params' => 'executionID={execution}&taskID={id}');
+1
View File
@@ -44,6 +44,7 @@ div
$lang->repo->unlinkedTasks . "({$pager->recTotal})"
)
);
$config->repo->taskDtable->fieldList['assignedTo']['currentUser'] = $app->user->account;
$allTasks = initTableData($allTasks, $config->repo->taskDtable->fieldList);
$data = array_values($allTasks);
dtable