diff --git a/src/views/biz/nuBaseInfo/iotDevices/IotDevices.data.ts b/src/views/biz/nuBaseInfo/iotDevices/IotDevices.data.ts
index d5ae58c..828bd1a 100644
--- a/src/views/biz/nuBaseInfo/iotDevices/IotDevices.data.ts
+++ b/src/views/biz/nuBaseInfo/iotDevices/IotDevices.data.ts
@@ -60,16 +60,21 @@ export const columnsTy: BasicColumn[] = [
align: "center",
dataIndex: 'sn'
},
- // {
- // title: '设备型号',
- // align: "center",
- // dataIndex: 'deviceModel'
- // },
{
- title: '设备维度',
+ title: '设备名称',
align: "center",
- dataIndex: 'dimension'
+ dataIndex: 'deviceName'
},
+ {
+ title: '设备型号',
+ align: "center",
+ dataIndex: 'deviceModel'
+ },
+ // {
+ // title: '设备维度',
+ // align: "center",
+ // dataIndex: 'dimension'
+ // },
{
title: '设备类型',
align: "center",
diff --git a/src/views/biz/nuBaseInfo/iotDevices/IotDevicesTyList.vue b/src/views/biz/nuBaseInfo/iotDevices/IotDevicesTyList.vue
index 90c3109..7776cff 100644
--- a/src/views/biz/nuBaseInfo/iotDevices/IotDevicesTyList.vue
+++ b/src/views/biz/nuBaseInfo/iotDevices/IotDevicesTyList.vue
@@ -58,11 +58,11 @@
提示:您停用区域【{{queryParam.nuName}}】,将释放所有设备,请慎重操作!
- 提示:请联系平台运维组技术人员绑定物联设备!
+ 提示:请【物联设备】功能中绑定设备!
-
+
@@ -127,14 +127,14 @@ const emit = defineEmits(['register', 'ok']);
xs: 24,
sm: 16,
});
-
+
/**
* 成功回调
*/
function handleSuccess() {
(selectedRowKeys.value = []) && reload();
}
-
+
/**
* 摄像头预览
*/
@@ -156,7 +156,7 @@ function handlePreview(record: Recordable) {
},
];
}
-
+
/**
* 查询
@@ -164,7 +164,7 @@ function handlePreview(record: Recordable) {
function searchQuery() {
reload();
}
-
+
function init(record) {
console.log("🚀 ~ init ~ record:", record)
nuInfo.value = record;
diff --git a/src/views/iot/manager/components/DeviceBrokenForm.vue b/src/views/iot/manager/components/DeviceBrokenForm.vue
index 18eb016..1d92425 100644
--- a/src/views/iot/manager/components/DeviceBrokenForm.vue
+++ b/src/views/iot/manager/components/DeviceBrokenForm.vue
@@ -40,6 +40,7 @@ const formData = reactive>({
nuId: undefined,
nuName: undefined,
dimension: undefined,
+ deviceName: undefined,
deviceType: undefined,
deviceModel: undefined,
factory: undefined,
diff --git a/src/views/iot/manager/components/DeviceGhForm.vue b/src/views/iot/manager/components/DeviceGhForm.vue
index e609bbf..840e22b 100644
--- a/src/views/iot/manager/components/DeviceGhForm.vue
+++ b/src/views/iot/manager/components/DeviceGhForm.vue
@@ -53,6 +53,7 @@ const formData = reactive>({
nuId: undefined,
nuName: undefined,
dimension: undefined,
+ deviceName: undefined,
deviceType: undefined,
deviceModel: undefined,
factory: undefined,
diff --git a/src/views/iot/manager/components/log/DeviceLogList.vue b/src/views/iot/manager/components/log/DeviceLogList.vue
index 5c2dca0..06f78e0 100644
--- a/src/views/iot/manager/components/log/DeviceLogList.vue
+++ b/src/views/iot/manager/components/log/DeviceLogList.vue
@@ -1,5 +1,42 @@
+
@@ -20,6 +57,8 @@ import {onMounted, reactive, ref} from 'vue';
import { bingLogList } from '../../manager.api';
import { logColumns} from '../../manager.data';
import { useDrawer } from "@/components/Drawer";
+ import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
+ const formRef = ref();
const [registerDrawer, { openDrawer }] = useDrawer();
const queryParam = reactive({});
const selectedRows = ref([]);
@@ -48,6 +87,32 @@ import {onMounted, reactive, ref} from 'vue';
},
})
const [registerTable, {reload},{ rowSelection, selectedRowKeys }] = tableContext
+ const labelCol = reactive({
+ xs:24,
+ sm:8,
+ xl:8,
+ xxl:8
+ });
+ const wrapperCol = reactive({
+ xs: 24,
+ sm: 20,
+ });
+
+ /**
+ * 查询
+ */
+ function searchQuery() {
+ reload();
+ }
+
+ /**
+ * 重置
+ */
+ function searchReset() {
+ formRef.value.resetFields();
+ //刷新数据
+ reload();
+ }
/**
* 成功回调
@@ -76,11 +141,27 @@ defineExpose({
diff --git a/src/views/iot/manager/components/preview/DevicePreviewForm.vue b/src/views/iot/manager/components/preview/DevicePreviewForm.vue
index 67a2a57..858760e 100644
--- a/src/views/iot/manager/components/preview/DevicePreviewForm.vue
+++ b/src/views/iot/manager/components/preview/DevicePreviewForm.vue
@@ -17,6 +17,13 @@
+
+
+
+ 提示:请正确填写设备标识,如标识填写错误,将无法正常集成设备!
+
+
+
diff --git a/src/views/iot/manager/manager.data.ts b/src/views/iot/manager/manager.data.ts
index 8760c8f..2ebd66a 100644
--- a/src/views/iot/manager/manager.data.ts
+++ b/src/views/iot/manager/manager.data.ts
@@ -148,6 +148,12 @@ export const logColumns: BasicColumn[] = [
dataIndex: 'dimension',
width: 100
},
+ {
+ title: '设备名称',
+ align: "center",
+ dataIndex: 'deviceName',
+ width: 100
+ },
{
title: '设备类型',
align: "center",