Browse Source

微调 解决报错

feature/history-20250108
zhangjiming 7 months ago
parent
commit
9b0fcd1efc
  1. 2
      src/pages/Index/Index.vue
  2. 4
      src/pages/Index/components/Consumables/BallGrid.vue
  3. 4
      src/pages/Index/components/Consumables/ChangeNum.vue
  4. 4
      src/pages/Index/components/Consumables/InfoBar.vue
  5. 4
      src/pages/Index/components/Consumables/MainComponent.vue

2
src/pages/Index/Index.vue

@ -305,7 +305,7 @@ const openTest = () => {
showModal.value = true;
}
};
//
//
const getCheckData = async () => {
try {
const res = await getCheckList();

4
src/pages/Index/components/Consumables/BallGrid.vue

@ -17,6 +17,8 @@ import {
defineEmits,
} from 'vue'
//
// Props
const props = defineProps({
total: {
@ -207,4 +209,4 @@ onBeforeUnmount(() => {
.inner-circle {
transition: background-color 0.3s ease;
}
</style>移液盘复用组件
</style>

4
src/pages/Index/components/Consumables/ChangeNum.vue

@ -57,7 +57,7 @@ const query = ref({
// value query
watch(value, (newVal) => {
query.value = {
group: `CG`${ plateIndex.value } `,
group: `CG${ plateIndex.value + 1 }`,
num: Number(newVal)
}
})
@ -76,7 +76,7 @@ const openDialog = (plate, index) => {
// query
query.value = {
group: `CG`${index}`,
group: `CG${index+1}`,
num: Number(plate.num)
}
}

4
src/pages/Index/components/Consumables/InfoBar.vue

@ -16,11 +16,11 @@ import { toRefs } from 'vue'
const props = defineProps({
projectName: {
type: String,
required: true,
// required: true,
},
currentCount: {
type: Number,
required: true,
// required: true,
},
maxCount: {
type: Number,

4
src/pages/Index/components/Consumables/MainComponent.vue

@ -17,11 +17,11 @@ import InfoBar from './InfoBar.vue' // 引入项目信息组件
const props = defineProps({
projectName: {
type: String,
required: true,
// required: true,
},
currentCount: {
type: Number,
required: true,
// required: true,
},
maxCount: {
type: Number,

Loading…
Cancel
Save