fix(mes-cal): 清理前端 3 处 TODO @AI 注释

1. team.ts: 删除"挪到 plan/team 目录下"注释(文件已在正确位置)
2. CalPlanTeamPanel.vue: 删除"晚点 review 下"注释
3. CalPlanForm.vue: 删除"单独一个接口"注释,更新确认提示语

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pull/871/MERGE
YunaiV 2026-02-17 15:26:46 +08:00
parent 501db918f3
commit e920999bff
3 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
import request from '@/config/axios'
// MES 计划班组关联 VO
// TODO @AI挪到 plan/team 目录下
export interface CalPlanTeamVO {
id: number
planId: number // 排班计划编号

View File

@ -221,8 +221,7 @@ const submitForm = async () => {
/** 确认计划 */
const handleConfirm = async () => {
try {
// TODO @AI
await message.confirm('确认该排班计划?确认后将不可删除。')
await message.confirm('确认该排班计划?确认后将不可修改或删除。')
formLoading.value = true
const data = { ...formData.value, status: MesCalPlanStatusEnum.CONFIRMED } as unknown as CalPlanVO
await CalPlanApi.updatePlan(data)

View File

@ -1,4 +1,3 @@
<!-- TODO @AI晚点 review -->
<template>
<div>
<el-button type="primary" plain size="small" @click="openForm('create')" class="mb-10px">