no message
This commit is contained in:
parent
e7af623a75
commit
c47fc79f6b
@ -304,7 +304,8 @@ class SakaiController
|
|||||||
$s = "optionSet todo_show_type 1";
|
$s = "optionSet todo_show_type 1";
|
||||||
$s = "openRe";
|
$s = "openRe";
|
||||||
// $s = "back";
|
// $s = "back";
|
||||||
$s = "todoShowType 3";
|
$s = "todoShowType AB";
|
||||||
|
// $s = "type todo";
|
||||||
|
|
||||||
// movetoId和like列表
|
// movetoId和like列表
|
||||||
|
|
||||||
|
|||||||
@ -95,9 +95,17 @@ class Book extends Model
|
|||||||
|
|
||||||
if ($iPage !== "all") {
|
if ($iPage !== "all") {
|
||||||
|
|
||||||
if (isset($aRagOption["todo_show_type"]) && $aRagOption["todo_show_type"] == 1) {
|
if (isset($aRagOption["todo_show_type"])) {
|
||||||
$oSelf = $oSelf->where("rank", "!=", "done");
|
|
||||||
$oSelf = $oSelf->where("rank", "!=", "block");
|
if ($aRagOption["todo_show_type"] == "A") {
|
||||||
|
$oSelf = $oSelf->where("rank", "!=", "done");
|
||||||
|
$oSelf = $oSelf->where("rank", "!=", "block");
|
||||||
|
} else if ($aRagOption["todo_show_type"] == "B") {
|
||||||
|
$oSelf = $oSelf->whereIn("rank", ["done", "block"]);
|
||||||
|
} else if ($aRagOption["todo_show_type"] == "AB") {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -277,7 +277,7 @@ class Book extends Base {
|
|||||||
if ($sType == "todo") {
|
if ($sType == "todo") {
|
||||||
$oParentRag->order = "rank_todo";
|
$oParentRag->order = "rank_todo";
|
||||||
$oParentRag->option = json_encode([
|
$oParentRag->option = json_encode([
|
||||||
"todo_show_type" => 1
|
"todo_show_type" => "A"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user