forked from drone/command-center-dashboard

shuishen
2025-04-08 30d31694407fd089a3df140e141c9520e7fe811c
src/views/TaskManage/components/TaskAlgorithmBusiness.vue
@@ -13,7 +13,8 @@
</template>
<script setup>
import { getDictionary } from '@/api/home/common';
import { getMultipleDictionary } from '@/api/system/dictbiz'
// 接收父组件传参
const props = defineProps({
@@ -36,7 +37,7 @@
// 请求字典字段
const requestDictionary = () => {
  getDictionary('SF,HYLB').then((res) => {
  getMultipleDictionary('SF,HYLB').then((res) => {
    if (res.code !== 0) {
      // 处理数据
      taskAlgorithm.value = res.data.data['SF'];
@@ -57,4 +58,4 @@
onMounted(() => {
  requestDictionary();
});
</script>
</script>