
@@ -542,6 +543,57 @@ watch(secondLevelItems, (newVal) => {
watch(activeTab, () => {
selectFirstNode();
});
+
+// 新增参数输入区数据
+const paramOther = ref("");
+const paramAxle = ref("");
+const paramWheel = ref("");
+const paramBrake = ref("");
+const paramGearbox = ref("");
+
+function selectCarType(val) {
+ selectedCarTypeProxy.value = val;
+}
+
+const showQueryResult = ref(false);
+const queryResultList = ref([]);
+
+function setDefaultQueryResult() {
+ queryResultList.value = [
+ {
+ code: "D310000000030",
+ label: "动力轮对轴箱组装(带联轴节)",
+ image: "/images/cars/1_1_1.jpg",
+ selected: false,
+ },
+ {
+ code: "D310000000031",
+ label: "动力轮对轴箱组装(带联轴节)",
+ image: "/images/cars/1_1_2.jpg",
+ selected: false,
+ },
+ {
+ code: "D310000000032",
+ label: "动力轮对轴箱组装(带联轴节)",
+ image: "/images/cars/2.jpg",
+ selected: false,
+ },
+ ];
+}
+
+onMounted(() => {
+ setDefaultQueryResult();
+});
+
+function onQuery() {
+ // 示例数据,实际应根据参数查询
+ setDefaultQueryResult();
+ showQueryResult.value = true;
+}
+
+function onCompare() {
+ // 参数对比逻辑
+}
\ No newline at end of file