diff --git a/src/api/storeManage/deviceManage/device.js b/src/api/storeManage/deviceManage/device.js
index 27f17d3..9d4a718 100644
--- a/src/api/storeManage/deviceManage/device.js
+++ b/src/api/storeManage/deviceManage/device.js
@@ -76,6 +76,8 @@ function getUrl(data, optTYpe) {
url = 'api/insidedevices/'
} else if (data.deviceTypeId.name === '通道门' || data.deviceTypeId.name === '手持式RFID读写器') {
url = 'api/outsidedevices/'
+ } else if (data.deviceTypeId.name === '条码打印机') {
+ url = 'api/device/'
}
if (optTYpe === 'add') {
url += 'create'
diff --git a/src/views/archivesManage/caseManage/caseList/index.vue b/src/views/archivesManage/caseManage/caseList/index.vue
index 723c793..a186b7f 100644
--- a/src/views/archivesManage/caseManage/caseList/index.vue
+++ b/src/views/archivesManage/caseManage/caseList/index.vue
@@ -245,6 +245,10 @@ export default {
{
label: '条形码',
value: 'barcode'
+ },
+ {
+ label: '地址码',
+ value: 'folderLocation'
}
]
}
diff --git a/src/views/archivesManage/lendManage/components/lendArchivesList.vue b/src/views/archivesManage/lendManage/components/lendArchivesList.vue
index 172de44..f139fc7 100644
--- a/src/views/archivesManage/lendManage/components/lendArchivesList.vue
+++ b/src/views/archivesManage/lendManage/components/lendArchivesList.vue
@@ -67,6 +67,23 @@
+
+
+
+
+
+
+
+
+
+
@@ -74,8 +91,11 @@
import { FetchInitArchivesByOrderNo, FetchBorrowException } from '@/api/archivesManage/lendManage'
import { lendingCrud } from '../mixins/lending'
import CallExternal from '@/api/storeManage/deviceManage/device'
+import Video from './video'
+import displayConfigApi from '@/api/storeManage/displayConfig'
export default {
name: 'LendArchivesList',
+ components: { Video },
mixins: [lendingCrud],
props: {
archivesOrderNum: {
@@ -91,7 +111,11 @@ export default {
tableData: [],
tableLoading: false,
exceptionVisible: false,
- deviceData: null
+ deviceData: null,
+ videoTipVisible: false,
+ camConfigData: [],
+ cameraData: [],
+ open: false
}
},
watch: {
@@ -102,6 +126,11 @@ export default {
}
},
created() {
+ displayConfigApi.list({ storeroomId: 'D6490DA3D4261E8C26D0E3' }).then((data) => {
+ if (data) {
+ this.camConfigData = data
+ }
+ })
},
mounted() {
this.getArchivesTable()
@@ -150,6 +179,7 @@ export default {
},
handleClose(done) {
this.exceptionVisible = false
+ this.videoTipVisible = false
done()
},
// 获取密集架相关信息
@@ -168,6 +198,7 @@ export default {
},
// 开架
openCol(data) {
+ this.videoTipVisible = true
const loactionArray = data.split(' ')
const location = data.split(' ')[loactionArray.length - 1]
const pattern = /(\d+)区(\d+)列(\d+)节(\d+)层/
@@ -207,6 +238,16 @@ export default {
console.log(error)
this.$message.error('连接失败')
})
+ },
+ handleLookVideo() {
+ this.videoTipVisible = false
+ this.cameraData = this.camConfigData.filter((item) => { return item.divPosition.includes('CAM') })
+ this.open = true
+ this.$nextTick(() => {
+ this.$refs.camera.camConfig = this.cameraData[0]
+ this.$refs.camera.videoIndex = 0
+ this.$refs.camera.play()
+ })
}
}
}
diff --git a/src/views/archivesManage/lendManage/components/video.vue b/src/views/archivesManage/lendManage/components/video.vue
new file mode 100644
index 0000000..1d5de73
--- /dev/null
+++ b/src/views/archivesManage/lendManage/components/video.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
档案室
+ {{ item.deviceInfo.deviceName }}
+
+
+
+
+
+
+
+
diff --git a/src/views/components/WarehouseWarning.vue b/src/views/components/WarehouseWarning.vue
index 1dfed26..6f03edb 100644
--- a/src/views/components/WarehouseWarning.vue
+++ b/src/views/components/WarehouseWarning.vue
@@ -4,7 +4,7 @@
- 报警记录
+ 环控实时报警
diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue
index dacee2f..e5f5b85 100644
--- a/src/views/dashboard/PanelGroup.vue
+++ b/src/views/dashboard/PanelGroup.vue
@@ -75,11 +75,11 @@
-
+
-
-
+
+
{{ scope.row.deviceId }}
——
@@ -91,12 +91,27 @@
——
-
+
{{ scope.row.devicePort }}
——
+
+
+ 设备连接超时
+ 设备常离线
+
+
+
+
+
+ 1.请检查网络是否连通;
+ 2.请检查设备是否正常开启;
+ 3.以上2种情况都不存在,请重启设备;
+ 该设备采用离线工作模式,无需检测
+
+
@@ -127,7 +142,8 @@ export default {
deviveTitle: '在线设备',
deviceVisible: false,
tableLoading: false,
- tableDeviceData: []
+ tableDeviceData: [],
+ deviceType: 'on'
}
},
computed: {
@@ -190,6 +206,7 @@ export default {
})
},
getDeviceDetail(type) {
+ this.deviceType = type
this.deviceVisible = true
this.tableDeviceData = []
if (type === 'on') {
diff --git a/src/views/environmentalScreen/index.vue b/src/views/environmentalScreen/index.vue
index 4702f0f..ac6e50a 100644
--- a/src/views/environmentalScreen/index.vue
+++ b/src/views/environmentalScreen/index.vue
@@ -20,7 +20,7 @@
{{ topDisplayData.DAK_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.DAK_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.DAK_DIV_TOP_004.unit }}
@@ -49,7 +49,7 @@
{{ topDisplayData.XXW_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.XXW_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.XXW_DIV_TOP_004.unit }}
@@ -78,7 +78,7 @@
{{ topDisplayData.DXW_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.DXW_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.DXW_DIV_TOP_004.unit }}
diff --git a/src/views/home.vue b/src/views/home.vue
index 1e51210..8d1a357 100644
--- a/src/views/home.vue
+++ b/src/views/home.vue
@@ -60,7 +60,7 @@
{{ topDisplayData.DAK_DIV_TOP_006.curValue }}
- VOC
+ TVOC
{{ topDisplayData.DAK_DIV_TOP_004.curValue }}
@@ -121,7 +121,7 @@
{{ topDisplayData.XXW_DIV_TOP_006.curValue }}
- VOC
+ TVOC
{{ topDisplayData.XXW_DIV_TOP_004.curValue }}
@@ -150,7 +150,7 @@
{{ topDisplayData.DXW_DIV_TOP_006.curValue }}
- VOC
+ TVOC
{{ topDisplayData.DXW_DIV_TOP_004.curValue }}
@@ -569,8 +569,6 @@ export default {
},
getRealTimeData() {
if (this.allDeviceIds.length > 0) {
- console.log('this.allDeviceIds', this.allDeviceIds)
- console.log('this.displayConfigData', this.displayConfigData)
thirdApi.getRealTimeData({ ids: this.allDeviceIds, url: this.url }).then((data) => {
// this.oaoMessage.splice(0, this.oaoMessage.length)
this.displayConfigData.forEach(element => {
diff --git a/src/views/storeManage/deviceManage/module/deviceDetail.vue b/src/views/storeManage/deviceManage/module/deviceDetail.vue
index 511fb58..8262bd0 100644
--- a/src/views/storeManage/deviceManage/module/deviceDetail.vue
+++ b/src/views/storeManage/deviceManage/module/deviceDetail.vue
@@ -22,7 +22,7 @@
-
+
@@ -101,6 +101,9 @@
通知
+
+
+
@@ -47,6 +48,21 @@
+
+
+
+
+
+
+
+ 通道门报警 或 密集架开架 时,监控任务会自动根据通道门或密集架绑定的监控设备,保存当时的视频监控记录,用户可在 “ 监控管理 - 视频监控 ” 中查询并下载相关视频文件。若下载的视频文件无法正常播放,请在硬盘录像机上重新获取数据。
+
+
+
+
+
@@ -88,7 +104,8 @@ export default {
{ value: 1, label: '所属区域' },
{ value: 2, label: '设备' }
],
- queryTime: null
+ queryTime: null,
+ tipContentVisible: false
}
},
methods: {
diff --git a/src/views/storeManage/taskManage/index.vue b/src/views/storeManage/taskManage/index.vue
new file mode 100644
index 0000000..3d630b3
--- /dev/null
+++ b/src/views/storeManage/taskManage/index.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime | parseTime }}
+
+
+
+
+ {{ scope.row.createTime | parseTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/storeManage/warehouse3D/archivesStorage/index.vue b/src/views/storeManage/warehouse3D/archivesStorage/index.vue
index b597430..c2ab92f 100644
--- a/src/views/storeManage/warehouse3D/archivesStorage/index.vue
+++ b/src/views/storeManage/warehouse3D/archivesStorage/index.vue
@@ -30,7 +30,7 @@
{{ topDisplayData.DAK_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.DAK_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.DAK_DIV_TOP_004.unit }}
@@ -170,6 +170,8 @@ export default {
}
})
this.displayConfigData = this.allDisplayConfigData.filter((item) => { return item.isDisplay && item.bindState && item.deviceInfo && (item.divPosition.includes('OAO') || item.divPosition.includes('TOP')) })
+
+ console.log('this.displayConfigData', this.displayConfigData)
await this.getRealTimeData()
},
mounted() {
@@ -238,7 +240,7 @@ export default {
// 设置是否显示
handleHide(deviceId) {
// true 显示 false 隐藏
- window.frames['iframeMap'].setYangGanCanshow(deviceId, false)
+ window.frames['iframeMap'].setYangGanCanshow(deviceId, true)
},
// 表格隔行变色
rowBgColor({ row, rowIndex }) {
@@ -280,7 +282,6 @@ export default {
return item.property_id === siduParamId && item.device_id === element.deviceInfo.deviceId
})
}
- console.log(wendu?.curstatus, sidu?.curstatus)
this.oaoMessage.push({
id: element.divPosition,
wendu: (wendu?.curvalue) ? (Math.round(wendu?.curvalue)) : '-',
diff --git a/src/views/storeManage/warehouse3D/destroyedFileRoom/index.vue b/src/views/storeManage/warehouse3D/destroyedFileRoom/index.vue
index 01b35b4..a7cc500 100644
--- a/src/views/storeManage/warehouse3D/destroyedFileRoom/index.vue
+++ b/src/views/storeManage/warehouse3D/destroyedFileRoom/index.vue
@@ -29,7 +29,7 @@
{{ topDisplayData.DXW_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.DXW_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.DXW_DIV_TOP_004.unit }}
diff --git a/src/views/storeManage/warehouse3D/index.vue b/src/views/storeManage/warehouse3D/index.vue
index 4f58c3d..756b644 100644
--- a/src/views/storeManage/warehouse3D/index.vue
+++ b/src/views/storeManage/warehouse3D/index.vue
@@ -104,7 +104,7 @@ export default {
this.floorIndex = this.$route.params.floorId
this.activeIndex = this.$route.params.roomId
}
- displayConfigApi.list({ storeroomId: '' }).then((data) => {
+ displayConfigApi.list({ storeroomId: '', isQueryAll: 1 }).then((data) => {
if (data) {
this.camConfigData = data
}
@@ -127,12 +127,14 @@ export default {
} else if (data === '待销文件室') {
_this.activeIndex = 6
}
+ console.log('this.camConfigData', this.camConfigData)
// 摄像头
if (data.includes('CAM')) {
const camConfig = this.camConfigData.find((x) => { return x.divPosition === data })
+ console.log(1, camConfig)
if (camConfig && camConfig.isDisplay && camConfig.bindState) {
- // console.log(2, camConfig)
- // // ToDo....
+ console.log(2, camConfig)
+ // // ToDo....
this.open = true
this.$nextTick(() => {
// 后期看接口调试变化
diff --git a/src/views/storeManage/warehouse3D/infoRoom/index.vue b/src/views/storeManage/warehouse3D/infoRoom/index.vue
index 5e5a1b7..526c99a 100644
--- a/src/views/storeManage/warehouse3D/infoRoom/index.vue
+++ b/src/views/storeManage/warehouse3D/infoRoom/index.vue
@@ -29,7 +29,7 @@
{{ topDisplayData.XXW_DIV_TOP_004.curValue }}
-
VOC {{ topDisplayData.XXW_DIV_TOP_004.unit }}
+
TVOC {{ topDisplayData.XXW_DIV_TOP_004.unit }}
diff --git a/src/views/system/logManage/deviceLog/index.vue b/src/views/system/logManage/deviceLog/index.vue
index 36d6d05..a384b13 100644
--- a/src/views/system/logManage/deviceLog/index.vue
+++ b/src/views/system/logManage/deviceLog/index.vue
@@ -38,6 +38,12 @@
+
+
+
+
+
+
操作
diff --git a/src/views/system/notifyManage/index.vue b/src/views/system/notifyManage/index.vue
index e3ed90a..09279e1 100644
--- a/src/views/system/notifyManage/index.vue
+++ b/src/views/system/notifyManage/index.vue
@@ -258,15 +258,21 @@ export default {
async getDev() {
await getAllDev().then(res => {
const arr0 = [{ value: 0, label: '全部设备' }]
- const arr = res.map(item => {
- const val = item.id
- const lab = item.deviceName
- const obj = {
- value: val,
- label: lab
- }
- return obj
- })
+ // const arr = res.map(item => {
+ // const val = item.id
+ // const lab = item.deviceName
+ // const obj = {
+ // value: val,
+ // label: lab
+ // }
+ // return obj
+ // })
+ const arr = res.filter(item => item.deviceTypeId.name === '密集架')
+ .map(item => ({
+ value: item.id,
+ label: item.deviceName
+ }))
+
this.devOptions = arr0.concat(arr)
})
},
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 5ee8bbd..6dc7bfb 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -93,7 +93,7 @@
- 菜单分配
+ 权限分配
标记已读
全部标记已读
+
+
+
+
搜索
+
+
+ 未读
+ 已读
+
+
@@ -77,7 +87,8 @@ export default {
tableData: [],
selections: [],
query: {
- createTime: []
+ createTime: [],
+ isRead: null
},
page: {
total: 0,
@@ -85,7 +96,21 @@ export default {
page: 1
},
isLoading: false,
- delVisible: false
+ delVisible: false,
+ newTypeOptions: [
+ {
+ label: '全部',
+ value: null
+ },
+ {
+ label: '已读',
+ value: true
+ },
+ {
+ label: '未读',
+ value: false
+ }
+ ]
}
},
created() {
@@ -110,6 +135,7 @@ export default {
page: this.page.page - 1,
size: this.page.size,
createTime: this.query.createTime,
+ isRead: this.query.isRead,
sort: 'createTime,desc'
}
return params