Add a new option of 'thisMonthBegin into the options of the month select for the dependent task. (#9004)
parent
7d94adabc8
commit
d89c7ac8bb
|
|
@ -847,6 +847,7 @@ const project = {
|
|||
last_saturday: 'LastSaturday',
|
||||
last_sunday: 'LastSunday',
|
||||
this_month: 'ThisMonth',
|
||||
this_month_begin: 'ThisMonthBegin',
|
||||
last_month: 'LastMonth',
|
||||
last_month_begin: 'LastMonthBegin',
|
||||
last_month_end: 'LastMonthEnd',
|
||||
|
|
|
|||
|
|
@ -837,6 +837,7 @@ const project = {
|
|||
last_saturday: '上周六',
|
||||
last_sunday: '上周日',
|
||||
this_month: '本月',
|
||||
this_month_begin: '本月初',
|
||||
last_month: '上月',
|
||||
last_month_begin: '上月初',
|
||||
last_month_end: '上月末',
|
||||
|
|
|
|||
|
|
@ -141,6 +141,10 @@ export function useDependent(model: { [field: string]: any }): IJsonItem[] {
|
|||
value: 'thisMonth',
|
||||
label: t('project.node.this_month')
|
||||
},
|
||||
{
|
||||
value: 'thisMonthBegin',
|
||||
label: t('project.node.this_month_begin')
|
||||
},
|
||||
{
|
||||
value: 'lastMonth',
|
||||
label: t('project.node.last_month')
|
||||
|
|
|
|||
Loading…
Reference in New Issue