feat(mes): 增加 componnents 评审的建议

pull/351/MERGE
YunaiV 2026-05-30 18:10:14 +08:00
parent 51e633f6c9
commit b3154ef87a
10 changed files with 7 additions and 4 deletions

View File

@ -48,12 +48,14 @@ async function getList() {
function handleChange(value: SelectValue) {
const planId = typeof value === 'number' ? value : undefined;
emit('update:modelValue', planId);
// TODO @AI
emit(
'change',
list.value.find((item) => item.id === planId),
);
}
// TODO @AI2
watch(() => [props.status, props.type], getList);
onMounted(getList);
</script>

View File

@ -39,6 +39,7 @@ function handleChange(value: SelectValue) {
);
}
// TODO @AI /** */ style.vue
onMounted(getList);
</script>

View File

@ -28,6 +28,7 @@ const latestQueryRows = ref<MesMdClientApi.Client[]>([]); // 最近一次查询
const queryFinished = ref(false); //
// TODO @
// TODO @AI
const MAX_TABLE_READY_FRAMES = 60;
/** 等待下一帧 */

View File

@ -38,6 +38,7 @@ const selectedItem = ref<MesMdClientApi.Client>(); // 当前选中客户
const displayLabel = computed(() => selectedItem.value?.name ?? ''); //
const showClear = computed(
// TODO @AI // computed(
//
() =>
props.allowClear &&

View File

@ -1 +0,0 @@
export { default as WorkRecordStatusBar } from './status-bar.vue';

View File

@ -12,8 +12,8 @@ import {
} from '#/api/mes/pro/workrecord';
import { $t } from '#/locales';
import { WorkRecordStatusBar } from './components';
import { useGridColumns, useGridFormSchema } from './data';
import WorkRecordStatusBar from './modules/status-bar.vue';
/** 刷新表格 */
function handleRefresh() {

View File

@ -1 +0,0 @@
export { default as WorkRecordStatusBar } from './status-bar.vue';

View File

@ -12,8 +12,8 @@ import {
} from '#/api/mes/pro/workrecord';
import { $t } from '#/locales';
import { WorkRecordStatusBar } from './components';
import { useGridColumns, useGridFormSchema } from './data';
import WorkRecordStatusBar from './modules/status-bar.vue';
/** 刷新表格 */
function handleRefresh() {