diff --git a/src/components/common/Sidebar.vue b/src/components/common/Sidebar.vue index 996b1df..65acfef 100644 --- a/src/components/common/Sidebar.vue +++ b/src/components/common/Sidebar.vue @@ -114,17 +114,17 @@ export default { // }, ], }, - { - icon: "el-icon-monitor", - index: "/system", - title: "系统管理", - subs: [ - { - index: "/userManagement", - title: "用户管理", - }, - ], - }, + // { + // icon: "el-icon-monitor", + // index: "/system", + // title: "系统管理", + // subs: [ + // { + // index: "/userManagement", + // title: "用户管理", + // }, + // ], + // }, ], }; }, diff --git a/src/views/cameraChannel/components/adddeviceDialog.vue b/src/views/cameraChannel/components/adddeviceDialog.vue index 4c16e3e..0bc4e70 100644 --- a/src/views/cameraChannel/components/adddeviceDialog.vue +++ b/src/views/cameraChannel/components/adddeviceDialog.vue @@ -89,7 +89,11 @@ export default { .then((res) => { //this.errorMsg = ""; if (res.code == 200) { - this.$message.success("添加成功"); + this.$message({ + showClose: true, + message: "添加成功", + type: "success", + }); this.$parent.deviceList(); this.isShow = false; } else { @@ -98,7 +102,11 @@ export default { } }) .catch((err) => { - this.$message.error("添加失败"); + this.$message({ + showClose: true, + message: "添加失败", + type: "error", + }); }); } else { updateChannelapi(this.formdata) diff --git a/src/views/cameraChannel/components/setdevice.vue b/src/views/cameraChannel/components/setdevice.vue index 040b9bd..a0c4092 100644 --- a/src/views/cameraChannel/components/setdevice.vue +++ b/src/views/cameraChannel/components/setdevice.vue @@ -135,11 +135,19 @@ export default { setScheduleRulel({ list: this.parmsList, ruleid: this.selid }) .then((res) => { this.isShow = false; - this.$message.success("添加成功"); + this.$message({ + showClose: true, + message: "添加成功", + type: "success", + }); this.$parent.deviceList(); }) .catch((err) => { - this.$message.error("添加失败"); + this.$message({ + showClose: true, + message: "添加失败", + type: "error", + }); }); }, display() { diff --git a/src/views/cameraChannel/index.vue b/src/views/cameraChannel/index.vue index 87e961e..66b8cc0 100644 --- a/src/views/cameraChannel/index.vue +++ b/src/views/cameraChannel/index.vue @@ -2,6 +2,7 @@
- {{ item.linename }};{{ item.displayname }};{{ - item.channnelname - }} + {{ item.linename }};{{ item.displayname }};
拍照时间:{{ - $moment(item.photoTime).format("YYYY-MM-DD HH:mm:ss") - }} - 上传时间:{{ + $moment(item.photoTime).format("MM-DD HH:mm") + }};{{ item.channnelname }} +