qsh 2 weeks ago
parent f0020d5c82
commit c4c4e49b39
  1. 54
      src/views/OKR/Management/Components/DialogOkrInfo.vue

@ -578,33 +578,33 @@ async function saveOkrData(isAutoAddChild = false) {
'0'
)}-${getLastDayOfMonth(defaultTime.getFullYear(), month)}`,
dataScope: form.value.dataScope,
executor: form.value.executor,
children: [
{
nodeName: `${month + 1}月第1周`,
dataScope: form.value.dataScope,
executor: form.value.executor,
children: []
},
{
nodeName: `${month + 1}月第2周`,
dataScope: form.value.dataScope,
executor: form.value.executor,
children: []
},
{
nodeName: `${month + 1}月第3周`,
dataScope: form.value.dataScope,
executor: form.value.executor,
children: []
},
{
nodeName: `${month + 1}月第4周`,
dataScope: form.value.dataScope,
executor: form.value.executor,
children: []
}
]
executor: form.value.executor
// children: [
// {
// nodeName: `${month + 1}1`,
// dataScope: form.value.dataScope,
// executor: form.value.executor,
// children: []
// },
// {
// nodeName: `${month + 1}2`,
// dataScope: form.value.dataScope,
// executor: form.value.executor,
// children: []
// },
// {
// nodeName: `${month + 1}3`,
// dataScope: form.value.dataScope,
// executor: form.value.executor,
// children: []
// },
// {
// nodeName: `${month + 1}4`,
// dataScope: form.value.dataScope,
// executor: form.value.executor,
// children: []
// }
// ]
})
}
}

Loading…
Cancel
Save