diff --git a/src/typings/global.d.ts b/src/typings/global.d.ts
index 9c53ec1..a0fb126 100644
--- a/src/typings/global.d.ts
+++ b/src/typings/global.d.ts
@@ -94,7 +94,7 @@ declare global {
}
interface SelectForm extends PageQuery {
selectName?: string;
- selectValue?: string;
+ selectValue?: any;
}
}
export {};
diff --git a/src/views/resources/customer/components/AddCustom.vue b/src/views/resources/customer/components/AddCustom.vue
index d13bcc9..144a237 100644
--- a/src/views/resources/customer/components/AddCustom.vue
+++ b/src/views/resources/customer/components/AddCustom.vue
@@ -346,8 +346,15 @@
:data="tableData1"
v-loading="tableLoading"
highlight-current-row
- @current-change="handleDevChange"
+ @row-click="handleDevChange"
>
+
+
+
+ {{ "" }}
+
+
+
({});
const active = ref(1);
diff --git a/src/views/resources/equipment/components/AddEquipment.vue b/src/views/resources/equipment/components/AddEquipment.vue
index c769237..429205c 100644
--- a/src/views/resources/equipment/components/AddEquipment.vue
+++ b/src/views/resources/equipment/components/AddEquipment.vue
@@ -63,8 +63,18 @@
v-loading="loading"
highlight-current-row
max-height="450"
- @current-change="handleCurrentChange"
+ @row-click="handleCurrentChange"
>
+
+
+
+ {{ "" }}
+
+
+
+
+
+
+ {{ "" }}
+
+
+
({});
const searchForm = ref({
devTypeName: "",
devHardVer: "",
@@ -454,7 +472,6 @@ const loadHardVerOption = async () => {
});
};
const handleCurrentChange = (val: Tr069DevTypeVO) => {
- multiple.value = val;
addForm.value.devTypeId = val.devTypeId;
};
const loadTr069DevTypePage = () => {
@@ -483,7 +500,7 @@ async function loadDomainOptions() {
}
const next1 = () => {
- if (multiple.value.devTypeId === undefined) {
+ if (addForm.value.devTypeId === undefined) {
ElMessage({
message: "请选择一个设备类型",
type: "error",
@@ -583,7 +600,7 @@ const queryCustomer = () => {
loading.value = false;
});
};
-const currentCustomerId = ref(0);
+const currentCustomerId = ref(0);
const handleCustomerChange = (val: CustomerVO) => {
currentCustomerId.value = val.customId;
};
diff --git a/src/views/resources/equipment/components/BindingCustom.vue b/src/views/resources/equipment/components/BindingCustom.vue
index 56edf6d..013bef0 100644
--- a/src/views/resources/equipment/components/BindingCustom.vue
+++ b/src/views/resources/equipment/components/BindingCustom.vue
@@ -51,8 +51,15 @@
v-loading="loading"
max-height="350"
highlight-current-row
- @current-change="handleCustomerChange"
+ @row-click="handleCustomerChange"
>
+
+
+
+ {{ "" }}
+
+
+