Browse Source

修复查看工艺bug

feature/three
LiLongLong 3 months ago
parent
commit
7419f48dde
  1. 5
      src/views/craft/index.vue

5
src/views/craft/index.vue

@ -40,16 +40,13 @@ const heatList = [{
name: '加热区_06', name: '加热区_06',
}] }]
const loading = ref(false)
const queryCrafList = () => { const queryCrafList = () => {
const params = { const params = {
oresId, oresId,
} }
loading.value = true
getCraftList(params).then((res) => { getCraftList(params).then((res) => {
tableData.value = res tableData.value = res
}).catch(() => { }).catch(() => {
loading.value = false
}) })
} }
@ -146,7 +143,7 @@ const returnOre = () => {
</script> </script>
<template> <template>
<div class="component-page" v-loading="loading">
<div class="component-page">
<section class="flex items-center h-20 gap-3 pl-3"> <section class="flex items-center h-20 gap-3 pl-3">
<FtButton type="primary" @click="onAddCraft"> <FtButton type="primary" @click="onAddCraft">
添加工艺 添加工艺

Loading…
Cancel
Save