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