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
parent
501db918f3
commit
e920999bff
|
|
@ -1,7 +1,6 @@
|
|||
import request from '@/config/axios'
|
||||
|
||||
// MES 计划班组关联 VO
|
||||
// TODO @AI:挪到 plan/team 目录下
|
||||
export interface CalPlanTeamVO {
|
||||
id: number
|
||||
planId: number // 排班计划编号
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<!-- TODO @AI:晚点 review 下 -->
|
||||
<template>
|
||||
<div>
|
||||
<el-button type="primary" plain size="small" @click="openForm('create')" class="mb-10px">
|
||||
|
|
|
|||
Loading…
Reference in New Issue