qsh 2 weeks ago
parent 03467e1d6e
commit f0020d5c82
  1. 4
      .env.base
  2. 18
      src/views/OKR/Management/Components/DialogOkrInfo.vue
  3. 1
      src/views/OKR/Meeting/MeetingInfo.vue

@ -6,9 +6,9 @@ VITE_DEV=true
# 请求路径 # 请求路径
# VITE_BASE_URL='http://localhost:48080' # VITE_BASE_URL='http://localhost:48080'
# VITE_BASE_URL='http://47.98.161.246:48080' VITE_BASE_URL='http://47.98.161.246:48080'
# VITE_BASE_URL='http://114.55.169.15:48080' # VITE_BASE_URL='http://114.55.169.15:48080'
VITE_BASE_URL='http://114.215.207.150:48080' # VITE_BASE_URL='http://114.215.207.150:48080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload' VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload'

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

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

Loading…
Cancel
Save