nanjingliujinyu 4 ay önce
ebeveyn
işleme
fbf5d1dd58

+ 6 - 6
ruoyi-ui/src/views/register/modelData/dataJi.vue

@@ -848,13 +848,13 @@ const upload = reactive({
 const tableDataCan = ref([])
 const optionsShuLei = ref([
   {label:"SQL数据集",
-    value:'SQL数据集'
+    value:'SQL'
   },
   {label:"API数据集",
-    value:'API数据集'
+    value:'API'
   },
   {label:"文件数据集",
-    value:'文件数据集'
+    value:'FILE'
   },
 ])
 const valueNode = ref('')
@@ -1446,7 +1446,7 @@ async function showPei(row){
       }
     }
   })
-  if(row.dcType==='SQL数据集'){
+  if(row.dcType==='SQL'){
     dialogVisibleTree.value = true
     getDataJiSql(row.dcCode).then(res=>{
       if(res.code===200){
@@ -1455,7 +1455,7 @@ async function showPei(row){
       }
     })
   }
-  if(row.dcType==='API数据集'){
+  if(row.dcType==='API'){
     dialogVisibleApi.value = true
     getDataJiApi(row.dcCode).then(res=>{
       if(res.code===200){
@@ -1463,7 +1463,7 @@ async function showPei(row){
       }
     })
   }
-  if(row.dcType==='文件数据集'){
+  if(row.dcType==='FILE'){
     dialogVisibleFile.value = true
    getDataJiFile(row.dcCode).then(res=>{
       if(res.code===200){