From 2c1070d4e2f697a278f99ea14b697633a2938ce6 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Mon, 17 Oct 2022 09:43:35 +0800
Subject: [PATCH 01/29] =?UTF-8?q?=E8=AE=BF=E5=AE=A2=E6=A8=A1=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/vab/plugins/permissions.js | 6 +++---
front/src/views/login/index.vue | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/front/src/vab/plugins/permissions.js b/front/src/vab/plugins/permissions.js
index 4c197d7c..1bda7a3c 100644
--- a/front/src/vab/plugins/permissions.js
+++ b/front/src/vab/plugins/permissions.js
@@ -1,8 +1,8 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-04-01 17:23:11
- * @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-10-11 13:59:18
+ * @LastEditors: Light
+ * @LastEditTime: 2022-10-17 09:25:32
* @Description: 告诉大家这是什么
*/
/**
@@ -26,7 +26,6 @@ router.beforeEach(async (to, from, next) => {
// if (SSOTOKEN) {
// setAccessToken(SSOTOKEN)
// }
- console.log('验证白名单', routesWhiteList)
const token = getAccessToken()
console.log('token', token)
let hasToken = token
@@ -44,6 +43,7 @@ router.beforeEach(async (to, from, next) => {
accessRoutes.forEach((item) => {
router.addRoute(item)
})
+ console.log('验证白名单', routesWhiteList)
if (routesWhiteList.indexOf(to.path) !== -1) {
debugger
next()
diff --git a/front/src/views/login/index.vue b/front/src/views/login/index.vue
index c684ab11..7440960f 100644
--- a/front/src/views/login/index.vue
+++ b/front/src/views/login/index.vue
@@ -157,7 +157,7 @@
password: Encrypt(this.form.password),
username: this.form.username,
})
- window.localStorage.setItem('tokenStartTime', new Date().getTime())
+ // window.localStorage.setItem('tokenStartTime', new Date().getTime())
window.sessionStorage.setItem('visits', JSON.stringify([]))
console.log(
'添加visits========================================>',
From 4d65cc11e98caaeed5e8fd52a48160d2cb9aa425 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Mon, 17 Oct 2022 10:19:27 +0800
Subject: [PATCH 02/29] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E7=94=B3=E8=AF=B7=201?=
=?UTF-8?q?=E6=9D=A1=E6=B6=88=E6=81=AF=E6=97=B6=E9=9A=90=E8=97=8F=20=20?=
=?UTF-8?q?=E5=B1=95=E5=BC=80=E6=8C=89=E9=92=AE=EF=BC=8C=E5=AE=A1=E6=89=B9?=
=?UTF-8?q?=E8=AF=A6=E6=83=85=20=E6=B7=BB=E5=8A=A0=E5=A4=84=E7=90=86?=
=?UTF-8?q?=E9=83=A8=E9=97=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/AbilityToApplyFor.vue | 22 +-
.../components/ApplyDetails.vue | 505 +++---
.../personalCenter/components/MyApply.vue | 1518 +++++++++--------
3 files changed, 1081 insertions(+), 964 deletions(-)
diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue
index 0a6a6153..53e5c2ee 100644
--- a/front/src/views/home/AbilityToApplyFor.vue
+++ b/front/src/views/home/AbilityToApplyFor.vue
@@ -2,7 +2,11 @@
@@ -181,7 +192,10 @@
let arr = JSON.parse(note1)
xVideoList.value = []
arr.map((val) => {
- xVideoList.value.push({ name: val.channelName || '', key: val.channelId })
+ xVideoList.value.push({
+ name: val.channelName || '',
+ key: val.channelId,
+ })
})
videoVisible.value = true
} else {
diff --git a/front/src/views/personalCenter/components/ApplyDetails.vue b/front/src/views/personalCenter/components/ApplyDetails.vue
index 1b052ff4..f9cd16ae 100644
--- a/front/src/views/personalCenter/components/ApplyDetails.vue
+++ b/front/src/views/personalCenter/components/ApplyDetails.vue
@@ -1,9 +1,21 @@
-
+
diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue
index 508e8bd2..9dd682c0 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -3,16 +3,27 @@
我的申请
类型
-
申请状态
-
-
+
+
{{ item }}
@@ -22,7 +33,11 @@
-
+
申请单号:{{ item.applyNumber || '--' }}
@@ -33,7 +48,9 @@
- 名称:{{ item.cameraList ? item.system : (item.title || item.name) }}
+ 名称:{{
+ item.cameraList ? item.system : item.title || item.name
+ }}
@@ -52,54 +69,112 @@
过期时间:{{ item.expireDate || '' }}
-
- {{detailModalTitle}}
-
-
+
+ {{ detailModalTitle }}
+
-
+
-
-
+
+
-
+
请联系工业信息化局,电话:199 6399 0996
From e26937bc3794ea6f1d584b5f2551f779ef661ede Mon Sep 17 00:00:00 2001
From: unknown
Date: Mon, 17 Oct 2022 13:38:46 +0800
Subject: [PATCH 03/29] =?UTF-8?q?=E7=A9=BF=E6=A2=AD=E6=A1=86=E9=87=8D?=
=?UTF-8?q?=E5=86=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../assignedScene/add-update-scene.vue | 8 +-
.../ability/components/combine-ability.vue | 76 +++-
.../components/data-resource-tranfer.vue | 414 ++++++++++++++++++
3 files changed, 470 insertions(+), 28 deletions(-)
create mode 100644 back/src/views/modules/ability/components/data-resource-tranfer.vue
diff --git a/back/src/views/modules/ability/assignedScene/add-update-scene.vue b/back/src/views/modules/ability/assignedScene/add-update-scene.vue
index 30afbbc0..7feb6844 100644
--- a/back/src/views/modules/ability/assignedScene/add-update-scene.vue
+++ b/back/src/views/modules/ability/assignedScene/add-update-scene.vue
@@ -116,7 +116,6 @@ import CommonQuestion from '../components/common-question.vue'
import InfrastructureModal from './components/infrastructure-modal.vue'
import Cookies from 'js-cookie'
import upload from '@/views/modules/components/upload'
-
const btnArray = ['基本信息', '场景痛点', '解决方案', '组合能力', '更多能力', '使用步骤']
// 数据资源\组件服务
export const getJson = (type) => {
@@ -163,7 +162,6 @@ export const modalTypeText = {
}
export const getFuseResourceList = (abilityListObj) => {
- console.log('abilityListObjabilityListObj',abilityListObj);
const arr = []
let length = 0
for (const key in abilityListObj) {
@@ -176,7 +174,7 @@ export const getFuseResourceList = (abilityListObj) => {
resourceId: v.id,
type: key,
sequence: index,
- resourceName:v.resourceName,
+ resourceName:v.resourceName|| v.name ,
deptName:v.deptName,
})
})
@@ -331,9 +329,10 @@ export default {
},
// 更新表单
updateDataForm (data) {
- console.log('datadatadata',data);
+ //console.log('datadatadata',data);
if (Object.keys(this.getListParams).includes(data.title)) {
this.abilityListObj[data.title] = data.list
+ console.log(' this.abilityListObj[data.title]3333', this.abilityListObj[data.title]);
} else {
// 更多能力、使用步骤
this.operateFuseAttrList(data.title, data)
@@ -363,6 +362,7 @@ export default {
// 表单提交
dataFormSubmitHandle: debounce(
function () {
+ console.log('this.dataForm------表单提交------>111111', this.dataForm)
this.$refs.dataForm.validate((valid) => {
if (!valid) {
this.$message.error('请检查表单是否填写完整')
diff --git a/back/src/views/modules/ability/components/combine-ability.vue b/back/src/views/modules/ability/components/combine-ability.vue
index 78c068b4..f0a1b8e6 100644
--- a/back/src/views/modules/ability/components/combine-ability.vue
+++ b/back/src/views/modules/ability/components/combine-ability.vue
@@ -16,19 +16,20 @@
-
-
+
-
-
+ -->
{{ $t("cancel") }}
{{
@@ -52,7 +53,7 @@
@@ -493,7 +521,7 @@ export default {
position: absolute;
font-size: 14px;
display: inline-block;
- width: 80%;
+ width: 30%;
top: 52px;
left: 12px;
}
diff --git a/back/src/views/modules/ability/components/data-resource-tranfer.vue b/back/src/views/modules/ability/components/data-resource-tranfer.vue
new file mode 100644
index 00000000..8e108348
--- /dev/null
+++ b/back/src/views/modules/ability/components/data-resource-tranfer.vue
@@ -0,0 +1,414 @@
+
+
+
+
+ {{ titles[0] }}
+ {{ left.transferDataChecked.length }}/{{
+ left.transferData.length
+ }}
+
+
+
+
+ {{ item[defaultProps.label] }}
+
+
+
+
+
+ >
+ {{ "<" }}
+
+
+
+ {{ titles[1] }}
+ {{ right.transferDataChecked.length }}/{{
+ right.transferData.length
+ }}
+
+
+
+
+
+ {{ item[defaultProps.label] }}
+
+
+
+
+
+
+
+
\ No newline at end of file
From f20aac7430275e399a8d1699d2fa10a7bdee4271 Mon Sep 17 00:00:00 2001
From: unknown
Date: Mon, 17 Oct 2022 13:48:23 +0800
Subject: [PATCH 04/29] =?UTF-8?q?=E6=95=B0=E7=BB=84=E5=AF=B9=E8=B1=A1?=
=?UTF-8?q?=E7=9B=91=E6=8E=A7=E5=B1=9E=E6=80=A7=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/modules/ability/components/data-resource-tranfer.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/back/src/views/modules/ability/components/data-resource-tranfer.vue b/back/src/views/modules/ability/components/data-resource-tranfer.vue
index 8e108348..d6a89dcc 100644
--- a/back/src/views/modules/ability/components/data-resource-tranfer.vue
+++ b/back/src/views/modules/ability/components/data-resource-tranfer.vue
@@ -202,6 +202,7 @@ export default {
});
});
let selectedDataRight = [];
+ this.selectedData = JSON.parse(JSON.stringify(this.selectedData));
(this.selectedData || []).map(v => {
selectedDataRight.push({
type: v.resource.type,
From 5ac06ce8d6e0a4895ee587836c8f1c5be32edda1 Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 14:00:16 +0800
Subject: [PATCH 05/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E7=94=B3=E8=B4=AD=E8=BD=A6=E5=88=A0=E9=99=A4=E6=89=B9=E9=87=8F?=
=?UTF-8?q?=E5=88=A0=E9=99=A4id=E5=8F=82=E6=95=B0=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/personalCenter/components/PurchaseVehicle.vue | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/front/src/views/personalCenter/components/PurchaseVehicle.vue b/front/src/views/personalCenter/components/PurchaseVehicle.vue
index 46e032f6..2c6cb06f 100644
--- a/front/src/views/personalCenter/components/PurchaseVehicle.vue
+++ b/front/src/views/personalCenter/components/PurchaseVehicle.vue
@@ -650,17 +650,19 @@ const ceshiFunction = () => {
}
// delOne delList handleDelete
const handleDelete = (item, index) => {
+ console.log('item, index------------>', item, index);
+
console.log('item------------>', item);
let delArr = [];
// 单个删除
- if (item) {
+ if (index) {
delArr = [item.id]
} else {
// 批量删除
if (checkedListAbility.value.length == 0) {
return message.warning('请先选择需要操作的数据!')
} else {
- delArr = checkedListAbility.value.map(v=>v.id)
+ delArr = checkedListAbility.value
}
}
sgcDel({
From 98d1b070ab8f269a139b3f2cc8f94476fba7fe58 Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 14:00:44 +0800
Subject: [PATCH 06/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E6=88=91=E7=9A=84=E7=94=B3=E8=AF=B7-=E8=AE=BE=E5=A4=87?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8D=95=E5=85=B5=E6=97=A0=E4=BA=BA=E6=9C=BA?=
=?UTF-8?q?=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E5=90=8D=E7=A7=B0=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../personalCenter/components/MyApply.vue | 23 ++++++-------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue
index 508e8bd2..bfec2fb1 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -87,10 +87,9 @@
-
-
- {{detailModalTitle}}
+
+ {{refObj.description && itShowXiHaiAn ? refObj.description + '申请详情' : '申请详情'}}
@@ -101,9 +100,6 @@
-
@@ -155,6 +151,7 @@ let typeList = ref([
])
// 西海岸-设备申请
let isXiHaiAn = whoShow.itShowXiHaiAn
+let itShowXiHaiAn = ref(isXiHaiAn)
const phoneSate = ref([2, 3])
if (isXiHaiAn) {
typeList.value.push('设备申请')
@@ -240,17 +237,9 @@ function changeApplyState(item, index) {
}
}
-const cilckRowData = ref({})
-let detailModalTitle = '申请详情';
const showDetail = (item) => {
- cilckRowData.value = item;
// 西海岸-申请时间过期,提示
if (isXiHaiAn) {
- // 西海岸、单兵无人机设备
- if (item.tbDeviceDTO) {
- detailModalTitle = item.tbDeviceDTO.name ? item.tbDeviceDTO.name + '申请详情' : '申请详情'
- }
- console.log('detailModalTitle------------>', detailModalTitle);
if (item.expireDate) {
let diff = moment().diff(moment(item.expireDate), 'seconds')
if (diff > 0) {
@@ -274,10 +263,12 @@ const showDetail = (item) => {
} else if (typeName.value == '设备申请') {
getDeviceDetailInfo(item.deviceId)
.then((res) => {
+ console.log('res---设备申请--------->', res);
+
if (res.data.code == 0) {
refObj.value = res.data.data
detailsVisible.value = true
- processDefinitionName.value = item.processDefinitionName
+ // processDefinitionName.value = item.processDefinitionName
}
})
.catch((err) => { })
From e0bde554b943b7b545ed1c20aa4faf7f76f143d5 Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 14:01:05 +0800
Subject: [PATCH 07/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=B7=B2=E7=BB=88=E6=AD=A2=E6=9B=B4=E6=94=B9?=
=?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/AbilityApplication.vue | 29 ++++++++++++-------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/front/src/views/personalCenter/components/AbilityApplication.vue b/front/src/views/personalCenter/components/AbilityApplication.vue
index 0f2a42d6..3a2ffa25 100644
--- a/front/src/views/personalCenter/components/AbilityApplication.vue
+++ b/front/src/views/personalCenter/components/AbilityApplication.vue
@@ -163,23 +163,27 @@
@click.stop="openVideo(val)">
视频预览
- 该流程已终止
+ 该流程已终止
位置:{{ val.nodeName }}
-
- 申请结果:{{
- '列表地址:' +
+
+ 申请结果:
+ 列表地址:{{
backUrl +
'resource/getApplyCameraList/' +
- item.instanceId +
- ';' +
- '视频流地址:' +
+ item.instanceId }}
+ 视频流地址:
+ {{
backUrl +
'resource/hls/getHls/?key=' +
- val.channelId
- }}
+ val.channelId}}
@@ -453,6 +457,10 @@ const handleUser = () => {
})
}
+const openView = (url) => {
+ window.open(url, '_blank')
+}
+
From 587c728a74bfc380990e6bab1dc7f62168e037cf Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 14:16:32 +0800
Subject: [PATCH 08/29] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=94=B3=E8=AF=B7--?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E8=AF=A6=E6=83=85=20=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/AbilityApplication.vue | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/front/src/views/personalCenter/components/AbilityApplication.vue b/front/src/views/personalCenter/components/AbilityApplication.vue
index 3a2ffa25..3230512e 100644
--- a/front/src/views/personalCenter/components/AbilityApplication.vue
+++ b/front/src/views/personalCenter/components/AbilityApplication.vue
@@ -159,17 +159,18 @@
{{ val.channelName }}
基础设施
-
- 视频预览
-
-
该流程已终止
-
+
位置:{{ val.nodeName }}
-
+
申请结果:
列表地址: {
margin-left: 0.1rem;
.ability {
- height: 1.3rem;
+ height: 1.6rem;
display: flex;
border-bottom: 1px #eee solid;
padding: 0.1rem 0;
From b66a781b8157d9623b0e2c286c6192e2cec4ace5 Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 14:39:29 +0800
Subject: [PATCH 09/29] =?UTF-8?q?=E6=88=91=E7=9A=84=E5=BE=85=E5=8A=9E?=
=?UTF-8?q?=EF=BC=9A=E8=AE=BE=E5=A4=87=E5=AE=A1=E6=89=B9=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=20=E8=AE=BE=E5=A4=87=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
back/src/views/modules/myAgent/approval.vue | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/back/src/views/modules/myAgent/approval.vue b/back/src/views/modules/myAgent/approval.vue
index 2cd53901..57e49865 100644
--- a/back/src/views/modules/myAgent/approval.vue
+++ b/back/src/views/modules/myAgent/approval.vue
@@ -12,15 +12,22 @@
+
+
+ {{
+ (scope.row && scope.row.tbDeviceDTO && scope.row.tbDeviceDTO.name)
+ }}
+
+
{{wrjStateObj[scope.row.state]}}
-
+
Date: Mon, 17 Oct 2022 14:49:21 +0800
Subject: [PATCH 10/29] =?UTF-8?q?=E5=AE=BD=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../personalCenter/components/MyApply.vue | 1512 +++++++++--------
1 file changed, 801 insertions(+), 711 deletions(-)
diff --git a/front/src/views/personalCenter/components/MyApply.vue b/front/src/views/personalCenter/components/MyApply.vue
index d07e6b5c..29c08390 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -3,16 +3,27 @@
我的申请
类型
-
申请状态
-
-
+
+
{{ item }}
@@ -22,7 +33,11 @@
-
+
申请单号:{{ item.applyNumber || '--' }}
@@ -33,7 +48,9 @@
- 名称:{{ item.cameraList ? item.system : (item.title || item.name) }}
+ 名称:{{
+ item.cameraList ? item.system : item.title || item.name
+ }}
@@ -52,53 +69,117 @@
过期时间:{{ item.expireDate || '' }}
-
- {{refObj.description && itShowXiHaiAn ? refObj.description + '申请详情' : '申请详情'}}
-
-
+
+
+ {{
+ refObj.description && itShowXiHaiAn
+ ? refObj.description + '申请详情'
+ : '申请详情'
+ }}
+
+
-
+
-
-
+
+
-
+
请联系工业信息化局,电话:199 6399 0996
From 8db5b8bee538ba99060e2b244ef1a87fc1df0957 Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 16:00:37 +0800
Subject: [PATCH 11/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=AE=A1=E6=89=B9=20=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E5=AE=A1=E6=A0=B8=E6=97=B6=E9=97=B4=E5=92=8C=E5=88=9B=E5=BB=BA?=
=?UTF-8?q?=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
back/src/views/modules/hasToDoTasks/deviceApproval.vue | 3 +++
back/src/views/modules/myAgent/approval.vue | 1 +
2 files changed, 4 insertions(+)
diff --git a/back/src/views/modules/hasToDoTasks/deviceApproval.vue b/back/src/views/modules/hasToDoTasks/deviceApproval.vue
index 9f71809e..b00832db 100644
--- a/back/src/views/modules/hasToDoTasks/deviceApproval.vue
+++ b/back/src/views/modules/hasToDoTasks/deviceApproval.vue
@@ -38,6 +38,9 @@
+
+
+
{{wrjStateObj[scope.row.state]}}
+
同意
- 驳回
+ 驳回
@@ -113,21 +103,12 @@
-
+
@@ -144,7 +125,7 @@ import bus from '@/views/bus.js'
export default {
// 注入公共方法
mixins: [processModule],
- data () {
+ data() {
return {
dialogVisible: false,
dialogType: '',
@@ -173,7 +154,7 @@ export default {
agreeOrList: '同意'
}
},
- created () {
+ created() {
// 将业务KEY赋值给表单
console.log('params=================>', this.$route, this.$route.params)
this.dataForm.taskId = this.$route.params.taskId
@@ -207,7 +188,7 @@ export default {
RenProcessDetail
},
methods: {
- init () {
+ init() {
// this.visible = true
this.$nextTick(() => {
// this.$refs.dataForm.resetFields()
@@ -219,32 +200,32 @@ export default {
}
})
},
- showDialog (title) {
+ showDialog(title) {
this.dialogVisible = true
this.dialogType = title
},
- handleClose (done) {
+ handleClose(done) {
this.$confirm('确认关闭?')
.then((_) => {
this.input = ''
done()
})
- .catch((_) => {})
+ .catch((_) => { })
},
- handleClose2 () {
+ handleClose2() {
this.dialogVisible = false
this.input = ''
},
- downloadFile2 (url) {
+ downloadFile2(url) {
console.log(window.SITE_CONFIG.previewUrl)
window.open(
window.SITE_CONFIG.previewUrl +
- 'hisense_office/onlinePreview?url=' +
- btoa(encodeURI(url))
+ 'hisense_office/onlinePreview?url=' +
+ btoa(encodeURI(url))
)
},
// 获取信息
- getInfo () {
+ getInfo() {
let params = ''
if (this.dataForm.taskId) {
params = `taskId=${this.dataForm.taskId}`
@@ -272,7 +253,7 @@ export default {
index <
res.data.tAbilityApplicationDTOList[0].applicationScene
.length -
- 1
+ 1
) {
res.data.tAbilityApplicationDTOList[0].applicationSceneStr +=
'、'
@@ -307,7 +288,7 @@ export default {
this.dataList.push(obj)
}
})
- .catch(() => {})
+ .catch(() => { })
} else {
params = `instanceId=${this.dataForm.instanceId}`
this.$http
@@ -359,11 +340,11 @@ export default {
this.dataList.push(obj)
}
})
- .catch(() => {})
+ .catch(() => { })
}
},
// 申请能力
- applyData () {
+ applyData() {
this.$http
.get(`/resource/select/${this.dataForm.instanceId}`)
.then(({ data: res }) => {
@@ -375,7 +356,7 @@ export default {
// this.dataForm.content = res.data
// console.log(this.dataForm, 'ela')
})
- .catch(() => {})
+ .catch(() => { })
},
// 同意与退回
agreeOrNot: debounce(
@@ -412,7 +393,7 @@ export default {
}
})
})
- .catch(() => {})
+ .catch(() => { })
this.tabRemoveHandle(data)
} else {
this.$message.error('请输入审批意见!')
@@ -455,7 +436,7 @@ export default {
1000,
{ leading: true, trailing: false }
),
- tabRemoveHandle (tabName) {
+ tabRemoveHandle(tabName) {
console.log(tabName, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
if (tabName === 'home') {
return false
@@ -472,7 +453,7 @@ export default {
if (tabName === this.$store.state.contentTabsActiveName) {
const tab =
this.$store.state.contentTabs[
- this.$store.state.contentTabs.length - 1
+ this.$store.state.contentTabs.length - 1
]
this.$router.push({
name: /^iframe_.+/.test(tab.name) ? 'iframe' : tab.name,
@@ -482,13 +463,19 @@ export default {
}
},
// 启动流程出错回调
- startProcessErrorCallback (data) {
+ startProcessErrorCallback(data) {
console.log(data)
},
// 任务处理出错回调
- taskHandleErrorCallback (data) {}
+ taskHandleErrorCallback(data) { },
+ download(data) {
+ const alink = document.createElement('a')
+ alink.download = '附件' // 文件名,大部分浏览器兼容,IE10及以下不兼容
+ alink.href = data.attachment // 创建 url地址
+ alink.click() // 自动点击
+ },
},
- mounted () {
+ mounted() {
// this.applyData()
}
}
@@ -497,38 +484,47 @@ export default {
::v-deep .big-BOX {
background: rgba(244, 245, 248, 0.8);
padding: 24px;
+
h3 {
font-size: 16px;
color: #212121;
}
+
p {
width: 100%;
display: flex;
justify-content: space-between;
color: #212121;
font-size: 14px;
+
span {
display: inline-block;
margin-left: 8px;
line-height: 32px;
+
span {
font-weight: bold;
}
}
+
.text {
width: 500px;
}
}
+
.lastP {
margin-top: 16px;
width: 100%;
+
span {
display: flex;
+
span {
padding: 0 12px;
height: 32px;
background: rgba(232, 234, 239, 1);
border-radius: 2px;
+
button {
background: unset;
border: 0;
@@ -539,6 +535,7 @@ export default {
}
}
}
+
::v-deep .AbilityApply {
margin-top: 32px;
@@ -548,27 +545,33 @@ export default {
border-bottom: 1px solid #dddee1;
padding-bottom: 10px;
}
+
ul {
padding-left: 0px;
+
li {
list-style: none;
padding: 30px 0;
border-bottom: 1px solid #dddee1;
display: flex;
+
img {
width: 100px;
height: 100px;
}
+
div {
margin-left: 16px;
display: flex;
flex-direction: column;
justify-content: center;
+
h2 {
margin-bottom: 20px;
font-size: 20px;
color: #000;
display: flex;
+
span {
display: block;
font-size: 14px;
@@ -581,22 +584,26 @@ export default {
border-radius: 4px;
}
}
+
p {
margin-bottom: 0;
}
}
}
+
.clearfix:after {
display: block;
content: "";
clear: both;
}
+
.title {
color: #0558e1;
font-size: 18px;
padding-bottom: 0;
border-bottom: 0;
}
+
.title:before {
content: "";
width: 6px;
@@ -610,17 +617,21 @@ export default {
}
}
}
-::v-deep .agreeOr > div {
+
+::v-deep .agreeOr>div {
display: flex;
align-items: center;
+
.el-input {
margin-right: 10px;
margin-left: 32px;
}
}
-::v-deep .agreeOr > div:last-of-type {
+
+::v-deep .agreeOr>div:last-of-type {
margin-top: 15px;
}
+
.blueAll {
::v-deep .el-radio-button__inner {
width: 80px;
@@ -632,12 +643,14 @@ export default {
color: #0558e1;
border: 1px solid #0558e1;
}
- ::v-deep .el-radio-button__orig-radio:checked + .el-radio-button__inner {
+
+ ::v-deep .el-radio-button__orig-radio:checked+.el-radio-button__inner {
box-shadow: unset !important;
background: #0558e1;
color: #ffffff;
}
}
+
.inputBule {
width: 55px;
height: 32px;
@@ -648,8 +661,10 @@ export default {
color: #ffffff;
border: 1px solid #0558e1;
}
+
.redAll {
margin-left: 10px;
+
::v-deep .el-radio-button__inner {
width: 80px;
height: 32px;
@@ -661,12 +676,14 @@ export default {
color: #e83a48;
margin-left: 10px;
}
- ::v-deep .el-radio-button__orig-radio:checked + .el-radio-button__inner {
+
+ ::v-deep .el-radio-button__orig-radio:checked+.el-radio-button__inner {
box-shadow: unset !important;
color: #ffffff;
background: #e83a48;
}
}
+
.blueInput {
width: 55px;
}
From 2ebec87514a5cae2b45168f9eea2c2923cc7cf9f Mon Sep 17 00:00:00 2001
From: guoyue
Date: Mon, 17 Oct 2022 17:21:18 +0800
Subject: [PATCH 13/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E5=BC=80=E5=8F=91=E5=85=AC=E5=AE=89=E5=B1=80=E7=94=B3=E8=AF=B7?=
=?UTF-8?q?=20=E9=99=84=E4=BB=B6=E4=B8=8A=E4=BC=A0=E4=B8=BA=E5=BF=85?=
=?UTF-8?q?=E5=A1=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/apply.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue
index 586afda0..9a14cf73 100644
--- a/front/src/views/home/apply.vue
+++ b/front/src/views/home/apply.vue
@@ -75,7 +75,7 @@
-
+
@@ -356,7 +356,7 @@ export default {
if (!formName) {
return message.error('请设置表单名称')
}
-
+
if (id) {
endProcess({ instanceId: taskId }).then((end) => {
if (end.data.code == 0) {
From 5f3aad25399034fb2b85ce9b25a5cf9efdbd1c0a Mon Sep 17 00:00:00 2001
From: guoyue
Date: Tue, 18 Oct 2022 10:45:40 +0800
Subject: [PATCH 14/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E7=82=B9=E5=87=BB=E5=9B=BE=E6=A0=87=E8=BF=9B=E5=85=A5=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E5=A2=9E=E5=8A=A0=E6=9D=83=E9=99=90=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/components/header.vue | 950 ++++++++++-----------
1 file changed, 460 insertions(+), 490 deletions(-)
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index c9495bdb..0e35d30e 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -1,11 +1,8 @@
-
From c5fc29a498fac538aad71fd2a635f07403573f58 Mon Sep 17 00:00:00 2001
From: a0049873 <79py69t9wb@privaterelay.appleid.com>
Date: Tue, 18 Oct 2022 11:12:01 +0800
Subject: [PATCH 15/29] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E7=BB=9F=E8=AE=A1-?=
=?UTF-8?q?=E9=83=A8=E9=97=A8=E6=95=B0=EF=BC=9A=E9=87=91=E5=AD=97=E5=A1=94?=
=?UTF-8?q?=E8=AE=BE=E8=AE=A1=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/abilityStatistics/components/ResourceAggregation.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue
index e0d3f8d4..ad7f1428 100644
--- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue
+++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue
@@ -318,7 +318,7 @@
//来源部门漏斗图
const funnelPlot = (dataList) => {
// 排序
- let arrCopy = ['0-5', '5-10', '10-15', '15-20', '20以上']
+ let arrCopy = ['1-5', '5-10', '10-15', '15-20', '20以上']
// 真实数据
dataList.sort((a, b) => {
return Number(a.value) - Number(b.value)
From 05964a73e89d9fb0f2e3618f85fb67b98a72c368 Mon Sep 17 00:00:00 2001
From: unknown
Date: Tue, 18 Oct 2022 13:52:44 +0800
Subject: [PATCH 16/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=E6=91=84?=
=?UTF-8?q?=E5=83=8F=E5=A4=B4=E5=B7=B2=E7=94=B3=E8=AF=B7=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/AbilityToApplyFor.vue | 48 +++++++++++++++++++++-
1 file changed, 46 insertions(+), 2 deletions(-)
diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue
index 53e5c2ee..eedf7caf 100644
--- a/front/src/views/home/AbilityToApplyFor.vue
+++ b/front/src/views/home/AbilityToApplyFor.vue
@@ -126,11 +126,17 @@
title="已申请摄像头列表"
@ok="videoVisible = false"
>
+
+
+ {{ item.name }}
+
+
', type)
+ let _obj = menuList.find(v => v.key == type)
+ handleClick(_obj)
} else {
- if (type) {
- console.log('type---------->', type)
- let _obj = menuList.find(v => v.key == type)
- handleClick(_obj)
+ if (menuList[1]) {
+ handleClick(menuList[1])
} else {
- if (menuList[1]) {
- handleClick(menuList[1])
- }else {
- handleClick(menuList[0])
- }
+ handleClick(menuList[0])
}
}
})
From 42af2e980b4b12c6171732ad9b1ca45c77a8e26e Mon Sep 17 00:00:00 2001
From: guoyue
Date: Tue, 18 Oct 2022 14:11:52 +0800
Subject: [PATCH 18/29] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=EF=BC=9A?=
=?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD-=E8=A7=86=E9=A2=91?=
=?UTF-8?q?=E7=A6=BB=E7=BA=BF-=E9=A2=84=E8=A7=88=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E7=A6=81=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
front/src/views/home/infrastructurePage.vue | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue
index 7c45e006..9a7bc57f 100644
--- a/front/src/views/home/infrastructurePage.vue
+++ b/front/src/views/home/infrastructurePage.vue
@@ -312,7 +312,7 @@
{{ statusText[record.status] || '' }}
- {
rowClickData.value = item
// 单个预览
if (item && item.status != 1) {
- return message.warning('当前设备离线, 不可预览!')
+ return
+ // return message.warning('当前设备离线, 不可预览!')
}
console.log('打开视频', id)
const param = {
@@ -2367,4 +2368,13 @@ video::-webkit-media-controls {
bottom: 30px;
text-align: right;
}
+
+.disabled-text {
+ cursor: not-allowed;
+ opacity: 0.5;
+ color: #666666;
+ &:hover {
+ color: #666666;
+ }
+}
From 71041b60f259653f8da7baa93b27b0b1f08102aa Mon Sep 17 00:00:00 2001
From: unknown
Date: Tue, 18 Oct 2022 15:10:01 +0800
Subject: [PATCH 19/29] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=89=B9?=
=?UTF-8?q?=E5=AE=8C=E6=88=90=E5=90=8E=E5=BE=85=E5=8A=9E=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E6=95=B0=E4=B8=8D=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
back/src/views/main-sidebar.vue | 10 +++++++++-
.../views/modules/myAgent/CompetencyApplication.vue | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue
index 40f882b0..7a2f1d0e 100644
--- a/back/src/views/main-sidebar.vue
+++ b/back/src/views/main-sidebar.vue
@@ -37,6 +37,7 @@
import http from '@/utils/request'
import SubMenu from "./main-sidebar-sub-menu";
import returnLocationStr from '@/utils/location';
+import bus from '@/views/bus.js'
export default {
data() {
return {
@@ -49,12 +50,19 @@ export default {
created() {
this.getNum()
//this.$store.state.sidebarMenuList = window.SITE_CONFIG["menuList"];
+ //更新我的待办得数量
+ bus.$off('updateTaskNum')
+ bus.$on('updateTaskNum', () => {
+ this.getNum()
+ })
},
methods: {
getNum(){
- http.get('/act/task/myToDoTaskNum').then(({ data: res }) => {
+ http.get('/act/task/myToDoTaskNum').then(({ data: res }) => {
this.numObject=res.data
let menuList= window.SITE_CONFIG["menuList"];
+ console.log('menuList====>',menuList);
+ console.log('this.numObject====>',this.numObject);
for(var i=0;i
+
+
+ {{
+ (scope.row.params && scope.row.params.tAbilityApplicationDTOList[0].unit)
+ }}
+
+
{
- this.getDataList()
+ this.getDataList();
+ bus.$emit('updateTaskNum')
})
}
}
From 811e80a27ccab17351dff7ac8057f7e1df8430c8 Mon Sep 17 00:00:00 2001
From: wuhongjian
Date: Tue, 18 Oct 2022 15:14:50 +0800
Subject: [PATCH 20/29] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
back/src/mixins/view-module.js | 1 -
back/src/router/index.js | 2 +-
back/src/views/main-sidebar.vue | 99 +-
.../views/modules/devtools/generator-menu.vue | 13 +-
.../views/modules/sys/menu-add-or-update.vue | 3 +-
back/src/views/modules/sys/menu.vue | 7 +
front/src/store/modules/user.js | 7 +
front/src/views/home/apply.vue | 1660 +++++++++--------
8 files changed, 972 insertions(+), 820 deletions(-)
diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js
index 98b075fb..edd9378c 100644
--- a/back/src/mixins/view-module.js
+++ b/back/src/mixins/view-module.js
@@ -107,7 +107,6 @@ export default {
} else {
this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0
}
-
console.log('数据列表', this.dataList, this.mixinViewModuleOptions.getDataListURL)
if (this.dataList[0].type === '组件服务') {
this.dataList.map(val => {
diff --git a/back/src/router/index.js b/back/src/router/index.js
index c386dc1b..08f69ea5 100644
--- a/back/src/router/index.js
+++ b/back/src/router/index.js
@@ -104,7 +104,7 @@ router.beforeEach((to, from, next) => {
Vue.prototype.$message.error(res.msg)
return next({ name: 'login' })
}
- window.SITE_CONFIG.menuList = res.data
+ window.SITE_CONFIG.menuList = res.data.filter(item => item.site === 0)
fnAddDynamicMenuRoutes(window.SITE_CONFIG.menuList)
next({ ...to, replace: true })
}).catch(() => {
diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue
index 40f882b0..66f28d04 100644
--- a/back/src/views/main-sidebar.vue
+++ b/back/src/views/main-sidebar.vue
@@ -1,8 +1,8 @@
@@ -25,7 +25,7 @@
:menu="menu"
>
sdddd
-
+
@@ -35,63 +35,64 @@
\ No newline at end of file
+
diff --git a/back/src/views/modules/sys/menu-add-or-update.vue b/back/src/views/modules/sys/menu-add-or-update.vue
index ed7ddd49..318254cb 100644
--- a/back/src/views/modules/sys/menu-add-or-update.vue
+++ b/back/src/views/modules/sys/menu-add-or-update.vue
@@ -123,11 +123,12 @@ export default {
},
// 获取菜单列表
getMenuList () {
+ console.log('获取菜单位置2')
return this.$http.get('/sys/menu/list?type=0').then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
- this.menuList = res.data
+ this.menuList = res.data.filter(item => item.site === 0)
}).catch(() => {})
},
// 获取信息
diff --git a/back/src/views/modules/sys/menu.vue b/back/src/views/modules/sys/menu.vue
index 4fe46da1..bbc70ae3 100644
--- a/back/src/views/modules/sys/menu.vue
+++ b/back/src/views/modules/sys/menu.vue
@@ -1,3 +1,10 @@
+