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..d6a89dcc
--- /dev/null
+++ b/back/src/views/modules/ability/components/data-resource-tranfer.vue
@@ -0,0 +1,415 @@
+
+
+
+
+ {{ 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
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/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/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========================================>',
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 bfec2fb1..d07e6b5c 100644
--- a/front/src/views/personalCenter/components/MyApply.vue
+++ b/front/src/views/personalCenter/components/MyApply.vue
@@ -87,8 +87,8 @@
-
+
{{refObj.description && itShowXiHaiAn ? refObj.description + '申请详情' : '申请详情'}}
@@ -100,6 +100,9 @@
+
@@ -151,7 +154,7 @@ let typeList = ref([
])
// 西海岸-设备申请
let isXiHaiAn = whoShow.itShowXiHaiAn
-let itShowXiHaiAn = ref(isXiHaiAn)
+const itShowXiHaiAn = ref(isXiHaiAn)
const phoneSate = ref([2, 3])
if (isXiHaiAn) {
typeList.value.push('设备申请')
@@ -237,7 +240,9 @@ function changeApplyState(item, index) {
}
}
+const cilckRowData = ref({})
const showDetail = (item) => {
+ cilckRowData.value = item;
// 西海岸-申请时间过期,提示
if (isXiHaiAn) {
if (item.expireDate) {
@@ -263,12 +268,9 @@ 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
}
})
.catch((err) => { })