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 1/4] =?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 2/4] =?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 3/4] =?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 4/4] =?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,