|
|
@ -159,7 +159,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
<script setup name="newdevicemodel"> |
|
|
|
<script setup name="editdevicemodel"> |
|
|
|
import { listDevicemodel,addDevicemodel, updateDevicemodel } from "@/api/model/devicemodel"; |
|
|
|
import { listParamclass } from "@/api/model/paramclass"; |
|
|
|
import { listModelType} from "@/api/model/modelType"; |
|
|
@ -186,9 +186,9 @@ const updateModelSubmit = ref([]); |
|
|
|
const operateModelIds = ref([]); |
|
|
|
const updateModelIds = ref([]); |
|
|
|
const deleteModelIds = ref([]); |
|
|
|
console.log(router); |
|
|
|
console.log(deleteModelIds); |
|
|
|
console.log(proxy); |
|
|
|
const tempPid = router.currentRoute._value.query.pid; |
|
|
|
const modelId = router.currentRoute._value.query.pid; |
|
|
|
const data = reactive({ |
|
|
|
form: { |
|
|
|
sort:1, |
|
|
@ -353,8 +353,8 @@ function submitForm() { |
|
|
|
}); |
|
|
|
} |
|
|
|
onMounted(() => { |
|
|
|
debugger |
|
|
|
console.log("-------------"+tempPid); |
|
|
|
|
|
|
|
console.log("-------------"+modelId); |
|
|
|
// 在组件首次加载完成后执行的逻辑 |
|
|
|
// 可以在这里给组件复制 |
|
|
|
// form.value.pid=tempPid; |
|
|
|