|
|
@ -375,7 +375,7 @@ |
|
|
|
</style> |
|
|
|
<script setup name="Params"> |
|
|
|
import { listParams, getParams, delParams, addParams, updateParams,listWithFilterColumn } from "@/api/model/params"; |
|
|
|
import { listParamclass } from "@/api/model/paramclass"; |
|
|
|
import { listParamclassNoPage } from "@/api/model/paramclass"; |
|
|
|
import lock from "@/assets/icons/svg/lock.svg"; |
|
|
|
const { proxy } = getCurrentInstance(); |
|
|
|
const router = useRouter(); |
|
|
@ -658,12 +658,15 @@ function handleExport() { |
|
|
|
} |
|
|
|
|
|
|
|
function getParamModel() { |
|
|
|
listParamclass({}).then(response => { |
|
|
|
paramClassList.value = response.rows; |
|
|
|
listParamclassNoPage({}).then(response => { |
|
|
|
paramClassList.value = response.data; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
function getParamModelName(id){ |
|
|
|
if(paramClassList.value.length == 0){ |
|
|
|
return; |
|
|
|
} |
|
|
|
paramClassList.value.forEach(item=>{ |
|
|
|
if(item.id == id){ |
|
|
|
return item.getParamModelName; |
|
|
|