Skip to content

Latest commit

 

History

History
87 lines (87 loc) · 2.89 KB

四象限模板.md

File metadata and controls

87 lines (87 loc) · 2.89 KB

#.v-eisenhower-matrix

:PROPERTIES: :template: 四象限 :END:

[[重要且紧急]] ^^(避免太多进入该象限)^^

#+BEGIN_QUERY {:query [:find (pull ?b [*]) :in $ ?end :where [?b :block/marker ?marker] [?b :block/priority "A"] ;; 优先级在A的才认为是重要 [?b :block/properties ?p] [(get ?p "type") ?t] [(contains? #{"任务" "行动" "项目"} ?t)] ;; 属性中type字段包含这三种 [(not= "DONE" ?marker)] ;; 不包含已完成任务 (or [?b :block/scheduled ?d] [?b :block/deadline ?d]) [(<= ?d ?end)] ] :inputs [:5d-after] ;; 时间跨度,5天内的算作紧急 } #+END_QUERY

[[重要不紧急]] ^^(优先完成此象限)^^

#+BEGIN_QUERY { :query [:find (pull ?b [*]) :in $ ?end :where [?b :block/marker ?marker] [?b :block/priority "A"] ;; 优先级在A的才认为是重要 [?b :block/properties ?p] [(get ?p "type") ?t] [(contains? #{"任务" "行动" "项目"} ?t)] ;; 属性中type字段包含这三种 [(not= "DONE" ?marker)] ;; 不包含已完成任务 (or [?b :block/scheduled ?d] [?b :block/deadline ?d]) [(> ?d ?end)] ;; DDL在5天以上 ] :inputs [:5d-after] ;; 时间跨度,5天内的算作紧急 } #+END_QUERY

[[紧急不重要]] ^^(尽量委派给其他人)^^

#+BEGIN_QUERY { :query [:find (pull ?b [*]) :in $ ?end :where [?b :block/marker ?marker] [?b :block/properties ?p] [?b :block/priority ?priority] [(get ?p "type") ?t] [(contains? #{"任务" "行动" "项目"} ?t)] ;; 属性中type字段包含这三种 [(!= "DONE" ?marker)] ;; 不包含已完成任务 [(!= "A" ?priority)] ;; 优先级在A的才认为是重要 (or [?b :block/scheduled ?d] [?b :block/deadline ?d]) [(<= ?d ?end)] ] :inputs [:5d-after] ;; 时间跨度,5天内的算作紧急 } #+END_QUERY

[[不紧急不重要]] ^^(不要进入此象限)^^

#+BEGIN_QUERY { :query [:find (pull ?b [*]) :in $ ?end :where [?b :block/marker ?marker] [?b :block/properties ?p] [?b :block/priority ?priority] [(get ?p "type") ?t] [(contains? #{"任务" "行动" "项目"} ?t)] ;; 属性中type字段包含这三种 [(!= "DONE" ?marker)] ;; 不包含已完成任务 [(!= "A" ?priority)] (or [?b :block/scheduled ?d] [?b :block/deadline ?d]) [(> ?d ?end)] ] :inputs [:5d-after] ;; 时间跨度,5天内的算作紧急 } #+END_QUERY