|
|
|
@ -63,8 +63,18 @@ |
|
|
|
|
v-loading="loading" |
|
|
|
|
highlight-current-row |
|
|
|
|
max-height="450" |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
@row-click="handleCurrentChange" |
|
|
|
|
> |
|
|
|
|
<el-table-column width="55"> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-radio |
|
|
|
|
:label="scope.row.devTypeId" |
|
|
|
|
v-model="addForm.devTypeId" |
|
|
|
|
> |
|
|
|
|
{{ "" }} |
|
|
|
|
</el-radio> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="设备类型" prop="devType" align="center"> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-button |
|
|
|
@ -338,8 +348,18 @@ |
|
|
|
|
max-height="300" |
|
|
|
|
v-loading="loading" |
|
|
|
|
highlight-current-row |
|
|
|
|
@current-change="handleCustomerChange" |
|
|
|
|
@row-click="handleCustomerChange" |
|
|
|
|
> |
|
|
|
|
<el-table-column width="55"> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-radio |
|
|
|
|
:label="scope.row.customId" |
|
|
|
|
v-model="currentCustomerId" |
|
|
|
|
> |
|
|
|
|
{{ "" }} |
|
|
|
|
</el-radio> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="customType" |
|
|
|
|
label="客户类型" |
|
|
|
@ -397,9 +417,7 @@ import { |
|
|
|
|
} from "@/api/resources-equipment"; |
|
|
|
|
import { customerPage } from "@/api/customer"; |
|
|
|
|
import { CustomerVO } from "@/api/customer/types"; |
|
|
|
|
import { add } from "lodash-es"; |
|
|
|
|
|
|
|
|
|
const multiple = ref<Tr069DevTypeVO>({}); |
|
|
|
|
const searchForm = ref<Tr069DevTypeQuery>({ |
|
|
|
|
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", |
|
|
|
|