|
@@ -38,7 +38,9 @@ import {
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { useDictionaryStore } from '@/stores'
|
|
|
import axios from 'axios'
|
|
|
+import { useRoute } from 'vue-router'
|
|
|
|
|
|
+const route = useRoute()
|
|
|
const DictionaryStore = useDictionaryStore()
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
const emit = defineEmits(['update:show', 'refresh'])
|
|
@@ -72,7 +74,7 @@ const onSubmit = () => {
|
|
|
`${state.apiProxy}/api/blade-dcms/hazardouschemicalscatalog/parseBusinessScopeStr`,
|
|
|
{
|
|
|
businessScope: state.text,
|
|
|
- apiname: import.meta.env.VITE_API_NAME,
|
|
|
+ apiname: route.query.apiname,
|
|
|
},
|
|
|
{},
|
|
|
)
|