From cbec4308b61d0147cd60abfcbbb90db24c4a8e7f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 08 Apr 2025 15:22:29 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/TaskManage/components/TaskAlgorithmBusiness.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/TaskManage/components/TaskAlgorithmBusiness.vue b/src/views/TaskManage/components/TaskAlgorithmBusiness.vue
index 5a773ac..8878c26 100644
--- a/src/views/TaskManage/components/TaskAlgorithmBusiness.vue
+++ b/src/views/TaskManage/components/TaskAlgorithmBusiness.vue
@@ -1,7 +1,7 @@
 <!-- 关联算法和综合业务 -->
 <template>
   <div class="task-algorithm" v-if="showAlgorithm">
-    <el-select v-model="ai_type" multiple collapse-tags collapse-tags-tooltip placeholder="请选择算法" clearable @change="handleAlgorithmChange">
+    <el-select v-model="ai_types" multiple collapse-tags collapse-tags-tooltip placeholder="请选择算法" clearable @change="handleAlgorithmChange">
       <el-option v-for="item in taskAlgorithm" :key="item.id" :label="item.dictValue" :value="item.dictKey" />
     </el-select>
   </div>
@@ -13,7 +13,8 @@
 </template>
 
 <script setup>
-import { getDictionary } from '@/api/home/common';
+
+import { getMultipleDictionary } from '@/api/system/dictbiz'
 
 // 接收父组件传参
 const props = defineProps({
@@ -28,7 +29,7 @@
 });
 
 // 算法
-let ai_type = ref('');
+let ai_types = ref('');
 let taskAlgorithm = ref([]);
 // 综合业务
 let industry_type = ref('');
@@ -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>
\ No newline at end of file
+</script>

--
Gitblit v1.9.3