qsh 2 weeks ago
parent 2add57162e
commit 7e54b14103
  1. 18
      src/views/OKR/Management/Components/DialogOkrInfo.vue
  2. 1
      src/views/OKR/Meeting/MeetingInfo.vue

@ -462,9 +462,9 @@ const emit = defineEmits(['success', 'close']) // 定义 success 事件,用于
function addObjective() {
objectList.value.push({
objectiveName: '',
executor: [],
executor: form.value.executor || [],
keyResults: [],
dataScope: 2
dataScope: form.value.dataScope || 2
})
}
@ -543,8 +543,8 @@ async function handleSave() {
.confirm('是否按照当前节点所选的多个执行人自动新增对应的员工节点?', {
type: 'warning',
showCancelButton: true,
cancelButtonText: '取消',
confirmButtonText: '确定'
cancelButtonText: '不新增员工节点',
confirmButtonText: '新增员工节点'
})
.then(() => {
saveOkrData(true)
@ -577,21 +577,31 @@ async function saveOkrData(isAutoAddChild = false) {
2,
'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: []
}
]

@ -126,6 +126,7 @@
<div v-if="!!isDetail" class="w-full">{{ form.meetingSummary }}</div>
<el-input
v-else
v-model="form.meetingSummary"
type="textarea"
placeholder="请输入会议纪要"
:maxlength="-1"

Loading…
Cancel
Save