From 38d63aae1d955a1332483b0d9914f379a9d1d15c Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Wed, 8 Nov 2023 17:46:40 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E9=9B=86=E5=9B=A2=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=9C=A8=E7=9B=B8=E5=85=B3=E6=96=B9=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/relevantunits/audit/components/corpInfoEdit.vue | 3 +++ src/views/relevantunits/audit/components/edit.vue | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/src/views/relevantunits/audit/components/corpInfoEdit.vue b/src/views/relevantunits/audit/components/corpInfoEdit.vue index 274b963..9a3829a 100644 --- a/src/views/relevantunits/audit/components/corpInfoEdit.vue +++ b/src/views/relevantunits/audit/components/corpInfoEdit.vue @@ -29,6 +29,9 @@ + + + diff --git a/src/views/relevantunits/audit/components/edit.vue b/src/views/relevantunits/audit/components/edit.vue index 33c727f..96ea974 100644 --- a/src/views/relevantunits/audit/components/edit.vue +++ b/src/views/relevantunits/audit/components/edit.vue @@ -47,6 +47,11 @@ + + + + + From c4a52b3bd231c687b6c2e84f01304aa436e48833 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Thu, 9 Nov 2023 09:42:11 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=E6=9C=89=E9=97=AE=E9=A2=98=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/group/user/index.vue | 28 ++++++--------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/src/views/system/group/user/index.vue b/src/views/system/group/user/index.vue index f70fd06..db9fd7b 100644 --- a/src/views/system/group/user/index.vue +++ b/src/views/system/group/user/index.vue @@ -100,7 +100,7 @@ - + @@ -246,6 +246,7 @@ export default { keyDepeName: '', keyJobLeven: '', dialogFormEdit: false, + editloading: false, dialogType: 'add', rules: { EMAIL: [ @@ -357,6 +358,7 @@ export default { })) resolve(nodes) // 通过调用resolve将子节点数据返回,通知组件数据加载完成 }).catch((e) => { + this.editloading = false this.listLoading = false }) }, 500) @@ -588,8 +590,6 @@ export default { console.log(row) this.dialogType = 'editUser' this.pd = JSON.parse(JSON.stringify(row)) - this.dialogFormEdit = true - await this.$nextTick() const areaRefID = [] if (this.pd.PROVINCE) { areaRefID.push(this.pd.PROVINCE) @@ -609,14 +609,6 @@ export default { refDeptLevelVal.id = this.pd.deptLevenlID const deptRefsValue = {} deptRefsValue.id = this.pd.DEPARTMENT_ID - // this.$nextTick(() => { // 此处使用这个可以等节点渲染后再获取节点 - // if (this.$refs.refFromDeptTypeID) { - // this.$refs.refFromDeptTypeID.handleNodeClick(refDeptLevelVal) - // } - // if (this.$refs.deptTree) { - // this.$refs.deptTree.handleNodeClick(deptRefsValue) - // } - // } var arrString = [] if (this.pd.ROLE_ID != null && this.pd.ROLE_ID != '') { arrString.push(this.pd.ROLE_ID) @@ -631,17 +623,9 @@ export default { } } this.pd.ROLE_ID = arrString - // var roleIds = [] - // if (this.pd.ROLE_ID) { - // roleIds.push(this.pd.ROLE_ID) - // if (this.pd.ROLE_IDS) { - // var roleIDS = this.pd.ROLE_IDS.split(',') - // roleIDS.forEach((item) => { - // roleIds.push(item) - // }) - // } - // } - // this.pd.ROLE_ID = roleIds + this.dialogFormEdit = true + await this.$nextTick() + }, handleEditStatus(row, type) { const typeName = type == '1' ? '禁用' : '启用' From ed3cea71b7f3f88da129a1cd41519516fc4bc655 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Thu, 9 Nov 2023 09:46:25 +0800 Subject: [PATCH 03/11] =?UTF-8?q?=2012714=20=E8=AF=A6=E6=83=85=E4=B8=AD=20?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=BF=94=E5=9B=9E=E5=BA=94=E8=AF=A5=E6=98=AF?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B0=E7=AC=AC=E4=BA=8C=E5=B1=82=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E6=98=AF=E7=9B=B4=E6=8E=A5=E8=BF=94=E5=9B=9E=E5=88=B0?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E5=B1=82=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/keyprojects/punish/components/hiddenInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/keyprojects/punish/components/hiddenInfo.vue b/src/views/keyprojects/punish/components/hiddenInfo.vue index 6ecf706..1366767 100644 --- a/src/views/keyprojects/punish/components/hiddenInfo.vue +++ b/src/views/keyprojects/punish/components/hiddenInfo.vue @@ -200,7 +200,7 @@ export default { this.$refs.hdVideoPlayer.player.pause() }, goBack() { - this.$parent.activeName = 'List' + this.$parent.activeName = 'List2' this.$parent.HIDDEN_ID = '' } } From 4d2865a5edff2c60844e4fde5258e794df81124e Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Thu, 9 Nov 2023 10:26:42 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=90=8E=20=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../videoinfomanager/components/list.vue | 4 ++- .../videomanager/components/bobileCamer.vue | 25 +++++++++++++++++-- .../videomanager/components/video-list.vue | 4 ++- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/views/keyprojects/videoinfomanager/components/list.vue b/src/views/keyprojects/videoinfomanager/components/list.vue index f2abc65..ce7ad03 100644 --- a/src/views/keyprojects/videoinfomanager/components/list.vue +++ b/src/views/keyprojects/videoinfomanager/components/list.vue @@ -318,7 +318,7 @@ export default { }, over() { // 定时器手动关闭 - console.log('定时器手动关闭') + console.log('定时器自动关闭') this.$message.warning('单次播放时长已到5分钟自动关闭') clearInterval(this.timer) }, @@ -363,6 +363,8 @@ export default { } }, back() { + console.log('手动关闭定时器') + clearInterval(this.timer) if (this.dialogVideo) this.dialogVideo = false if (this.dialogVideoBack) this.dialogVideoBack = false if (this.dialogVideoAll) { diff --git a/src/views/keyprojects/videomanager/components/bobileCamer.vue b/src/views/keyprojects/videomanager/components/bobileCamer.vue index 46f4294..bbf11c6 100644 --- a/src/views/keyprojects/videomanager/components/bobileCamer.vue +++ b/src/views/keyprojects/videomanager/components/bobileCamer.vue @@ -100,6 +100,7 @@ export default { dialogVideoBack: false, dialogVideoAll: false, VIDEOURL: '', + timer: '', player: {}, // config: config, @@ -125,6 +126,18 @@ export default { }, methods: { + // 五分钟关闭视频播放页面定时任务 + start() { + console.log('定时器开启') + this.timer = setInterval(this.over, (5 * 60 * 1000)) // 5分钟; + }, + over() { + // 定时器手动关闭 + console.log('定时器自动关闭') + this.$message.warning('单次播放时长已到5分钟自动关闭') + this.back() + clearInterval(this.timer) + }, async init(UNITS_ID) { this.visible = true this.UNITS_ID = UNITS_ID @@ -172,6 +185,8 @@ export default { } }, back() { + console.log('定时器手动关闭') + clearInterval(this.timer) if (this.dialogVideo) this.dialogVideo = false if (this.dialogVideoBack) this.dialogVideoBack = false if (this.dialogVideoAll) { @@ -187,6 +202,8 @@ export default { } }, showVideo(row) { + this.$message.warning('单次播放最多五分钟') + this.start() if (!row.PLATFORMVIDEOMANAGEMENT_ID) { this.VIDEOURL = row.VIDEOURL this.dialogVideo = true @@ -217,6 +234,7 @@ export default { }) }) }).catch((e) => { + this.over() this.listLoading = false }) } @@ -264,8 +282,11 @@ export default { closeWindow() { this.handleClose() } - } - + }, + beforeDestroy() { + console.log('页面定时器关闭') + clearInterval(this.timer) + }, } diff --git a/src/views/keyprojects/videomanager/components/video-list.vue b/src/views/keyprojects/videomanager/components/video-list.vue index a709776..67f9176 100644 --- a/src/views/keyprojects/videomanager/components/video-list.vue +++ b/src/views/keyprojects/videomanager/components/video-list.vue @@ -249,7 +249,7 @@ export default { }, over() { // 定时器手动关闭 - console.log('定时器手动关闭') + console.log('定时器自动关闭') clearInterval(this.timer) }, closeVideoStart() { @@ -702,6 +702,8 @@ export default { }) }, back() { + console.log('手动关闭定时器') + clearInterval(this.timer) if (this.dialogVideo) this.dialogVideo = false if (this.dialogVideoBack) this.dialogVideoBack = false if (this.dialogVideoAll) { From ab35406727fc02bcfea78c1fbc58b81f420954a9 Mon Sep 17 00:00:00 2001 From: dearlin <1261008090@qq.com> Date: Fri, 10 Nov 2023 16:07:21 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E5=AE=89=E5=85=A8=E7=8E=AF=E4=BF=9D?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=AE=A1=E7=90=86=EF=BC=8C=E9=9A=90=E6=82=A3?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E5=A4=84=E7=BD=9A=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=82=E6=8C=89=E7=85=A7=E5=88=86=E5=85=AC=E5=8F=B8=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E7=9A=84=E9=87=8D=E7=82=B9=E5=B7=A5=E7=A8=8B=E5=86=8D?= =?UTF-8?q?=E5=8C=85=E4=B8=80=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/OutSourced/index.vue | 135 ++++++++++++++++++ .../keyprojects/hidden/components/list.vue | 26 ++-- src/views/keyprojects/hidden/index.vue | 5 +- .../inspection/components/list.vue | 10 +- src/views/keyprojects/inspection/index.vue | 16 ++- .../outsourced/components/list.vue | 22 +-- src/views/keyprojects/outsourced/index.vue | 8 +- .../keyprojects/punish/components/list.vue | 10 +- src/views/keyprojects/punish/index.vue | 5 +- 9 files changed, 212 insertions(+), 25 deletions(-) create mode 100644 src/components/OutSourced/index.vue diff --git a/src/components/OutSourced/index.vue b/src/components/OutSourced/index.vue new file mode 100644 index 0000000..3ca990d --- /dev/null +++ b/src/components/OutSourced/index.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/src/views/keyprojects/hidden/components/list.vue b/src/views/keyprojects/hidden/components/list.vue index 7b93ee0..112a822 100644 --- a/src/views/keyprojects/hidden/components/list.vue +++ b/src/views/keyprojects/hidden/components/list.vue @@ -1,44 +1,48 @@ @@ -7,15 +8,17 @@ diff --git a/src/views/keyprojects/outsourced/components/list.vue b/src/views/keyprojects/outsourced/components/list.vue index 185031b..726f257 100644 --- a/src/views/keyprojects/outsourced/components/list.vue +++ b/src/views/keyprojects/outsourced/components/list.vue @@ -1,5 +1,7 @@