From 0b401f57417457bfef36805249efd195fe85761c Mon Sep 17 00:00:00 2001 From: guoyue Date: Tue, 27 Sep 2022 09:49:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=94=B3=E8=AF=B7=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=B0=B4=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 72 +- .../components/AbilityApplication.vue | 1054 +++++++++-------- 2 files changed, 600 insertions(+), 526 deletions(-) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 9f8cb6ce..7ef1a0db 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -1693,7 +1693,7 @@ const videoShowMsg = (index) => { message.warning(msg) } -// 获取用户信息 todo +// 获取用户信息 const userInfo = ref(null) const handleUser = () => { getUser().then(res => { @@ -1706,7 +1706,6 @@ const handleUser = () => { userInfo.value.realNameShow = '西海岸能力超市' + (userInfo.value.deptName || '') + (userInfo.value.realName || ''); }).catch(err => { message.warning(err) - console.log('err----获取用户信息-------->', err); }) } @@ -2160,8 +2159,39 @@ video::-webkit-media-controls { font-weight: bold; opacity: 0.4; transform: rotate(-25deg); + width: 470px } + +// 左上 +.waterMark-left-top { + left: 50px; + top: 100px; + text-align: left; +} + +// 右上 +.waterMark-right-top { + right: 50px; + top: 100px; + text-align: right; +} + +// 左下 +.waterMark-left-bottom { + left: 50px; + bottom: 100px; + text-align: left; +} + +// 右下 +.waterMark-right-bottom { + right: 50px; + bottom: 100px; + text-align: right; +} + +// 批量 .batch-waterMark { position: absolute; z-index: 99999999; @@ -2169,55 +2199,35 @@ video::-webkit-media-controls { font-size: 14px; opacity: 0.4; transform: rotate(-25deg); + width: 200px; } -// 左上 -.waterMark-left-top { - left: 100px; - top: 100px; -} - -// 右上 -.waterMark-right-top { - right: 100px; - top: 100px; -} - -// 左下 -.waterMark-left-bottom { - left: 100px; - bottom: 100px; -} - -// 右下 -.waterMark-right-bottom { - right: 100px; - bottom: 100px; -} - - -// 批量 // 左上 .batch-waterMark-left-top { left: 30px; top: 50px; + text-align: left; + } // 右上 .batch-waterMark-right-top { + text-align: right; right: 30px; - top: 50px; + top: 80px; } // 左下 .batch-waterMark-left-bottom { left: 30px; bottom: 50px; + text-align: left; } // 右下 .batch-waterMark-right-bottom { - right: 30px; - bottom: 50px; + right: 20px; + bottom: 30px; + text-align: right; } diff --git a/front/src/views/personalCenter/components/AbilityApplication.vue b/front/src/views/personalCenter/components/AbilityApplication.vue index 3a75af0e..1b91b1d9 100644 --- a/front/src/views/personalCenter/components/AbilityApplication.vue +++ b/front/src/views/personalCenter/components/AbilityApplication.vue @@ -52,30 +52,18 @@ {{ item.name }} -
+ ">
子单号:{{ item.instanceId }}
- + 修改 - + 流程终止 @@ -84,36 +72,29 @@
-
-
+
+
@@ -121,25 +102,25 @@ {{ val.name }} {{ - val.type == '应用资源' - ? '应用资源' - : val.infoList.filter( - (val2) => val2.attrType == '组件类型' - )[0].attrValue == '智能算法' - ? '智能算法' - : val.infoList.filter( - (val2) => val2.attrType == '组件类型' - )[0].attrValue == '图层服务' - ? '图层服务' - : val.infoList.filter( - (val2) => val2.attrType == '组件类型' - )[0].attrValue == '开发组件' - ? '开发组件' - : val.infoList.filter( - (val2) => val2.attrType == '组件类型' - )[0].attrValue == '业务组件' - ? '业务组件' - : '--' + val.type == '应用资源' + ? '应用资源' + : val.infoList.filter( + (val2) => val2.attrType == '组件类型' + )[0].attrValue == '智能算法' + ? '智能算法' + : val.infoList.filter( + (val2) => val2.attrType == '组件类型' + )[0].attrValue == '图层服务' + ? '图层服务' + : val.infoList.filter( + (val2) => val2.attrType == '组件类型' + )[0].attrValue == '开发组件' + ? '开发组件' + : val.infoList.filter( + (val2) => val2.attrType == '组件类型' + )[0].attrValue == '业务组件' + ? '业务组件' + : '--' }}
@@ -151,24 +132,17 @@
资源描述:{{ val.description }}
申请结果:{{ - item.ended ? item.approveStatus || '审核完成' : '审核中' + item.ended ? item.approveStatus || '审核完成' : '审核中' }} - + 附件下载 - + 查看详情
@@ -185,11 +159,8 @@ {{ val.channelName }} 基础设施
- + 视频预览 @@ -198,15 +169,15 @@
位置:{{ val.nodeName }}
申请结果:{{ - '列表地址:' + - backUrl + - 'resource/getApplyCameraList/' + - item.instanceId + - ';' + - '视频流地址:' + - backUrl + - 'resource/hls/getHls/?key=' + - val.channelId + '列表地址:' + + backUrl + + 'resource/getApplyCameraList/' + + item.instanceId + + ';' + + '视频流地址:' + + backUrl + + 'resource/hls/getHls/?key=' + + val.channelId }}
@@ -216,411 +187,420 @@
- - - -
-
- -
+ + + +
+
+ +
{{userInfo.usernameShow}}
+
{{userInfo.realNameShow}}
+
{{userInfo.usernameShow}}
+
{{userInfo.realNameShow}}
+
- +
+